![]() |
Help! How to add User Access Restrictions on NON VB pages?
I wanted to know how i could use the access restrictions on non VB pages? Like if i have a role of "Paid User" and they have special access to certain forums, how could i also give them certain access to non VB pages that i might have?
Thank you! V3.8.0 |
|
Where do i add this code?
PHP Code:
Thanks! |
You must include global.php for the code to work.
|
Quote:
I want this page to only be displayed to moderators and administrators. But its not working when i try to input ANY of the php scripts included with that hack. PLEASE HELP! :D:D Thanks again |
Did you start from reading these articles - How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
You'll need to post some of your code if you want us to help you with it. Please use the code/html/php tags so it is easier to read. |
Quote:
PHP Code:
:) --------------- Added [DATE]1233118047[/DATE] at [TIME]1233118047[/TIME] --------------- The main information that i do not want regular user's to see - HTML Code:
<div class="box1"> |
This code doesn't put any html on a page at all so I'm not sure what you are talking about:
PHP Code:
|
Quote:
|
Well, that article should just give you a basic vb page with the header and navbar up top and a footer at the bottom and whatever you put in the template in the middle. If you include the global.php page and then that no permission code you posted in your php page, it should restrict access to your page. It's hard to tell what is wrong without seeing the php code.
|
All times are GMT. The time now is 01:00 PM. |
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:
|