The Arcive of vBulletin Modifications Site. |
|
Advanced BBCode (Use conditionals in BBCodes) Details »»
|
|||||||||||||||||||||||||||
|
Advanced BBCode (Use conditionals in BBCodes)
Developer Last Online: May 2023
It kind of bothered me that you couldn't use vBulletin conditionals in the BBCodes. For example you couldn't use <if condition="$bbuserinfo[usergroupid] == {option}">{param}</if>.
With this small hack you can customize your BBCodes by using vBulletin's own conditionals. Installing Download the plugin XML. Go into to your ACP --> Plugins & Products --> Download / Upload Plugins. Scroll to the bottom of the page. Browse to vbulletin-plugins_adv_bbcodes.xml and click "Import". View the screenshot for an example BBCode you can use. Show Your Support
|
|||||||||||||||||||||||||||
| Благодарность от: | ||
| career | ||
| Comments |
|
#2
|
|||
|
|||
|
I hope you like this hack.
|
|
#3
|
||||
|
||||
|
Thanks
|
|
#4
|
||||
|
||||
|
sweet
|
|
#5
|
|||
|
|||
|
Thanks you two.
|
|
#6
|
||||
|
||||
|
Superb! This opens much more possibilities - thanks. :up:
|
|
#7
|
|||
|
|||
|
Great idea.
Anyway to set it to use an array for multiple groups? |
|
#8
|
||||
|
||||
|
Can you make it such, that it doesn't ignore the "<else />" statement?
Sometimes the "<else />" works one time and then not. This would be very helpful if you could fix that. |
|
#9
|
|||
|
|||
|
What replacement code are you using?
|
|
#10
|
|||
|
|||
|
I tried and couldn't get it to work.
|
![]() |
|
|