Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello @guenstig-kochen.at,

    Please if you can find the stcr-plugin.js file under the path

    /subscribe-to-comments-reloaded/includes/js/

    Replace this line:

    var submit_button = $('form input.Cbutton');

    for this line:

    var submit_button = $('form input[type="submit"]');

    Then set to Yes on the StCR Box Position option.

    Thread Starter guenstig-kochen.at

    (@guenstig-kochenat)

    worked like a charm!

    thanks a lot ??

    worked like a charm!

    Cool !

    I will add that change to the code, thank you for report it.

    Thank you!
    This worked for me too ??
    But I have another problem, message and link of changing subscription there is beside “Submit” button, how can I move it to above of the “Submit” button?

    Also I suggest to use name selector instead of type selector:
    var submit_button = $('form input[name="submit"]');
    Because [type=”submit”] will affect on every available button in page.

    Also I suggest to use name selector instead of type selector:
    var submit_button = $(‘form input[name=”submit”]’);
    Because [type=”submit”] will affect on every available button in page.

    @otoraby,

    I search in the code for the name = submit, but on some themes that button does not take the name. This is a quick fix for the position, although is better to modify the form and add the checkbox with WordPress instead of just jQuery, so the next effort to control the checkbox position will be the WordPress way

    Yes, WordPress way is much better; The current suggestion ( using comments_template.php ) is not an interesting way too!

    Hope you find a sweet way ??

    @reedyseth, When do you think the WP (not jquery) way will make it to an update? Thanks.

    @mrose721,

    Right now there is not a estimated time, but for sure this is on the improvements queueu.

    Regards.!!

    Hi ReedySeth,

    Thanks a lot for your work, your great plugin and your answers!

    I tried the mentioned solution but I dont know why it doesnt work with my child-theme. I desactivated all other plugins but the problem remains.
    Do you have an idea where I should look at, what I should do?

    Many thanks in advance for your help!

    Hi @tche111,

    I am checking your webpage, I will let know the finding on the GitHub issue:

    https://github.com/stcr/subscribe-to-comments-reloaded/issues/153#issuecomment-217514708

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘injection doesn't work’ is closed to new replies.