Seite 1 von 1
SHMK User Feedback installation
Verfasst: 15.02.2009 11:03
von Mofa-Killer
Hi,
Ich hab hier die Mod, nun möchte ich die bei Mir installieren. Da hab ich ein Problem.
Ich weiß nicht wo das rein muss.
CREATE TABLE phpbb_shmk_feedback_tot (
fb_user smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
fb_pos smallint(4) DEFAULT '0' NOT NULL,
fb_neg smallint(4) DEFAULT '0' NOT NULL,
fb_neu smallint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (fb_user)
) CHARACTER SET utf8 COLLATE utf8_bin;
CREATE TABLE phpbb_shmk_feedback (
fb_id mediumint(8) UNSIGNED NOT NULL auto_increment,
fb_to mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
fb_from mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
fb_role tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
fb_vote tinyint(1) UNSIGNED DEFAULT '2' NOT NULL,
fb_link mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
fb_comment text NOT NULL,
fb_ip varchar(40) DEFAULT '' NOT NULL,
fb_date int(11) UNSIGNED DEFAULT '0' NOT NULL,
bbcode_bitfield varchar(255) DEFAULT '' NOT NULL,
bbcode_uid varchar(8) DEFAULT '' NOT NULL,
PRIMARY KEY (fb_id),
KEY fb_to (fb_to)
) CHARACTER SET utf8 COLLATE utf8_bin;
CREATE TABLE phpbb_shmk_feedback_config (
fb_config varchar(255) DEFAULT '' NOT NULL,
fb_config_val varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (fb_config)
) CHARACTER SET utf8 COLLATE utf8_bin;
Re: SHMK User Feedback installation
Verfasst: 15.02.2009 12:29
von Mofa-Killer
Desweiteren Hab ich noch das Problem, dass ich sobald ich die Common.php im Language Ordner packe immer ein Fehler kommt.
Hier mal der Link zur Mod:
http://www.phpbb.com/community/viewtopi ... &t=1004925
Re: SHMK User Feedback installation
Verfasst: 15.02.2009 21:57
von Metzle
Hallo,
bitte beachte das [kb=knigge#bumping]Topic-Bumping[/kb]!
Hast du die common.php im richtigen Format abgespeichert und bearbeitet, also in UTF8 ohne BOM? KB:utf8bom
Das andere sind SQL-Querys, die du mit phpMyAdmin ausführen musst. KB:pma_faq
Re: SHMK User Feedback installation
Verfasst: 14.09.2009 07:01
von Maggan22
Hallo,
ich habe soweit alles installiert und geändert. nun bekomme ich aber eine Fehlermeldung wenn ich in einen Beitrag gehen will!
Code: Alles auswählen
Allgemeiner Fehler
SQL ERROR [ mysqli ]
Table 'd009f5c5.TOPICS_RATED_TABLE' doesn't exist [1146]
SQL
SELECT * FROM TOPICS_RATED_TABLE WHERE topic_id = 1 AND user_id = 2 AND topic_rated = 1
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: viewtopic.php
LINE: 574
CALL: dbal_mysqli->sql_query()
Kann mir jemand helfen den Fehler zu beseitigen?
Danke schonmal
Re: SHMK User Feedback installation
Verfasst: 14.09.2009 07:05
von Metzle
Hallo,
du hast vergessen die Datei includes/constants.php zu bearbeiten.
Re: SHMK User Feedback installation
Verfasst: 14.09.2009 11:05
von Maggan22
Hallöchen,
danke sehr

Hab vergessen sie hochzuladen. Hab ich jetzt gemacht - hab wohl woanders einen Fehler gemacht. jetzt kommt folgende Meldung:
Code: Alles auswählen
Fatal error: Call to undefined function get_rating_img() in /www/htdocs/w009ae80/kramkiste/phpBB3/viewtopic.php on line 676
Hätte da auch noch jemand etwas Hilfe für mich übrig?
Hier sind die Zeilen 660 - 686
Code: Alles auswählen
'U_VIEW_NEWER_TOPIC' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&view=next"),
'U_PRINT_TOPIC' => ($auth->acl_get('f_print', $forum_id)) ? $viewtopic_url . '&view=print' : '',
'U_EMAIL_TOPIC' => ($auth->acl_get('f_email', $forum_id) && $config['email_enable']) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=email&t=$topic_id") : '',
'U_WATCH_TOPIC' => $s_watching_topic['link'],
'L_WATCH_TOPIC' => $s_watching_topic['title'],
'S_WATCHING_TOPIC' => $s_watching_topic['is_watching'],
'U_BOOKMARK_TOPIC' => ($user->data['is_registered'] && $config['allow_bookmarks']) ? $viewtopic_url . '&bookmark=1&hash=' . generate_link_hash("topic_$topic_id") : '',
'L_BOOKMARK_TOPIC' => ($user->data['is_registered'] && $config['allow_bookmarks'] && $topic_data['bookmarked']) ? $user->lang['BOOKMARK_TOPIC_REMOVE'] : $user->lang['BOOKMARK_TOPIC'],
'U_POST_NEW_TOPIC' => ($auth->acl_get('f_post', $forum_id) || $user->data['user_id'] == ANONYMOUS) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=post&f=$forum_id") : '',
'U_POST_REPLY_TOPIC' => ($auth->acl_get('f_reply', $forum_id) || $user->data['user_id'] == ANONYMOUS) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=reply&f=$forum_id&t=$topic_id") : '', 'U_BUMP_TOPIC' => (bump_topic_allowed($forum_id, $topic_data['topic_bumped'], $topic_data['topic_last_post_time'], $topic_data['topic_poster'], $topic_data['topic_last_poster_id'])) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=bump&f=$forum_id&t=$topic_id&hash=" . generate_link_hash("topic_$topic_id")) : '',
//MOD Ratings for topics
'TOPIC_RATING' => $topic_data['topic_rating'],
'TOPIC_RATING_TOTAL_VOTES' => $topic_data['topic_rating_total_votes'],
'RATING_ICONS' => get_rating_img($topic_data['topic_rating'], $topic_data['topic_rating_total_votes']),
'RATING_MESSAGE' => $rating_message,
//show ratingbox only for authorised user who is registered and has not rated, also show only if rating is not locked and topic is not locked
'S_RATING_BOX' => $auth->acl_get('f_post',$forum_id) && $topic_data['topic_rating_status'] == ITEM_UNLOCKED && $topic_data['topic_status'] == ITEM_UNLOCKED && ($user_is_registered && !$user_has_rated) && $topic_data['topic_poster'] != $user->data['user_id'],
'RATING_BOX' => ($user_is_registered && !$user_has_rated) ? make_ratingbox($topic_id,$_SID) : '',
'U_RATING_SUBMIT' => ($user_is_registered && !$user_has_rated) ? "{$phpbb_root_path}topic_rating.$phpEx" : '')
//END MOD
);
// Does this topic contain a poll?
if (!empty($topic_data['poll_start']))
Re: SHMK User Feedback installation
Verfasst: 15.09.2009 18:03
von Maggan22
Hallöchen,
ich hab ihn nochmal installiert mit Hilfe des Automod. Das hat nun soweit geklappt.
Aber es gibt noch einige Punkte die nicht klappen und wo ich Hilfe bräuchte...
1. Es kommt noch eine Fehlermeldung wenn ich auf einen Thread antworten möchte.
The requested URL /phpBB-3.0.5-deutsch/phpBB3/styles/prosilver/template/{U_POST_REPLY_TOPIC} was not found on this server.
2. Ich würde den Mod gern in einen anderen Style einbauen, weiß jemand wie das geht?
3. Gibt es eine deutsche Übersetzung?
Ich hoffe mir kann jemand helfen!