arena
Forum Replies Created
-
Forum: Plugins
In reply to: [MailPress] [Plugin: MailPress] unable to get it to workworks for me !
Forum: Plugins
In reply to: [MailPress] [Plugin: MailPress] Conflict with my theme menu's formatdo you mean admin menus ?
the <processor></processor> trick only applies to newsletters (daily, weekly, monthly)
for your specific need you might need to use to Post add-on using the manual template
http://www.mailpress.org/wiki/index.php?title=Add_ons:Post#Introduction
Forum: Plugins
In reply to: [qTranslate] qTranslate and MailPress (e-mail subscription)qTranslate + MailPress support has been addressed many many times.
Here are some hints, requires good coding skills, and tests, tests, tests … and sometimes ability to analyse qTranlsate and MailPress code .
Good luck ! …Language selection in qTranslate :
* language selection is based on ( ?lang=xxx , $_GET[‘lang’] ) so language is in the url and so is browser oriented …Integration into MailPress : not that simple !
* Mails having templates such as ‘confirmed’, ‘moderate’, ‘new_user’, ‘retrieve_pwd’ … requires to test the $_GET[‘lang’] value to set the appropriate translations in the current mailpress theme templates.
* Mail template ‘comments’ cannot be sent in the subscriber language …
* Mails > add new : cannot be sent in the subscriber language …
* for newsletters :
++ for each language supported
— for each periodicity (new_post, daily, weekly, monthly)
==== create a newsletter (mp-content/advanced/newsletters/) to allow subscribers to subscribe to the newsletters in their language. Each newsletter will address its corresponding mailpress theme and or template :<mail> <Theme>mytheme_en</Theme> <Template>weekly</Template> <subject><![CDATA[<?php printf( __('[%1$s] Weekly newsletter in english', MP_TXTDOM), get_bloginfo('name')); ?>]]></subject> </mail>or template within the mailpress current theme :
<mail> <Template>weekly_en</Template> <subject><![CDATA[<?php printf( __('[%1$s] Weekly newsletter in english', MP_TXTDOM), get_bloginfo('name')); ?>]]></subject> </mail>+ their own threshold
<processor> ... <threshold>MailPress_weekly_en</threshold><!-- stored on wordpress options table --> ...— create a mailpress theme and/or corresponding newsletter templates (mp-content/themes/)
==== force the value of $_GET[‘lang’] : several ways to do so among which :
$$$$$ in the _loop.php file of the dedicated theme
$$$$$ in the template file
$$$$$ or use the parent/child theme api http://goo.gl/0j6o2 to do so …
==== have a specific test in the loop if title/post do not exist in the specified language and a counter tallying if there is at least a post in the newsletter. something like that :<?php $_GET['lang'] = 'en'; // force the value of $_GET['lang'] $count_post = 0; while (have_posts()) : the_post(); // <!-- maybe some html comments to clean up in // get_the_content() before test --> if (empty(get_the_content())) continue; $count_post++; ?> ..... <?php endwhile; if (!$count_post) { ob_end_clean(); return ''; } ?>==== there might have some issues using {{the_title}}
Forum: Plugins
In reply to: [MailPress] [Plugin: MailPress] Database error, Mail not savedyou might be using some cache plugin try disabling it
@rensvig84
please read http://blog.mailpress.org/2011/12/22/custom-post-types-discussion/
you have to change the template theme
and use home url instead of site url
thank you michal_cksource for supporting MailPress in your ckeditor plugin !
chances you have activated all add ons without reading their descriptions and their respective required context …
Subject : Weekly newsletter
apparently nobody subscribed to the weekly newsletter
Forum: Plugins
In reply to: Disabling wp-cron stops blog from loadingread the two related articles on blog.mailpress.org
ngg errors are ngg errors …
no recipients
apparently you have selected a list of subscribers that is … empty
Forum: Plugins
In reply to: [MailPress] Can I manage Newsletter per subcategories?in mailpress/mp-content/add-ons/MailPress_newsletter_categories.php
just change following line
if ($category->category_parent) continue;
in
//if ($category->category_parent) continue;
but be carefull if a subcriber is subscribed to parent category and child category he will receive one mail for each !
Forum: Plugins
In reply to: Mailpress Sign-up form list selectioncheck
Allow subscriptions from Registration Form
in mp general settings