![]() |
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:
|
This will show not logged in users/ unregistered users the standard no permission box, i.e. asking them to login or register
PHP Code:
|
That's great thanks alot. It works perfect.
|
All times are GMT. The time now is 03:27 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:
|