Balkhis - Vision For Success

How to add email subscription box in your blog?

Dear Readers, I would like to thank you for reading this post. I highly value your feedback and would like to know more about my readers. Follow me on Twitter

I have mentioned it multiple times before on my posts that giving your users another way to subscribe will just increase your subscriber count. One of the extra ways other than just feed readers is to give your users an option to subscribe via email. If you want to increase your RSS Subscribers read the post.

This tutorial was requested by one of my loyal readers and a good online friend Nabil from Enkay Blog.

*Requirements:

Must know how to edit html and CSS. Photoshop skills are a plus.

Services

You need to start burning your feeds. I am assuming that you are already doing that. If not please go and sign up with one of these services. Preferably Feedburner because this tutorial is using feedburner as an example.

So lets go into your Feedburner Account. Click on the Publicize Tab

Publicize tab in Feedburner

Email tab in FeedburnerLook on your left hand sidebar and you will see an option that says “Email Subscriptions”. Click on that and Activate that service. Once again make sure you activate this service. And then Copy and Paste the codes shown in the box below to the file you desired.

Email Code in Feedburner

The next step is creating graphics in Photoshop or any other software. I will not show you how to do that because you can learn that on your own. But I am using an image which you can use. (This image doesn’t use any icons, everything was made in Photoshop by myself, so feel free to redistribute as long as the link back to this post is there).

Email Code in Feedburner

If you want you can simply Download the file, and copy and paste from there.

CSS Requirements

Now you need to open your css file. Copy and Paste the following Code below.

Class Left will help your submit button to float left.

.left{float: left;}

Subbox is the class that wraps everything around for this box.

.subbox{
margin: 0;
padding: 0;
height: 136px;
width: 375px;
float: left;
}

Subscribe class contains the background image for the email box.

.subscribe{
float: left;
width: 303px;
height: 58px;
background: url(images/emailbg.png) no-repeat;
border: 0px solid #000;
}

Input Subscribe defines the css values for the input email form.

input.subscribe{
background: transparent;
border: 0px solid #000;
width: 285px;
text-align: left;
margin: 20px 10px 0 10px;
height: 19px;
color: #50699F;
}

HTML Codes

Open the file where you want to place the codes. Most likely it is sidebar.php but wherever you like. Then put the codes like the one below:

<div class="subbox">

<form style="margin: 0; padding: 0;" action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open(‘http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1631142′, ‘popupwindow’, ’scrollbars=yes,width=550,height=520′);return true">

<div class="subscribe">
<input type="text" class="subscribe" name="email"/><input type="hidden" value="http://feeds.feedburner.com/~e?ffid=1631142" name="url"/><input type="hidden" value="Balkhis – Vision for Success" name="title"/><input type="hidden" name="loc" value="en_US"/>
</div>

<input type="image" value="Subscribe" src="http://www.balkhis.com/tutorials/emailsubscription/images/but.png" style="border: 0; margin: 0; padding: 0;" class="left" />

</form>

</div>

Whatever you do make sure you change the important information.

FeedID: 1631142 (This is mine) So find this number and change it with yours.
Title: Balkhis – Vision for Success (This is mine) So change it to the one you like.

Having done that, you are good to go.

This tutorial is over and you now have a email subscribe option on your blog.

Live Preview

Well if you don’t want to follow everything, I have prepared a file for you to download that contains all the codes, so you can copy and paste without making any errors.

Download Now at Balkhis

Remember: These files are free for personal and commercial use. Don’t sell these. If you decided to redistribute, please use the download from Balkhis Server and make sure you put a link back to either this post, or Balkhis homepage.



To stay updated with the blog, please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox. I hate spam as well, so I promise you that you will not be spammed.
Add to Social Bookmarks:
Add this Article to Digg Add this Article to Stumbleupon Add this Article to Del.icio.us Add this Article to Reddit Add this Article to Newsvine Add this Article to Technorati

RSS feed

13 Comments

Comment by Angad Sodhi
2008-08-26 10:39:08

Hey great post! Very useful. I’d like to use the image too (maybe change the colour a bit to suit by blog).

Thanks mate!


Comment by Syed Balkhi
2008-08-26 13:38:42

sure thing. This was a request, so I did this tutorial. Feel free to change the color :)


 
 
Comment by Jordan Bishop
2008-08-26 11:28:19

That is pretty cool. I have done a lot of this and with Photoshop anything is possible. You have great how to’s on your blog.


 
2008-08-26 13:53:08

A lot has been taught about the how but I think this is the best step-by-step tutorial on how to add the email subscription that I have came across so far. It’s such a nice gesture on your part to provide a ready-made image to go along with it.

I might probably use the same image on my blog as I’m a noob when it comes to PS. Thanks, Syed.

Yan


 
Comment by Enkay Blog
2008-08-26 22:05:18

Thanks for this Syed. I really appreciate it. I will be using this tutorial to set up my email subscription box this weekend! Thanks again!


Comment by Syed Balkhi
2008-08-27 08:13:25

looking forward to seeing it on your site now :)


 
 
2008-08-26 22:13:53

What a great tutorial and great tools especially since it is difficult to find guides to customize email subs. Thanks,
JR


 
2008-08-26 23:29:52

Great blog you got going here. I would definitely recommend email updates to be added to your blog.. It just opens up another way for people to receive your content!

Subscribed to your feed.. Keep up the good work!

Brad.


 
Comment by Otooo
2008-08-28 03:42:15

Thanks, I really wanna spruce up my feed – its looking a little dull


 
2008-08-29 00:01:43

[...] Balkhis – Syed has done it again and this time has written a post based on my suggestion about how to implement an email subscription box on your blog. He obviously knows a lot about design and on his last tutorial I asked if he would write a [...]


 
2008-09-02 05:02:11

[...] Its just that simple. Great content, great tutorials and the reader interaction is amazing. He even wrote a tutorial recently based on my suggestion. How great is that? Syed is a very talented young blogger and it [...]


 
Comment by nurusha
2008-09-02 19:44:11

i think its easy. Thanks for let us know about this tips. :)


 
Comment by Navjot Singh Subscribed to comments via email
2009-11-18 03:45:27

All tutorial links are dead. Pls reupload.


 

Sorry, the comment form is closed at this time.

Subscribe to Balkhis via RSS
Subscribe to Balkhis via Email Pimp My Blog