The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Complex BB Code Creation - including conditions
The custom bb code admin panel is easy to use, however is it possible to create more complicated bb codes that use PHP?
I am replicating a bb code plugin from my previous forum software that used php to manipulate the {param} string, and a second one that made a db call. What is the best way to implement bb codes like this? Many thanks. |
#2
|
||||
|
||||
You can't use 'real' bb codes to do anything with PHP or the Database. That said people have released products like the [you] hack or the [table] bb code that LOOK LIKE bb code to the users but are actually full products with plugins.
|
#3
|
|||
|
|||
Thanks for the reply, having spent some time yesterday downloading other bb code plugins (including the table one) I had reached the same conclusion.
I guess I am a bit disappointed as other forum software I have used have allowed us to easily create rich functional bb codes and I was under the impression vBulletin had everything covered. Still, it looks like what I want to do will be possible by creating a plugin that acts on the right hooks, it just means that I've got to work out how to parse the input correctly and work out which hooks to hook into! Unfortunately other authors don't seem to agree on which hooks need to be used, so far i've found bb code plugins that use:
|
#4
|
||||
|
||||
I've heard that if you use global_start it should work everywhere, there is another [you] hack that only uses that hook- at least that is what i was told once, never confirmed it but it made sense.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|