The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm new to all of this. I'm installing a "Video Game Cheats" hack. Basically I'm setting it up so that the information is in a template and I'd create an index page that would call the template.
My question is: What is the PHP code that would call the template? Thanks! |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
|||
|
|||
![]()
I put exactly what you said (added the template name of course). And I got the following error:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/theraven/public_html/cheats/index.php on line 5 What does that mean? |
#4
|
||||
|
||||
![]()
It means that index.php is not in the same directory as global.php.
If you want to call the template from outside your forum directory you can try this instead: PHP Code:
|
#5
|
|||
|
|||
![]()
What i did was put the following in member.php:
PHP Code:
|
#6
|
||||
|
||||
![]() PHP Code:
|
#7
|
||||
|
||||
![]()
I knew someone would jump in who really knew what they were doing. Thanks guys.
![]() |
#8
|
||||
|
||||
![]()
Always use single quotes on strings and double quotes on strings containing variables
![]() Makes the script faster... - miSt |
#9
|
|||
|
|||
![]()
I seriously doubt it makes the script faster than an msec...I always use double-quotes everywhere for consistency except for array keys.
![]() |
#10
|
|||
|
|||
![]()
Thanks for your help, I'm having just one more problem.
I'm using index.php to call the template. How do I eliminate the other elements on the page? The template keeps getting generating the index page and then it puts the template stuff at the bottom. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|