The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Function to check user logged in
Ok guys I'm wanting to write a seperate PHP function that'll be used whenever it is to be checked that a user is logged in and pass their username into a variable.
Currently it's like this... PHP Code:
The problem is when I goto call the function from another page... PHP Code:
Fatal error: Call to undefined function: query_first() in ...../public_html/forum/includes/functions.php on line 938 If I use the above code in its own file without using it as a function it works like a dream. Any advice is appreciated. Cheers |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|