Subscribe2 disable email send out (3 posts)

  1. rhythmofthecosmos
    Posted 6 years ago #


    Am looking to disable my subscribe2 plugin so that I can pick when I want to send emails about certain posts out. At the mo I think am sending too many posts out via email and will loose subscribers.

    I want to continue making blog posts but I however don't want to email people about it, only on some blog posts.

    I can't find a option for this though..

    Can anyone shed any light on this?


  2. mattyrob
    Posted 6 years ago #

    When you write a post there is a meta box down the page that can turn off sending of notifications on a per-post basis.

  3. zer0ruth
    Posted 5 years ago #

    Is there anyway to modify the plugin so that this override option is reversed?

    I agree with rhythmofthecosmos when it comes to emailing your subscribers too much. I only want to email my subscribers once or twice a month, but I am posting almost everyday. so I'd much rather have the default as "don't send an email" and when you check the check box, it activates an email notification.

    In the plugin php file I found this block of code that looks like it changes the check box, but I haven't been able to change the default. anyone have a solution?

    Meta box code for WordPress 2.5+
    	function s2_meta_box() {
    		global $post_ID;
    		$s2mail = get_post_meta($post_ID, 's2mail', true);
    		echo "<input type=\"hidden\" name=\"s2meta_nonce\" id=\"s2meta_nonce\" value=\"" . wp_create_nonce(md5(plugin_basename(__FILE__))) . "\" />";
    		echo __("Check here to disable sending of an email notification for this post/page", 'subscribe2');
    		echo "&nbsp;&nbsp;<input type=\"checkbox\" name=\"s2_meta_field\" value=\"no\"";
    		if ($s2mail == 'no') {
    			echo " checked=\"checked\"";
    		echo " />";
    	} // end s2_meta_box()

Topic Closed

This topic has been closed to new replies.

About this Topic