![]() |
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.:o |
To add a BB code processed by a custom callback, you need to define it in a plugin at bbcode_fetch_tags.
|
Ive got that far but I dont know what to do from there.
|
And you know what is passed to your callback function?
|
What do you mean?
|
What are you putting in the plugin @ bbcode_fetch_tags?
|
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? |
|
Ok this is what ive started off with.
bbcode_create: PHP Code:
PHP Code:
Quote:
|
Look carefully at the plugin example @ bbcode_fetch_tags (especially at what value is what).
|
All times are GMT. The time now is 09:23 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:
|