![]() |
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? |
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:
|
<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. |
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...? |
Check in you admin panel ;)
|
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?
|
All times are GMT. The time now is 07:14 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:
|