The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
Hello,
I'm developing an external php script for admin purposes. It will display the contents of the calendar_events table. And I'm looking for the replace strings used for the vB code. Because if the event description has vB code, I want it to display the replaced code and not the vB code. Thanks Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Use the bbcodeparse() or bbcodeparse2() functions from vBulletin.
|
|
#3
|
|||
|
|||
|
How can I use them if I'm coding an external script?
|
|
#4
|
||||
|
||||
|
Copy them from vBulletin's functions.php...?
It's ok as long as you don't distribute it. |
|
#5
|
|||
|
|||
|
What lines exactly do I need to copy to use that funtions?
|
|
#6
|
||||
|
||||
|
Copy both bbcodeparse() and bbcodeparse2() functions from functions.php.
I don't have the exact lines as my file is very hacked. Sorry. |
![]() |
|
|