Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Jun 2011, 10:51
galerio's Avatar
galerio galerio is offline
 
Join Date: Feb 2011
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?
Reply With Quote
  #2  
Old 10 Jun 2011, 11:47
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
No, its not possible to use conditionals in bbcode, and it would not work if it was possible, because post content is cached.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #3  
Old 18 Dec 2011, 08:10
kpmedia's Avatar
kpmedia kpmedia is offline
 
Join Date: Jan 2008
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.
__________________
FAQ: What are some HostGator alternatives? And who is EIG?
FAQ: What are the best web hosts and why?
And to all the vB plugin authors ... Thanks for making this a great app!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:16.

Layout Options | Width: Wide Color: