MT-Notifier 2.4.1 »
I've released MT-Notifier version 2.4.1.
This update fixes a small bug with purging a user record from within the management screen.
Previously this would work if you were purging your own record, but if you were accessing the user interface from your Movable Type main menu (logged into the system), when you purged user data, you were kicked out of management mode and had to start over (the data was purged, however).
This has now been fixed. I also added a small log entry to record the number of notifications sent during any particular notification run. Thanks to Simon for another excellent (and easy to implement!) suggestion.





















Comments (12)
Just starting out with Movable Type and your plugin, though I'm getting an Internal Server Error when I try and run it.
(My MT directory is mt-cgi - is this causing the problem?)
Posted by Benjamin Chait on January 8, 2005 11:02 PM
This error is generally caused by not having the permissions on the script set correctly. Because it needs to execute, it should have permissions of 755.
Posted by Chad Everett on January 9, 2005 8:18 AM
I don't know if you can help...but using your plugin, the excerpts are sent without any formatting. That is, all paragraphs get ran together as 1. Can this be fixed? Thanks.
Posted by Dan on January 9, 2005 3:02 PM
Hi Dan -
I would assume you are talking about entry notifications. That cannot really be changed, because I'm using an internal Movable Type function to extract the excerpt. That's how it comes out of the function. It's possible to change it to send full-text entries, as described here, but that's about it.
There is no "formatted excerpt" option. It could probably be built, but it isn't at this point. The main problem that would affect something like this is that if you cut off the document prior to ending tags (for instance, in the middle of a link, or even in a paragraph or table), it would create invalid markup, and that would be a Bad Thing. If you want formatted notifications, try the full text modification linked above.
Posted by Chad Everett on January 9, 2005 3:12 PM
I installed the newest version today (I had been using 2.2.4 for a long time). It was working fine but in tweaking and testing it, there is now one record which won't go away. I've deleted all the files and re-installed it and tried everything, but there is still one email address in the "manage" drop down window which will not leave. It has no subscriptions and I've tried to purge it, purged every blog, and everything else I can think of! Any ideas?
Posted by Heath Allyn on January 10, 2005 12:45 PM
I seemed to get rid of it in the "Advanced purge" options by purging all notifier database records. Thanks for the cool plugin!
Posted by Heath Allyn on January 10, 2005 1:12 PM
Thanks for your help. Solved my problem. Now though, the issue I have is every entry seems to be getting sent twice, both to myself and other test email addresses I sign up. Any advice on that? Thanks in advance.
Posted by Dan on January 11, 2005 10:55 AM
Hi Dan - You should read this entry, as it should help explain what is going on (and more specifically, how to change that behavior).
Posted by Chad Everett on January 11, 2005 10:58 AM
I've encountered the following error when I try to view a post in my Individual Entry Archive...
"The requested page could not be found.
Smarty error: [in mt:71 line 127]: syntax error: unrecognized tag 'MTDaylightOrStandard' (Smarty_Compiler.class.php, line 556)"
I put in a ticket at SixApart and they said, "The MTDaylightOrStandard tag is a plugin tag, and will not render as expected on dynamically generated pages, unless the plugin author has updated the code to work with dynamic publishing."
Since the only plugin I have installed is yours I'm assuming this problem is related to Notfier. However, my templates are kind of old and its possible this tag came from a different plugin on my previous site design.
Is this a Notifier issue or do I need to look elsewhere?
Posted by Dave Englund on January 12, 2005 6:35 AM
This isn't MT-Notifier. It's the Daylight or Standard plugin, by Staggernation. It's used to output a different string depending on if it is daylight time or standard time at the time the entry is published. I used to use this tag in my RSS feeds, but I don't do so any longer. Unfortunately, sounds like it's time to start digging through those templates to find it.
If you have MySQL and access to phpMyAdmin - or really, any SQL and any tool that allows you to query the database, try something like this:
select * from mt_template where template_text like '%MTDaylightOrStandard%'That should pull any records that include that string within their layout. Of course, then you have to go find them - but it might help at least a bit. Proper capitalization and the % signs are required. Hope this helps.
Posted by Chad Everett on January 12, 2005 7:16 AM
I am getting this error:
MT-Notifier died with: Can't locate object method "notify" via package "jayseae::notifier" (perhaps you forgot to load "jayseae::notifier"?) at plugins/Notifier.pl line 54.
Notifications do seem to be going out though.
Posted by KO on January 12, 2005 1:34 PM
It sounds like you have mismatched files on your server. The call to "notify" was last seen in version 2.2.4 of the plugin (specifically, in Notifier.pl). It was also on line 54 in that version.
After version 2.3.0, that line moved to line 55, and changed names to match the subroutine found in notifier.pm. Please make sure you are using the same version of each. You can use the older Notifier.pl if you like, but you need to use the matching notifier.pm.
Posted by Chad Everett on January 12, 2005 1:48 PM