News:

Wondering if this will always be free?  See why free is better.

Main Menu

Disable Personal Message notification by email

Started by esttecb, December 17, 2009, 06:55:00 PM

Previous topic - Next topic

esttecb

How can I disable this feature for every single user in my forum?

old "solved" thread where I point out the issue > http://www.simplemachines.org/community/index.php?topic=350961.0

thanks in advanced.

Arantor

Do you want to disable it or just turn it off by default? The two are very different.

The former is a code change, the latter a DB query.
Holder of controversial views, all of which my own.


esttecb

both would be nice, turn it off and disable it.

Arantor

If it's disabled, it's turned off.

This will be a code change, for which you would be best requesting a mod in Mod Requests, noting the full requirements of the sticky topics in that board.
Holder of controversial views, all of which my own.


esttecb

I think it can be disabled just removing the code to select that option... I can figure it out, I guess...

but, how can I turn it off?

Arantor

You can use a query (which I'd have to look through the code to check what the values are) which would turn off notifications, BUT it would only turn them off until users turned them back on.

I suppose you could remove the checkbox from the template, then run the query to reset the notifications column in their profile, but generally it's actually fairly convenient.
Holder of controversial views, all of which my own.


esttecb

I just removed the check box.

Still don't know how to update the data base to "never" notify by email every time a personal message is received, for all users by default.

Can someone shade me some lights here?

thanks in advanced

Arantor

It's one of the columns in the members table, pm_notifications IIRC but as for what value it should be, offhand without digging through the code, I'm not sure. I suspect 0 however.
Holder of controversial views, all of which my own.


esttecb

Weird thing... it's set to 0 already, but in every member's pm_notification field is set to 1... I don't know why.

esttecb

* Bump *

Since Arantor is no longer providing support.


Advertisement: