A list of useful conditionals for Vbulletin, this list will be upgraded with more useful information:
1. How to setup a conditional to show some information only to 1 usergroup.
2. How to setup a conditional to show some information to multiple usergroups.
Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
3. How to setup a conditional to show some information only to 1 user id.
Code:
<if condition="$bbuserinfo[userid] == X">
4. How to setup a conditional to show some information to multiple user Ids.
Code:
<if condition="in_array($bbuserinfo[userid], array(X,Y,Z))">
5. How to setup a conditional to hide information only from 1 usergroup.
Code:
<if condition="!is_member_of($bbuserinfo, X)">
6. How to setup a conditional to hide information from multiple usergroups.
Code:
<if condition="!is_member_of($bbuserinfo, X, Y, Z)">
7.How to setup a conditional to show hide information only from 1 user id.
Code:
<if condition="$bbuserinfo[userid] == X">
8. How to setup a conditional to hide information from multiple user Ids.
Code:
<if condition="!in_array($bbuserinfo[userid], array(X,Y,Z))">
9. How to show information only in forum
Code:
<if condition="$forumid == X">
10. How to show information in few forums
Code:
<if condition="in_array($forumid, array(X,Y,Z))">
11. How to hide information in 1 forum
Code:
<if condition="$forumid != X">
12. How to hide information in multiple forums.
Code:
<if condition="!in_array($forumid, array(X,Y,Z))">
__________________
öLürüm yoLuna öLürümde yine boyun eğmem, yakarım dünyayı uğruna ama sana eğiLmem.. öyLe sInIrsIz öyLe Derin öyLe Çok Severim ki KORKARSIN!! Kuruyup çöLe dönsemde Pare Pare oLsamda YENiLMEM!!..
|