Here’s a little plugin I made for Stumbleupon visitors, I got the idea while playing with the Digg This plugin.
Hello Stumbler plugin will display a note at the top of your post (or wherever you put the call) when it detects that the person viewing the page came through the Stumbleupon button and ask them to give you a thumbs up.
Simply download the plugin, upload it to your plugins directory and activate it. Once you have done that, go to your single post template page and add the following command under the entry-content line (click image to see example).
[php]
?php if (function_exists(hellostumbler)) { hellostumbler();}?>
[/php]

It’s as simple as that! I have tried it by showing the link if this blog is the referring page and it works, hopefully it will do the same when the post is stumbled upon with the toolbar button (it’ll take me ages to stumble and stumble until this post shows to truly test it, but it should work!).
If you came here via a stumble button press, please let me know if you can see the “thanks for stumble-ing” message at the top of the post. thanks!
Download the plugin here Hello Stumbler
[edit]To see a tutorial on how I made this plugin, see here: wordpress plugin sourcecode tutorial

September 6th, 2007 on 5:53 pm
This is pretty cool – one suggestion though – wrap this in an “if(function_exists” – just in case the user disables the plugin. It’ll keep you from throwing an error:
Rob
September 6th, 2007 on 5:58 pm
haha! thanks Rob!
I’ll go put that in the ‘structions now
September 7th, 2007 on 5:05 am
Ah, I love it!!!!! I also love the traffic from Stumble Upon. You just can’t have too many visitors
Did I already say that this is one of my favourite websites?
September 7th, 2007 on 10:41 am
thanks Sharon!
oo a favourite already
September 11th, 2007 on 7:33 pm
Installing this right away! I’ve stumbled across several sites that are using it and had to find out how they did it. Great plugin idea!
September 11th, 2007 on 7:36 pm
I’m going to update it soon so it does a nifty slide down before displaying the message.
I’ll post here when it’s done!
September 24th, 2007 on 8:12 am
Nice idea. I know of at least one other plugin that does something similar, I think it’s called Landing Sites or something like that.
Jacob
Jobs In Israel’s last blog post..How I Enjoyed Unemployment
October 17th, 2007 on 5:26 pm
Oh nifty. I have to have this one!!
Jenny’s last blog post..I’m Getting Old
October 17th, 2007 on 8:12 pm
great! I’d love to stumble on a site that uses it!
October 31st, 2007 on 4:52 am
Thank you so much for this thoughtful plugin Andy!
Have you thought of any idea where, if anyone comes from a network like digg or readit to view your full post, we can convey a similar message?
Would help in get Dugg a lot. a combination in which the plugin detects the origin of the visitor and we greet him accordingly!
When I came here I saw the Google Searcher Welcome Msg. If we have one for eacj social network, the chances of conversion will increase many fold.
I am thinking of constructing one on these lines! Will keep you posted as i would need some assistance.
Cheers!!!
Vikram’s last blog post..A Detailed Page Rank Update Report for Top 25 Blogs about blogging: Past, Predicted and Present.
October 31st, 2007 on 10:33 am
@ Vikram: I made it so I could have some fodder for a tutorial, it is only a simple check on the referring page. Feel free to add more options for all the social sites and let me know if you want any assistance…
November 7th, 2007 on 11:29 am
You should make a post called: “What kind of plugin do you want?”
I saw this in a blog. I want a plugin that displays how many thumbs up and how many thumbs down has my post. And people who read my post to be able to vote from within article. Like in seomoz.org/blog, you can see this after every single post. But I think it could be a little easier than there: people to be able to vote for the post without registering or loging in. Like thumbs up and down from ff toolbar, but with a count of votes. I don’t know if I make myself clear. And I write this here, because this is a post related to stumbleupon.
Diana13′s last blog post..Strange things happens
November 7th, 2007 on 12:07 pm
thanks for the suggestion Diana, I know what you mean about the thumbs up plugin. In fact, it looks like it will continue on nicely to my AJAX tutorial series which will take users from an introduction to a simple onclick event to a voting button and finally it would be nice to make it do the thumbs up thing you are mentioning. (without registration of course!)
I think I’ll make a ‘request a plugin’ post when the new theme becomes live. thanks for your feedback
December 19th, 2007 on 6:13 am
Great idea! I have a script that did pretty much the same thing for websites that were not built on WordPress. It was slightly different though. It checked to see if the person was referred from StumbleUpon, and it did not matter if they came from the refer.php or not. So if people clicked through the review page they also would get the message. Thanks for the plugin. Works great.
LGR’s last blog post..Trackback test
December 19th, 2007 on 10:41 am
LGR: I suppose I should update it so it works just like it does here, I’ve been meaning to add some javascript slides to it for ages! thanks for visiting.
February 6th, 2008 on 5:32 am
Hey there – any tips on how I add the [Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon] all in a row to my wordpress blog for any one post? I’m hoping for a single plugin.
July 27th, 2008 on 1:49 am
Hi Seth,
There is a wordpress plugin that can detect if the link came from [Digg] and/or [Stumbleupon]. Here is the link: http://wordpress.org/extend/plugins/increase-sociability/
Hani Mourras last blog post..Unlimited Gmail Addresses
August 1st, 2008 on 12:53 pm
This looks like a great plugin. I just added some text to the top of my post earlier today to ask people to thumbs up the site if they like it, but this obviously a much more clever approach to the situation. Oh and don’t worry I gave you a thumbs up for the article
November 19th, 2008 on 2:34 pm
Cool plugin, I’m going to be adding it to my site soon.
:tup: for you
John Deszell´s last blog post..The Inside Outlaws
December 11th, 2008 on 1:59 am
Andy, I always think BIG and doing things in systems/templates. Why stop with Stumble. Couldn’t you create a massive plugin that would do the same thing but for say 20 or 30 of the most popular social media sites. So whenever someone comes from Digg, Stumble, Delicious, etc. that same thing you created for Stumble would happen for all of them.
December 26th, 2008 on 8:42 am
Added. Has anyone actually stumbled here and seen it in action?
Jack Clarke´s last blog post..Laptops now outsell desktop computers
January 5th, 2009 on 10:18 pm
i used to have it on here, now I’ve changed to using the notify contest banner.