April 7, 2010

Add StumbleUpon Buttons [With Counter] To Blogger Blogs


Add StmbleUpon Buttons To Blogger BlogsNow you can add "Stumble It" buttons/badges to your blogs, along with a counter to show the number of stumblers stumbled on your site/post via StumbleUpon.com
The buttons are straight from StumbleUpon, with no modification required. Your readers will simply click these buttons to submit your pages to StumbleUpon and all the visitors coming to your page from SU will be counted by SU and the number of visitors will be shown in these buttons.
Of all the social bookmarking sites I have ever used, I prefer StumbleUpon for the massive traffic it provides. Two of my posts (Post #1 and Post #2) already received over 20,000 visits each, from StumbleUpon. BTW if you liked any of those posts, I would be happy to get a thumbs up from you :)

STEPS TO FOLLOW:

STEP #1
Go to this page [StumbleUpon Buttons] and select the type of button you want to use on your blog.
StumbleUpon Buttons
In the second step, select the first option "Any web page or blog".
And finally copy the code in the third step. It will look something like this:
<script src="http://www.stumbleupon.com/hostedbadge.php?s=2"></script>

STEP #2
Now log in to Blogger, go to Layout -> Edit HTML and mark the tick box "Expand Widget Templates". Then find (CTRL+F) this code in your template:
<data:post.body/>

And immediately ABOVE/BEFORE it, paste the code you just got from StumbleUpon, with two more additional lines of code (highlighted as BOLD, below) to hide these buttons in your blogs homepage.
<!--SU-BUTTON-STARTS-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
&lt;script src=&quot;http://www.stumbleupon.com/hostedbadge.php?s=2&quot;&gt;&lt;/script&gt;
</b:if>
<!--SU-BUTTON-STOPS-->

Save the template and Show off your big numbers!

24 comments:

Poras Gupta said...

Oh Great !
Thanks For Sharing

Iqbal said...

Nice sharing brooo....keep posting :)

Tutorial Blogger

Reza Winandar said...

It's like a digg or tweet button, isn't it?

Sai - Blogger Widgets said...

Yeah, but unlike Digg and Twitter buttons, it doesn't count the number of thumbs ups (cause, in Digg and Twitter buttons, number of Diggs and Retweets are counted).
In fact these buttons simply count the number of visitors coming from StumbleUpon, so of course sites which mainly depend on SU for traffic, can show huge numbers on these buttons, further increasing the chances of getting more thumbs ups.

Ghazala Khan said...

Interview Request

Hello Dear and Respected,
I hope you are fine and carrying on the great work you have been doing for the Internet surfers. I am Ghazala Khan from The Pakistani Spectator (TPS), We at TPS throw a candid look on everything happening in and for Pakistan in the world. We are trying to contribute our humble share in the webosphere. Our aim is to foster peace, progress and harmony with passion.

We at TPS are carrying out a new series of interviews with the notable passionate bloggers, writers, and webmasters. In that regard, we would like to interview you, if you don't mind. Please send us your approval for your interview at email address "ghazala.khi at gmail dot com", so that I could send you the Interview questions. We would be extremely grateful.

regards.

Ghazala Khan
The Pakistani Spectator
pakspectator.com

NDS Roms said...

thank you so much!

Good Jokes said...

Great guide thanks for making !!

Jokes For Fun

satuiku said...

waw... tks for info..

Steve said...

It doesn't work...any ideas what I did wrong??

Watch Megavideo movies said...

Woah. Thanks for the share :)

DesiMusic4uk.net said...

I want to know how to get the widget you have on under every post...which is |Share this post| |Bookmark this post| and that please can you tell me

my blog

http://somearticles4u.blogspot.com

Sai - Blogger Widgets said...

That's a simple multi-tabbed widget, with content of my choice. You can create a similar widget, by following this tutorial (read part 1 too)

Collapsible Multi-Tabbed Widget For Blogger Blogs

Anonymous said...

These tutorials are excellent, thanks!

I'm having a little but of trouble though. I've tried adding both the tweet this button and the stumbleupon button but the stumbleupon button keeps showing up on the line below the tweetme button. I tried right aligning the button but it's still a line below. Any help would be appreciated!

Ashley said...

Thanks for the tip! I am trying to align stumbleupon and tweetmeme buttons on my blog, but am having trouble figuring out what code I should be using to properly align them (without touching the post body). Yours do this about, but what code should I use? Thanks!

Divya Sai said...

Instead of copying the codes of both the buttons directly, paste them inside a html-table. Like this:

<table border="0"><tr>
<td width="70%">StumbleUpon_Code_Comes_Here</td>
<td>TweetMeme_Code_Comes_Here</td>
</tr></table>

Change the width from 70% to any other value to perfectly place the buttons.

ittech said...

oh great , it s my first visit to yours great site with lots of info. thanks

Suzanne said...

Hmm. The problem I have is that the badge is at the top of the post. How can I get it to the bottom of the post?

Divya Sai said...

In STEP #2, instead of pasting the code ABOVE it, paste it BELOW that code:
<data:post.body/>

Boffill said...

This has been very helpful to me. Not only that it hides the stumbleupon button and also the adsense ads on my home page! THanks thanks!

monish said...

i just looking for this stumbleupon badge, finally i got it from this site. no words to say thanks.....see where i put this badge in my blog


http://watchcricketmatch.blogspot.com/

Margaret Antkowski said...

I'm having issues with blog posts and the stumble upon badge showing up twice if I've truncated my blog post. Any pointers? Check is out here: http://mantkowski.blogspot.com/2011/03/review-charcut-roast-house-in-calgary.html#more

Sai - BloggerStop.Net said...

Hi there,

Couldn't find any buttons on your blog.

Bollywood Dhamaka said...

great collection!!

Funny Videos said...

really nice explained tutorial

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

comment on this post Share Your Views

Allowed HTML tags: <b>, <i> and <a>

Join and share your views with other bloggers at BloggerStop Community

Comment Like This! and Optimize your blog...

SPAMMER OF THE MONTH: www[.]MensItaly[.]com

Next Post Homepage Previous Post

Regular Readers


What They Say...

Divya Sai is the ingenious webmaster of Bloggerstop.Net. Divya is extremely patient, knowledgeable and responsive... Bloggerstop.net has an abundance of articles on creating widgets, templates, hacks and ways to make your blog search engine friendly.
- Stacey @Pets With Allergies
I stumbled onto a great site. Sai, over at Bloggerstop.net has helped me tremendously and with great patience...for any and all questions regarding computer issues. And again, THANK YOU Sai.
- Cheryl @Cmash Loves To Read

More Here...

Popular Posts

Get this widget

| © 2010 BloggerStop.net | Blogger Widgets | Template by Dicas Blogger | Enhanced By Divya Sai | Privacy Policy