Stumbled – Stumbleupon Widget for Wordpress 2.2

November
2

Here is a widget and plugin combined for Stumbleupon and Wordpress. I rewrote it from scratch to be a little better, thanks to the suggestion of mcangeli in the comments!

This will display a list of titled links to up to 10 of your last pages that you gave a thumbs up to with Stumbleupon, it can also show as icons for web page, image, flash file, quicktime. Use it as a widget or as a plugin.

Upload it and activate it to see a widget called ‘Stumbled’ in your tray, drag it to where you want it to be displayed on your blog and click the options square to add your Stumbleupon username, how many of your last thumbs up sites you want to display, choose to display as Text links or Icons. If you chose to display as text then you can put in the maximum amount of characters to show.

You can also use it as a plugin if you don’t like widgets, see below for code examples..

here’s what it looks like in the sidebar as icons..

Stumbled Widget

here it is as text..
Stumbled widget as text

and the options….
Stumbled Options page

Just download the zip file below and extract the folder, upload the whole folder to your plugins directory and activate it in Wordpress, then, visit the widgets section under Presentation and drag it to the sidebar, click the square to change the options and that will be it!

For non-widget-ers, you can use it as a plugin by using this syntax..

stumbled_as_plugin(username,quantity to show,text or pic,html before list, html after list,max length of characters);

ie. for showing text links with a numbered order..
[php]if(function_exists(stumbled_as_plugin)) {
stumbled_as_plugin(“glytch”,10,”text”,”

    “,”

“,33);
}
[/php]
will show this…
<?php if(function_exists(stumbled_as_plugin)) {
stumbled_as_plugin(“glytch”,10,”text”,”

    “,”

“,33);
}?>

Or as images with no numbering..
[php]if(function_exists(stumbled_as_plugin)) {
stumbled_as_plugin(“glytch”,10,”pic”,”",”",33);
}
[/php]

will show this…

If you have any problems with it, please let me know!.

Download Stumbled Widget & Plugin For Wordpress

Code, Wordpress


