![]() |
permissions for custom pages?
I have a custom vb page and would like to make it only available to Registered users. Does anyone know how to do this? Below is a copy of the pages content.
PHP Code:
|
after the call to global.php add
if ($bbuserinfo[userid] == 0){ print_no_permission(); } also the navbar template is not being cached fyi |
Quote:
what do you mean it isn't being cached. how do i fix that? |
Quote:
find $globaltemplates = array( 'irc', ); change to $globaltemplates = array( 'irc', 'navbar', ); |
All times are GMT. The time now is 01:42 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:
|