indexp.php not for members

how can i make the index.php page (home page) only viewable by guests and members before they log in,

 

what it is i have made the index page my join page so no longer use the standard join.php page, so as soon as people come to my site the first page they see is the home page with join form on it and login section for members, now all works well apart from when a member is logged on and they click the site logo it takes them to the index.php page (home page) and didn't want this.

 

any help would be great :)

 

Cheers,

 

Charlie 

You Creature!!
Quote · 19 Jul 2012

Would be great if anyone can give me any hints on how i could do this.

You Creature!!
Quote · 19 Jul 2012

Did you thought where would you send them? Why don't you hide the join form and login form for logged in members.

so much to do....
Quote · 19 Jul 2012

Look at this http://www.boonex.com/m/Redirect_to_any_page_after_logon_

Quote · 19 Jul 2012

 thanks but im not looking for a way to redirect people when they have logged on, im trying to make it so when members are logged on they cant access index.php, and at the moment the only way they can access the index page is if they click on the site logo, so would rather have them be directed the member.php instead

 

cheers

 

Look at this http://www.boonex.com/m/Redirect_to_any_page_after_logon_

 

You Creature!!
Quote · 19 Jul 2012

In index.php add the code in red

 

check_logged();

if (isLogged()) {
    header ('Location:' . BX_DOL_URL_ROOT . 'member.php');
    exit;
}

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 19 Jul 2012

Thanks for that  houstonlively  that was just what i was looking for :)

 

cheers,

 

charlie

 

In index.php add the code in red

 

check_logged();

if (isLogged()) {
    header ('Location:' . BX_DOL_URL_ROOT . 'member.php');
    exit;
}

 

You Creature!!
Quote · 19 Jul 2012

 damn look at you go.

In index.php add the code in red

 

check_logged();

if (isLogged()) {
    header ('Location:' . BX_DOL_URL_ROOT . 'member.php');
    exit;
}

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 21 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.