Pagina 1 van 1

ik heb er een zooi van gemaakt.

Geplaatst: 04 okt 2005, 08:25
door andrea
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

Geplaatst: 04 okt 2005, 08:54
door Paul
GEef eens regel 625 tot 645 van viewforum.php in code tags?

Geplaatst: 04 okt 2005, 10:04
door andrea
hoe weet ik welke regels dat zijn?
ze zijn hier niet genummerd!!

Geplaatst: 04 okt 2005, 10:20
door XP-Rene
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.

Geplaatst: 04 okt 2005, 10:33
door andrea
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 :oops:

Geplaatst: 04 okt 2005, 10:34
door XP-Rene
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,

Geplaatst: 04 okt 2005, 10:35
door andrea
gedaan

Geplaatst: 04 okt 2005, 11:22
door -=|Rik|=-

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>';

Geplaatst: 04 okt 2005, 11:38
door andrea
dank je wel... het is opgelost!!

deze topic mag gesloten/verwijderd worden..

bedankt allemaal!! :thumb: