Title: SubMe's Replies | WordPress.org

---

# SubMe

  [  ](https://wordpress.org/support/users/subscribeme/)

 *   [Profile](https://wordpress.org/support/users/subscribeme/)
 *   [Topics Started](https://wordpress.org/support/users/subscribeme/topics/)
 *   [Replies Created](https://wordpress.org/support/users/subscribeme/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/subscribeme/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/subscribeme/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/subscribeme/engagements/)
 *   [Favorites](https://wordpress.org/support/users/subscribeme/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Not sending or receiving mail](https://wordpress.org/support/topic/not-sending-or-receiving-mail/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/not-sending-or-receiving-mail/#post-6644453)
 * Hi debbieyare,
 * Very annoying that something goes wrong with the emails. When testing the plugin,
   please make sure the ‘Cron jobs enabled’ option is set to ‘no’. This is the default
   option. If you still don’t receive any emails then the problem may be something
   other than the plugin. Maybe you can check the mail log (e.g. /var/log/mail.log)
   or other logs to trace what goes wrong. Some hosting providers do not allow you
   to send out email. Maybe you could ask them for more info or help?
 * Hopefully, you’ll be able to find the cause of this problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] show number of followers](https://wordpress.org/support/topic/show-number-of-followers/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/show-number-of-followers/#post-6256073)
 * Apparently, WordPress replaced the backticks (`) in the code above with ` tags.
   Removing the tags should do the trick. Replace the next line in the 'subme_status.
   php' file with the line following it. `
 * Old line:
    $query = "SELECT COUNT(*) AS `followers` FROM $table WHERE `active`
   =1″;
 * New line:
    $query = “SELECT COUNT(*) AS followers FROM $table WHERE active=1”;
 * Let me know if it works now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] show number of followers](https://wordpress.org/support/topic/show-number-of-followers/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/show-number-of-followers/#post-6256002)
 * Hi flatrock,
 * The SubMe plugin doesn’t show the number of followers. It is also not possible
   to show this with just CSS. One way to show the number of followers is to change
   to SubMe plugin code. But then you would have to change the code every time the
   plugin gets updated. It is best to create a separate plugin that show the number
   of SubMe followers. To get you started I created an extra plugin you could use.
 * 1. Create a file with the filename ‘subme_status.php’ in your /wp-content/plugins’
   direcory and copy/paste the following code into it.
 *     ```
       <?php
   
       /*
        * Plugin Name: SubMe Status
        * Description: Displays the number of SubMe followers
        * Version: 1.0
        * Author: SubMe
        * Licence: GPL3
        */
   
       class subme_status {
       	public function init() {
       		add_action( 'widgets_init', array( &$this, 'add_widget' ) );
       	}
   
       	function add_widget() {
       		register_widget( 'subme_status_widget' );
       	}
       }
   
       /* Subme Widget Class */
       class subme_status_widget extends WP_Widget {
       	public function __construct() {
       		parent::__construct(
       			'subme_status_widget',
       			'Subme Status',
       			array ('description' => 'Displays the number of SubMe followers', )
       		);
       	}
   
       	public function form( $instance ) {
       		$instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
       		$title = $instance['title'];
       ?>
       		<p><label for="<?php echo esc_attr( $this->get_field_id('title') ); ?>">Title: <input class="widefat" id="<?php echo esc_attr( $this->get_field_id('title') ); ?>" name="<?php echo esc_attr( $this->get_field_name('title') ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></label></p>
       <?php
       	}
   
       	/* Creating widget front-end */
       	public function widget( $args, $instance ) {
       		global $wpdb;
   
       		extract( $args );
   
       		$table = $wpdb->prefix . 'subme';
       		$query = "SELECT COUNT(*) AS <code>followers</code> FROM $table WHERE <code>active</code>=1";
       		if ( ! ( $result = $wpdb->get_results( $query ) ) ) {
       			$followers = 0;
       		} else {
       			$followers = $result[0]->followers;
       		} 
   
       		$title = apply_filters( 'widget_title', $instance['title'] );
   
       		/* Before and after widget arguments are defined by themes */
       		echo $args['before_widget'];
   
       		echo '<div class="widget-text wp_widget_plugin_box">';
       			if ( $title ) {
       				echo $before_title . $title . $after_title;
       			}
   
       			if ( 1 == $followers ) {
       				echo "There is 1 follower";
       			} else {
       				printf( "There are %d followers", $followers );
       			}
       		echo '</div>';	
   
       		echo $args['after_widget'];
       	}
   
       	public function update( $new_instance, $old_instance ) {
       		$instance = $old_instance;
       		$instance['title'] = strip_tags( $new_instance['title'] );
       		$instance['text'] = strip_tags( $new_instance['text'] );
       		$instance['textarea'] = strip_tags( $new_instance['textarea'] );
   
       		return $instance;
       	}
       }
   
       global $my_subme_status;
       $my_subme_status = new subme_status;
       $my_subme_status->init();
   
       ?>
       ```
   
 * 2. A plugin called ‘SubMe Status’ should now be visible in the Plugins admin 
   panel of your WordPress site. Activate it.
 * 3. Go to Appearance -> Widgets and move the ‘SubMe Status’ to wherever you want
   it to show.
 * If you follow the above steps correctly, then you should now see the number of
   active followers you have on your website.
 * Enjoy!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Subme & WPML](https://wordpress.org/support/topic/subme-wpml/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/subme-wpml/#post-6209888)
 * Hi asarda,
 * I’m not sure which WPML plugin you are using, as there are many results when 
   look for WPML. Could you post a link to the plugin?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Subscription Confirmation LInk](https://wordpress.org/support/topic/subscription-confirmation-link/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/subscription-confirmation-link/#post-6100904)
 * Hi mrkevinhohman,
 * I have had a look at your website and I can confirm the problem. The problem 
   itself however, doesn’t seem related to the SubMe plugin (or I might be missing
   something).
 * I believe the problem may be related to something which is called “Rewrite Rules”.
   For example, Rewrite Rules are used to change not so pretty links such as [http://yoursite.com/?p=21](http://yoursite.com/?p=21)
   to something more prettier [http://yoursite/my-first-post/](http://yoursite/my-first-post/)
 * When I go to the following link it doesn’t work (but it should):
    [http://dwellonwheels.com/?p=57&status=subscribed](http://dwellonwheels.com/?p=57&status=subscribed)
 * But when I go to the following one, it does work:
    [http://dwellonwheels.com/?page_id=57&status=subscribed](http://dwellonwheels.com/?page_id=57&status=subscribed)
 * Just by looking at your website it is hard to determine the root cause of the
   problem. There may be a number of options causing this problem:
    1. What settings
   do you have in your WordPress Admin backend under Settings -> Permalinks ? 2.
   What other plugins are you using? Sometimes plugins don’t work so well together.
   3. It could be that because underneath of your website you are using wpengine.
   com and it may cause a problem. As a last resort, you may try contacting them
   and see if there may be a reason for this problem that they are aware of?
 * I’m looking further into this issue, so it might be that a future update may 
   resolve the issue for you automagically. But if it is not to much trouble for
   you, I would still like to know the answers to the questions above.
 * By the way, you guys have great plans! Enjoy your trip!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Translation and widget](https://wordpress.org/support/topic/translation-and-widget/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/translation-and-widget/#post-6160422)
 * Hi Li-An,
 * I’ve made a temporary email address to which you can send your translation. Please
   send it to skorneo[at]inbox.com . I’ll definitely have a look at it and see if
   it will be available with future releases.
 * I will also check what English words are not translated. Thanks for the tip and
   your efforts.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Translation and widget](https://wordpress.org/support/topic/translation-and-widget/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/translation-and-widget/#post-6160363)
 * Hi Li-An,
 * Thanks for sharing your findings. Much appreciated!
 * A new version of the plugin is available for download now that, among other things,
   fixes the problem with the widget title.
 * I also noticed that the widget indeed does not show properly on the default theme
   when the browser is smaller than a certain size. This could be solved by either
   disable showing the Unsubscribe button or by changing the CSS from the Appearance
   tab. To fix this for future users, I’ve change the default behaviour to disable
   showing the Unsubscribe button.
 * Translation of the plugin is meant to be done through the PO files as you already
   have mentioned. At the moment there are no plans for changing this. If you are
   planning on doing a full translation of the plugin and you are willing to share
   it, then it might be available with future releases 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Subscription Confirmation LInk](https://wordpress.org/support/topic/subscription-confirmation-link/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/subscription-confirmation-link/#post-6100888)
 * Hi mrkevinhohman,
 * Now I see that I wasn’t completely clear in my reply. The link [http://mysite.com/subscribe/?status=subscribed](http://mysite.com/subscribe/?status=subscribed)
   should be tried from a browser. You can just copy/paste the link (change the 
   link as needed) and it should show the confirmation message a user normally would
   see after confirming the subscription. This is just for testing purposes, debugging
   sort of speak.
 * If you have any doubts, then maybe you could share the url of the website you
   are using the plugin on and maybe I could have a look?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Subscription Confirmation LInk](https://wordpress.org/support/topic/subscription-confirmation-link/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [11 years ago](https://wordpress.org/support/topic/subscription-confirmation-link/#post-6100774)
 * [@mrkevinhohman](https://wordpress.org/support/users/mrkevinhohman/), thanks 
   for the compliment and reporting this problem!
 * Normally, when a user clicks on the confirmation link it should process the user’s
   request and then the plugin should redirect the user to a confirmation message.
   Just to do some basic checking, maybe you could try the example below?
 * First some assumptions:
    Page on which the [SubMe] shortcode resides: subscribe
   Your website’s URL: [http://yousite.com/](http://yousite.com/)
 * Please change the following link accordingly.
    Confirmation message: [http://yoursite.com/subscribe/?status=subscribed](http://yoursite.com/subscribe/?status=subscribed)
 * This link should take you to your side and show the message: ‘Thank you for confirming
   your subscription’
 * Please let me know if this works for you. If this works, but the confirmation
   link in the email always show an ‘oops …’ message, then please also let me know
   which version of WordPress you are using, which plugins you are using and any
   other relevant information you might have.
 * Cheers.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Intall caused fatal error](https://wordpress.org/support/topic/intall-caused-fatal-error/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [11 years ago](https://wordpress.org/support/topic/intall-caused-fatal-error/#post-5840596)
 * [@syzygist](https://wordpress.org/support/users/syzygist/), thanks for taking
   the time to send a reply. Although, I haven’t been able to reproduce it, I appreciate
   your effort 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Intall caused fatal error](https://wordpress.org/support/topic/intall-caused-fatal-error/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [11 years ago](https://wordpress.org/support/topic/intall-caused-fatal-error/#post-5840592)
 * [@syzygist](https://wordpress.org/support/users/syzygist/), I’m not able to reproduce
   the problem you are having. I’ve used a default Debian and Ubuntu installation,
   but the plugin doesn’t produce any errors. Could you provide me with some more
   details of your installation, such as which OS you are using, WordPress version,
   installed plugins or any other info that might be relevant?
    Thank you for your
   effort!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Intall caused fatal error](https://wordpress.org/support/topic/intall-caused-fatal-error/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [11 years ago](https://wordpress.org/support/topic/intall-caused-fatal-error/#post-5840591)
 * [@wasser](https://wordpress.org/support/users/wasser/) Werk, thank you for reporting
   this problem. I fixed the code and hopefully it works for you now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Tutorial: Add new user's email to subscription list upon user registration](https://wordpress.org/support/topic/tutorial-add-new-users-email-to-subscription-list-upon-user-registration/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/tutorial-add-new-users-email-to-subscription-list-upon-user-registration/#post-5545388)
 * [@iamonlythird](https://wordpress.org/support/users/iamonlythird/), great tutorial
   and thanks for sharing your ideas. This feature is available now since 2.0, so
   there is no additional coding required anymore 🙂 By default this is turned off,
   but it can be activated on the Subscriber Options settings page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Number of e-mails (records) in view](https://wordpress.org/support/topic/number-of-e-mails-records-in-view/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/number-of-e-mails-records-in-view/#post-5891169)
 * [@veelkantie](https://wordpress.org/support/users/veelkantie/), thanks for asking.
   Maybe I will add an option in the admin panel so this can be changed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SubMe] Intall caused fatal error](https://wordpress.org/support/topic/intall-caused-fatal-error/)
 *  Plugin Author [SubMe](https://wordpress.org/support/users/subscribeme/)
 * (@subscribeme)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/intall-caused-fatal-error/#post-5840588)
 * [@syzygist](https://wordpress.org/support/users/syzygist/), I’m sorry to hear
   the plugin doesn’t work out of the box for you? Which version of PHP are you 
   using. The plugin requires PHP version 5.3.0 or higher.

Viewing 15 replies - 1 through 15 (of 15 total)