Support » Plugin: Subscribe2 » Feature Idea

Viewing 15 replies - 1 through 15 (of 18 total)
  • @crackedjar,

    I’ll see what I can do.

    😀 Thanks!


    I’m trying to implement new features through filters rather than options.

    This feature would only be available in HTML emails and since there are over 300 social sharing networks supporting them all within Subscribe2 is not going to be possible.

    So, I’m looking at using AddThis to add the links via a filter with perhaps Facebook, Twitter and Google+ as defaults.

    So, would you expect this to be turned on for all three by default or would you be happy with applying a little code to enable the feature?

    I was actually thinking about the likes within WordPress that I have enabled on my posts. If there is a code to enable this, I believe I could add it.


    Those will be coming from another plugin though and there are lots of social media plugins. I can’t support them all and if they change their code the feature breaks so it becomes a lot of work.

    As you’ve sort of indicated too, everyone is going to have their own preferences for which social media links they want on their site and in their email.

    To deliver this feature it needs to be flexible but easy and that might make it very difficult too.

    Ah, ok. I understand.

    Would there be a way for me to add commenting by replying to the notification email OR a link in the email that readers could click to take them directly to the comment form (the one that comes with WordPress)? Thank you!

    It would be the permalink followed by /#respond, but I can’t figure a way to add that.


    Only when I release code that adds such a feature – it’s coming soon. Just need to do some more testing.

    Great, thank you! 🙂


    In fact, if you like you can test out the development version.

    It introduces custom {KEYWORDS}, so a little code would be needed to define what replaces the keyword and it’ll also define the keyword, but something like this works in my tests:

    add_filter('s2_custom_keywords', 'respondlink_keyword');
    function respondlink_keyword($message) {
    	global $post;
    	$permalink = get_permalink($post->ID) . "/#respond/";
    	return str_replace("{RESPONDLINK}", $permalink, $message);

    Then, the final step is to place the {RESPONDLINK} keyword into the email template and preview it to check it works and produces the right link.

    I will be happy to try it. Where do I place the above code?


    You create your own plugin with it.

    So, I would download the plugin from the link above and add the code you provided to that and then upload it? Thanks.


    Almost there. Download the development version from the link above and install it. Then create and upload another plugin using that code snippet.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Feature Idea’ is closed to new replies.