Don't Back Down

Posted by Chad Everett on January 21, 2005

MT-Notifier 2.4.3 »

MT-Notifier version 2.4.3 has just been released.

It seems that the problem that was fixed a while back (with the release of MT-Notifier 2.3.5) reared its head again, this time on blog and category subscriptions.

I think I got it this time. Thanks to Noel for pointing out that the blog and category subscriptions were broken too. Hopefully it's really fixed this time and won't come back again later in some other form.

Announcement. Download.

Related Entries

Comments (33)

I installed this plugin into its own folder (as MT plugins are notoriously badly packaged and uncompress in weird places; no offense!) and noticed that there's a file called tmpl/cms/view_log.tmpl that already exists in stock MT 3.15 (for viewing the system log).

Is your version of this file a needed alteration to make it work with the MT-Notifier plugin? Or did you package it by mistake?

You can find the answer in this announcement. Specifically: "As with MT-Approval, MT-Notifier is using HTML markup in the log entry. Because of this, if you want your log entry to look nicer, you'll need to make use of the view_log.tmpl included in the distribution. If you have already installed this template for MT-Approval, you don't need to do so again."

As to its own folder - more power to you, but I would be very surprised if it worked as expected. Please keep me posted.

Thanks for the quick response. I'll replace the view_log.tmpl then. :)

By the way, I meant that I merely download the archive into its own directory, unarchive it, and then manually put the files into the correct places instead of downloading it into the MT distribution and unpacking it, expecting it to unpack in the correct place (which would work wonderfully with your plugin but, unfortunately, with none others I've encountered).

I've gotten MT-Notifier to work with PostgreSQL. I made changes to the MT::PluginData module to allow binary data storage in PostgreSQL, and then MT-Notifier is able to store its binary data hashes in PostgreSQL.

Details can be found here and on my blog under Movable Type + PostgreSQL and Resetting MT PluginData.

Excellent! Thanks for providing the links to make it happen!

For some reason the link to the subscriptioons is wrong. Rather than:

http://mysite.com/cgi-bin/mt-notifier.cgi

... it comes up as:

http://mysite.com/cgi-binmt-notifier.cgi

Why is this?

I can't say for certain, it looks okay on my site (and everyone else's, so far as I know). Are you using the most recent version of MT-Notifier? What version of MT are you using?

I was about to install MT-Notifier on my site (MT 3.15 ) but then I noticed in your documentation this bit -

As of versoin 2.0.1, MT-Notifier is not compatible with MT-Blacklist.
Forthcoming versions of MT-Blacklist should be compatible with MT 3.0D, and at
such time, I will do everything I can to make them work together.

And basically I was wondering if this is still the case, as I have MT-Blacklist 2.04 beta installed on my site and don't want to break things.

I believe it should work, as the two don't really do anything to one another that should cause problems - Jay's plugin will process the comment prior to posting it, and mine will come in once the process is complete. But I also don't run Blacklist, so I can't say that I am completely sure of that.

Okay in that case I will give it a go, cheers.

I'm getting an error: "Your request included an invalid record key. Please correct the error and try again." upon signing up.

Now I'm not all that bright on this stuff even though this seemed easy to install so I'm wondering if anyone knows what my problem is or what I am doing wrong.

Is there a period at the end of your key? If so, popular mail programs (ie, Outlook) like to think that is the end of the sentence, and they won't send it when you click on the link. If not, please provide me what you're trying to do - that is, the URL you are using - and I'll see what I can do.

I just got Notifier installed and everything looks OK from a Config end, but even though it says that it is installed and enabled on my blog, there isn't anything in my comment sections that allows users to subscribe...

I think I missed something... :\ Were you supposed to add anything after you installed the plugin with the MT and then enabled it on your blog????

Thanks!!!!

I receive an error when trying to enter "configure", "install", etc.:

"Byte order is not compatible at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/thaw.al) line 363, at lib/MT/PluginData.pm line 28"

I beleive it started happening after i installed MT-Blacklist (2.04b).

So it looks like Notifier is still incompatible with Blacklist :(

Anyone having similar problems? Or maybe anyone having Notifier work with Blacklist?

The notices that Notifier sends out only seem to have an excerpt from the post included. I liked using the "Send Notification" box in the entry of each post to create my own personalized message ("I've got a new post about...that you might be interested in reading"). But I don't see any way to do this with Notifier. Is the the option there somewhere?

If I use the normal MT Send Notification box and save my entry I get a message saying the notification was sent, but this turns out not to be the case. Notifier must be inturrupting that process. Any thoughts?

I'm using MT 3.11. Could that have something to do with it?

You'll need to add some method for subscribing to comments. The included text file includes the information you'll need to do so.

I don't think this is necessarily related to Notifier. Check out this link on the Blacklist forums. It seems to have something to do with a prior version of Blacklist.

You can customize the notification.tmpl to say whatever you like - though you'd have to change it each time you want to send something different.

Sorry about that... The section under install is kind of misleading and reads like if you click here, the necessary file will be changed... :\

Anyway, I'm still a little lost. Can you give an example or point me in a direction as to adding the subscribe option? Putting the subscribe checkbox in is the easy part... Its making that check do something that I'm having a problem with... You mention that putting some PHP in the form could be a way to handle it. But since the form info is passed to the mt-comments.cgi file, I don't know how to either get that info back, or to send to info to two separate files at the same time...

Any idea what I could do???

You know how somethings are just SOOO easy they get overlooked???

;) Yeah, I just added the box, and changed the name of it from the name I was trying to use for a php script to "subscribe" and bingo... Everything worked...

Great script. Appologies about the mess...

