X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   membership level registration / sign up (https://forum.x-cart.com/showthread.php?t=55499)

ferazzo777 09-12-2010 07:30 PM

membership level registration / sign up
 
Hi everyone,

How do I let my users to pick a membership level instead of just signing up for that membership level?

In the default registration page, there is an option for the users to 'Sign up' for a membership level, but what I want instead is for them to choose their membership level instead of just signing up, because I get around 100 new members each month and I can't afford to go to the admin area and approved the 'Sign up' all the time.

Any recommendation will be much appreciated , I have spent 2 days on this without a luck

Thanks in advance

amy2203 09-12-2010 09:40 PM

Re: membership level registration / sign up
 
see if there is an option to make it unmoderated, or turn moderation off,

ferazzo777 09-12-2010 09:53 PM

Re: membership level registration / sign up
 
Can't find that option on the admin area, my guess is that I need to modify the codes.

Please help

amy2203 09-12-2010 10:22 PM

Re: membership level registration / sign up
 
http://forum.x-cart.com/showthread.php?t=13641&highlight=moderated+members hip

2gcorey 01-17-2011 04:53 PM

Re: membership level registration / sign up
 
I need this also for 4.4.1

any ideas? I have tried a few older ones and they didn't work

qualiteam 01-20-2011 04:56 AM

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 


RPMOffroad 09-10-2013 11:14 AM

Re: membership level registration / sign up
 
This answer does work the only thing left to make this happen is to have each customer as they register make sure they change their "sign up for membership" to member either when they register or on their "My account " page.:-$

Duramax 6.6L 01-01-2014 11:28 AM

Re: membership level registration / sign up
 
Does anyone know how to make his work on 4.6.1. They changed the code.

foreach ($common_profile_fields as $field) {

if (isset(${$field}))
$profile_values[$field] = ${$field};

}

// Store new password

qualiteam 01-04-2014 05:29 AM

Re: membership level registration / sign up
 
I guess it should still work.

Just add $profile_values['membershipid'] = ${'pending_membershipid'}; line above // Store new password
line.


All times are GMT -8. The time now is 10:50 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.