| ||||
| To 'tidy up' the postbit_legacy (the bit that you see when you are looking at a post), the Arcade awards have been moved. They are now under your name...I mean, click on the name of a member to see their Arcade awards, and challenge them. (If anyone can tell me how to write a conditional so that Arcade awards will show in the legacy postbit ONLY in this forum (id=44), then I will enable them in the postbit for his forum.) | ||||
| ||||
| Quote:
Kall, whack this in template postbit_legacy. Code: <if condition="$forum['forumid'] == 44"> Your arcade awards code goes here. </if> | ||||
| ||||
| Quote:
(I has $foruminfo['forumid'] for some reason....hey, what is the conditional for userid? Like 'I want to show something, but not to/for a specific user'?) | ||||
| ||||
| Quote:
Code: <if condition="$bbuserinfo[userid] == X"> Your code goes here </if> So, here is the most common. To only something about a specific user in a post related context e.g. in postbits: Code: <if condition="$post[userid] == X"> Your code goes here </if> | ||||
| ||||
| Quote:
Now for some fun. To show something to everyone except specific users Code: <if condition="$bbuserinfo[userid] == X OR $bbuserinfo[userid] == Y"> <else /> Your code goes here </if> | ||||
| Login or Register to Reply |
| Tags |
| move, cabinet, trophy |
| Topic Tools | |
| Display Modes | |
| |
| Sitemap |
< New Zealand News - Arcade - New Zealand Map - Helpdesk - New Zealand Photo Gallery - NZBMail - Sitemap > |