Clues requested/appreciated on troubleshooting this li'l scenario:

  • Add comment and subscribe "email 1" - address now visible in "Manage > Addresses" (yay!)
  • Rinse and repeat with other emails 2, 3 and 4 - no change to "Manage > Address" list (huh?)
  • View "Manage > Blogs (select blog)" - no addresses listed at all (uh-oh)

Forced a reload of the page as well, just in case. No dice. Rechecked installation and readme - all appears happy and healthy.

Well I added this plugin to my site. Hmmmm.... I am running mt 3.15 MT_Blacklist 2.04. I went to the page to configure this and it all looked like it did it. No errors but when I rebuilt my site, there is no comment button added for subscriptions. Don't know what I am doing wrong here. It all looked good too.

Am I missing something. It says it is installed on my main blog. That is on the install directory.

Regarding my previous step 2: "Rinse and repeat with other emails 2, 3 and 4 - no change to "Manage Address" list (huh?)" ...

These are also added via "a subscription checkbox." (Currently commented out - view source on www.joesapt.net individual entries to see it.)

That is, I add additional comments to the same entry as in step 1, just using different names and email addresses (all of which I have access to). The expectation then is I'd get all four emails in the "Manage Addresses" list. Instead, I only ever see the first one.

Ok I added the form on my site. But here is the kicker. I entered an email address and then hit the go button. When I go to the manage section I see that the email address I enetered is there and it is subscribed to the blog, but no email ever gets sent to that address. It seems that only the address that I put in manually gets any email.

Any hints. I would love to use this plugin.

Correct - I added them through a comment form. (Apologies, I should have been clearer!)

I see that first email address ("email 1") is subscribed to two entries. I unsubscribed it from each entry - done. Now there are no subscriptions at all.

Now I'm going to do what you suggested, and add an email through the Management Interface ... ahh! I now get what Donna mentioned (in comment #11):

"Your request included an invalid record key. Please correct the error and try again."

The email is innocuous enough. I'm on MacOS using Safari - should be fine there too. Hmm ...

If there's a particular perl module or area I should check out, let me know and I'll have a closer look.

Oh! This is interesting. I tried it again, got the same error up top, only this time I scrolled down and noticed this:

Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 662.
Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 678.
Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 691.
Use of uninitialized value in string eq at extlib/jayseae/notifier.pm line 700.
Use of uninitialized value in string eq at extlib/jayseae/notifier.pm line 1385.
Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 1385.
Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 1385.
Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 1385.
Use of uninitialized value in string eq at extlib/jayseae/notifier.pm line 1385.
Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 1385.
Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 1385.
Use of uninitialized value in pattern match (m//) at extlib/jayseae/notifier.pm line 1385.
Use of uninitialized value in concatenation (.) or string at extlib/jayseae/notifier.pm line 1445.

I have uploaded everything where I should, but I can't install it: when I try I get a message "(/path/to/my/site/mt/lib/MT/App/Comments.pm) Open Failed: Permission denied"

And what is this key that I am asked for? Is it the typepad key -- I seem to have no record of thet, though I have one, since I have bought and paid for MT.

How can I uninstall Notifier? I can't get it to work at all -- when I try to install it, it complains that a permissions error makes it impossible to changer Comments.pm; when I log in to the main cgi it demands an email address and a token -- what token?

And now I am getting strange MT blacklist errors showing up in my log since trying to get Notifier to work.

What version of MT will this work until?

I'm 2.661 and and when I access cgi I get :

"Loading template 'notifier.tmpl' failed: HTML::Template->new() : Cannot open included file header.tmpl : file not found. at extlib/HTML/Template.pm line 2024."

Thanks!

Current versions of MT-Notifier do not work with versions of MT prior to 3.0. From the documentation:

  Version 2.0 of MT-Notifier also requires certain features found in MT 3.0D, and should not be used
  with a prior version of Movable Type.

In actuality, it means that MT-Notifier will work with versions of Movable Type after version 3.0D, but it will not work with prior versions. If you'd like to try Notifier with your install, try version 1.4.1.

Andrew, the message you get indicates that you have no permission to that file. You may want to try setting the permissions to 777 so that you can run the update. You'll probably then want to set it back once you're done.

In order to uninstall Notifier, you should simply remove the files you put in place - notably those in the main MT directory, extlib/jayseae, plugins and in tmpl/cms. As long as you haven't been able to update Comments.pm, that should do it.

If you have updated Comments.pm, you should remove the installation prior to removing the files. If that doesn't work, replace Comments.pm with one from your MT distribution.

Finally, I'm not sure about the key. The only key I know about in Notifier is the one on the user record page, which is emailed to you in a subscription notification. You don't need a key to make things work.

I have a similar but different problem. I am looking for clues how to diagnose it:

1) I installed MT-Notifier last week. I have MT 3.15. I did the chmod 777 to allow the installation to proceed. I created forms to subscribe.

2) Everything looks normal EXCEPT no email is being sent. ( the notfications are accepted and they appear both in my sendmail itself is working from my linux server, I can type /usr/sbin/sendmail myemailaddress@myserver.com and I do receive this message


Answers to any of these Questions would be greatly appreciated:

Q1 do you have suggestions for troubleshooting this problem? Is there a sendmail command I can send that duplicates the sendmail that MT-Notify is sending?

Q2 how does MT-Notifier play with MT notifications? Do I ignore the "Notifications" menu item now in the MT admin page?

Q3 I am looking for possible config problems tha might explain this. In mt.cfg, if EmailVerificationSecret is set, does it interfere with MT-Notifier?


Thanks in advance, for any help. MT-Notifier looks looks like just the ticket for our web site and I look forward to having it working!

Ian Wells
www.experienceplus.com bicycling and hiking tours

Post a comment