Username HTML Markup in Everywhere

MobileHacks

New Member
Description:

This mini Add-On will showing the Usergroups Username HTML Markup in
FORUMHOME
FORUMDISPLAY
SUBFORUMS


Installation:

1. step: upload the hooks_username_html_markup.xml file to your forumroot/includes/xml folder


2. step: find in forumroot/includes/functions_forumlist.php file this code
PHP:
$lastpostinfo = (empty($lastpostarray[$forumid]) ? array() : $vbulletin->forumcache["$lastpostarray[$forumid]"]);


than add below this code
PHP:
($hook = vBulletinHook::fetch_hook('forumbit_lastpostby')) ? eval($hook) : false;


Save and reupload.

3. step:

And at least import the product-username_html_markup.xml product file via admincp -> product manager -> import/export products

Tested on:

  • vBulletin 3.7.x
  • vBulletin 3.8.x

Demo: www.vbulletin-turkey.com/forum
 
i have error in showthread

Code:
http://www.***.com/forum/members/<span-style="color-000000;-font-weight-bold;">br uno69<-span>/
 
Not working on Forum index for me.

Edit Fixed it

is there anyway to do the same for the stats?
 
id install, but i try avoiding mods that require editing of vbulletin files... its just a pain in the ass when u upgrade u always have to make all the changes again
 
Back
Top