07-24-2014, 09:59 PM
Forum görüntülemede, son mesaj yazarının kullanıcı grup rengini göstermek, son mesaj yazarının grup rengi ftp'den forumdisplay.php dosyasını açın ve aşağıdaki adımları uygulayın..
Ftp/forumdisplay.php dosyasında bulmanız gereken kodlar..
Aşağıdaki kodla tamamen değiştirin..
Ftp/forumdisplay.php dosyasında bulmanız gereken kodlar..
Kod:
$lastposter = $thread['lastposter'];
$lastposteruid = $thread['lastposteruid'];
Aşağıdaki kodla tamamen değiştirin..
Kod:
global $db;
$lastposter_query = $db->query("SELECT username, usergroup, displaygroup FROM ".TABLE_PREFIX."users WHERE uid='".$thread['lastposteruid']."'");
$lastposter_format = $db->fetch_array($lastposter_query);
$lastposter = format_name($lastposter_format['username'], $lastposter_format['usergroup'], $lastposter_format['displaygroup']);
$lastpost_profilelink = build_profile_link($lastposter, $thread['lastposteruid']);
eXpertBoss
☪