CH+yellow card system problem
Geplaatst: 26 dec 2005, 12:57
Support template:
Overige opmerkingen:
dit is de error:
en dit is de code van viewtopic
van 1600 tot 1650:
ik snap er niks meer van
kunnen jullie mij helpen?
- Wat is het probleem?
ik heb CH2.1.4 geinstalleerd en nog een aantal andere mods waaronder de yellow card mod maar nu bij een topic te openen geeft die een error
Wanneer ontstond het probleem?
na het installeren van Yellow card mod aangepast voor CH
Adres van je forum: http://www.undergroundwars.com/phpbb2/
Geïnstalleerde mods:CH Advanced Group Color Management Bantron
Huidige template: aangepaste versie van subsilver
phpBB versie: 2.0.18
Host:eigen host
Heb je onlangs een mod of stijl geïnstalleerd?zie bovengaande
Heb je gezocht naar een antwoord?
Overige opmerkingen:
dit is de error:
Code: Selecteer alles
Parse error: parse error in D:\sites\ugw\phpbb2\viewtopic.php on line 1611
van 1600 tot 1650:
Code: Selecteer alles
//-- mod : categories hierarchy ------------------------------------------------
//-- delete
/*
'U_POST_ID' => $postrow[$i]['post_id'])
);
}
*/
//-- add
'U_POST_ID' => $postrow[$i]['post_id'],
$xd_root),
'U_UNREAD_POST' => $config->url('viewtopic', array
(POST_POST_URL => $postrow[$i]['post_id'], 'unmark' => 'post'), true),
));
$template->set_switch('postrow.light', !($i % 2));
$template->set_switch('postrow.unmark_read', $cookie_setup['keep_unreads']);
//-- mod : attachmod -----------------------------------------------------------
//-- add
display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
//-- fin mod : attachmod -------------------------------------------------------
// enhance the topic title
$front_title->set('postrow', array_merge($forum_topic_data, $postrow[$i]), $forum_topic_data['topic_first_post_id'] == $postrow[$i]['post_id'], $highlight_match);
// post buttons switches
$post_buttons = array('profile', 'pm', 'email', 'www', 'icq', 'aim', 'msn', 'yim', 'quote', 'search', 'edit', 'ip', 'delpost');
$count_post_buttons = count($post_buttons);
for ( $j = 0; $j < $count_post_buttons; $j++ )
{
$button = $post_buttons[$j] . '_img';
$template->set_switch('postrow.' . $button, !empty($$button));
}
}
$forums->display_nav($forum_id);
$moderators = new moderators();
$moderators->read();
$moderators->display('moderators', $forum_id);
$pagination = new pagination('viewtopic', array(POST_TOPIC_URL => $topic_id, 'postdays' => $post_days, 'postorder' => $post_order, 'highlight' => $highlight));
$pagination->display('pagination', $total_replies, $config->data['posts_per_page'], $start, true, 'Posts_count');
$watch_mode = $is_watching_topic ? 'unwatch' : 'watch';
$l_watch_mode = $is_watching_topic ? 'Stop_watching_topic' : 'Start_watching_topic';
$watch_img = $is_watching_topic ? 'topic_un_watch' : 'topic_watch';
$template->assign_vars(array(
'U_WATCH_TOPIC' => $config->url('viewtopic', array(POST_TOPIC_URL => $topic_id, $watch_mode => 'topic', 'start' => $start, 'postdays' => $post_days, 'postorder' => $post_order, 'highlight' => $highlight), true),
'L_WATCH_TOPIC' => $user->lang($l_watch_mode),
'I_WATCH_TOPIC' => $user->img($watch_img),
kunnen jullie mij helpen?