![]() |
Custom page template not for guests accessable
Hi,
i have a custom page/template added to my forum. But i want to show the page only to register users. How can i add the standard vbulletin message: "You are not logged in or you do not have permission to access this page. This could be due to one of several reasons: ... " to the template? I hope someone can help me ;) |
It would have to be in the php file that calls the template. I think this would do it
Code:
if(!$show['member'] See the upper part of online.php for an example |
Nice thank you!
It worked ;) Code:
if(!($show['member'])) |
All times are GMT. The time now is 05:59 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:
|