WordPress.org

Ready to get started?Download WordPress

Forums

Newsletter
WordPress user registration (7 posts)

  1. stebcom
    Member
    Posted 8 months ago #

    Reading the plugin description, I found it should be integrated with WordPress user registration. My question is, how? I found some code to put in the sidebar for adding a standard subscription form, but I'd like to build a registration form which includes the newsletter subscription as an option. Which is the best way to achieve this?
    Thank you!

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

  2. Stefano Lissa
    Member
    Plugin Author

    Posted 8 months ago #

    You can activate the integration and the registration form, the standard one of wordpress, is added with a subscription checkbox.

    If you want to make a custom form, you should add a checkbox named "newsletter" and call the wordpress hook like a regular registration which is "user_register".

  3. yojonson
    Member
    Posted 8 months ago #

    great plug-in. Integration to word press registration form works fine although I would like to also integrate the newsletter profile / unsubscribe link to wp edit profile pages in order to simplify the user experience as all of my word press registration / edit profile forms are themed already. I would like users to manage their subscription to newsletter list via the main word press 'edit profile' pages etc - is this possible by dropping in further wp hooks on the newsletter profile template etc?

  4. Stefano Lissa
    Member
    Plugin Author

    Posted 7 months ago #

    Not immediate. You can hook into the profile page (ok, you need to code that in PHP) and extract the subscription from the wp_newsletter table and build the unsubscription link, like the one generated by the Newsletter plugin where the nk parameter is the subscriber id plus the subscriber token.

  5. yojonson
    Member
    Posted 7 months ago #

    Thanks for that steer. I actually upgraded to Newsletter v 3.4.6 and now I seem to have lost the 'subscribe with Word Press Registration' option from the on General tab of Subscription Steps? I also have a new tab entitled WP Registration but nothing is shown on that page? I have latest version of WP v 3.7.1

  6. yojonson
    Member
    Posted 7 months ago #

    Thanks Stefano - just installed the 3.4.7 fix - all good. Be great if you planned to add some further features to the WP Registration tab so that I could also configure your awesome Newsletter plug-in to also integrate with WP Profiles so that the user could maintain their newsletter subscription checkbox via that single integrated interface. Will otherwise look to modify the code direct but am conscious that I would need to maintain this custom method through updates.

  7. Stefano Lissa
    Member
    Plugin Author

    Posted 7 months ago #

    Yes, you're right, I put it in the list.

Reply

You must log in to post.

About this Plugin

About this Topic