![]() |
<IF CONDITION= not working
Hey
I am trying to make a modification for vB.org and for my client. I am trying to declare a function and some HTML through vB's template conditions and its not working. In basic, I could not find a developer documentation for the following conditions, but none of them are working with else, and if else combinations. PHP Code:
PHP Code:
PHP Code:
Anyone have an idea to achieve this. Code:
IF user->guest SHOW |
For usergroup:-
HTML Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"> HTML Code:
<if condition="$show['guest']"> |
Still not working
|
They will work - if you are implementing them properly.
|
Hey
I am doing a Welcome Panel. And have done it in the ForumHome template. It displays when the user is logged in only, and not for the guest. The code is being called in the FORUMHOME_WELCOMEPANEL |
<a href="http://www.vbulletin.com/docs/html/main/template_conditionals" target="_blank">Template Conditionals</a> See if maybe you can get something from there that works. Also use <else /> instead of two seperate <if>s
|
Its working. I managed to place the guest information in the navigation bar and its fixed it!
|
All times are GMT. The time now is 09:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|