Login  |  Register
X
Username
Password
Forgot your password? 

Update: Latest Version = 1.1b
(now displayed at bottom of script's sidebar on left)
-------------------------------

The script below is a new way to allow readers to subscribe to yor comment posts. The original idea was from the ScriptyGoddess Subscribe-To-Comments scripts for MovableType. Jennifer, from ScriptyGoddess posted a call to any "doctor or Perl programmer in the house" because the Subscribe To Comments script is 1) a perfect opportunity for people to bombard enemies with spam emails, and 2) not helped by Jay Allen's masterwork the MT-Blacklist anti-spam plugin.

Well, as a better doctor than Perl programmer, I decided I'd better take up the challenge and have at it with my lumbering, kludgey Perl in order to sharpen my skills. So, I have hacked away at it for a few weeks in between real work, and I have produced a script which will easily substitute for the ScriptyGoddess one with very little work on your part and easy "revert" if you don't like it.

Here Are Some Features Of The Script
1) No hacking of MovableType or any related software
2) Single CGI script for easy installation and removal
3) Upgrade from ScriptyGoddess by simply changing two URLs in your Comments Listing Template
4) Easy Import of Old ScriptyGoddess Subscriptions
5) Web Based Interface For Managing All Subscriptions
6) Individual Entry Opt-Outs as Well as Sitewide Opt-Outs Available To Readers
7) Subscription Management Pages Secured By MovableType Password System
8) Subscriptions Stored In Database Instead of Flat File in Web Directory
9) Completely Compatible With Mt-Blacklist Plugin
10) Uses MT IP Banning For All Subscriptions
11) Readers Can Subscribe Without Posting, But Are Still Subject To MT IP Banning for Security
12) Completely Customizable Notification Email
13) Secure Reader Pages For Individuals To Manage Their Subscriptions
14) Reader and Blog Author Pages and All Others Separately Customizable With CSS
15) Easy to Purge All Related Data If Desired
16) Flood Control on Nonposting subscriptions
17) Optional automatic email notification if large volume of subscriptions (subscription spam warning)
18) Optional automatic (or reader chosen) expiration times for subscriptions
19) No hidden frames or occult popups - works perfectly* with both popup and inline comments

*the word "perfectly" is used largely to convey a feeling and not completely literally . This is because, much as I love Macs, a couple of their browsers are extremely inconsistent. The worst is Opera (Windows Opera is fine) - the workaround in the script causes a funny little bump that looks like the page is reloaded once after posting a comment - no big deal, but might surprise those few Mac Opera users a little. Also, Safari puts up a dialog box saying "Subscription Info Processed Successfully" requiring a click on okay to get rid of it. Again, nothing too unusual, I hope. All other browsers behave themselves just fine.

If you want to try it out here first, subscribe to comments for this entry (with or without posting) and see how it works. You will receive an email that will give you a link to the reader's page (to manage your subscription(s) at this site).

See Sample Page From Script (Installation Instructions and Tech Notes)


Screenshot of Script's Subscription Page

Download Script -> EZ Subscribe To Comments

Change History

EZSTC 0.1b
add popup window to basic script
release for beta testing

EZSTC 0.2b
add ip banning
add popup toggle switch

EZSTC 0.3b - 0.9b
experimental frame designs
variable clearing

EZSTC 1.0b
web based interface

EZSTC 1.1b
devised non-popup method for hooking MT after comments eval'd

EZSTC 1.2b
Add full featured web-based interface
full entry-wide, site-wide opt outs
import from ScriptyGoddess
reader management page
css for user and reader interface
customizable email
subscribe without posting
release for further beta testing

EZSTC 1.3b
fix to allow for inline comments

EZSTC 1.4b
fix double posting in some browsers

EZSTC 1.5b
add timing loop to accomodate unconventional browser eval order

EZSTC 1.6b
fix for proper preview functioning
better variable checking

EZSTC 1.7b
further fixes for Mac Camino and Win Firebird

EZSTC 1.8b
add manage subscriptions by email address

EZSTC 1.85b
minor fixes for uninitialized variable warnings

EZSTC 1.86b
minor fixes for Opera compatibility

EZSTC 1.87b
allows for optional email address on comments form

EZSTC 1.09b
limited release test of new features

EZSTC 1.091b
add button to clone settings from one blog to another

EZSTC 1.092b
flood control not applied to nonposting UNsubscribe

EZSTC 1.1b
100% customizable email, per blog settings, add expiration dates, eliminate hidden frame, flood control

Comments

