Most of our clients has such kind of designs where they have more than one field to let their users subscribe to their website. After getting common requirements I thought it would be better to write my own plugin where our client can easily find what they want from a subscribe form. Thus ‘Navayan Subscribe‘ wordpress plugin took birth!
Download
FEATURES:
- Double opt-in Subscribe and UnSubscribe
- Default form field – Email
- Extended form fields – Name and Custom field
- Custom form heading, field labels
- Custom Email Templates
- Custom Error/Success/Information messages
- Option to hide form after success
- Send new subscriber notification to admin
- Send new post notification to subscribers
- Featured image in post notification
- Sidebar Widget
- Display Subscribe form on Subscribe page
- Option to send post content in email
- Translate text support
- User gets removed if UnSubscribed
- Checks whether user is logged in or not
- jQuery form validation
- HTML5 Placeholder
- HTML5 Validation with jQuery fallback
- Displays various users count
- Show Subscribers count – Optional
- Works with Custom Post Types too
- Spam protection – Restricts specific IPs, Domains, Emails with custom messages
- Active theme CSS for email templates
The subscribe form is only visible to non-logged user! So try logging out (if you are logged in as an admin or so) to see the form!
What Navayan Subscribe does?
‘Navayan Subscribe’ allows your visitors to easily and quickly subscribe to your website with double opt-in process, custom email templates, post/page notifications, spam protection. Can be used as a sidebar widget.
The additional field could be any field that you want to introduce to your users. It could be Company Name, Organization, Location, Occupation etc…
If you want to keep it simple then you don’t need to do anything. The plugin itself takes care of the simplicity. It will display the subscribe form with form heading, email field and subscribe button.
Installation and Usage
Simply download the plugin, activate it. After activation go to Dashboard -> Tools -> Navayan Subscribe
You can use subscribe form as a sidebar widget. Go to Dashboard -> Appearance -> Widgets
OR use it in Subscribe
page
I have set the basic UI for subscribe form. If you want to change it’s UI (width, font, color etc.) then you need to overwrite the CSS properties with !important
method in your style.css. For example:
#ny_subscribe_wrapper label { width: 100px !important}
#ny_subscribe_wrapper input[type='text'] { width: 120px !important}
Extending Navayan Subscribe form
If you would like to ask your users their name then it is also possible with this plugin. You can also add additional form field as mentioned above.
Follow these steps and you are done!
- Go to your
Dashboard -> Tools -> Navayan Subscribe
- Type label for Name and/or Custom fields
- Provide error/success messages
- Save the settings
You will then see the subscribe form in extended mode for the users.
You can also specify the error and success messages, form heading, submit button label text and more. So that it will be more relevant to your website/blog.
Admin can add subscribers
Due to double opt-in process (its mandatory in most of the countries), this feature has been removed since v1.10.
Custom Email Templates
Navayan Subscribe provides easy to customize email templates for post/page notifications, subscribe and unsubscribe confirmation, which will be send to your website/blog users/subscribers. The email templates has the basic structure, which I think, is sufficient in subscribe notification or in confirmation emails. If you want to put your own words / sentences, go ahead and structure the email templates as you like! Use the given keywords in this email templates. The keywords are self-explanatory. You can use HTML tags with inline CSS style to beautify the emails!
Double opt-in process
The double opt-in feature has been introduced since v1.10.
- It focuses onto user’s independence and confirmation whether he/she wants to subscribe or not for site updates.
- If user confirmed to subscribe, then user will receive an updates from the site.
- If user dis-like or not interested, then user can un-subscribe.
- After successful un-subscribe, user gets removed from the system and will not receive any updates from the site.
An article onto MailChimp will help you to understand double opt-in process in details.
Subscriber’s Inbox
As you set your email templates in settings, your website subscribers will get the same structure in their email inbox. I have tested it with Gmail and Yahoomail. Following screenshot is the minimal output of the email template of post/page notification. The email body has the excerpt text. Its up to you whether to send full content or excerpt.
Notification email to admin
You can set whether to get notification of every successful subscription. If selected, the notification will be delivered to site admin.
Currently the email contains following message structure:
- Subject
- Name (if it has)
- Custom field (if it has)
- Date
All email templates are in HTML format with HTML5 markup! Also there is an option to use your active theme’s CSS for emails that are being sent!
UnSubscribe
The unsubscribe form is also customizable in plugin’s settings. It checks the user’s email and sends the un-subscribe confirmation email to subscriber. If subscriber confirms his/her un-subscription by clicking on un-subscribe link in received email, subscriber gets removed completely from the system.
Spam Prevention!
There was a good amount of request to add spam protection. Thus its included in v1.13. You can make a list of IP addresses (both REMOTE and SERVER), Domain names, Emails that you would like to mark as SPAM for your website/blog. Plugin will not allow any interfere for black listed IP/Domain/Email. Less stress on your Database and Server!
Common Questions
Q1. How to change the UI of Navayan Subscribe form?
– You can use either Navayan Subscribe form style or default style of your wordpress theme.
– Edit your style.css file located in your themes folder. You will need to overwrite the properties ie. #ny_subscribe_wrapper label { width: 100px !important}
Q2. Does admin receives email for each successful subscription?
– Yes. After user confirms his/her subscription, admin will receive an email.
Q3. Does subscribers receives email for every new post?
– Yes! As long as you select ‘Notify Subscribers’ checkbox during post save/update/publish actions.
Q4. Does notification have any delay?
– No. Notifications will be delivered as soon as the post get saved/updated/published. Pre-condition is ‘Notify Subscribers’ checkbox should be selected!
Q5. Does it have custom_post_type email notification?
– Yes! It works for custom post type as well 🙂
Q6. Is it multilingual?
– No. But it has the text translation support as provided by WordPress.
Q7. Can I use it in sidebar widget?
– Yes. Please go to Appearance -> Widgets and drag-drop ‘Navayan Subscribe’ widget to sidebar.
Q8. Does it sends post content in email?
– Yes. You can set the email template as you want. Copy-Paste the relevant keywords with curly braces and save the template.
Q9. Does it check whether the user is logged in or not?
– Yes. The form will be visible to non-logged in users only. So if you logged in as an admin or so, please log out to see the form! You can set a custom message for logged in user.
Q10. Does it have un-subscribe feature?
– Yes. Using double opt-in process since v1.10
Q11. Does it delete users if they un-subscribe?
– Yes. User’s all information gets deleted from the system after successful un-subscribe.
Q12. Can admin set custom Un-Subscribe message?
– Yes. The messages are customizable at plugin’s form settings.
Q13. How Un-Subscribe feature works?
– Plugin creates ‘UnSubscribe’ page (if not already created) with [ nys_UnSubscribePageContent ]
shortcode in page content. So whenever your subscriber clicks on ‘UnSubscribe’ link in post notification email, it returns to your blog/website on ‘UnSubscribe’ page and asks the email. If the email is valid and exist in the system, it sends an un-subscribe confirmation email to user. If user clicks on the un-subscribe confirmation link, that user gets deleted from the system.
Q14. How to get rid off ‘Subscribe’ and ‘UnSubscribe’ pages from menu?
– If you are using ‘Page’ based menu then you will certainly sees ‘Subscribe’ and ‘UnSubscribe’ pages in a menu. Please don’t delete that pages as it requires for plugin to work properly. You have to go to ‘Appearance -> Menus‘ and create a top level menu with the pages/posts/categories/tags you want. Here you can exclude those pages from the menu list. Save the menu as primary top level menu (or use ‘wp_nav_menu()’ in header.php) and see the difference! Check How to create navigation menu? and wp_nav_menu for step by step instructions.
Download
Use Navayan CSV Export WP plugin to export the wordpress table data, users into CSV format.
January 22, 2013 at 10:52 pm
I have set up the email template I think
what now, how do I send an email to subscribers? is this automatic with new posts? or should I be doing something to activate it?
January 26, 2013 at 2:07 am
Jaibhim Amol!
Many thanks for this great plugin !
January 26, 2013 at 5:55 pm
JaiBhim and thanks for the compliment nitin!
January 27, 2013 at 9:58 pm
Is it possible to send digest emails to all those who have been subscribed? Or does it always have to be through a post?
January 28, 2013 at 9:12 pm
Is there a list of subscribers somewhere? I’ve just started using the plugin. When I subscribed to my own blog, I got notified that I subscribed. But I do not seem to appear on any list of subscribers anywhere in my Tools or elsewhere on my Dashboard. And a friend just told me that she subscribed but I did not receive an email telling me she subscribed.
MHB
January 30, 2013 at 11:57 pm
Im testing out a page and using a test email to subscribe and unsubscribe to the posts. When I receive the email to confirm my subscription it still shows that I’m unconfirmed. I have to go into the admin side and make the unconfirmed users confirmed subscribers.
Once I test to unsubscribe the confirmed user, and get the email to un-confirm user. The user in the admin side is still showing that they are still subscribed. Please update this plugin!!!!!
February 1, 2013 at 1:57 am
I’m testing different ‘Subscribe’ plugins and yours seems the best by far.
However I think you need to alter the navayan-subscribe-optin page automatically created by the plugin. What you really need is 2 pages: a ‘Successful Subscription’ page and an ‘Unsubscribe’ page.
These should be customisable by the user so we can decide what message the subscriber receives when they confirm (opt-in) and a separate message when they unsubscribe (opt-out).
Having one page with a header of ‘navayan-subscribe-optin’ will look unprofessional on most websites as a normal subscriber has no idea what a ‘navayan’ is or an ‘optin’ is (even though WE do!)
February 1, 2013 at 10:24 am
@Shaun Bowen: Your thoughts are awesome! Added in TODO list.
January 31, 2013 at 9:32 pm
Hi
I put the shortcode in the post and nothing happens.
The rest i cannot manage because i dont know anything of css and other language
its a pity!
grtz
February 5, 2013 at 6:01 pm
Hi,
many thanks for your newsletter plugin!
When i send or update my post with checked “notify subsribers” checkbox i’ll get this message:
Warning: Cannot modify header information – headers already sent by (output started at /data/web/virtuals/6429/virtual/www/domains/xxxxx.cz/wp-content/plugins/navayan-subscribe/functions.php:171) in /data/web/virtuals/6429/virtual/www/domains/xxxxxx.cz/wp-includes/pluggable.php on line 876
I have wordpress 3.5.1.
Thank you for you help.
February 9, 2013 at 10:21 am
hi, nobody knows?
February 20, 2013 at 6:07 am
hi! i had same issue. were you able to resolve it?
February 25, 2013 at 2:35 pm
no nobody help me a i still cant found a reason
February 9, 2013 at 3:07 am
Hello,
This plugin works great, with the exception of sending two emails when a new post is made. Also, after I receive the unsubscribe confirmation email, it gets redirected to what is supposed to be a successfully unsubscribed page, but there is no text displayed and the user is not removed.
Please help.
Thank you.
February 11, 2013 at 9:01 pm
I’m having the same issue – when i click unsubscribe its showing an “Page not found”
I would like to create a new unsubscribe page but what is the shorthand code for the unsubscribe page..?
I have deleted and reinstalled this plugin and still does the same thing.
February 18, 2013 at 3:40 am
Yes, we (our customer) are having the exact same problem. No text is displayed on the Unsubscribe Confirmation Page and the user is not removed. This is a critical function of the subscribe plugin that needs to work correctly for us. Please advise as to a solution. Thank you.
February 8, 2013 at 9:35 pm
Is there a way to turn off the cookie feature. I would like to do this just in case someone is on a shared computer when visiting my site. Basically no matter what I want the subscribe form to appear.
February 8, 2013 at 10:21 pm
You can set the cookie expire time. For example:
setcookie ('TestCookie', '', time() - 3600);
‘TestCookie’ will expire after 1 hour.February 9, 2013 at 12:30 am
Should I place this in the default .js file for the plugin?
February 15, 2013 at 4:54 am
Hi, i installed plugin Navayan subscribe and the form insert [navayan_subscribe] doesnt work on my page.
I use genisis frame work – does this effect it?
could you let me know how else to insert a subscribe form in page/post.
thank you.
February 17, 2013 at 11:59 pm
Hi,
Echo all the comments above. Great plugin for us to keep in touch with who is using the site and how many are subscribed. BUT, please can we have a solution to the two email problem? So I send a post email to everyone twice, and they are getting tired of this behaviour.
Be good to know the answer,
Cheers!
February 20, 2013 at 4:25 am
Subscribers not receiving post emails. Is there a fix for this?
February 21, 2013 at 8:26 pm
Hi, your plugin is great, however cookie doesnt work, after i am subscribing, i see the subscribe form again, and after confirmation of subscription the user is still in unknown status, so he can’t actually be wordpress subscriber and login to site (
February 21, 2013 at 8:46 pm
Hi,
None of my subscribers are receiving my blog posts via email notifications. I too have subscribed to my site on two of my email addresses and I am not receiving the updates daily. After I create a blog post, I check mark the “Notify Subscribers” tab, but it is not working. What am I doing wrong? How do I fix this issue? Do I need to select something so that each of my subscribers receive an email update? HELP!
February 22, 2013 at 9:39 am
When i send or update my post with checked “notify subsribers” checkbox i’ll get this message:
Warning: Cannot modify header information – headers already sent by (output started etc…
February 23, 2013 at 1:06 pm
Hello. My single subscriber is getting two emails per blog posting!
Quite a few months ago I had installed an older versions ( All uders menu option and there is no user with an email address corresponding to the one I had setup to email out (to a Yahoo! Group).
February 24, 2013 at 4:24 am
I changed tha admin_email and removed all subscibers. Added 1 subscriber. Tested. Two emails to the 1 subscriber and none to the admin. Wasn’t the admin supposed to get one of those two? In the resultant emails the To: field is blank. MIME-Version: 1.0 tag is repeaded once. Two different message ID’s.
February 23, 2013 at 10:13 pm
Finally I have solved the problem with sending 2 emails per subscriber
the following link is the place where you can find it
http://www.plrways.com/helps/help-for-navayan-subscribe/
Good Luck
February 24, 2013 at 4:26 am
Great!
February 25, 2013 at 2:00 pm
Why not to add localization capabilities to plugin?
It’s very easy – just add textdomain to __() function calls. E.g. replace
__(‘E-Mail’)
to
__(‘E-Mail’, ‘navayan-subscribe’)
And load textdomain like this:
load_plugin_textdomain( ‘navayan-subscribe’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/languages/’ )
See http://codex.wordpress.org/Function_Reference/load_plugin_textdomain
February 26, 2013 at 8:50 pm
My posts are not getting to my subscriber. Its started with a 24hr dely and now they dont gte it at all. I use ur plugin for two of my sites and I have the same problem with both.
February 27, 2013 at 2:36 am
This is a nice plugin. I have tested it and everything works, except for unsubscribing users. After the confirmation email is sent. The email address I am trying to unsubscribe doesn’t get deleted at all.
Please advise. THanks.
March 1, 2013 at 1:49 am
Hi,
I’m looking forward to using ‘Navayan Subscribe’ on my blog, but I am having a little problem. Subscribers have not been receiving confirmation emails. I thought that this could be because the admin email a gmail account not associated with the site, so I changed it to xxx@inthewires. The original admin email still appears next to {ADMIN_EMAIL} under the “Email Template” tab. Is there a way to change this? Thank you.
March 1, 2013 at 1:44 pm
My subscribers, except for my admin, do not get an email notification when I post a new item on my website. I am using version 1.12.
All subscribers have the status of confirmed according to the plugin.
What should I do to make it work.
Thanks
March 2, 2013 at 6:57 am
We like the plug-in a lot – thank you – however, we have two outstanding issues that need to rectified. Any input would be appreciated.
1. E-mails to subscribers are being sent out in one long stream with NO line breaks. There are no line breaks, paragraph breaks, bullet/numbering breaks, etc. Subscribers are reporting e-mails are too difficult to read.
2. This was mentioned in a earlier post: Unsubscribe does not seem to work. The users follow the unsubscribe procedure, but when the process is almost complete they experience no text displayed on the Unsubscribe Confirmation Page; the user is NOT ‘unsubscribed’ (or deleted from the Users list) and still receives e-mails. This is a critical function of the subscribe plugin that needs to work correctly for us.
Thank you in advance for your help.
March 13, 2013 at 5:34 am
Nice widget but the unsubscribe is not working. An email is sent to the user asking them to follow link to unsubscribe.
When they click the link in the email they go the unsubscribe page, but there is no where to enter the email address to initiate the unsubscribe.
March 14, 2013 at 11:20 pm
I confirm that everything works fine EXCEPT the un-subscribe process (version 1.12).
Once it is fixed I will use this plugin as it meet my need.
Thanks in advance !
March 17, 2013 at 11:10 am
Does this work with scheduled posts? I.e. instead of publishing I schedule a post for two days time, then check ‘notify subscribers’, will they all get the email in two days time when the post is published? I don’t think they do.
March 17, 2013 at 10:16 pm
Not yet
March 17, 2013 at 10:52 pm
This would be a very valuable feature for me as while travelling at the moment I just get internet intermittently, so makes sense to write many posts at once, and then just schedule them for two days apart over ten days or so.
Thanks for making such a useful plug in anyway, great work and much appreciated.
Is this feature planned soon? I’d be happy to make a $20 donation if it comes out soon.
Thanks again, Sam.
March 18, 2013 at 12:40 pm
Thanks friend for this great plugin..
Jai Bhim..Namo Buddhay…!!!
March 18, 2013 at 5:57 pm
The scheduled publish has stopped working for me. I then don’t have the option to push a published post, so I have to redo the entire post, publish it and delete the first one. Then I push a notification and it sends the email with a link to a 404 code. Also when I check notify subscribers they get two emails at the time, not one. Could you please help me. Thank you, Meg
March 21, 2013 at 3:25 am
Thanks. 🙂
March 21, 2013 at 2:04 pm
I have installed the plugin and added a widget to the right of our blog.
Over the first 24 hours, I have had 3 spam ‘subscriptions’. Is anyone else finding the same?
I really like this plugin and have spent a while setting it up but I don’t want to have spam email addresses subscribed to our blog.
Any ideas?
March 22, 2013 at 3:52 am
after someone subscribes i get an email you have a new user
so what does “Un-confirmed” means? in “About” of Navayan Subscribe
Also do I have to manually change the role of registered users to “subscriber” from “none” ?
Thank You
March 22, 2013 at 7:43 am
The default Field names like “E-mail” and “Name” are not appearing in IE 9 so all you see is empty boxes with no prompt text identifying which input field is what. When you hover over the empty box it will indicate which field this is. Works ok in Firefox.
Also It would be great to remove the “Subscribe” Title box and have no into text if possible as an option and changing the order of the fields would also be useful e.g. First Name, Last Name and then E-Mail etc.
Appreciate your help, Andrew
March 22, 2013 at 4:25 pm
Two notifications are being sent, rather than one. How do I fix this?
March 23, 2013 at 7:28 pm
Hello, when someone is trying to confirm his subscription, he seee error landing page informing that it’s no possible to find what he look for…
March 24, 2013 at 1:09 am
this one is solved 🙂
March 23, 2013 at 9:05 pm
My WP site is in a sub-folder, I’m logged in but the form doesn’t think I am. So the WordPress URL and the website URL in Settings is different.
Is the incorrect display of the form due to the sub-folder location of the site? If this is happening, what other issues can I expect?
Thanks for any advice getting this to behave normally!
– david bone
March 24, 2013 at 1:09 am
When the user click on confirmation link, he goes on “NAVAYAN SUBSCRIBE OPTIN” page only the subscription is not confirmed. Help!
March 25, 2013 at 10:45 pm
I have two issues.
First, When I click the box to notify my subscribers of a new post, I’m told that my subscribers get 4 and 5 of the same notification emails.
Second, I receive notifications of other people’s new blog posts and the entire article, with links to the actual article, all in the body of the email. Is this possible? Otherwise my readers don’t know where to go to read my post?!
March 27, 2013 at 9:07 am
Possible. You will have to use {POST_CONTENT} keyword in email template. It substituted with post content.
March 28, 2013 at 1:04 am
I’m sure you have a support / bug site somewhere, but I haven’t been able to find it to create entires for these flaws in version 1.12:
1. {SITE_URL} in email templates uses value of “WordPress Address (URL)” General setting, should use “Site Address (URL)”.
2. Provide a way for posting to notify subscribers by default. Currently posting through an interface besides the wp-admin editor without the “Notify Subscribers” check-box doesn’t notify.
3. Provide a way for admin to authorize new subscriptions before they take effect
4. The table on the About tab of the Navayan Tool showing user counts is either inaccurate or not intuitive. Clicking the Subscriber header showing some number of subscribers produces an empty list of users.
March 29, 2013 at 11:58 pm
I am getting a lot of “bogus’ spam subscribers. Many are coming from Poland. How do I stop that?
March 30, 2013 at 12:11 am
I added another widget to kick out spam. It is
Stop Spammers Plugin Stats Version 4.2
I am able to add emails and IP addresses and URLs to black lists and block them.
Good luck. Meg
March 30, 2013 at 2:44 am
Meg, I thought that the built-in catchall would be enough to get that.
March 30, 2013 at 8:06 am
Hi Richard,
I’m not with Navayan. I have a website and found that there was some weird emails and spam coming through and I wanted to be on top of it. I was getting emails ending in yahoo.com.hk, yahoo.co.po. WIth the Stop Spam widget you can (it’s free by the way), you can see how they are trying to hack into your site, by guessing passwords. I also had admin as my user name and then added a widget so I could change that. I’m new to having my own website that I manage on my own – at this time. I hope this helps. Meg
April 2, 2013 at 9:11 am
Hi, Thanks for the great plugin! We just have problem, two emails are being sent out to subscribers when a new post is added. Do you have an ideas?
April 9, 2013 at 12:05 pm
hello. my mails are not going out to subscribers. my host said the made some changes to smpt and port. how can i change this so my posts can get to subscribers.
April 9, 2013 at 12:28 pm
Also for the past week , when i click notify subscribers and publish I get 500 – internal server error
April 11, 2013 at 11:40 am
Still having internel error when i try to notify subscribers..but i just clicked the “edit” in installed plugin and noticed function php(inactive) index.php(active) ..so parts are inactive and some active ..could this be what is affecting the plugin?
April 13, 2013 at 6:50 pm
hello me again , is it possible to set up this plugin to send notification in batches ? my host has a limit of 500 per day and i have over 1500 subscribers..thanks ..waiting
April 20, 2013 at 5:04 am
Plugin is not sending confirmation email to people who try to subscribe…please help.
April 20, 2013 at 10:54 am
Diana, I re-checked the subscribe and unsubscribe confirmation as well as post notification. All worked for me!
April 20, 2013 at 11:02 am
Is it possible to send notification in batches?
April 21, 2013 at 8:10 am
Not yet
April 22, 2013 at 2:24 pm
Hi my post keeps on saying Notification Sent! NO! but i do tick the box before I press update/publish… is there something in the settings I must change?
April 22, 2013 at 8:47 pm
There is no setting in the plugin you are asking for. Plugin checks whether the notification is sent from your site or not and once sent it updates the status to ‘true‘ for that post. As you see ‘Notification Sent!’ message that means emails has been delivered from your site to your hosting server. The plugin’s work is done there!
May 7, 2013 at 9:18 pm
Hi mate
Can you have more fields to accept multiple subscribers? eg Tell a friend?
Thanks
May 11, 2013 at 5:15 am
how do I notify when I update a post? that functionality disappeared in the latest version.