Kyle55155
05-01-2010, 09:58 PM
I followed https://vborg.vbsupport.ru/showthread.php?t=228112 and it worked great. I created a new template called road4 and a new php file called road.php and it works great. Now I need to load up the contents of a php page I built that has lots of php code, db calls, javascript etc. I was thinking this was not going to work until i stumbled across this thread:
https://vborg.vbsupport.ru/showthread.php?t=240584&highlight=include+php where the two of the posters were able to accomplish exactly what I need.
I can't seem to figure out exactly what they did to get this to work. So at this point I have the custom template based on the global style and I have the php page. So do I need to create another vbulletin PHP page and enter my php-javascript-html code on it? And where do I put
{vb:raw includedphp} ?
and where do I put vB_Template::preRegister('road4',array('includedph p ' => $includedphp));
?
If there are any kind souls who know how to do this I would really appreciate a post back.
Kyle
https://vborg.vbsupport.ru/showthread.php?t=240584&highlight=include+php where the two of the posters were able to accomplish exactly what I need.
I can't seem to figure out exactly what they did to get this to work. So at this point I have the custom template based on the global style and I have the php page. So do I need to create another vbulletin PHP page and enter my php-javascript-html code on it? And where do I put
{vb:raw includedphp} ?
and where do I put vB_Template::preRegister('road4',array('includedph p ' => $includedphp));
?
If there are any kind souls who know how to do this I would really appreciate a post back.
Kyle