The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
conditionals in custom vbcodes
Can you use conditionals in custom bb codes? How would one get that to work?
Thanks for your help! CL |
#2
|
|||
|
|||
What kinda conditionals are you thinking of?
|
#3
|
|||
|
|||
<if condition="is_member_of($bbuserinfo, 10)">
{param} </if> |
#4
|
|||
|
|||
Have a look in my signature, you will find somehting you could use there
|
#5
|
|||
|
|||
Thanks Marco.. but been there, done that. That's not really what I am looking for. I want to use any IF CONDITIONALS in custom BB codes. Right now, it doesn't work... does anyone else know how to get that this to function? Perhaps what file to edit to get the post to read the conditionals?
thanks |
#6
|
|||
|
|||
You want users to type IF-statements in their posts?
|
#7
|
|||
|
|||
I see where your custom bbcode hack is, I have it installed for NO GUEST... but I want to simplify it and use the admin custom bb code manager and insert if conditionals there, so I can easily create ones we need and add them into other custom codes. But when I do that, it doesn't read the conditional. The templates read the conditonals, there must be somewhere to get the post to read them as well?
|
#8
|
|||
|
|||
Sorry but it doesn't work like that. If it would work like that, there would have been no need for my hack.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|