The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
BB Code
I want to add a new BB Code and handle it with PHP
Ive been looking through the BB Code include file and I really dont understand how its working Heres what I want to do: Take a string of links, each link on one line. Then convert that into an array: PHP Code:
But Im reallly lost. |
#2
|
||||
|
||||
To add a BB code processed by a custom callback, you need to define it in a plugin at bbcode_fetch_tags.
|
#3
|
|||
|
|||
Ive got that far but I dont know what to do from there.
|
#4
|
||||
|
||||
And you know what is passed to your callback function?
|
#5
|
|||
|
|||
What do you mean?
|
#6
|
||||
|
||||
What are you putting in the plugin @ bbcode_fetch_tags?
|
#7
|
|||
|
|||
I havent done anything yet. Thats what Im saying, Im completly lost.
Could you give a brief explanation/tutorial of how to add custom BB Codes as a plugin? |
#8
|
||||
|
||||
|
#9
|
|||
|
|||
Ok this is what ive started off with.
bbcode_create: PHP Code:
PHP Code:
Quote:
|
#10
|
||||
|
||||
Look carefully at the plugin example @ bbcode_fetch_tags (especially at what value is what).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|