How can I put in a redirect in the smarty template? Like I would like to redirect people to a different page when they go to /amember/index.php or /amember/login.php Is that possible?
You can hard code the redirect on login.html change: {if $redirect_url} <input type="hidden" name="amember_redirect_url" value="{$redirect_url|escape}" /> {/if} to <input type="hidden" name="amember_redirect_url" value="/yournewurl/" /> David
This isn't working for me. Any idea of where I should look to find the problem? I have a virgin install of amember with a clean wordpress install (only plugin is amember). I have created the page I want to redirect to in wordpress and included the page link inside login.html. I'm at a loss as to what to do next. Thanks! renee
I dont see the redirect. Try placing it after: <form name="login" method="post" action="/amember/login.php"> David
The above is only useful if you can use a login from outside the forum and your web pages using wordpress. All pages you wish to use wordpress must have at least this in the top of the page, Code: Select all define('IN_PHPBB', true); $phpbb_root_path = 'phpBB3/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup(); John Galt PECO, Sales Consultant Mifflin, PA, USA