The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey
I really need help i followed this tutorial to make my own page https://vborg.vbsupport.ru/showthrea...4&page=1&pp=15 it works 100% fine if i add HTML to my custom page BUT I WANT TO ADD php in my custom page and it wont work the page just doesnt run the php commands...its just like EMPTY PAGE can any1 help me? please any1 |
#2
|
|||
|
|||
![]()
anyone
![]() |
#3
|
||||
|
||||
![]()
You can't use PHP in Templates. Point.
|
#4
|
|||
|
|||
![]()
umm, yeah, i was having this problem! but, ill show you how 2 fix it ^^
PHP Code:
only do it for your suctom part, the stuff at the top, it alwasy works ^^ PHP Code:
if you get stuck, lme know... |
#5
|
|||
|
|||
![]()
k
can u explain this please where do i add the PHP code in the code tht u gave me lets say thts my php code <?php echo 'blah blah blah' print ' test' $name= 'test' $name2 = 'test1' echo $name . $name2 echo 'more php stuff ?> How would i do that ? and where do i add the code tht u provide me? do i still use tht tutorial for custom page? |
#6
|
|||
|
|||
![]()
(yes, you need 2 do teh custom template)
ok, np... PHP Code:
PHP Code:
hope this works ^^ |
#7
|
||||
|
||||
![]()
useful stuff pyro, thanks
|
#8
|
|||
|
|||
![]()
No prob, lme know if you need anything!
|
#9
|
|||
|
|||
![]()
k so pyro the code u gave me is for the template...not the php file right?
|
#10
|
|||
|
|||
![]() Quote:
No. The php code goes in the php file. It must be placed before this line: PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|