Log in

View Full Version : i research one condition


jolinary
09-27-2008, 03:23 PM
Hello, I would have wanted which knowledge is the functional condition under vb 3.7.3 for done apparaitre in a precise forum (ID) a picture and not in of others?

Thank you a lot and excuse me for my bad English.

EDIT: it s for the template (postbit)

Lynne
09-27-2008, 03:52 PM
You are asking about a condition for a forumid to use in the postbit template? Try this:

<if condition="$forumid==xx">
stuff only in forum xx
</if>

jolinary
09-27-2008, 07:28 PM
Thanks you ;)

Yes, it is good, does on the other hand that work only on the template postbit? on the template forumhome or forumdisplay, that works also?

Lynne
09-27-2008, 07:44 PM
It may work on the other templates also. If not, here is a list of others to try instead of $forumid:
$forum['forumid']
$foruminfo['forumid']
$thread['forumid']
$threadinfo['forumid']
$GLOBAL['forumid']

jolinary
09-27-2008, 08:40 PM
ok thanks ;)