WordPress.org

Forums

Newsletter
grabbing current user info (2 posts)

  1. dhogwood
    Member
    Posted 1 year ago #

    I am looking to make the default subscription form grab various bits of the current user info and insert it along the defined email address.

    I did write a custom subscription form which did this however it didn't return messages after submitting such as 'this email has already been registered' though I noted it was reflected in the url.

    Is there a way I can restore these messages to my custom form or alternatively grab the current user data in the default form which is generated by the [newsletter] shortcode?

    Thanks

    http://wordpress.org/plugins/newsletter/

  2. Stefano Lissa
    Member
    Plugin Author

    Posted 1 year ago #

    You subscription form must point to the subscribe.php file and this then redirect to a page where the messages are shown. I have not understood how you coded the form so it does not show the messages.

    About the user data, all user related tags ({name}, ...) work if used in the Newsletter messages (not only inside the emails).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.