Viewing 15 replies - 1 through 15 (of 21 total)
  • Hi there,

    you mean a widget with a text field to subscribe? Yes, this can be done by copying and pasting the following HTML code into a PHP widget:

    <form action="/URL_OF_YOUR_MANAGEMENT_PAGE?srp=<?php echo $post->ID ?>&sra=s" method="post" onsubmit="if(this.subscribe_reloaded_email.value=='' || this.subscribe_reloaded_email.value.indexOf('@')==0) return false">
    <fieldset style="border:0">
    	<p><label for="subscribe_reloaded_email">Email</label> <input type="text" class="subscribe-form-field" name="subscribe_reloaded_email" value="email" size="22"
    		onfocus="if(this.value==this.defaultValue)this.value=''" onblur="if(this.value=='')this.value=this.defaultValue"/>
    	<input name="submit" type="submit" class="subscribe-form-button" value="Invia" /></p>
    </fieldset>
    </form>

    Please let me know if this worked for you and don’t forget to vote for my plugin ??

    Camu

    Thread Starter Perryb2006

    (@perryb2006)

    I have enabled the widget below comment form. Check here: https://www.techvorm.com/download-angry-birds-for-nokia-s60v5-symbian1-mobile-phones-unofficial.html

    When i clicked on InVia (Should be “Submit” or somethng similar) it returned a 404 page. Any help?

    Thread Starter Perryb2006

    (@perryb2006)

    Replaced “URL_OF_YOUR_MANAGEMENT_PAGE” with “comment-subscriptions.html” and now it is taking to the generic subscription page and not post specific.

    Yeah, sorry for the wrong text on the button, it should be Submit. As for the “generic page” issue, it looks like the PHP code

    <?php echo $post->ID ?>

    I had added in the HTML code here above, is not being properly executed. That’s the reason why it’s not working. Is this “widget” inside the WordPress loop?

    Camu

    Hi again,

    are you using PHP Code Widget? If so, try this code here below:

    <?php global $post ?>
    <form action="/URL_OF_YOUR_MANAGEMENT_PAGE?srp=<?php echo $post->ID ?>&sra=s" method="post" onsubmit="if(this.subscribe_reloaded_email.value=='' || this.subscribe_reloaded_email.value.indexOf('@')==0) return false">
    <fieldset style="border:0">
    	<p><label for="subscribe_reloaded_email">Email</label> <input type="text" class="subscribe-form-field" name="subscribe_reloaded_email" value="email" size="22"
    		onfocus="if(this.value==this.defaultValue)this.value=''" onblur="if(this.value=='')this.value=this.defaultValue"/>
    	<input name="submit" type="submit" class="subscribe-form-button" value="Submit" /></p>
    </fieldset>
    </form>

    Of course the widget only makes sense if shown within a single post context.

    Camu

    Thread Starter Perryb2006

    (@perryb2006)

    I am using Ad codes widget (supports php) and I have placed the box using a widget. Don’t know about loop ?? Am a commerce student, bad with coding ??

    Thread Starter Perryb2006

    (@perryb2006)

    Added the new code and it’s working just fine! Check the link shared above. Great work mate!
    Voted too :))

    Awesome! Hopefully this will be useful to other people who want to do the same thing!

    Best,
    Camu

    Thread Starter Perryb2006

    (@perryb2006)

    I found this feature of subscribing without commenting pretty useful. And a small request, not related to topic though, why don’t you develop a mobile plugin for wordpress? Except for 1 or 2 none of them are supported for latest version of wordpress.

    Just a lame request seeing the awesome support you provide ??

    Creating a mobile plugin would be nice, unfortunately developing for iPhone can be expensive and I don’t have the adequate equipment to do it, I’m a PC guy ??

    Camu

    Thread Starter Perryb2006

    (@perryb2006)

    iPhone? I was hoping for a generic version. Though WpTouch Pro does the work but it’s kinda limited to certain devices.

    Wait, I guess I misunderstood what you meant. StCR is already compatible with mobile browsers, you can manage your subscriptions from a mobile device. I thought you meant developing an iPhone app.

    Camu

    Thread Starter Perryb2006

    (@perryb2006)

    I did mean developing a mobile app but NOT specific to iphone. I meant something which will work for all the phones.

    Unfortunately Apple doesn’t have such a thing like cross-platform compatibility ??

    Camu

    regarding the subscribe without commenting, how about this feature suggestion:

    – have an option in your plugin’s options to inject a link underneath the comments so that a user that has read the comments sees this link to subscribe without commenting. In my opinion it doesn’t make that much sense to have it in the sidebar as a widget

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Plugin: Subscribe To Comments Reloaded] Create "Subscribe Without Commenting" widget’ is closed to new replies.