aber irgendwie fand ich keine lösung
1. Hab eine sql fehler bei der install abfrage
Code: Alles auswählen
Fehler Liste:
SQL Error: 1067 Invalid default value for 'quiz_id'
SQL Query: CREATE TABLE phpbb_quiz ( quiz_id mediumint(8) unsigned DEFAULT '0' NOT NULL auto_increment, question text NOT NULL, answer varchar(100) NOT NULL, answer2 varchar(100) NOT NULL, answer3 varchar(100) NOT NULL, answer4 varchar(100) NOT NULL, answer_explain text NOT NULL, quiz_points tinyint(2) DEFAULT '1' NOT NULL, quiz_type tinyint(1) DEFAULT '0' NOT NULL, quiz_status tinyint(1) DEFAULT '0' NOT NULL, quiz_from_user_id mediumint(8) DEFAULT '0' NOT NULL, quiz_topic_id mediumint(8) unsigned DEFAULT '0' NOT NULL, quiz_bot_post_id mediumint(8) unsigned DEFAULT '0' NOT NULL, answered_by_user_id mediumint(8) DEFAULT '0' NOT NULL, PRIMARY KEY (quiz_id), KEY quiz_status (quiz_status), KEY quiz_topic_id (quiz_topic_id) )
SQL Error: 1060 Duplicate column name 'quiz_points'
SQL Query: ALTER TABLE phpbb_users ADD quiz_points MEDIUMINT(8) UNSIGNED DEFAULT '0' NOT NULL
SQL Error: 1060 Duplicate column name 'topic_quiz'
SQL Query: ALTER TABLE phpbb_topics ADD topic_quiz MEDIUMINT(8) DEFAULT '0' NOT NULL
SQL Error: 1060 Duplicate column name 'quiz_answer'
SQL Query: ALTER TABLE phpbb_posts_text ADD quiz_answer VARCHAR(100) NOT NULL
2.des weiteren
finde ich in der posting_body.tpl nicht
Code: Alles auswählen
/templates/xxx/posting_body.tpl
##################################################################
#-----[ FIND ]------------------------------------------
#
formErrors = "{L_EMPTY_MESSAGE}";
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_quiz_answer_js -->
{switch_quiz_answer_js.JS}
<!-- END switch_quiz_answer_js -->
##################################################################
3. habe ich auch in der funktion_post.php
ein finde problem
Code: Alles auswählen
#########################################################################
if ($mode == 'newtopic' || $mode == 'reply')
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( !isset($post_data['flood_control_off']) && ( $mode == 'newtopic' || $mode == 'reply' ) ) // ADDED ' !isset($post_data['flood_control_off']) && ( ' AND ')' BY Quiz Hack
################################################
#########################
4.im acp habe ich auch ein problem
Fatal error: Call to a member function check_mod_auth() on a non-object in /xxxw/xxx/xxx/forum/language/lang_german/lang_quiz_faq.php on line 49
Code: Alles auswählen
if ( $quiz->check_mod_auth($userdata, true) )
wäre dankbar wenn mir jemand helfen könnte
edit: vergass hier gibs den mod https://sourceforge.net/project/showfil ... e_id=64021