I have a small list of hacks that I make to MailPress every time I upgrade. It’s been shrinking as some of the issues have been addressed in the plugin, but I thought I’d share my local modifications with you:

Remove “[Blog Name] New post” from Subjects

I’d rather have the Subject line of my newsletters read like a personal email than an automatically generated one, so I change:

mp-content/advanced/newsletters/post/post.xml:
Under <mail><subject>
Strip “[%1$s] New post : ”

mp-content/advanced/newsletters/post/categories/categories.xml:
Under <mail><Template>singlecat</Template><subject>
Strip “[%1$s] New post in {{the_taxonomy}} : ”

Friendlier Messages

I like messages that are clear to non-MailPress users, so I change:

mp-content/languages/MailPress.pot:4149 &
mp-includes/class/MP_Widget.class.php:104:
Change “Waiting for your confirmation” to “Check your inbox and confirm your email address”

mp-content/languages/MailPress.pot:4133 &
mp-includes/class/MP_Widget.class.php:99:
Change “Loading…” to “Processing…”

Featured Images

Apply the hack to [intlink id=”990″ type=”post”]avoid featured images appearing in the header image[/intlink] of the email. If you don’t do this, posts with a featured image won’t get processed.

Categories: MailPress

Graham

I'm the creator of BuildYourBlog.net.

4 Comments

Jan Kasal · March 26, 2013 at 5:15 am

I just want to be sure before I start messing up the files. In the example
Strip ‘[%1$s] New post in {{the_category}} : ‘
Do you mean inserting the word Strip, or delete the part between the quotes?
BTW that line looks different in the file of the same name in my directory.
Thank you.

    Graham · December 6, 2014 at 11:41 am

    I mean to remove the characters between the quotes. Cheers, Graham

Robert Jordan · June 18, 2012 at 8:12 pm

Is It ? After every upgrade we’ve to apply them ? It doesn’t seems good…

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.