The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
php bbcodes.
I am working on a mod for vBulletin I have written a script in php that works, I just need to use it in a post. Any ideas on an alternate way, or know how to use php in a bbcode, custom bbcodes only do html to my knowledge.
|
#2
|
||||
|
||||
Quote:
You need to write a handle_bbcode_custom_tag method, and also add the appropriate information to fetch_tag_list() If you want a tag that acts outside of the stack parser, you will have to write your own function which regex searches for your tag. This is how we have implemented a dice roller and tags which call data from a database table and dislpay it in the post. |
#3
|
|||
|
|||
Alright, I'll look into it and post updates.
|
#4
|
||||
|
||||
have a look here
https://vborg.vbsupport.ru/showthread.php?t=155410 thats basically what you need to do, though as I said I prefer putting the tag_list info in the fetch_taglist function. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|