Page 1 of 1

Adding StumbleUpon Support to serendipity_event_findmore

Posted: Mon Mar 10, 2008 10:24 pm
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!

Re: Adding StumbleUpon Support to serendipity_event_findmore

Posted: Tue Mar 11, 2008 9:40 am
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

Posted: Tue Mar 11, 2008 2:09 pm
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

Posted: Wed Mar 12, 2008 1:02 pm
by garvinhicking
Hi!

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

Regards,
Garvin

Posted: Wed Mar 12, 2008 3:32 pm
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?