0 Comments zu “Stumbled – Stumbleupon Widget for Wordpress 2.2”

  1. RobMalon
    08.09.07 8:12 pm

    Great script. I’ll be holding on to this for when i start using stumbleupon a bit more :)

    #1

  2. Andy Bailey
    08.09.07 8:30 pm

    I look forward to seeing it on your fine blog Rob!
    great article you did recently about affiliate links!

    #2

  3. Win Noise Isolating Headphones from "FiddyP"
    29.09.07 8:29 pm

    [...] than the contest. He also makes interesting WordPress Plug-ins!. (You can find a few more examples here and [...]

    #3

  4. Win a set of Noise Isolating Headphones worth 69.99 GBP
    04.10.07 9:17 pm

    [...] please mention something about the wordpress plugins I have made, you can see some of them here, here and [...]

    #4

  5. Win a set of Noise Isolating Headphones | ProBlogContester
    06.10.07 5:37 am

    [...] the CommentLuv plugin and the other, also something to so with Stumbleupon, which lets you place a Stumble upon widget in your sidebar showing you your latest 10 stumblers who has given you the thumbs [...]

    #5

  6. mcangeli
    29.10.07 7:09 pm

    Is there a way to use this with out using it as a widget??

    mcangeli’s last blog post..Scary Costumes

    #6

  7. Andy Bailey
    29.10.07 7:58 pm

    @mcangeli: I’ve rewritten it so it can now be used as a plugin, thanks for your suggestion! it was the kick up the butt I needed to update this plugin. :-)

    #7

  8. mcangeli
    02.11.07 8:12 pm

    Downloaded and installed the new version, however, it doesn’t seem to work correctly as a plugin…. (check my site, its in the sidebar below mybloglog)

    It looks like the version online in the zip file was last edited 9/6/2007. Has the zip file been updated??

    mcangeli’s last blog post..
    Halloween Photos Online

    #8

  9. Andy Bailey
    02.11.07 11:04 pm

    are you sure you have all the parameters set correctly? the text will go in ” quotes and numbers without.
    also, it wont show if you have put a wrong username.

    the zip file has a date of 02 nov on my site, maybe you got a cached version??

    #9

  10. Karthik
    03.11.07 4:42 am

    Thanks a lot for the 2 links and stumbling my post Andy, much appreciated! Glad you liked my post!

    Karthik’s last blog post..
    Who can’t use a couple of tutorials?

    #10

  11. Andy Bailey
    03.11.07 12:15 pm

    thanks for coming by Karthik, great site you have there

    #11

  12. Karthik
    03.11.07 2:14 pm

    You’re most welcome Andy – and you have a very good blog here too – count me in as a steady reader :)

    Karthik’s last blog post..
    Who can’t use a couple of tutorials?

    #12

  13. mcangeli
    05.11.07 3:06 pm

    Yea, It appears I had the old version on my server still (even though I downloaded the new one…). Its up and running now and it works great!!

    mcangeli’s last blog post..
    Halloween Photos Online

    #13

  14. pelf
    05.11.07 3:06 pm

    Dang.
    This is brilliant! :)

    pelf’s last blog post..
    What have I been doing (and some link loves)?

    #14

  15. BONTB
    07.11.07 3:51 pm

    Nicely done, me so like it. You have been stumbled!

    BONTB’s last blog post..Top 10 Websites New Bloggers Should Know About

    #15

  16. Jenny
    17.11.07 10:41 pm

    that is so hawt. i am SO using this in my next theme.

    Jenny’s last blog post..Nov. GWP Results

    #16

  17. Andy Bailey
    18.11.07 11:20 am

    I’m glad I rewrote it now and glad that you like it!

    #17

  18. WordPress Plugins Database » Plugin Details » Stumbled
    20.11.07 12:22 pm

    [...] Visit [...]

    #18

  19. Matt Ellsworth
    28.11.07 6:16 pm

    Sweet – I had been looking for something like this – since the other one I saw didn’t work.

    Matt Ellsworth’s last blog post..Google?s Stock Still Creates Uncertainty

    #19

  20. » FiddyP Blog Contest! Win a set of Noise Isolating Headphones worth 69.99 GBP > FiddyP
    06.03.08 11:55 pm

    [...] please mention something about the wordpress plugins I have made, you can see some of them here, here and [...]

    #20

  21. BillinDetroit
    14.03.08 9:37 am

    I’m a dedicated Stumbler and want to thank you for all your hard work on this and especially the Comment Luv plugin. Good ideas both and what look to be good execution. I STRONGLY agree that ‘dofollow’ is the way to go with comments and blogs that use nofollow don’t get much ‘repeat business’ from me. Sometimes, depending on how much caffeine I have available vs how long I’ve been awake, I can get a bit testy about this.

    Before I go off the deep end about this again … thanks. It’s time for me to shut up. ;-)

    BillinDetroit’s last blog post..The Role Of Race In The United States Mortgage Mess

    #21

  22. Jenny
    17.03.08 7:17 pm

    I just installed it. I had to modify the html in the plugin file for my theme but it works awesomely. You can see it here: http://thesocalledme.net/about

    Jenny’s last blog post..The Mommy Blog Carnival Ed. #3

    #22

  23. Andy Bailey
    17.03.08 7:24 pm

    jenny: that looks really good, sorry you had to go in the guts of it to make it work how you want. if you tell me what you did, I’ll put that in the plugin and leave you some credit in the source..

    #23

  24. Jenny
    17.03.08 8:05 pm

    I just took out the divs and the breaks. :)

    Jenny’s last blog post..Mommies of the ‘Net Unite!

    #24

  25. Andy Bailey
    17.03.08 10:06 pm

    haha, ok. I made this one early in my plugin career so it’s a little clunky. I think it needs a rewrite anyway. I’ll get on it as soon as I get time (hah! time, theres a thing I don’t seem to have!)

    thanks for your feedback and comments

    #25

  26. starr
    21.03.08 5:27 pm

    Wow, thanks! Much easier to use than the one Stumble put out. Thanks so much!

    starr’s last blog post..Snubbed!

    #26

  27. Shawn
    06.05.08 9:25 am

    Just curious why the number of recent stumbles is capped at 10? Can the code be edited to work around this?

    #27

  28. Andy Bailey
    06.05.08 9:41 am

    Shawn: 10 is the number shown on the feed for stumbleupon favorites, it would be possible to get more returned by adding extra code to read the next page but it would take longer and I think 10 is enough to show for most needs..

    #28

  29. sid
    12.05.08 2:23 pm

    hey,

    thanks for creating the plugin. i use it as a widget, been looking a lot in wordpress plugins and widget database. i suggest adding it there, there’s not too many usable. at least i couldnt find them.

    just one question: how often does it refresh the list? how can I alter this (not knowing anything about php, a little about html)

    best,

    Sid.

    sids last blog post..nieuwe “Adam” stills!

    #29

  30. Facebook Social Ads - The New Adwords | 7DOLLARBOOKS.COM | Home of the $7 eBook
    27.02.09 6:45 am

    [...] Stumbled – Stumbleupon Widget for Wordpress 2.2 – Here is a widget and plugin combined for Stumbleupon and Wordpress. I rewrote it from scratch to be a little better, thanks to the suggestion of mcangeli in the comments! This will display a list of titled links to up to 10 of your last … [...]

    #30

  31. Parth
    23.04.09 8:03 pm

    Yeah, dude not working for me.

    #31