Quote:
Originally Posted by Marulatree
I am finding it hard to understand exactly where to put the conditionals. do I put it in Functions.php if so where.
|
Provided that you installed the hack, you don't edit any .php files anymore to apply conditionals. These are "template conditionals" so you put them inside templates.
For instance if you want to display different header template according to different conditions, you edit your header template and apply your conditionals here.
a sample template with conditionals:
Quote:
[[($bbuserinfo[usergroupid]==6)]]
show this text to admins
[[/($bbuserinfo[usergroupid]==6)]]
[[($bbuserinfo[usergroupid]==2)]]
show this text to registered users
[[/($bbuserinfo[usergroupid]==2)]]
show this text everybody else who is not registered user nor admin.
|
Needless to say you'll replace "show this text" texts with HTML code that you want to display