Log in

View Full Version : Forum ID into conditional? Or hide postbit for particular forum?


Cryo
01-23-2006, 03:50 PM
I'm looking for a way to either put the forum id into a vB conditional OR hide the postbit in a forum to everyone but a single usergroup. The third option (which I have basically had no luck with at this time) is to hide the replies to a thread to everyone but a particular user-group.

Any ideas / suggestions?

Guest190829
01-23-2006, 06:26 PM
Well you can access the forumid with this:


$foruminfo[forumid]

we_scooter
01-23-2006, 09:24 PM
O.K
I have a question related to this forum id thing,
My Q : How can I add forum id into conditional that enables me to show certain html code for example in a certain forum..?

harmor19
01-23-2006, 09:30 PM
Try

<if condition="$foruminfo[forumid] == 4">code here</if>

Change "4" to the forumid you want to show html in.

we_scooter
01-23-2006, 09:36 PM
ok i will try this and keep u updated wit hresults:) hope it kicks

t y for the moment

edited ( because it works like charm ) thx