104 Responses to EZ Subscribe To Comments
  1. Oscar Says:

    I’ve released version 1.1b. Read the updated post above for details. But I have eliminated hidden frames, so it works for popup AND inline comments without a problem. Also, added 100% configurable notification emails, user or author determined subscription durations (expirations), flood control for nonposting subscriptions, email notification of author if more than a set number of subscriptions are logged (spam warning), per blog configuration of settings, etc.

  2. Oscar Says:

    Hi Patrick - As you have probably seen by now, the emails are only sent when a new comment is posted. I hope you are receiving the emails as we post these - I know I am.

  3. Patrick Nielsen Hayden Says:

    I’d love to use this, and I tried the “subscribe without posting” option over the weekend in the hope of getting the promised email showing configuration options, but the email never showed up.  I tried it again and got a “you have already subscribed” response.

  4. Anderson.J. Says:

    I wonder, is here only Oscar posting?

  5. Oscar Says:

    Yeah, it’s true Lisa. Here was my idea:

    In the Processing window, I call the script onUnLoad. This has meant either a popup window (invisible, but there in the past) or else by a hidden frame (current method). This is because you need a window to get a url to be refreshed, and thus to get the script to be called.

    So, then I hit on the stroke of genius. Use:

    var myImage = new Image();
    myImage.src = “the_script”;

    As a function to be called on unload. This is a way of calling a url without opening a new window and without reloading the page. Wow!

    And it works! In Mac Safari, Mac IE, Windows Mozilla and Firebird, Netscape. But it does NOT work in Mac Opera or Win IE6. Not yet anyway. But I’m not sure why not. I may have to sniff the browsers and use this method where I can, and the hidden popup elsewhere. I’m not sure. Still working on it. Any great ideas from anyone are MORE than welcome!

  6. Lisa Says:

    *** TEASE ***

    !!!

  7. Oscar Says:

    YES!!!!!

    Halle-FREAKIN-lujah!!!!!!!!

    I wuz just sitting here staring into space and drooling, and it came to me! I’ve been stewing on this since October ... I’ve been sitting on a pile of new features until I could solve the problem .... and NOW, I’ve done it, or thought of it anyway. Now it’s just a matter of testing. Initial results look real good!

    NO MORE HIDDEN FRAMES OR POPUP WINDOWS! And the script is FAST!!!

    So, stay tuned. I want to clear up a couple of minor bugs in some of the new features, and triple-check my new concept!

    I am sooooooo happy! It’s better than sex. And drinking. And poker. Though possibly not better than all three of those things together.

    I hope to release a good beta before the end of the weekend.

    (PS to geeks - the key? —>  image.src

  8. Adam Says:

    Oscar, I’ve been looking for a way to do comment subscriptions without converting to PHP forever. Thanks! I’ll be trying it out on a test blog soon, and can’t wait to see the results.

  9. djn1 Says:

    I’ve just come across this script and wanted to say thanks - it’s an excellent solution.

  10. Oscar Says:

    I haven’t been able to reproduce this problem, nor has it been reported by others yet. I don’t know what to make of it. I’m as anal as the next guy, so if it is other than an individual problem (corrupted cache or something), or there is some way for me to see it clearly, I will immediately set about fixing it. I’m at least as anal as the next guy, believe me!

  11. Mac Says:

    This is using IE6, but though I’ve removed the script for now till I have some free time later, you can see another example here  Click on “Hisses” to send a comment, though you wont have to do that even, just send a comment without including the email address, and when it gives the error, go back, and presto, the horizontal bar appears, and stays that way until the comment window is closed.  Like I said, it’s a bit weird.  I’ve initially tried to expand my comment window’s width a few pixels, but that hasn’t seemed to stop it
    Not a major issue, but being anal retentive, I like to be neat. 

  12. Oscar Says:

    I haven’t noticed it myself, and can’t imagine why it should be, though it could be. For the version I am working on, I am doing some extensive experimenting with this aspect of the script, so it would be helpful if we could document your observation, particularly if it is a browser specific issue.

  13. Mac Says:

    This looks like a GREAT script.  I have one question though, when the script refreshes your comment window, for some reason the page is a bit off kilter to the right, resulting in a horizontal scroll bar.  I’ve checked other sites that also use the script, and they do the same thing.  I thought increasing the popup window size might fix it, but apparently it still does it.  It’s weird.  Has anyone else noticed this?

  14. Oscar Says:

    Thanks Lisa - Not your imagination, and at least this time, not my script!

  15. Lisa Says:

    I just read over at The Tweezer’s Edge that it is actually MT Blacklist doing it.  If you use that, then throttle is ignored.

    At least it’s not my imagination.

  16. Oscar Says:

    Well, the way I knew it worked was that you guys were posting here and I have been upgraded for several hours now. There shouldn’t be a problem with the ThrottleSeconds either, because the comment itself is actually posted by mt-comments and not by EZ STC.

    Also, I am building in the same feature to “subscribe without posting” and several other things. I will take a closer look at ThrottleSeconds then, just to be sure!

  17. dclal Says:

    Completely MY BAD. I renamed my comment and trackback scripts to avoid comment spam. When I upgraded I forgot to rename them again. All is well now…

    Thanks Lisa for making me take a second look.

    Oscar, you can delete/edit my comment from earlier if you please. I do not want to tarnish it’s flawless operation.

    Thanks many times once again.

  18. Lisa Says:

    I can post comments, just rapidfire *whistles*.  I posted 3 in under 20 seconds, and I have the throttle in mt.cfg set to 30 seconds.  I’m not sure I’m doing that right though…

  19. dclal Says:

    I am also seeing problems with comment posting with 2.66 and sub-to-com. I can’t get posts to work either with or without trying to subscribe.

    I guess it serves us right (early adopters), we should have given Oscar a chance first when we saw that comment parameters have changed in MT.

    It looks like Lisa and I will be your test subjects. I will stay tuned…

  20. Lisa Says:

    Oscar, have you tested this with MT 2.66 yet?  It doesn’t seem to be respecting the throttling but it may just be that I’ve done something wrong.  Before I tear my hair out I wanna see if anyone else noticed anything…

    Thanks

  21. Page 3 of 5 pages  <  1 2 3 4 5 >


Trackbacks

  1. : 8 Ways to Sunday: EZ Subscribe To Comments I've added comment subscriptions to the blog, so you can follow the conversation on a given topic. Read on to learn the details...
    Tracked at 2004 01 30 19:21:40
  2. : one girl's life: EZ Subscribe To Comments With many thanks to Oscar!...
    Tracked at 2004 01 31 14:51:50
  3. : John's Jottings: EZ Subscribe To Comments Way too behind on maintaining this place, hoping it will get better soon. Some things in the pipeline: Upgrade to MT 2.661 Upgrade to MT-Blacklist v1.63 beta Upgrade to MT-Textile 2.0 Upgrade to PHP 4.3.4 Upgrade to phpMyAdmin 2.5.5.pl1 Upgrade to Apac...
    Tracked at 2004 02 06 08:59:20
  4. : jasonheyd.: EZ Subscribe To Comments installed the EZ Subscribe to Comments plugin recently. so, now you can track replies to comments, should you so desire....
    Tracked at 2004 02 17 14:35:42
  5. : Al-Muhajabah's Movable Type Tips: EZ Subscribe To Comments The blog author gets an email notification whenever a new comment is posted on their blog. But, often, commentors themselves would like to be notified when new comments are posted to entries that they're monitoring. The venerable solution is the...
    Tracked at 2004 02 17 21:34:30
  6. : A Soft Answer: EZ Subscribe To Comments Well I was going to delete this post after I used it for a test, but Hugh pegged it with a comment. So it wouldn't be fair to delete the post but I thought I would at least post what I am trying to do behind the scenes in case anyone else with Movable ...
    Tracked at 2004 03 19 14:07:59
  7. : A Soft Answer: EZ Subscribe To Comments Well I was going to delete this post after I used it for a test, but Hugh pegged it with a comment. So it wouldn't be fair to delete the post but I thought I would at least post what I am trying to do behind the scenes in case anyone else with Movable ...
    Tracked at 2004 03 19 14:08:17
  8. : 8 Ways to Sunday: EZ Subscribe To Comments I just upgraded this blog to Movable Type 3.0 beta 2. Curious about the new version? Here are some of the highlights...
    Tracked at 2004 05 06 14:35:23




Tell us your thoughts...
And (as you probably know) if you want a pic to show with your comment, go get a gravatar!

Smilies

Please be kind enough to submit the word you see below:




Next entry: Jerry Reed's Drive In

Previous entry: NetFlix Suite

EZ Subscribe To Comments

Posted by Oscar on Tue, 11/18/03 at 10:44 PM
Filed under: • MT & Web Design
Comments: 104 Comments/Trackbacks






OFH Solo Banjo/Guitar mp3's
pretty good if you like pickin'



Loading images
loading
Tranjo Demonstration Jerry Reeds Sassy Last Old Shovel - ROMP 2007 The Man In The Middle - ROMP 2007 Sittin On Top Of The World - ROMP 2007 Dixie Breakdown - ROMP 2007 Home Sweet Home Sound Check - ROMP 2007 Do I Ever Cross Your Mind - ROMP 2007 Drive-In Helium Brothers Montage 2009 Ridin On That Midnight Train - ROMP 2007 Lumberyard Blues Hey Hey Hey - ROMP 2007 Close By - ROMP 2007 Uncle Johns Band I Aint Broke - ROMP 2007 Midnight Moonlight Wishful Thinking