Support » Plugin: Events Manager - Email Users » Feature request, option to hide email addresses

  • Resolved snorklebum

    (@snorklebum)


    Hi,

    We use Events Manager with BuddyPress and as such have lots of Editors who create our events and contact attendees of those events (where this fab plugin comes useful!).
    It would be great if there was an option to toggle between the email address or the Nickname (assuming this is better practice than using username) being shown, mostly for dataprotection reasons.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Patrick

    (@duisterdenhaag)

    I am confused… The topic says “hide email address”, but your message talks about switching the sender?

    If you mean “hiding the recipients list in the email form”, then… Why? It’s directly below the bookings table, and that can show the email address as well (using the gear icon).

    I do not use BuddyPress myself, so the view might be different? But the email form should only be shown if the logged in user has the manage_other_bookings capabilities. That capability already allows them to see the email addresses.

    Ahh I hadn’t spotted that option on the cog either, I’ll likely also need to remove that.

    I guess my thinking is that there is no real reason for anyone other than admins to be able to see users email addresses otherwise we’d specifically have to update our privacy policies to say that anyone who hosts an event will be given access to their email address. Your plugin removes the need for this as it allows our event creators to email everyone with no need to actually know their email address.

    Hopefully that makes sense

    Plugin Author Patrick

    (@duisterdenhaag)

    Aha… Well, if you just not want to show it, you can very easily hide it with css:

    .email-recipients {display: none;}
    That will hide the whole table row.

    Perfect thanks, I’ll use that for now and if I ever get better at PHP may investigate further. ps your code is amazingly clean!

    Plugin Author Patrick

    (@duisterdenhaag)

    Or using jQuery:

    function hide_recipients() {
        ?><script>jQuery('.email-recipients').hide();</script><?php
    }
    add_action('admin_footer', 'hide_recipients', 20);
    Plugin Author Patrick

    (@duisterdenhaag)

    LOL. Thanks!! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Feature request, option to hide email addresses’ is closed to new replies.