WordPress.org

Ready to get started?Download WordPress

Forums

SendPress Newsletters
[resolved] confirmation link not working (29 posts)

  1. Tzita
    Member
    Posted 1 year ago #

    Hello,
    in the confirmation email, the link does not work.
    I tried to put this:
    <a href="|SP:CONFIRMLINK|">confirmation</a>

    But then, the links go to an white page.

    What can I do?

    Thanks!

    http://wordpress.org/extend/plugins/sendpress/

  2. aroza
    Member
    Posted 1 year ago #

    Same here, even keeping the confirmation email short as this...

    <a style="color: #dedede;" href="*|SP:CONFIRMLINK|*">*|SP:CONFIRMLINK|*</a>

    goes to the front page with sendpress key and does not redirect either to the default confirmation page nor to a custom page. Additionally, the suscriber is not confirmed.

  3. aroza
    Member
    Posted 1 year ago #

    [Can't edit previous post :-?]

    UPDATE: I've tested this behaviour continues with all plugins deactivated (except for Sendpress) and default "eleven" theme applied, apache httpd restarted, IE9 displays error page, Firefox nothing at all, Chrome just a blank page. I'm going to enable WP_DEBUG to search for errors.

    PHP Version: 5.4.10
    MySQL Version: 5.0.96-community-log

  4. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    @aroza
    We have seen some issues with MySQL 5.0 but have not yet found the exact cause. If you find anything please let us know.

    @Tzita
    Also looking at the code you will need to add in the * to the link: <a href="*|SP:CONFIRMLINK|*">confirmation</a>

    If either of you wanted to provide a link so i can sign up. I would like to take a look at the generated email.

    Thanks,
    Josh

  5. Tzita
    Member
    Posted 1 year ago #

    Hi Josh,
    Sorry, before I put the code wrong.
    I have this:
    <a href="*|SP:CONFIRMLINK|*">confirmation</a>
    but does not work.

    If you want you can sign up here:
    at the right sidebar.

    Thanks

  6. aroza
    Member
    Posted 1 year ago #

    Thanks Josh for your quick reply. I was investigating the issue while upgrading Mysql to 5.1.68 and found the problem.

    In the confirmation email text for the href inside anchor and text within anchors tags is not the same, which surprises me...

    <a style="color: #dedede;" href="*|SP:CONFIRMLINK|*">*|SP:CONFIRMLINK|*</a>

    outputs TWO different codes in ?sendpress= URL get key

    I tried to copy the text of the second CONFIRMLINK, the one inside tags, and it successfully confirm the user and redirects to intended page.

    Hope it helps,

    Aitor

  7. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Aitor,

    Thanks for the update. I will take a look at how we generate the code and add this to our bug list.

    Thanks again for testing and finding the issue.

    Josh

  8. aroza
    Member
    Posted 1 year ago #

    You welcome, Josh. The link will not be properly formed if the custom tag *|SP:CONFIRMLINK|* is parsed inside an anchor tag. In fact, the default suscription template outputs it in plain text.

    So far the only way to confirm a subscription is to copy/paste the given link on the email. As I really need to fix this I've searched for that string replace in your plugin code.

    I think that the code, when into a link in html body is encrypted twice. By how you process this in func send_optin, it seems that the code is first generated and encrypted by the function to be sent later, and then again in html(), as it is considered a link (e.g. twitter or facebook links in the footer are also encrypted automatically). Make sense to track clicks.

    However until a new release of Sendpress I will try to prevent certain links (for example, with a certain class atribute) to be reencoded in the html() foreach loop :)

  9. aroza
    Member
    Posted 1 year ago #

    All right :D solved with a quick and dirty fix, adding wrapping to *|SP:CONFIRMLINK|* so it becomes a properly formed link and a new tag for still displaying an easy copy and paste text

    $html = $message->html();
    // two types of href activation link
    $hreflink = '<a href="'.$href.'">'.$href.'</a>';
    $hreftext = $href;
    // replace the tags in html body, cptext for copy-paste
    $html = str_replace("*|SP:CONFIRMLINK|*", $hreflink , $html );
    $html = str_replace("*|SP:CPTEXT|*", $hreftext , $html );
    $sub =  $message->subject();
  10. Tzita
    Member
    Posted 1 year ago #

    Thanks Aitor and Josh, but I dont underestand what I have to do. I copy and paste this code where?
    (Sorry, my english is not very good. Aitor: do you speak basque or spanish?)

  11. aroza
    Member
    Posted 1 year ago #

    Kaixo Tzita!

    Tienes que modificar el archivo plugins/sendpress/classes/class-sendpress-manager.php, bien por FTP o con el editor de plugins en el panel de control de tu wordpress. ¿Tienes conocimientos de PHP? ¿Y de cambiar archivos por FTP?

    Envíame un correo a aroza EN infinitum PUNTO es (la pongo así para que no se muestre completa, cambia EN y PUNTO por la arroba y el punto) y te echo una mano ;)

  12. Josh Lyford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi All,

    0.9.2 should support this setup now. i add some checks for the confirmlink

    <a href="*|SP:CONFIRMLINK|*">confirmation</a>

    best,
    Josh

  13. aroza
    Member
    Posted 1 year ago #

    Great, Josh! Thanks for paying attention to this issue and giving support. Really appreciated.

    The plugin is rock solid. But I would like to suggest other improvements that could interest you. Should I submit to your team by creating another thread?

    Enjoy,

    Aroza

  14. itdoug
    Member
    Plugin Author

    Posted 1 year ago #

    I would recommend submitting something to user voice.

    http://sendpress.uservoice.com/

    But if you would prefer to email us, you can send something to hello at sendpress dot com.

    Thanks,

  15. DesignerDave
    Member
    Posted 1 year ago #

    I just installed and did a basic setup of SendPress. I received the email with the confirmation link, clicked on the link, and get a 404 error page. Any ideas?

  16. itdoug
    Member
    Plugin Author

    Posted 1 year ago #

  17. DesignerDave
    Member
    Posted 1 year ago #

    Worked like a charm. Thanks for the immediate response! You ROCK!

  18. nedvizimost
    Member
    Posted 10 months ago #

    Hello,
    in the confirmation email, the link does not work also!
    My confirmation link:
    <a href="http://noble-auctions.net/nedvizimosti/sendpress/eyJpZCI6NSwibGlzdGlkcyI6Ijc0IiwidmlldyI6ImNvbmZpcm0ifQ
    ">http://noble-auctions.net/nedvizimosti/sendpress/eyJpZCI6NSwibGlzdGlkcyI6Ijc0IiwidmlldyI6ImNvbmZpcm0ifQ

    Not Found

    The requested URL /nedvizimosti/sendpress/eyJpZCI6NSwibGlzdGlkcyI6Ijc0IiwidmlldyI6ImNvbmZpcm0ifQ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Apache/2.2.24 (Unix) mod_hive/3.6 mod_ssl/2.2.24 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.35 Server at noble-auctions.net Port 80

    _____________________

    Please help. I am newbe and not a professional.
    Thank you in advance!

  19. itdoug
    Member
    Plugin Author

    Posted 10 months ago #

    Please try the 404 KB article I posted a couple months ago. Hopefully, that will fix it.

  20. nedvizimost
    Member
    Posted 10 months ago #

    Right, I follow your article and all done, but my situation is not going to change... (((

  21. nedvizimost
    Member
    Posted 10 months ago #

  22. itdoug
    Member
    Plugin Author

    Posted 10 months ago #

    If you are still having issues after updating can you provide us more info?

    Please click the following link for instructions on what info to provide support. http://sendpress.com/support/knowledgebase/what-information-should-i-provide-in-a-support-ticket/

    You can send to hello at sendpress.com

  23. Harris
    Member
    Posted 10 months ago #

    Same problem happened to me 404 page when click to confirm. I used "try old settings" subscriber confirmation worked. Thanks.

  24. The Bean
    Member
    Posted 9 months ago #

    I'm lost... with the discussion above.
    I created a custom 'thank you' page that I THOUGHT subscribers would be sent to after they opt-in.

    I entered the page name in redirect box under the double opt-in.

    But after clicking the opt-in link I receive No Such Page.
    I'm also not seeing me as an active subscriber.

    the page is there... I'm sure I'm missing something obvious
    http://npscolorado.org/newsty/
    Best...

  25. itdoug
    Member
    Plugin Author

    Posted 9 months ago #

    Could you add a couple screenshots so we can see what you have set? And if you provide your blog URL, we can try subscribing ourselves.

  26. The Bean
    Member
    Posted 9 months ago #

    http://www.npscolorado.org
    Sign up form is on the right sidebar
    Just deleted my information and started over again.

    Rec'd email to opt in.
    I clicked the link
    Was sent to http://npscolorado.org/sendpress/eyJpZCI6IjIiLCJsaXN0aWRzIjoiODg3LDg4NiwiLCJ2aWV3IjoiY29uZmlybSJ9
    (page not found)
    Instead of being sent to http://npscolorado.org/newsty/
    On Settings page the confirmation page link works properly by going to custom thank you page

    How do I attach screen prints?

  27. Josh Lyford
    Member
    Plugin Author

    Posted 9 months ago #

    Hi The Bean,

    Could you try this and see if it fixes your issue.
    http://sendpress.com/support/knowledgebase/emails-and-links-showing-404-page/

    Let me know if it does not work for you.

    Josh

  28. The Bean
    Member
    Posted 9 months ago #

    It works better... However the http://www.npscolorado.org/newsty is displayed after I fill out the form AND after I click the opt-in link in the email.

    I thought via the settings that http://www.npscolorado.org/newsty would show up after they click the opt-in link in the email (Select the page a new subcriber will be redirected to after they click the confirmation link in the Double Opt-in Email). (vs twice)

    Actually I MUCH prefer having a page (tbd) show up after filling out the form (telling them to look in their email etc....) vs having the message show up on the right side bar (where they could easily miss the information...)

    I know my client won't like having that same page (newsty) show up twice. She'll probably have me pull the plugin.

    Anyway, another issue is the layout of the form in the right sidebar. After you asked me to test it again, I refreshed the webpage and the fields are all catawampus. I deleted the widget and recreated it to no avail.

    I guess all things considered, if the newsty could show up 1 time (after they opt-in) and if the field layout in the right sidebar could be corrected (it was good earlier) then I'd be ok with that!

    Thanks for your timeliness!!!

  29. The Bean
    Member
    Posted 9 months ago #

    I tried working on this again myself to no avail. (ref issues above)

    I guess all things considered,

    • if the newsty could show up 1 time (vs twice) after they opt-in and
    • if the field layout in the right sidebar could be corrected (it was perfect yesterday morning) then I'd be ok with that!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.