Jump to content

 

ghostrider

Member Since 05 Jan 2011
Offline Last Active May 09 2019 09:03 AM
-----

Posts I've Made

In Topic: Disabled New User Profiles Emails

09 May 2019 - 09:04 AM

Dear friends, Thank you so much!

 

 

1 VARIANT. Open the app/controllers/frontend/profiles.php file and replace

$res = fn_update_user($auth['user_id'], $_REQUEST['user_data'], $auth, !empty($_REQUEST['ship_to_another']), true);

with

$res = fn_update_user($auth['user_id'], $_REQUEST['user_data'], $auth, !empty($_REQUEST['ship_to_another']), false);

2 VARIANT. Use the update_user_pre hook (app/functions/fn.users.php) to change $notify_user to false for new registrations in the store-front