The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I need to be able to use php without having to make a plugin. Using a plugin is impractical and annoying and im trying to code a homepage for my site using a method someone posted before so i can use he header and stuff.
Heres my site Where it says PHP TESTING i tryed a simple echo "php testing"; but it wouldnt work > ![]() thx for help http://hldevs.com/ |
#2
|
||||
|
||||
![]()
No need to use plugins when it is a totally custom page (as is your case). Perhaps post the code for your page here and we can see what is wrong.
If you look at the page source, you'll see this: HTML Code:
<td class='alt1'><?php echo "plop"; ?></td> |
#3
|
|||
|
|||
![]()
heres the code im using
PHP Code:
|
#4
|
||||
|
||||
![]()
Your making a vBulletin powered page driven by a template so you want be able to put php inside your test template. You need to use a different page format.
|
#5
|
|||
|
|||
![]()
could you show me how to do that?
![]() |
#6
|
||||
|
||||
![]()
You need to have something like this in your php page (what you posted above) after the start of the main script and before the navbits stuff. :
PHP Code:
And then in your template, you would go: HTML Code:
<td class='alt1'>$testing</td> |
#7
|
|||
|
|||
![]()
oh ok
thanks for your help 8) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|