View Single Post
Old 12-08-2012, 08:16 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is online now
Administrator, Lead Coder
Join Date: Dec 2008
Location: Somerville
Posts: 4,388
Gender: Male
Credits: 138,770
Hall of Famer is on a distinguished road

Well for whatever pages you wish to be members only, enclose the code in this format:

PHP Code:
if($isloggedin == "yes"){
// Code for members
$article_title $accden;
$article_content $reqlogin;

Otherwise, you will have to remove the if-condition ($isloggedin = "yes") so that guests can view the page. One good example is levelup.php, which does not have restriction for members. Just go to whatever php files/pages you want your guests to view, remove the if/else statement to check user login. This may take a while though, considering the script disallows guests to view most content.

Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote