*easy subforum
*recent topics
şu anda çözemediğim yerler bunlar...
IcEman yazdı:Bunu foruma kurdum çalıştı.Yedek almayı unutmayın.
Recent Topics MOD Color Groups MOD u ilişkilendirilmesi:
[AÇ]
recent.php
[BUL]
[syntax="php"]$first_time = create_date($board_config['default_dateformat'], $line[$i]['topic_time'], $board_config['board_timezone']); [/syntax]
[ÜSTÜNE EKLE]
[syntax="php"]include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
$last_author = color_group_colorize_name($last_poster_id, true);
$first_author = color_group_colorize_name($first_poster_id, true); [/syntax]
[BUL]
[syntax="php"]$first_author = ( $line[$i]['first_poster_id'] != ANONYMOUS ) ? '<a class="gensmall" target ="_top" href="'. append_sid("profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $line[$i]['first_poster_id']) .'">'. $line[$i]['first_poster'] .'</a>' : ( ($line[$i]['first_poster_name'] != '' ) ? $line[$i]['first_poster_name'] : $lang['Guest'] ); [/syntax]
[DEĞİŞTİR]
[syntax="php"]$first_author = ( $line[$i]['first_poster_id'] == ANONYMOUS ) ? ( ($line[$i]['first_poster_name'] != '' ) ? $line[$i]['first_poster_name'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($line[$i]['first_poster_id']); [/syntax]
[BUL]
[syntax="php"]$last_author = ( $line[$i]['last_poster_id'] != ANONYMOUS ) ? '<a class="gensmall" target ="_top" href="'. append_sid("profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $line[$i]['last_poster_id']) .'">'. $line[$i]['last_poster'] .'</a>' : ( ($line[$i]['last_poster_name'] != '' ) ? $line[$i]['last_poster_name'] : $lang['Guest'] ); [/syntax]
[DEĞİŞTİR]
[syntax="php"]$last_author = ( $line[$i]['last_poster_id'] == ANONYMOUS ) ? ( ($line[$i]['last_poster_name'] != '' ) ? $line[$i]['last_poster_name'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($line[$i]['last_poster_id']); [/syntax][u]
Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir