Logician, this is a great hack. I have a question hope you have a moment to tell me if this is possible with webtemplates.
I generate graphical forum signature using imagecreatefrompng(). On my forum it currently runs as an external page:
http://www.touch-buddy.com/tbsig/
This is a two stage process. 1) enter details and send submit, 2) show results.
I was hoping to integrate this with vbulletin styles etc using webtemplates. I createad a PHP page without problem and was able to generate an image, but its not wrapped in $header and $footer or the forum style.
I have read through the documentation and can't really figure out if I can do a html template with embedded php. When I tried this I simply got the HTML page with the php as text in the body.
Thanks for the hack!