Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5
MyBB Yazarın Grup Biçimi [Forum Görüntülenme]
#1
Not: Bu modifikasyon 10TL.NET sistemine yapılamaz, çünkü mybb dosyasını değiştirmek gerekiyor.
Önizleme:
img_2ee0f411_1512701120.png

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
image.php?u=1711&dateline=1411314598&type=profilesampiyoon-gs2.gif

Ara
Cevapla


Hızlı Menü:


Şu anda bu konuyu okuyanlar: 1 Ziyaretçi


10tl.net Destek Forumu -

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping