WordPress.org

Ready to get started?Download WordPress

Forums

Newsletter Sign-Up
[resolved] How to make PHPList work (3 posts)

  1. ryanjlaw
    Member
    Posted 1 year ago #

    I can't get PHPList to work. Here are my settings:

    PHPList list ID: 1
    Newsletter form action: http://mywebsite.com/phplist/?p=subscribe&id=1
    E-mail identifier: email

    I've also tried http://mywebsite.com/phplist/?p=subscribe and http://mywebsite.com/phplist/ as the form action. Neither worked.

    I've confirmed that a list exists with an ID of 1. I've also removed the "confirmation email" and "HTML" options from the signup page.

    I've noticed that the PHPList subscribe page posts to itself if that helps.

    How can I properly configure Newsletter Sign-up to work with PHPList?

    http://wordpress.org/extend/plugins/newsletter-sign-up/

  2. ryanjlaw
    Member
    Posted 1 year ago #

    I figured it out! These are the settings I used:

    PHPList list ID: 1
    Newsletter form action: http://mywebsite.com/phplist/?p=subscribe&id=1
    E-mail identifier: email

    In PHPList when you edit the subscription page I these chosen:

    Don't offer choice, default to HTML
    Don't display email confirmation

    NOW HERE'S THE IMPORTANT PIECE:

    Go to Newsletter Sign-up in your plugin list and click "edit". Go to newsletter-sign-up/frontend/NewsletterSignUp.php and search for "phplist". You should see this:

    case 'phplist': $post_data['list['.$opts['phplist_list_id'].']'] = 'signup';
    $post_data['subscribe'] = "Subscribe";
    $post_data["htmlemail"] = "1";
    $post_data['emailconfirm'] = $emailadres;
    $post_data['makeconfirmed']='0';
    break;

    CHANGE $emailadres TO $email AND YOU'RE DONE.

    To the developer: Please fix this variable in future updates. Thanks!

  3. Danny van Kooten
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Ryan,

    This is a great catch. Never looked into PHP List again but got lots of questions about it. You are my hero! Thanks, will fix this right away!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.