The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Making a page members only
I have made a page on my site using a method I found on this site somewhere, but I would like to make the page viewable only by members of the site. The page I am talking about is here: http://tweeaks.com/forums/chat.php
Any help I can get to make this page only viewable by members that are logged into the forum would be very much appreciated. I want to write a code that would do something like, If your a member/logged in, then you can see this page with the chats on it otherwise you will see a landing page that tells you to go register and the code that I have that makes the page is this chat.php PHP Code:
custom template: CHAT PHP Code:
|
#2
|
|||
|
|||
This will show not logged in users/ unregistered users the standard no permission box, i.e. asking them to login or register
PHP Code:
|
#3
|
||||
|
||||
That's great thanks alot. It works perfect.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|