@threeels,
I’m not sure that I completely understand the set up on your blog. But {POST} will contain data about the post content, {CATS} contains information about the categories or taxonomy user to categorise the post.
So, if the {CATS} keyword is empty on substitution that makes me think that perhaps you are not only using custom post types but also a custom taxonomy and that maybe you also need to register the custom taxonomy in Subscribe2 also.
If that is the case, have a look in the FAQs under the heading “How can I make use of the support for Custom Taxonomies”.
Thanks. I had not registered my taxonomy, which I appear to have to. I register my taxonomy and sending myself an email preview. I am receiving the email and it is showing something being posted. It’s also throwing me some error messages BUT I think it’s due more to my use of test posts with WPML. I need to delete those and try again.
@threeels,
Subscribe2 and WPML are not compatible really, WPML does not allow for individual users language preferences to be located with an API call so I cannot extend Subscribe2 to work with it.
Hopefully once you clear out those posts it should work fine.
Client is using a very small component of WPML. So none of the custom posts are being translated. Everything’s going out in English.
I’m getting error messages that seem to be associated with adding the taxonomy in my functions.php (it didn’t show when I added custom post types). And it is triggered when I re-send my daily digest.
Warning: implode() [function.implode]: Invalid arguments passed in [my url]wp-content/plugins/subscribe2_html/classes/class-s2-core.php on line 1507
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [myurl] wp-content/plugins/subscribe2_html/classes/class-s2-core.php on line 1508
Warning: array_unique() expects parameter 1 to be array, null given in [my url]/wp-content/plugins/subscribe2_html/classes/class-s2-core.php on line 1508
Warning: in_array() expects parameter 2 to be array, object given in [my url ]/wp-content/plugins/subscribe2_html/classes/class-s2-core.php on line 1516
Warning: implode() [function.implode]: Invalid arguments passed in [my url ]/wp-content/plugins/subscribe2_html/classes/class-s2-core.php on line 1561
Warning: implode() [function.implode]: Invalid arguments passed in [my url ]/wp-content/plugins/subscribe2_html/classes/class-s2-core.php on line 1656
Sorry – it was my error. I had typos in the taxonomy types. Errors go away. So, in sum, the additional code for taxonomy and custom posts seem to work. Now I’m waiting to verify that the taxonomy shows up in {CATS}.
Thanks again for a great plug-in.
@threeels,
I see you figured it out without me 🙂 Glad it seems to be working. You can always test by sending a preview.