05-01-2018, 06:59 PM
Not: Bu modifikasyon 10TL.NET sistemine yapılamaz, çünkü mybb dosyasını değiştirmek gerekiyor.
Önizleme:
Yapımcı: tedem
Kurulum;
FTP sunucusundan forumdisplay.php açıyoruz.
Bul:
PHP Kod:
Değiştir:
PHP Kod:
Bul:
PHP Kod:
Değiştir:
PHP Kod:
Bul:
PHP Kod:
Değiştir:
PHP Kod:
Bul:
PHP Kod:
Değiştir:
PHP Kod:
Bul:
PHP Kod:
Değiştir:
PHP Kod:
Önizleme:
Yapımcı: tedem
Kurulum;
FTP sunucusundan forumdisplay.php açıyoruz.
Bul:
PHP Kod:
Kod:
$announcement['profilelink'] = build_profile_link($announcement['username'], $announcement['uid']);
Değiştir:
PHP Kod:
Kod:
$announcement_profilelink = $db->query("SELECT usergroup, displaygroup FROM ".TABLE_PREFIX."users WHERE uid='".$announcement['uid']."'");
$announcement_profilelink = $db->fetch_array($announcement_profilelink);
$announcement_profilelink = format_name($announcement['username'], $announcement_profilelink['usergroup'], $announcement_profilelink['displaygroup']);
$announcement['profilelink'] = build_profile_link($announcement_profilelink, $announcement['uid']);
Bul:
PHP Kod:
Kod:
$thread['username'] = $thread['profilelink'] = htmlspecialchars_uni($thread['threadusername']);
Değiştir:
PHP Kod:
Kod:
$thread['username'] = $thread['profilelink'] = format_name(htmlspecialchars_uni($thread['threadusername']), 1);
Bul:
PHP Kod:
Kod:
$thread['profilelink'] = build_profile_link($thread['username'], $thread['uid']);
Değiştir:
PHP Kod:
Kod:
$thread_profilelink = $db->query("SELECT usergroup, displaygroup FROM ".TABLE_PREFIX."users WHERE uid='".$thread['uid']."'");
$thread_profilelink = $db->fetch_array($thread_profilelink);
$thread_profilelink = format_name($thread['username'], $thread_profilelink['usergroup'], $thread_profilelink['displaygroup']);
$thread['profilelink'] = build_profile_link($thread_profilelink, $thread['uid']);
Bul:
PHP Kod:
Kod:
$lastposterlink = $lastposter;
Değiştir:
PHP Kod:
Kod:
$lastposterlink = format_name($lastposter, 1);
Bul:
PHP Kod:
Kod:
$lastposterlink = build_profile_link($lastposter, $lastposteruid);
Değiştir:
PHP Kod:
Kod:
$lastposter_profilelink = $db->query("SELECT usergroup, displaygroup FROM ".TABLE_PREFIX."users WHERE uid='".$lastposteruid."'");
$lastposter_profilelink = $db->fetch_array($lastposter_profilelink);
$lastposter_profilelink = format_name($lastposter, $lastposter_profilelink['usergroup'], $lastposter_profilelink['displaygroup']);
$lastposterlink = build_profile_link($lastposter_profilelink, $lastposteruid);
Kod:
10 tl destek siitesinden alıntıdır