When someone attempts to reach a member only page and is presented with the login page, how do you allow him to continue what he was doing after successful login?
Well it's not happening with the pages that I am building which is a form. It gets filled, if not logged on, you get logon page, and after logon it kicks you back to page that you used to get into the form bage, like back-2
if ( $permissions['myhackpermissions'] & $vbulletin->bf_ugp['myhackpermissions']['canfoo'] )
{
// You have permission, proceed with the code...
}
else
{
// function to print no permission....
print_no_permission();
}