![]() |
Isn't there a list for all conditionals that can be used in templates?
Can't believe vBulletin doesn't provide them somewhere in the control panel.
|
There was one here, but i lost it when the forum was restructred
|
Can't even find it with the search either. This needs to be a sticky imo
|
There is and never will be one, as it would probally be larger than an encylopeida.
Basic format <if condition="a == b"> code here </if> what goes between " and " can be so many differnt things its insane. You can use any avaible vBulletin varible, anything inside of the global scope, any of the SUPER globals. Then you could also use other constants and varibles from other hacks and addons that are present. |
You're right but for the most common ones it would be usefull (for me anyway) :)
BTW can you atleast help me out on this one https://vborg.vbsupport.ru/showthread.php?t=118022 :) Thanks ps: basically what I want is this: https://vborg.vbsupport.ru/showthrea...30#post1003930 |
easy
<if condition="is_member_of($post, X)"> code here </if> Change x to the groupid you want to display the image for. |
In addition to all the usual boolean tests on whatever variables are in scope (the encylopeida Zachery refers to), there is a list of "safe" functions you can use in conditionals specified here:
http://www.vbulletin.com/docs/html/f...n_conditionals -- hugh |
All times are GMT. The time now is 06:05 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:
|