The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#6
|
||||
|
||||
![]()
I use this code in one of my hacks to add template code using a plugin:
Code:
$search_text = '$navbar'; $vbulletin->templatecache['FORUMHOME'] = str_replace($search_text, $search_text.fetch_template('temp_with_code_you_want_added'),$vbulletin->templatecache['FORUMHOME']); Basically, just replace the $navbar with a string from a template, in my case I'm using forumhome, if I'm understanding what you're trying to do, then I think you'd want to use the same. Try replacing $navbar with "$vbphrase[x_members_and_y_guests]</phrase>)". Then create a template with whatever code you want and put the template name in the plugin. Code:
<br />Invisible Users: $var |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|