SHMK User Feedback installation

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Mofa-Killer
Mitglied
Beiträge: 61
Registriert: 13.02.2009 12:35

SHMK User Feedback installation

Beitrag 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;
http://www.2takt-forum.net
Das Forum für Simson und MZ.
Mofa-Killer
Mitglied
Beiträge: 61
Registriert: 13.02.2009 12:35

Re: SHMK User Feedback installation

Beitrag 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
http://www.2takt-forum.net
Das Forum für Simson und MZ.
Benutzeravatar
Metzle
Ehemaliges Teammitglied
Beiträge: 10435
Registriert: 08.03.2008 02:50
Wohnort: Waiblingen-Neustadt
Kontaktdaten:

Re: SHMK User Feedback installation

Beitrag 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
Metzle
phpBB.de-Support-Team
Allround-phpBB.de
Maggan22
Mitglied
Beiträge: 421
Registriert: 24.01.2008 11:29
Kontaktdaten:

Re: SHMK User Feedback installation

Beitrag 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
Benutzeravatar
Metzle
Ehemaliges Teammitglied
Beiträge: 10435
Registriert: 08.03.2008 02:50
Wohnort: Waiblingen-Neustadt
Kontaktdaten:

Re: SHMK User Feedback installation

Beitrag von Metzle »

Hallo,

du hast vergessen die Datei includes/constants.php zu bearbeiten.
Metzle
phpBB.de-Support-Team
Allround-phpBB.de
Maggan22
Mitglied
Beiträge: 421
Registriert: 24.01.2008 11:29
Kontaktdaten:

Re: SHMK User Feedback installation

Beitrag 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']))
Gruss Maggan22
Maggan22
Mitglied
Beiträge: 421
Registriert: 24.01.2008 11:29
Kontaktdaten:

Re: SHMK User Feedback installation

Beitrag 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!
Antworten

Zurück zu „[3.0.x] Mod Support“