MT Hack: More Detailed Comments Notification

I have actually had this hack in place for some time, but never thought about posting it until I wrote up the Hack on Trackback notifications.

So, if you would like your New Comments notification e-mails to be a little more descriptive, here is what I've done:



Go to:

yourMTDirectory/lib/MT/App

and open Comments.pm (be sure to make a backup).

On or around line #122, look for:

'[' . $blog->name . '] New Comment Posted' );

And replace it with:

'New Comment on [' . $entry->title . ']' );

Now your e-mail subject line will tell you what article received a new comment.

Instead of this boring (zzzz), worthless subject line:

[PromoGuy dot Net] New Comment


You get this:

New Comment on [Monday Mission 2.34]

Of course, if you have multiple Blogs, you may want to retain:

[' . $blog->name . ']

If so, then try something like this:

'Blog: [' . $blog->name . '] Has a New Comment on [' . $entry->title . '] '

And if you want to customize your comment message even more, be sure to look at my other Comments Hack.

Hope this helps!

3 TrackBacks

PromoGuy posted a new Movable Type hack that provides more detail when the email notification arrives. I've already implemented his Read More

Yes, ladies and gents, it's another in my rapidly-growing list of complete geek posts. Enjoy! Read More

I thought I would take this time to share with you the features that I've implemented to my blog. I found these comment hacks over at ScriptyGoddess. The first, second, and third are from PromoGuy. They include more detailed comment notifications, info... Read More

Leave a comment

8 Comments

Pretty wifty. I have it set up now. All I have to do now is get some Trackbacks.

Look at that!! Neato!
I'm going to have to make you the token male on scriptygoddess!! ;-)

Previewing your Comment
Is this also for readers who signed up for notification? or mail-this-entry?

I have a Dutch Blog and I don't like it that the messages to readers are mixed in language. Where would I go to hack them? (I wish they were templates too, HTML-mail preferably)

Thanks for the posting of your hack, it works!

Damn. You rock. Thank you for that - I'll put it in to place tonight! Whoo hoo!!!

Way cool! Thank you so much.

hi
i have a problem and i had to know hack.
i want to know my friend's email profile or her password.please help me to know because i said her that i'm a hacker but i'm not.
tanks

dont completely understand how to get someones IP address...i dont kno wut MT is...can someone explain to me how to get someones IP address, that talks to me on instant messenger....and also how can u hack into someones email account, its really important...please help me w/ these 2 things!!

i want tio hack

Monthly Archives

 
Comodo Internet Security Pro
BzzAgent Badge

Visit IdeaPaintâ„¢ HOME

Hot @ iTunes

Apple iTunes

Wolfgang's Vault - Johnny Cash poster, tshirts and photography
Awesome @ Amazon

Close