Rederict members from index.php

How do I set up rederiction for logged in members from index. php? Whenever they want to go to homepage/index.php, I want them to be dericted to their profile.

How do I do that?

Thank you.

Quote · 4 May 2013

check this in market Redirect to any page after logon

or look at custom redirect mod.

 

Quote · 4 May 2013

Try this, I have tested it and it works but needs a few changes. for example, try and make it so it goes to the page www.yoursite.com/username

Also edit the page you would like to sent guest users, (I have said splash.php)

Edit the file index.php

Find: check_logged();

Add Below:
if(!isMember()) {
header("Location: splash.php");  //where to send a guest user
}
else {
header("Location: profile.php");  //where to send a user is has logged in
}

Hope This Helps!!

~~Mike ~~ This Signature is missing something :(
Quote · 4 May 2013
 
 
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.