• I just installed this plugin from https://txfx.net/2005/03/28/wp-subscribe-to-comments-20-alpha-2/, the guy who is now taking on the development of it. You can view the code for it here: https://www.pastebin.com/265242

    ================
    Side note: I don’t understand what lines 114-116 are telling me. Do I insert lines 113 to 124? And if so, why in the loop? and not in my comments.php?
    [end side note]
    ================

    I’m running WP 1.5 and having trouble getting the checkbox to not only look right, but also to be placed where I tell it. Included in the instructions is this:

    Optional: if your WordPress 1.5 theme doesn’t have the comments_form hook, or if you would like to manually determine where in your comments form the subscribe checkbox appears, enter this where you would like it: <?php show_subscription_checkbox(); ?>

    So I didn’t know how to tell if I had the hook or not, but figured I’d add that bit of code anyway thinking it would help me place the checkbox where I wanted because by default it didn’t look right. But alas, that didn’t work.

    I also inserted <?php show_manual_subscription_form(); ?> to get the manual subscribe form and made sure that it and the “subscribe to comments” checkbox were outside of the <form>.

    Once I had all that setup, I go to https://familywebwatch.com/blog_test/2005/03/30/test-post/ and find a page that’s all weirded out. I should note that I make my calendar invisible, but it’s showing up on the page among other distortions. This same page looks different in FF and IE.

    Can anyone explain what I need to do to get things right? Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The plugin code puts a class around the box, and this is forcing it down.
    I removed that code and it sits inline. Here is what I have, but carefully study yours:
    <?php /* ------------------------------------------------------------------- */ ?>
    <?php /* This is the text that is displayed for users who are NOT subscribed */ ?>
    <?php /* ------------------------------------------------------------------- */ ?>

    <input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: 20px;" />
    <label for="subscribe"><?php _e('Subscribe to comments'); ?></label>

    <?php /* ------------------------------------------------------------------- */ ?>

    Thread Starter davincim

    (@davincim)

    Thank you, podz!

    I changed this:

    <p style="clear: both;" class="subscribe-to-comments">
    <input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: 20px;" />
    <label for="subscribe"><?php _e('Subscribe to comments'); ?></label></p>

    to this:

    <input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: 20px;" />
    <label for="subscribe"><?php _e('Subscribe to comments'); ?></label>

    Figuring that I needed to be consistent I also changed this:

    <p style="clear: both;" class="subscribe-to-comments">
    <?php _e('You are subscribed to this entry.'); ?>
    <a href="<?php $sg_subscribe->manage_link($email); ?>"><?php _e('Manage your subscriptions'); ?></a>.
    </p>

    to this:

    <?php _e('You are subscribed to this entry.'); ?> <a href="<?php $sg_subscribe->manage_link($email); ?>"><?php _e('Manage your subscriptions'); ?></a>.

    But now I’m getting two checkboxes. ?

    I appreciate your help.

    Thread Starter davincim

    (@davincim)

    I should clarify: I’m getting two instances of “subscribe to comments” when viewing in FF. IE only shows one, but at least it’s showing the manual subscribe form.

    Thread Starter davincim

    (@davincim)

    I know when posting again it is preferred that more information be offered, and I’ve tried to hold true to that. But I honestly don’t have any more to give. I’m remain at a standstill on this issue. ??

    So in lieu of more information, I offer my continued dedication to supporting this forum no matter what happens with that Google/WP thing. ??

    (whew! what a thread over there; i’m just exhausted from reading it all) LOL

    The checkbox is hidden if you are logged into WP as the author of the entry and replaced with other text (which is customizable in the very latest version, alpha-3).

    Clear all your cookies in one browser, and then view the form, to see how it looks to an “outsider.”

    Most issues with the checkbox showing twice have to do with people who have previously manually inserted the checkbox into the form.

    I just stumbled upon this entry randomly… I’ll be able to respond much more quickly if you just leave a comment on this entry:
    https://txfx.net/2005/03/28/wp-subscribe-to-comments-20-alpha-2/

    Thread Starter davincim

    (@davincim)

    Thanks, Mark!

    Thread Starter davincim

    (@davincim)

    I’ve looked at this code til I’m blue in the face, and I just can’t make it work. I have three parts that need help:

    1) checkbox text wrapping
    2) css for the comment form
    3) can’t get the plugin to work at all

    (Please bear with me this long post; I’m just trying to give you as much information as I can. If you have a minute to even answer just one of them, I would appreciate it. ?? )

    Blog is here: https://familywebwatch.com/blog_test/2005/04/06/post-2-for-podz/

    1. The checkbox does appear by default (without inserting <?php show_subscription_checkbox(); ?> into the comments form) like it’s supposed to, but in an effort to gain control over it, I put that code in there anyway. Didn’t have an effect.

    So the “Notify me…” text near the checkbox is still wrapping. I’m pretty sure it has to do with this style:

    form label {
    display:block;
    float:left;
    width:60px;
    }

    or some other style that’s inherited maybe. While changing the width above affected the text so that it was on one line like I wanted it, it also affected the title “Comments” at the side of the text area and the text area itself further up the form. I even tried making another style and wrapped a div around the php; didn’t work. Even an inline style did not respond. So I’m either really bad at php and css, or something else is playing with me.

    It has been suggested I put the php inside the fieldset. Tried that, but it didn’t work.

    Anyone have a minute or two to take a crack at this?

    2.The next thing involves another portion of the css for the Blix template. If you look at the link above you’ll note the two grey boxes just beneath the “Submit” button and right behind the “Notify me…” text. I want those boxes removed, but for the life of me can’t figure out how to. Here’s a screenshoot of what I’m describing: https://www.familywebwatch.com/blog_test/wp-images/Clipboard.gif

    Any ideas on this one?

    3.Lastly, despite the way it looks, I tried checking the box to subscribe. The plugin did not accept it. I know this because I checked the subscription manager and searched for the e-mail I provided. It wasn’t there.

    Again, I appreciate anyone who has lasted this long to read through this post, and look forward to any help offered. Thanks!

    Thread Starter davincim

    (@davincim)

    Anyone have a moment to tackle maybe one of these with me? I’m fresh out of ideas.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can’t get Subscribe-to-comments plugin to work’ is closed to new replies.