View Single Post
Old 01 Jun 2008, 03:17
Kentaurus's Avatar
Kentaurus Kentaurus is offline
Join Date: Dec 2001
Thanks. Nice hack.

Some comments:

Instead of
You should use:
$userid = $this->profile->userinfo['userid'];


Instead of
you should use


Instead of
you should use

anything $vbulletin-> could be accomplished with $this->registry
and you eliminate the use of a global variable and instead use the encapsulated class reference


The template is not cached. That is an additional query in all profiles. Add a pluging for 'cache_templates' with this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Try MySmilies Mod - User-based, custom smilies for each user - Anime Community
CemZoo Forums - Anime Forums

Last edited by Kentaurus; 01 Jun 2008 at 03:34.
Reply With Quote