Help - is there a way to add customers to a member group at sign up?

is there a way to automatically add customers to a member group when they sign up?

thanks in advance

avery

Figured it out. You have to modify the fn.users.php file in the core directory. I suggest backing up the file before making this modification. All you have to do is find the following code:



[font=verdana][size=3]$user_id = db_query(“INSERT INTO ?:users ?e” , $user_data);[/size][/font]



[font=verdana][size=3]and add this below it:[/size][/font]



[font=verdana][size=3]db_query( “INSERT INTO ?:usergroup_links( user_id, usergroup_id, status ) VALUES( $user_id, 5, 'A' )” );[/size][/font]



[font=verdana][size=3]5 is the id for the “members” group and A makes it active right away[/size][/font]



[font=verdana][size=3]I just thought this might benefit someone else in a time of need. Thanks for all the views.[/size][/font]

can be done from addon and cs-cart update will work in the future

i ask you here: [url=“Help - is there a way to add customers to a member group at registration - Wishlist & Feature Requests - CS-Cart Community Forums”]Help - is there a way to add customers to a member group at registration - Wishlist & Feature Requests - CS-Cart Community Forums