Is there an easy way to skip the redirecting page when loggin in, like go straight to amember/member.php
It would be uselful as a personal preference for me when I sign in to amember from a form I have on a page it goes to the redirect page then the member.php page, if I go to a page protected while logged out it will include the login form and after logging in it goes directly to that page without going to the redirect page, I would like to make my form used sitewide on other pages to skip the redirect page when logging in
I dont' recommend this, but you can edit file amember/common.inc.php and replace function html_redirect($url, $print_header=0, $title='', $text=''){ global $t; if (!$t) $t = &new_smarty(); $t->assign('title', $title); $t->assign('text', $text); $t->assign('url', $url); $t->display('redirect.html'); } to function html_redirect($url, $print_header=0, $title='', $text=''){ header("Location: $url"); }