Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Simplify Send Direct Emails to many members’ Ids.

Simple Membership Plugin › Forums › Simple Membership Plugin › Simplify Send Direct Emails to many members’ Ids.

  • This topic has 7 replies, 3 voices, and was last updated 3 months ago by reafuh.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 22, 2025 at 7:37 pm #31759
    dspanogle
    Participant

    A feature that would simplify sending Direct Email to specific members using Ids
    This would save much time. We now have to manually create a list of Ids for members needing an email.

    In Membership management bulk actions. Add this bulk action

    Copy Selected Members Ids to the Clipboard.

    Here is how it would work:
    Entries are selected (box checked) for many members that need to be advised of an action (profile not completed Etc.)
    When the bulk action is selected, the comma separated list of the members Ids are placed in the clip board.
    The user then pastes the list in the Send Direct Emails members list and sends the email

    How do I provide this request to the developers

    November 23, 2025 at 2:37 am #31760
    The Assurer
    Moderator

    What is the criteria for deciding which members go into each list? Is it something that can be better handled by MailChimp?
    https://simple-membership-plugin.com/signup-members-mailchimp-list/

    November 23, 2025 at 5:21 pm #31761
    dspanogle
    Participant

    Good Morning.

    It would be random criteria depending on the website, the members and the administrators and the issue.

    We don’t want to create a MailCHimp account at this time as we really don’t need that and I am not sure it would help.

    Example: We have about 30 members who have not updated their profiles after sending an email to Active Annual Memberships which can be selected in Send Direct Emails. We would like to select the 30 or so members using the field needing updates, and send another email to just those members using the member Ids. They are all Active Annual Members as are the ones who did update their profile. Resending the emails to those that did the update is not a good idea.

    So, If we select each member who has not updated the one field in their profile in the Members list, we now have to copy and enter 30 ids in the Send Direct Email. My suggestion would save much effort.

    By the way, in case you don’t remember, I was the person who suggested (and wrote the preliminary code for ) the last update to Send Direct Email by selecting the Membership Level and the account status. We use that a lot.
    Unfortunately I am not able to create the code to do this latest suggestion due to other commitments.

    However if you could provide the basic concept to create a snippet to create the list in the clipboard, or file or ?? I may have time to try that.

    Dennis

    November 24, 2025 at 2:40 am #31762
    The Assurer
    Moderator

    Would using the Member Data Exporter Addon make it easier to create the lists you want?
    https://simple-membership-plugin.com/simple-membership-member-data-exporter-addon/

    November 24, 2025 at 3:23 pm #31764
    dspanogle
    Participant

    NO!
    It would still take several steps and the “list” would still have to be created manually. Besides I already created a snippet to export all member data including the special profile fields we added.

    It does not seem that you have read the details of my request for an enhancement to your plugin that would help many users. Are you a Bot or an AI thingy?

    Goal. Create a list of member Ids in the clipboard. The list is NOT RELATED TO Membership level, NOT related to member stats (Active, Etc.) Once created, the list can be pasted into the member Id list in the “Send Direct Email” feature in the Members page [members, add members, bulk operations, Send Direct Email] of the Simple Membership “Members” page”.

    Method.
    1. Using the Members list, select (check the box) each member who we want to send an email to using the Send Direct Email feature. The criteria for selecting the members is NOT related to any standard Profile field, Could be selected based on the color of their hair, if they are male of female or other, if they have model 3 of our shoes, or they did not take action requested by a previous email. Since the selection is random and done by a human who understands the criteria of selection, it would take a very special snippet and even then difficult because the criteria could be male, have car model3, and wear black shoes.
    2. Once the desired members are selected in the members list, use a Bulk Action to create a list of the members Ids in the clip board. E.G. “5,3,78,55,12,3,96,47”.

    Suggested enhancement is the addition of a new Bulk Action [Create Member Id List for ‘Send Direct Email’] (NOT a new Bulk ‘Operations’)

    Just a suggestion, If you are not interested, just let me know and close the request.

    Dennis

    November 25, 2025 at 12:31 am #31765
    The Assurer
    Moderator

    What you are asking for is a custom feature, specific to your application. You are welcome to modify the code yourself, because it is open source; or you can complete a Paid Support for Simple Membership Plugin ticket.
    https://simple-membership-plugin.com/paid-support-simple-membership-plugin/

    November 28, 2025 at 7:50 pm #31781
    dspanogle
    Participant

    OK, I created a snippet to do just that. Not a big deal.
    For those interested here is the code: (Use at your own risk)

    add_action('admin_enqueue_scripts', function($hook) {
        if ($hook !== 'toplevel_page_simple_wp_membership') {
            return;
        }
    
        wp_register_script('swpm-copy-ids', false, ['jquery'], null, true);
        wp_enqueue_script('swpm-copy-ids');
    
        $inline_js = "
        jQuery(document).ready(function($) {
            var copyBtn = $('<button type=\"button\" class=\"button\">Copy Selected Member IDs</button>')
                .css({'margin-left':'10px'})
                .on('click', function() {
                    var ids = [];
                    $('input[type=\"checkbox\"][name=\"members[]\"]:checked').each(function() {
                        ids.push($(this).val());
                    });
                    if (ids.length === 0) {
                        alert('No members selected.');
                        return;
                    }
                    var idList = ids.join(',');
                    navigator.clipboard.writeText(idList).then(function() {
                        alert('Copied '+ ids.length +' IDs:\\n' + idList);
                    }).catch(function(err) {
                        alert('Failed to copy IDs: ' + err);
                    });
                });
            $('.tablenav.top .actions.bulkactions').append(copyBtn);
        });
        ";
        wp_add_inline_script('swpm-copy-ids', $inline_js);
    });

    Use at your own risk.

    January 13, 2026 at 5:44 pm #31836
    reafuh
    Participant

    I agree with you

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy