![]() |
Using vbulletin as login for custom pages
I have created a few custom pages that are only accesable for administrators, i want to use vbulletin to check if a person is a administrator or not or if he is logged in or not.
I know phpbb has these scripts, but i cant find them from vbulletin. Is there anybody that can help me?? Thanx :D |
include global.php
|
If they are custom scripts already including global.php, you can use this to check. (Put this after your call to global.php.)
PHP Code:
|
So if i include global.php and that code its only accesable as administrator?
Because i dont need the template to be included :) |
Yes.
|
Quote:
|
All times are GMT. The time now is 07:09 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:
|