Support » Plugins and Hacks » [Resolved] Need Database Support

[Resolved] Need Database Support

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Walsh


    Yes, the user setting are stored as User Meta data. Each user has two values, one for Mass Email and one for Post/Page Notifications. When set to ‘true’ (the ascii string) the user will receive email.

    You can use the User Settings menu under the Email Users tab on the Dashboard to bulk set your 4000+ users to a known state. By default only 20 users are displayed at a time but you can change the value on plugin settings page so you can operate on a larger group of users at one time. I have set as high as 500 and while the page is a little slow to load, it does load.

    Alternative, if you know had to manipulate user meta data with SQL you could do that but I don’t know the actual query off the top of my head, I’d have to play with it.

    If it is possible to make the changes from editing plugin files, then it would be better. Please let me know which file of the plugin is to be edited to change the value 20 to 500.
    Thanks for your early reply.

    Plugin Author Mike Walsh


    Anything is possible if/when you want to hack the plugin. Not sure why it would be better that using the existing UI to change the setting that is explicitly for this purpose.

    In the email-users.php file there is a function that defines the default plugin settings and returns them as an array. However, once the default setting is saved in the database, it will always override the default setting in the code. The easiest way to do what you want is to use the Settings UI to change the value.

    Oh I got it.

    Actually I was missing the Settings UI to change the value.
    Its solved now. Thanks.

    Plugin Author Mike Walsh



Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Need Database Support’ is closed to new replies.