Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
-
andrea
- Berichten: 93
- Lid geworden op: 03 jun 2005, 08:01
- Locatie: haarlem
-
Contacteer:
Bericht
door andrea » 04 okt 2005, 08:25
Support template:
- Wat is het probleem? foutmelding en rare forum
Wanneer ontstond het probleem? bij het proberen te installeren van color mod
Adres van je forum: http://www.klessebessen.nl
Geïnstalleerde mods: color mod
Huidige template: the eighties
phpBB versie: 2.0.
Host: cccwebhosting
Heb je onlangs een mod of stijl geïnstalleerd? ja
Heb je gezocht naar een antwoord?
ja
Overige opmerkingen: ik krijg als foutmelding op mijn forum: Parse error: parse error, unexpected T_VARIABLE in /home/klessebe/domains/klessebessen.nl/public_html/phpBB2/viewforum.php on line 633
-
Paul
- Beheerder

- Berichten: 20316
- Lid geworden op: 23 okt 2003, 11:38
- Locatie: Utrecht
-
Contacteer:
Bericht
door Paul » 04 okt 2005, 08:54
GEef eens regel 625 tot 645 van viewforum.php in code tags?
-
andrea
- Berichten: 93
- Lid geworden op: 03 jun 2005, 08:01
- Locatie: haarlem
-
Contacteer:
Bericht
door andrea » 04 okt 2005, 10:04
hoe weet ik welke regels dat zijn?
ze zijn hier niet genummerd!!
-
XP-Rene
- Berichten: 2168
- Lid geworden op: 01 dec 2004, 19:33
- Locatie: Vlissingen
-
Contacteer:
Bericht
door XP-Rene » 04 okt 2005, 10:20
andrea schreef:hoe weet ik welke regels dat zijn?
ze zijn hier niet genummerd!!
Met bijvoorbeeld het gratis programmaatje,
Crimson Editor zie je de regelnummer wel.
-
andrea
- Berichten: 93
- Lid geworden op: 03 jun 2005, 08:01
- Locatie: haarlem
-
Contacteer:
Bericht
door andrea » 04 okt 2005, 10:33
bedankt rene!!!
hier is het:
Code: Selecteer alles
$topic_author = ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['user_id']) . '">' : '';
$topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? $topic_rowset[$i]['username'] : ( ( $topic_rowset[$i]['post_username'] != '' ) ? $topic_rowset[$i]['post_username'] : $lang['Guest'] ); $topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : '';
$first_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['topic_time'], $board_config['board_timezone']);
$last_post_time = create_date($b $last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['id2']) . '">' . $topic_rowset[$i]['user2'] . '</a>'; $last_post_url = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $topic_rowset[$i]['topic_last_post_id']) . '' . $topic_rowset[$i]['topic_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" border="0" /></a>';
$views = $topic_rowset[$i]['topic_views'];
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('topicrow', array(
'ROW_COLOR' => $row_color,
'ROW_CLASS' => $row_class,
'FORUM_ID' => $forum_id,
'TOPIC_ID' => $topic_id,
sorry

Laatst gewijzigd door
andrea op 04 okt 2005, 10:35, 1 keer totaal gewijzigd.
-
XP-Rene
- Berichten: 2168
- Lid geworden op: 01 dec 2004, 19:33
- Locatie: Vlissingen
-
Contacteer:
Bericht
door XP-Rene » 04 okt 2005, 10:34
Zet het voor de duidelijkheid ook even tussen "code"-tags.
Zoals:
Code: Selecteer alles
$topic_author = ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['user_id']) . '">' : '';
$topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? $topic_rowset[$i]['username'] : ( ( $topic_rowset[$i]['post_username'] != '' ) ? $topic_rowset[$i]['post_username'] : $lang['Guest'] ); $topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : '';
$first_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['topic_time'], $board_config['board_timezone']);
$last_post_time = create_date($b $last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['id2']) . '">' . $topic_rowset[$i]['user2'] . '</a>'; $last_post_url = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $topic_rowset[$i]['topic_last_post_id']) . '' . $topic_rowset[$i]['topic_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" border="0" /></a>';
$views = $topic_rowset[$i]['topic_views'];
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('topicrow', array(
'ROW_COLOR' => $row_color,
'ROW_CLASS' => $row_class,
'FORUM_ID' => $forum_id,
'TOPIC_ID' => $topic_id,
-
andrea
- Berichten: 93
- Lid geworden op: 03 jun 2005, 08:01
- Locatie: haarlem
-
Contacteer:
Bericht
door andrea » 04 okt 2005, 10:35
gedaan
-
-=|Rik|=-
- Berichten: 815
- Lid geworden op: 02 jan 2004, 19:49
- Locatie: Eindhoven
Bericht
door -=|Rik|=- » 04 okt 2005, 11:22
Code: Selecteer alles
$last_post_time = create_date($b $last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['id2']) . '">' . $topic_rowset[$i]['user2'] . '</a>'; $last_post_url = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $topic_rowset[$i]['topic_last_post_id']) . '' . $topic_rowset[$i]['topic_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" border="0" /></a>';
Hier gaat het fout. Vervang dit eens met
Code: Selecteer alles
$last_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']);
$last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['id2']) . '">' . $topic_rowset[$i]['user2'] . '</a>';
$last_post_url = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $topic_rowset[$i]['topic_last_post_id']) . '' . $topic_rowset[$i]['topic_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" border="0" /></a>';
-=|Rik|=- kan schadelijk zijn voor de gezondheid.
Krijg toch allemaal de kolere, val voor mijn part allemaal dood.
-
andrea
- Berichten: 93
- Lid geworden op: 03 jun 2005, 08:01
- Locatie: haarlem
-
Contacteer:
Bericht
door andrea » 04 okt 2005, 11:38
dank je wel... het is opgelost!!
deze topic mag gesloten/verwijderd worden..
bedankt allemaal!! :thumb: