The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
running a function on a vbcode bit...
i never really write custom hacks for vbb... but i know php.
i have a function i wrote that i want to run on some text when its encased in a vbCode [tag] on my forum. where in the vbulletin code should i be looking to make this happen... or is there some triggers i can put in the bbcode table to that vb will know to pass the param to a function? |
#2
|
|||
|
|||
so for example
i have a function... say its called myFunc($var) where is a universally accepted spot in vBB to put custom code bits, or do we just free for all? so someone goes and posts: Quote:
so say myFunc just changed the text in $var to "JUNK" i want the post to appear as Quote:
|
#3
|
||||
|
||||
<a href="https://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=1201" target="_blank">http://www.vbulletin.org/hacks/index...ck&hackid=1201</a>
Download that hack and take a look at it and try useing that as a refrence. |
#4
|
|||
|
|||
hmm. thx...
seems tho this will just help with adding the bbcode bits... still not sure where to tell vBulletin to process the contents with a PHP function...? |
#5
|
||||
|
||||
Check in you admin panel
|
#6
|
|||
|
|||
all i know of in there that applies is the add custom vb code bit... but still... where am I telling this thing to send {param} to a custom PHP function and wait for return?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|