We would like to be able to see at least some of the text for each topic included in the digest, as well as the topic author.
We would like to be able to see at least some of the text for each topic included in the digest, as well as the topic author.
we talked about this when digests were added and decided against it… for busy forums this would could be a resource drain… and would either require more db storage or more queries and resources at email time…
so we chose to keep it lean and mean for performance… but we did give you the option to add it in yourself using our filters… when each digest entry is added to the email, you can hook into and add whatever content you want…
we can consider it in the future, but probably low priority since it can already be done with a filter… do you know how to use filters?
Mr Papa said
we talked about this when digests were added and decided against it… for busy forums this would could be a resource drain… and would either require more db storage or more queries and resources at email time… so we chose to keep it lean and mean for performance… but we did give you the option to add it in yourself using our filters… when each digest entry is added to the email, you can hook into and add whatever content you want… we can consider it in the future, but probably low priority since it can already be done with a filter… do you know how to use filters?
Do you mean the filters described at http://codex.simple-press.com/codex/plugins/our-plugins/available-plugins/subscriptions/? Didn’t realize these were available — thanks!
Hi,
I’m not familiar with how to use filters and I would love to use them to modify the actions of the Subscription plugin. Could you point me in the right direction?
Thanks so much.
http://codex.wordpress.org/Plugin_API
tells you have actions and filter works…
what are you trying to do? post content for digests is already an option…
I am trying to implement the following:
add_filter(‘sph_subs_post_content’, ‘filter_subs_content’,10,2);
function filter_subs_content($post_content, $newpost) {
$post_content= ”;
return $post_content;
But I’m not sure how…where to put the filter.
You would put that in the spFunctions.php file of your SP theme.
You should be running a custom theme if you do because any changes to supplied themes will be overwritten on updates.