• Is it possible to build a sidebar widget to trigger ’email users’ of a post being displayed on the frontend? Any example code would help!

    Thanks,
    Patrick…

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

    (@mpwalsh8)

    I am not sure I understand your question. Are you asking if there is a widget you can add that a use that when a user clicks on it, it sends them the notification email? Or are you looking at some other action?

    In either case, I don’t know of an easy way to anything on the front end which would cause an action for Email Users on the back end.

    Thread Starter pachterb

    (@pachterb)

    With a post displayed on the frontend I need a button (shortcode) that would send a group email of the post. This would be the simple solution for my need. A more useful or robust solution might be a sidebar widget that would allow selection (dropdown) of the individual or group to direct the email of the post.

    Formatting of the email would be predefined in the backend.

    Thanks,
    Patrick…

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Would a user need to be logged in to see the button (more likely a short code link)? How would you envision selecting the group of users? It might help me understand if you can explain how you would use this. Exposing this on the front end seems risky.

    Thread Starter pachterb

    (@pachterb)

    Yes, user would be logged in and the button/widget would be available to a specific role assigned to a moderator or administrator. In the case of a button the [shortcode role=’moderator’] would define the to: group. A widget might have a dropdown. In either case a send verification would be helpful. (are you sure you want to send this email?)

    I am trying to provide a site that is frontend only to the membership and leadership. Trying to simplify the user and leadership experience. The primary function of the site is to build a “mission” request, publish it to a calendar, and send it in a email blast to the membership. This is currently working, but requires the email to be sent from the backend using “Email Users”. And it work great! I am looking for a tweak to trigger the email from the frontend.

    Thank you Mike for listening to my request. You have built a great plugin!
    Patrick…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trigger email from Frontend’ is closed to new replies.