View Full Version : Send Email When a Private Message is Received
AK47-
01-31-2013, 08:07 PM
How can i disable this for all users?
Simon Lloyd
02-01-2013, 04:59 AM
You'd have to do it in phpmyadmin (database) then you'd need to edit the modifyoptions template and find this
<tr>
<td><br />$vbphrase[can_email_when_sends_you_pm]</td>
</tr>
<tr>
<td><label for="cb_emailonpm"><input type="checkbox" name="options[emailonpm]" value="1" id="cb_emailonpm" $checked[emailonpm] />$vbphrase[receive_email_notification_pm]</label><input type="hidden" name="set_options[emailonpm]" value="1" /></td>
</tr>
and remove it
EDIT: the code above is for vb3 but just look in the same template for similar code and remove it :)
AK47-
02-05-2013, 10:33 AM
You'd have to do it in phpmyadmin (database) then you'd need to edit the modifyoptions template and find this
<tr>
<td><br />$vbphrase[can_email_when_sends_you_pm]</td>
</tr>
<tr>
<td><label for="cb_emailonpm"><input type="checkbox" name="options[emailonpm]" value="1" id="cb_emailonpm" $checked[emailonpm] />$vbphrase[receive_email_notification_pm]</label><input type="hidden" name="set_options[emailonpm]" value="1" /></td>
</tr>
and remove it
EDIT: the code above is for vb3 but just look in the same template for similar code and remove it :)
Could you go into more detail about the database edit?
ForceHSS
02-05-2013, 10:46 AM
Admincp/maintenance/execute SQL query this is just a temp fix until member turn it on again do the above to turn it off for good
AK47-
02-09-2013, 10:41 PM
Admincp/maintenance/execute SQL query this is just a temp fix until member turn it on again do the above to turn it off for good
what's the sql query i have to input so it turns off everyones email thingy :p
Amaury
02-09-2013, 11:14 PM
Some users do prefer to receive e-mails of new PMs...
ForceHSS
02-09-2013, 11:22 PM
what's the sql query i have to input so it turns off everyones email thingy :p
It's in the drop down list in the location I posted above
LifesGreatestGift
02-10-2013, 12:59 AM
First, add your admin userid to the config file.
open ./includes/config.php
around line 129 you will find
$config['SpecialUsers']['canrunqueries'] = '';
add your userid. if its '1' then it will resemble this
$config['SpecialUsers']['canrunqueries'] = '1';
save/re-upload the file
Go To
AdminCP->Maintenance->Execute SQL Query->
Select
Yes - Send Notification Email When a Private Message is Received
under All Users
Click "Continue", and then on the next page click "Continue" again to "Confirm Query Execution"
Done.
And so you don't have to keep doing it, set it to do this by default by going to
AdminCP->Settings->Options->User Registration Options->
Check the box in the "Default Registration Options" section that reads
Send Notification Email When a Private Message is Received
Save. Done.
ForceHSS
02-10-2013, 04:12 PM
First, add your admin userid to the config file.
open ./includes/config.php
around line 129 you will find
$config['SpecialUsers']['canrunqueries'] = '';
add your userid. if its '1' then it will resemble this
$config['SpecialUsers']['canrunqueries'] = '1';
save/re-upload the file
Go To
AdminCP->Maintenance->Execute SQL Query->
Select
Yes - Send Notification Email When a Private Message is Received
under All Users
Click "Continue", and then on the next page click "Continue" again to "Confirm Query Execution"
Done.
And so you don't have to keep doing it, set it to do this by default by going to
AdminCP->Settings->Options->User Registration Options->
Check the box in the "Default Registration Options" section that reads
Send Notification Email When a Private Message is Received
Save. Done.
He wants it off, not to send email
LifesGreatestGift
02-10-2013, 04:37 PM
then select NO instead of yes. not hard to figure out. ;)
clayt101
09-03-2013, 08:22 PM
I am having the exact same issue with the email notifications. However, in the
AdminCP->Maintenance->Execute SQL Query->
I get the message that I am not authorized to run sql queries. Will this change allow me to begin to run the queries:
First, add your admin userid to the config file.
open ./includes/config.php
around line 129 you will find
$config['SpecialUsers']['canrunqueries'] = '';
add your userid. if its '1' then it will resemble this
$config['SpecialUsers']['canrunqueries'] = '1';
save/re-upload the file
It should, if your userid is 1.
clayt101
09-04-2013, 01:43 AM
It should, if your userid is 1.
It did not work. Any other ideas? Double checked it too.
Thanks.
snakes1100
09-04-2013, 01:45 AM
Then either your userid isnt 1 or you failed to over write the previous copy of config.php on the server.
clayt101
09-04-2013, 02:12 AM
Then either your userid isnt 1 or you failed to over write the previous copy of config.php on the server.
Just to be clear, I set it as:$config['SpecialUsers']['canrunqueries'] = 'clayt101';
snakes1100
09-04-2013, 02:14 AM
no, u add ur userid, not username.
ozzy47
09-04-2013, 02:14 AM
No, you need to enter your user id # not your username.
clayt101
09-04-2013, 02:22 AM
Thanks, it worked.
I was wondering why the person chose "1" as a username example. LOL
snakes1100
09-04-2013, 02:33 AM
Thats why they said user ID, not username.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.