Instead of redirecting to index.php, they can select from a list of pages in a table and save their preference so that when they log in, they are automatically redirected to that page.
I am wondering if the _global.php hooks file could be utilized and modify this code with if statements.
Code: Select all
function login_ok($memberInfo, &$args){
if($memberInfo['username'] || $mi['username'])
return 'index.php';
else
return '';
}