The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
adding PHP code
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/showthrea...ht=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:reRegister('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 |
#2
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=229194" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=229194</a>
try your code in this setup |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|