Quote:
Originally Posted by DanielGara
I was searching in the web for put "username HTML mark" in forumhome (last post) and i found this:
1) Edit file functions_forumlist.php (file that is in folder "includes")
- Find:
PHP Code:
$lastpostinfo = (empty($lastpostarray[$forumid]) ? array() : $vbulletin->forumcache["$lastpostarray[$forumid]"]);
- After Add:
PHP Code:
if($lastpostinfo[lastposter])
{
$temp=$vbulletin->db->query_first("
SELECT userid, username, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "user
WHERE username = '".addslashes(htmlspecialchars_uni($lastpostinfo[lastposter]))."'");
if ($temp[userid])
{
$lastpostinfo[lastposter]= fetch_musername($temp);
}
}
In my forum www.mundomedellin.com vbulletin 3.8.3 this worked perfectly
|
Here you have plugin for "username HTML mark" in forumhome (last post) :
https://vborg.vbsupport.ru/showthread.php?p=1850299
Simple and easy - just import product

no template modicications

It colors only last post, so use booth plugins