The function responsible for sending user notifications is jrUser_notify()
Its in:
/modules/jrUser/include.php around line 1010 ish. It looks like this:
function jrUser_notify($to_user_id, $from_user_id, $module, $event, $subject, $message)
{
global $_conf;
if (jrCore_get_flag('jruser_notify_is_running')) {
return true;
}
jrCore_set_flag('jruser_notify_is_running', 1);
$_tmp = jrCore_get_registered_module_features('jrUser', 'notification');
if (!isset($_tmp[$module][$event])) {
There is no setting to turn off the notifications system, but the goal is to not have that function fire.
Its used in many many modules, so the best way is just to let it fire, but not allow it to complete.
If you alter the code to add
function jrUser_notify($to_user_id, $from_user_id, $module, $event, $subject, $message)
{
return true;
Right after the opening bracket and leave the rest in tact that would do what your after.
But probably a safer way is to not alter that and instead go into:
/data/config/config.php and add this line to the end of the file:
jrCore_set_flag('jruser_notify_is_running', 1);
Which is already contained in the code so you won't need to alter any module files.
The full config.php file will look something like this after that:
<?php
$_conf['jrCore_db_host'] = 'localhost';
$_conf['jrCore_db_port'] = '????';
$_conf['jrCore_db_name'] = '???';
$_conf['jrCore_db_user'] = '????';
$_conf['jrCore_db_pass'] = '????';
$_conf['jrCore_base_url'] = 'http://????.com';
jrCore_set_flag('jruser_notify_is_running', 1);
That will also tell jrUser_notify() not to run. Just remember to take it out again when you want to turn notifications back on.