Log in

View Full Version : include PHP anywhere in vBulletin Board


Raphaelx
08-24-2007, 11:46 AM
I tried to include some php code in showthread template.

I created a plug-in in 'showthread_complete' called 'my_test' with code echo 'bla';
in showthread i added '$my_test' but 'bla' is added just before "<!DOCTYPE html..."

please help

calorie
08-24-2007, 11:58 AM
Try using this in the plugin instead:

$my_test = 'bla';

Raphaelx
08-24-2007, 12:56 PM
thanks, works perfectly