![]() |
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.
|
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. |
Alright, I'll look into it and post updates.
|
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. |
All times are GMT. The time now is 02:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|