• Resolved SammyS

    (@sammys)


    Hi,
    I just installed the PlugIn and tried to subscribe myself with an email that is not subscribed yet, it doesn’t work tho.
    I went through the posts here and checked everything but I still don’t get it fixed.

    So I created a page, added the form by clicking on that s2 button and linked that page to the subscriber settings as well as the widget.
    The “send e-mail from” author thing is correct too (I had that error msg first that it doesn’t fit to the domain, but I fixed it) and the SMTP is smtp.paperflutterby.de.

    Yet, when I try to subscribe myself the subscribtion form page simply reloads again and nothing else happens, no email received, no msg about new subscriber etc.

    What am I doing wrong?

    Here’s my website: http://paperflutterby.de/?

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • @sammys,

    The input is not being processed at all by your site. Are you running any sort of caching in WordPress? Is so you need to try with it turned off.

    Thread Starter SammyS

    (@sammys)

    Not that I know of. I’m not even sure what that means.
    I only have the timthumb cache if that counts?

    @sammys,

    That would count, disable it in the Plugins page and try the Subscribe2 form again.

    Thread Starter SammyS

    (@sammys)

    I can’t, it’s not a PlugIn like that. It comes with the theme.
    Bascially it’s the timthumb.php that needs a cache folder in the directory to make pictures look pretty on websites.
    You really think that could be the problem?

    The only PlugIns I have installed are
    Hello Dolly, Jetpack, kk Star Ratings, Like-Button-Plugin-For-Wordpress and your Subscribe2. Any of them knowingly causes problems?

    Thread Starter SammyS

    (@sammys)

    I deactivated all PlugIns and deleted the timthumb.php plus cache folder from the directory, but it still does not work :/

    @sammys,

    Try switching to one of the core WordPress themes to test, if that works then it’s something in the theme.

    Thread Starter SammyS

    (@sammys)

    Damn. It really is the theme. Totally gonna contact their support.
    Thanks for your help!

    @sammys,

    A little step closer to a solution – at least you know the cause.

    Thread Starter SammyS

    (@sammys)

    Hi Matty,

    so I talked to their support and indeed it is a problem with their styled buttons (javascript) thing. It produces a nice hover effect to buttons which I actually quite like and don’t want to remove (which would be one way to solve the problem they said).

    They told me another option would be to look in the plugin code for where the plugin is outputting form submit buttons and then add the “noStyle” class to the appropriate HTML or PHP code.
    Something like <button class=”noStyle”>My button</button>.

    So if I wanted to add that class to the form buttons where would be that code and would it be possible even?

    @sammys,

    That’s possible. Have a look in the Subscribe2 folder on your server in the classes folder and you’ll find a file called class-s2-frrontend.php. You need to look for the three lines where $this->input_form_action is defined and add the class to the variable on those lines. The first instance currently looks like this:
    $this->input_form_action = "<input type=\"submit\" name=\"unsubscribe\" value=\"" . esc_attr($unsubscribe_button_value) . "\" />";

    You will need to cahnge that to:

    $this->input_form_action = "<input class=\"noStyle\" type=\"submit\" name=\"unsubscribe\" value=\"" . esc_attr($unsubscribe_button_value) . "\" />";

    Thread Starter SammyS

    (@sammys)

    Awesome, it worked! Thank you so much!
    (it were four lines I had to change, 2x subscribe & 2x unsubscribe)

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Emails not working’ is closed to new replies.