The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
The code wasn't intended to work in a template; it was intended to work in an independent PHP-rendered page.
You are getting into uncharted territory for me here; I <THINK> what you need to do is write a PHP-based plugin that sets a global var that you can then evaluate in the template. The plugin would look similar to the code I gave you earlier, except it wouldn't need the includes. if(is_member_of($vbulletin->userinfo, REGISTERED_USER_GROUP)) $m_IsRegisteredUser = TRUE; else $m_IsRegisteredUser = FALSE; Then, in your template code, you would have this: <if condition="$m_IsRegisteredUser"> Do Registered User Stuff <else> Do Non-Registered User stuff </if> Now, I haven't got the foggiest idea if this will actually do what you want, but it might be worth a shot. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|