You need to add a little in the /include/check_useraccount.php
at the end after
Code:
x_session_save();
$smarty->assign("is_merchant_password", $is_merchant_password);
$smarty->assign("login",$login);
$smarty->assign("usertype",$current_area);
$mail_smarty->assign("usertype",$current_area);
add:
Code:
$smarty->assign("pmembership",$user_account['membership']);
$smarty->assign("user_membership",$user_account["membership"]);
That should make the rest of it work for you.
Ian
