Quote:
Originally Posted by tokenyank
Hi Logician...
Just hoping I could get your advice...
I've never really used includes with vb because I never really needed to!
Now that I've found your modification, I would like to 'wrap' a script around your templates.
I've tried to 'wrap' this using the phpinclude section of your modification which returns a blank page and I've tried using <?php include(); ?> method which results in the permissions error I was getting previously when I was trying to stick 'raw' php in the template.
Do you have any suggestions or am I just out of luck? Thanks in advance!
|
It is really not very easy to say anything. WebTemplate's phpinclude section imitates vbulletin's phpinclude section and it is bound with its lines too. It is not possible to run everykind of PHP code in vbulletin's (hence webtemplate's) phpinclude code because that code runs "inside vbulletin engine" and it shouldn't clash with it somehow. For instance a variable or function which is already declared in vb can cause unexpected results if it also exists in the third party code.
So if vbulletin's phpinclude can handle your script, so does webtemplate. But if it does not, unfortunately webtemplate can not do a miracle as well.