View Single Post
  #6  
Old 01-20-2011, 04:56 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: membership level registration / sign up

In 4.4.x you should alter "include/register.php" script, find and replace this code:
PHP Code:
foreach ($common_profile_fields as $field) {

    
$profile_values[$field] = isset(${$field}) ? ${$field} : '';

}

// Store new password 
with this:
PHP Code:
foreach ($common_profile_fields as $field) {

    
$profile_values[$field] = isset(${$field}) ? ${$field} : '';

}

$profile_values['membershipid'] = ${'pending_membershipid'};

// Store new password 
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote