View Single Post
  #3  
Old 02-02-2009, 05:32 AM
 
mike@eternitywebdev.com mike@eternitywebdev.com is offline
 

Member
  
Join Date: Mar 2007
Posts: 12
 

Default Re: Problems Removing Username/Password Section

Hi JWait,

I actually just figured out how to effectively hide the username/pasword section but still allow people to modify their address info if they made a mistake:

In include/register.php, replace this:

Code:
# Hide section 'Username & Password' when anonymous customer updates his profile if ($current_area == "C" && $userinfo["status"] == "A" && !empty($login)) { $smarty->assign("hide_account_section", "Y"); }

with this:

Code:
# Hide section 'Username & Password' for ALL REGISTRANTS $smarty->assign("hide_account_section", "Y");

By taking the if statement out of the code it removes it all of the time but does not spit out the error when trying to modify address info.
__________________
Mike
V.4.1.11
V 4.2.2
Reply With Quote