Obfuscate email addresses ?

Home Forums Calendar Products Events Calendar PRO Obfuscate email addresses ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #89386
    phatwp
    Participant

    There is a suggestion by the Organizer email field to obfuscate email addresses…

    Have found no plugin that works with The Events Calendar PRO 3.3

    Perhaps a custom field option
    http://wordpress.org/plugins/email-encoder-bundle/faq/

    #89401
    snorton
    Participant

    phatwp – you’ll want to edit the template for Single Events, or otherwise hook into the organizer meta.

    The tag for the organizer email is: tribe_get_organizer_email

    If you use the plugin you’ve linked to and create a template override, use the following where you want the organizer’s email to appear, obfuscated of course:

    $emailaddress = tribe_get_organizer_email;
    echo eeb_email($emailaddress, 'Send a message');

    or ` $emailaddress = tribe_get_organizer_email;
    echo do_shortcode(‘[eeb_email email=”‘ . $emailaddress . ‘” display=”Send a message”]’)`

    There are many other ways for obfuscation, including simply using a contact form in place of listing the email address.

    #89472
    phatwp
    Participant

    snorton

    i remotely understand what you are describing
    implementing it, without more guidance, is beyond me

    i have a tribe-events folder under my theme for css customization that i was able to work out

    i did grab your code and added it to single-event.php as a test and was able to see that i indeed had obfuscation ( this did destroy the formating for the event)
    so exactly how to do this eludes me

    eeb does function properly when an email address is within the main content, as does contact form 7

    #89474
    phatwp
    Participant

    and thank you

    #90410
    Brook
    Participant

    Howdy phatwp,

    When an admin is logged in with EEB it adds a Succesfully Encoded notice to links. This could mess with your formatting a bit, but only for you or other admins. Your users would not see that notice and thus the formatting would likely not be messed up.

    If you wish to style the notice or other aspects of EEB, you would need to consult the EEB plugin authors for assistance.

    Does that answer your question? Thanks for posting!

    – Brook

    PS. Thank you too Snorton, great advice.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Obfuscate email addresses ?’ is closed to new replies.