Am still getting the hang of the aMember integration with phpWebSite... I inherited a site where aMember login is through a PageMaster/WebPages module, but for the life of me, I couldn't figure out how to refresh the entire site to show that someone is logged in. i.e. link on the phpws header from 'Login' to 'Logout'. I saw Alex's suggestion in another thread that we do this for PHPnuke or something: PHP: session_start(); if ($au=$_SESSION['_amember_user']){ // user is logged-in $THEME['MEMBERLOGIN'] = "<a href='/amember/logout.php'>Logout</a>"; } else { // user is not logged-in $THEME['MEMBERLOGIN'] = "<A HREF='https://site.org/cms/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=17' >Login</a> But it's a no-go. Any assistance would be much appreciated! Thanks, -rob
The problem will probably continue to exist until you contact support. You only get advice from folks like me here. My advice is to contact support--it sounds solve-able. See the link above. Good luck, Tom