Hi there, I want logged in users to redirect automatically to member.php when they arrive to signup.php (if they aren't logged in, they will see the normal signup page). How can I do that ?
add to top of amember/signup.php after opening <?php PHP: session_start();if ($_SESSION['_amember_user']){ header("Location: member.php"); exit();}
Opps.... I was happy too fast... it was working just once... Not anymore, I didn't touch the code (I check twice)... but now i see only the signup page. after i login and go again to signup.php i see the standard signup page and there is no redirect to member.php. ??
Update: I'm running Joomla 1.0.11, aMemberPro 3.0.7 with the joomla Plugin. I fount that when i login from joomla, the code you mentioned above isn't working... but, when i login from amember login page, it works. What should I do ?
Alex, is there any Amember Login Module for joomla ? i searched the forum and found information from half year ago about 'mod_amemberl.php'....
Thanks, It didn't work because i'm using JACL to manage the user access level in joomla, so i changed the default login form of joomla to the one of aMember.... now it works just fine.