Scris: 22-Iun-2006, 18:00:12
Da... nu a patit nimeni asa ceva pana acum.
Vad ca suna tare ciudat mailul tau
Ti-am activat eu contul.
Vad ca suna tare ciudat mailul tau

Ti-am activat eu contul.
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
asta e codul intreg....si unde se pune in index?cip scrie:o intrebare.. de fapt o rugaminte.
am modul top posters, si l-am observat si pe unul din forumurile din semnatura ta. bine, adica nu stiu exact daca e vorba de aceeasi modificare, sau e vreuna facuta de tine.. in fine.am observat insa ca la tine userii sunt "numerotati" de la 1 la 15, pe cand la mine nu. imi poti spune si mie ce anume sa modific? daca nu ma insel, e ceva in secventa asta, dar nu stiu exact ce:
si in plus, sa adaug si un spatiu intre numele userului si paranteza in care sunt afisate numarul de posturi.Cod: Selectaţi tot
// Begin Top Posters on Index if ($board_config['top_posters']) { $top_posters = $board_config['top_posters']; $sql = "SELECT username, user_id, user_level, user_posts FROM " . USERS_TABLE . " WHERE user_id <ANONYMOUS>sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Could not Query Top Posting Users', '', __LINE__, __FILE__, $sql); } $user_count = $db->sql_numrows($result); $user_data = $db->sql_fetchrowset($result); $firstcount = $user_data[0]['user_posts']; $total_posts = get_db_stat('postcount'); $total_top_posters = 0; $top_posters_userlist = ''; $seperator = ', '; for ($i = 0; $i < $user_count; $i++) { if ($user_data[$i]['user_level'] == ADMIN) { $user_data[$i]['username'] = '<b><span>'. $user_data[$i]['username'] .'</span></b>'; } else if ($user_data[$i]['user_level'] == MOD) { $user_data[$i]['username'] = '<b><span>'. $user_data[$i]['username'] .'</span></b>'; } else { $user_data[$i]['username'] = '<b><span>'. $user_data[$i]['username'] .'</span></b>'; } $top_posters_userlist .= (( ($top_posters_userlist) && ($user_data[$i]['user_id']) ) ? $seperator : '') .'<a alt="'. $alt .'" title="'. $alt .'" href="profile.'. $phpEx .'?mode=viewprofile&u='. $user_data[$i]['user_id'] .'" class="copyright">'. $user_data[$i]['username'] .'</a>('. $user_data[$i]['user_posts'] .')'; $total_top_posters++; } } // End Top Posters on Index
multumesc