The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Use VB:IF in BBCODE, possible?
I would like to use some conditional in BBCODE, for example to create a tag to show some text only to unregistered users (so vb:if condition="$show['guest']").
Is it possible? If not, do you have any workaround? |
#2
|
||||
|
||||
No, its not possible to use conditionals in bbcode, and it would not work if it was possible, because post content is cached.
|
#3
|
||||
|
||||
I've been looking into this today. (I know, bumping an old post.)
There are ways to edit the PHP files, to alter the behavior of standard bbcode, and it works well. But for custom-added bbcode, I've not yet figured out how this can be done. I think you'd have to add the custom bbcode into the vBulletin php files, and from there you could control this. If you're not REALLY familiar with vBulletin, you're probably up a creek. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|