Hi there. I read in another thread that its possible to add log out and profile links to an html page. Is it possible to insert "Logged in as "member" on a html page like it is on the /amember/member page regards Justin
Hi David, Thanks so much for the reply, I'm not as experienced with PHP as I would like to be, what code will I insert onto my page? Kind regards Justin
You can't insert such code to html page. Only to php. Place this somewhere at the top of your php file: <?php require_once '/home/myusername/public_html/amember/library/Am/Lite.php'; ?> Then use this code to display login: Logged in as <?php echo Am_Lite::getInstance()->getUsername(); ?>