![]() |
I followed your instructions. I created the templates, and put the PHP code into a file. I then inserted this into another PHP webpage using the include function.
It generated this error:- Fatal error: Call to undefined function: gettemplate() in path to PHP file/homelogin.php on line 8 What am I doing wrong? This is the full PHP file I created (called homelogin.php) PHP Code:
|
E,
Am I supposed to be using your code together with the vBHome (Lite) hack? |
where did u put it.. what is line 8?
|
You have to require vB's admin/functions.php in that file (I think) as that is where gettemplate() is defined.
|
I've nearly managed to solve the problem.
Have a look here for the result. Thanks for all the help. I'm slowly starting to understand how powerful PHP (and vB) can be. If I delete my cookie, I get this message Quote:
It must be something to do with the cookie as when I log in the probelm disappears. |
Managed to solve it and get the script working OK now.
|
All times are GMT. The time now is 01:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|