BBCode that calls PHP
I'm going to convert my dice hack over from phpbb to vB. It's a very comprehensive dice mod that has been very useful to me (and well tested).
Is there any way to use the BBCode Manager in the admincp to introduce a new code that calls some php function introduced in an include file?
I have the phpfunction for the dice roller that returns BB Code formatted text. If I could just put that function in an include file and then create a custom code in the BB Code Manager that calls it I would be done.
If this isn't possible, I think it would be an excellent feature.
Could I possibly put the function in a template of some kind and then reference the template somehow?
Thanks.
|