The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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 |
#2
|
|||
|
|||
![]() |
#3
|
||||
|
||||
![]()
Where do i add this code?
PHP Code:
Thanks! |
#4
|
||||
|
||||
![]()
You must include global.php for the code to work.
|
#5
|
||||
|
||||
![]()
I need help. I have been at this for hours and i still have not figured it out.
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! ![]() ![]() Thanks again |
#6
|
||||
|
||||
![]()
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. |
#7
|
||||
|
||||
![]() 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"> <div class="border-top"> <div class="border-right"> <div class="border-bot"> <div class="border-left"> <div class="left-top-corner"> <div class="right-top-corner"> <div class="right-bot-corner"> <div class="left-bot-corner"> <div class="inner2"> <h2>Legend Guide</h2> <p>Welcome to the Moderator Control Panel. More info will be posted soon as well as more tools. The navigation links above (Garage, Forums, etc...) are not working yet. Please <a href="http://1320legend.com/index.php">click here</a> to go to the index or Garage.</p> <p><a href="http://1320legend.com/community/forumdisplay.php?f=35" target="_blank">Click here</a> for Mod Lounge</p> <p><a href="http://1320legend.com/community/modcp/index.php" target="_blank">Mod Control Panel for forum</a></p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> |
#8
|
||||
|
||||
![]()
This code doesn't put any html on a page at all so I'm not sure what you are talking about:
PHP Code:
|
#9
|
||||
|
||||
![]() Quote:
|
#10
|
||||
|
||||
![]()
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.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|