Had a few problems when i installed this.
1. got this error: Parse error: parse error, unexpected '.', expecting ')' in /hsphere/local/home/krillmee/krillmeed.com/forum/viewforum.php on line 723
2: When trying to set up the weather mod in admin, it kept saying "Hacking attempt" And not allowing me to switch this on for different forums
3: where you say
- Code: Select all
##-----[ FIND ]------------------------------------------# submit_post($mode, $post_data, $, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("'", "''", $username), str_replace("'", "''", $subject), str_replace("'", "''", $message), str_replace("'", "''", $poll_title), $poll_options, $poll_length, $max_vote, $hide_vote, $tothide_vote, $forcetime, str_replace("'", "''", $topic_desc), $news_category, $topic_announce_duration, $topic_calendar_time, $topic_calendar_duration, $post_icon, $topic_calendar_repeat); ##-----[ IN-LINE FIND ]------------------------------------------#$mode, ##-----[ AFTER, ADD ]------------------------------------------# $battlemode, ##-----[ FIND ]------------------------------------------#//// Output the data to the template// ##-----[ BEFORE, ADD ]------------------------------------------#if($rpg_config['allowbatt'] == 1 && ($mode == 'reply' || $mode == 'newtopic') && $post_info['forum_fight'] == 1){ $template->assign_block_vars('cback_rpg', array( 'BATTLE' => $lang['rpg_battle'], 'BDESCR' => $lang['rpg_battle_descript']));}
I found those 2 codes in the posting php not the viewforum.php as it states in the readme
Would be nice to get this to work for my newly started RPG group, but seems there a few little bugs at the moment <img>