Adding StumbleUpon Support to serendipity_event_findmore

Discussion corner for Developers of Serendipity.
Post Reply
adamcharnock
Regular
Posts: 22
Joined: Sat Mar 08, 2008 1:02 am
Location: London, England
Contact:

Adding StumbleUpon Support to serendipity_event_findmore

Post by adamcharnock »

Hey Again,

If you are interested, I have just made an addition to the serendipity_event_findmore plugin to add support for StumbleUpon:

Code: Select all

plugin_findmore.tpl
75a76,79
> {if NOT $findmore_disabled_services.stumbleupon}
> <a href="http://www.stumbleupon.com/submit?url={$entrydata.url|escape:url}" title="Stumble It!"><img border=0 src="{$entrydata.path}stumbleupon.gif" alt="Stumble It!" width="16" height="16" class="socialbkmark"></a>
> {/if}
>

Code: Select all

serendipity_event_findmore.php
76a77
>                       'stumbleupon'   => 'stumbleupon'
You also need the to put the following image into the plugins 'img' directory:

http://porteightyeight.com/plugins/sere ... leupon.gif

I hope this is useful!

Adam

PS. Sorry to keep bugging you with these patches. I figure it is nice to give something back (and it makes upgrading easier for me :p )

PPS. Will be finishing work on the auto resize code soon!
Adam Charnock
Did I help you? You could link to my
blog or leave a comment: http://porteightyeight.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Adding StumbleUpon Support to serendipity_event_findmore

Post by garvinhicking »

Hi!

Great thing, many thanks!
PS. Sorry to keep bugging you with these patches. I figure it is nice to give something back (and it makes upgrading easier for me :p )
Yeah, it's getting quite annoying. You know, I spend a lot of time integrating those patches...

Naaah! Just kidding. Of course this is HEARTLY welcome, in fact this is one of the reasons that gets me going on the serendipity project for so long, I love it to see when people enjoy taking part in the development and give input, feedback or patches.

What you're actually about to is deserver yourself CVS karma, if you are thinking about future contributions.... :-)

Best regards to the UK,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
adamcharnock
Regular
Posts: 22
Joined: Sat Mar 08, 2008 1:02 am
Location: London, England
Contact:

Post by adamcharnock »

Hey Garvin,

Lol, ok! I just wanted to check that you were OK with it :)

CVS karma sounds great to me! I think I will be making some more contributions as I continue blogging, plus I have been looking to get involved in an open source project for a while now.

I work as a freelace PHP dev, and I have a feeling that a few of my clients are going to be wanting blogging systems and being involved in Serendipity allow me to offer them a great blogging system. What you may see from me in the future is work on a remote API as I would need a way to integrate Serendipity with my existing management system.

Best,

Adam
Adam Charnock
Did I help you? You could link to my
blog or leave a comment: http://porteightyeight.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

That sounds good, I'm looking forward to your contributions! :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Okay, he's got the hook, the bob has gone under; can we reel him in yet? :lol:

Seriously, it's nice to have new devs looking at Serendipity. Welcome, Adam!

Don't new members have to buy the first round or something?
Judebert
---
Website | Wishlist | PayPal
Post Reply