Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-03 14:54:40

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

[plugin] [ORPHAN] ako_social

ako_social
Easy social bookmarking of your posts

The point of this plugin is to allow others to easy add your post to a one of various social bookmarking sites. You can determine which of the sites gets displayed, and how (whether it’s an image or text, which you can specify or leave as default). The concept behind this plugin is based on the Sociable plugin for wordpress.

Download ako_social v.4
More info
Images: zip, 24kb
Images: gzip, 16kb

I feel bad about doing this, but the college life is a poor life, so I’m ransoming this plugin for $50. It’s really not a lot, if you think about it. A few dollars from anyone that’s interested, and soon enough the $50 target will be met. Anyone donating more than $5 will be listed on my website as a very helpful benefactor (or something along those lines). Once the ransom is met, I’ll release this plugin to the public and it will remain public forever! I’ll also continue to support it and what not, helping those who have difficulties.
The ransom campaign has ended sucessfully. A million thanks to the one who participated.

Last edited by akokskis (2007-04-04 17:33:35)


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#2 2006-03-09 04:09:25

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_social

Well, the ransom campaign has ended sucesfully and now, as promised, I’m releasing this plugin for free.
Please do tell me what you all think, as well as any suggestions etc etc.

Enjoy.

Download ako_social v.1
Associated images [zip]
Associated images [tgz]
More info

Last edited by akokskis (2006-03-09 04:12:15)


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#3 2006-03-22 00:14:17

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_social

Howdy all,

Coming around to announce v.2 of my plugin, ako_social
This version primarily boasts a whole new list of sites that you can use with this plugin, as well as a few minor bug fixes. To see the full rundown and what have you, check out the “more info” link right below.

More info
Download

Thanks for the continued support. As always, comments, suggestions, and well, pretty much anything else (especially pie – I love pie) is always welcome.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#4 2006-03-23 00:17:57

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: [plugin] [ORPHAN] ako_social

Well done akoksis,
Unfortunately I still did’n‘t have time to test this, but it’ll be done soon.
I found all of your plugins quite usefull,

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#5 2006-12-08 22:30:55

cellseven
Member
From: St. Louis
Registered: 2006-12-05
Posts: 20
Website

Re: [plugin] [ORPHAN] ako_social

Awesome Plugin, I have a quick edit for anyone who wants lazy submission to Digg.

I added some lines and added a custom field to the article section. You can find an example of this working at cell7.org by digging the reviews I’ve posted.

Plugin File Edit:

    // couple good things to have
    $out      = array();
    $title    = urlencode($thisarticle['title']);
    $diggtopic    = urlencode($thisarticle['digg']);  // Added this line for Digg Topic
    $bodytext = urlencode($thisarticle['excerpt']); // Added this line for short description
    $permlink = urlencode(permlinkurl($thisarticle));

Then, just a tad further down in the code you can replace the “if ($digg == 1)” section with

    if ($digg == 1) {
      $out[] = href($content["digg"][$images], "http://digg.com/submit?phase=2&amp;url=". $permlink ."&amp;title=". $title ."&amp;bodytext=" . $bodytext . "&amp;topic=" . $diggtopic);

Now, the only real modification I made to get the digg topic is to add a custom field named digg, and assign a topic for a story. Also the excerpt text works best if you leave the text unformatted for submission purposes, or maybe do a urldecode in front of the excerpt tag.

All of the credit goes to Akokskis for the plugin, this is great for those who want to join in the Social Crazy!


jack [at] cell7*orgCRAP

Offline

#6 2006-12-20 16:25:25

raveoli
Member
From: Copenhagen
Registered: 2004-03-06
Posts: 205
Website

Re: [plugin] [ORPHAN] ako_social

I get a parse error when installing the plugin:

Warning: parse_url(http:///www.shadows.com) [function.parse-url]: Unable to parse url in classTextile.php on line 776

Offline

#7 2006-12-20 17:13:55

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_social

Could you give me some more info? What version of TXP are you using? When exactly is this error occuring? Is it when you’ve enabled the plugin? Or?


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#8 2006-12-20 17:42:20

raveoli
Member
From: Copenhagen
Registered: 2004-03-06
Posts: 205
Website

Re: [plugin] [ORPHAN] ako_social

Oh, sorry, major ADD here, only took one pill today;-)

I use the official release 4.0.4.

The error came after I clicked install. That is, on the preview page. Then, if I click install, it does install, but the error is listed at the top of the screen on the next page as well.

But it works, the plug…

I currently run my site in “Testing” mode (TXP prefs)…

Offline

#9 2006-12-21 15:03:08

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_social

Ok, well I’ll try to take a look at it either today or tomorrow.

Does the plugin seem to be working fine otherwise?? This kind of confuses me as there is no call the the parse_url() function in my code. At least, there isn’t directly.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#10 2006-12-24 15:39:49

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_social

@raveoli:

I’ve figured out what the issue was – I had an extra slash in one of my URLs (so it was http:///, instead of http://) in the help docs section.

Anyways, I’ll have that fixed for the next release, which I’d like to get out the door today or tomorrow, which will incidently include a few extra sites (Kinja, Mr. Wong, and Wink). If anyone has any requests, let’s hear them now, or wait for the next version.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#11 2006-12-24 18:04:40

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_social

Howdy all,

As promiesed, v.3 of my plugin, ako_social
This version includes a bug fix for the slight error that raveoli reported. Also, with this edition we have the edition of Kinja, Mr. Wong, and Wink to the list of sites that are supported. As well, I’ve added automatic support for the edit that cellseven made. (That should work, but if someone could test it for me, that’d be great). Also on a more technical note, I made the underlying code less stupid and more efficient.

More info
Download

Thanks for the continued support. As always, comments, suggestions, and well, pretty much anything else is always welcome.

[EDIT]:
Oh yeah, the image packages have been updated as well. Grab ‘em here: zip, 20kb or gzip, 12kb.

Last edited by akokskis (2006-12-24 19:47:12)


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#12 2007-04-04 17:32:32

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_social

Howdy all,

Announcing: v.4 of my plugin, ako_social

This version includes a few new sites, courtesy of Podshop. Those are: Netscape, Windows Live, StumbleUpon, Google Bookmarks, and TwitThis. The image packages have been updated as well.

There shouldn’t really be any issues, as I haven’t made many changes, but I don’t really have the time at the moment to test this, so if someone could get back to me just so that I know that this all works for sure, that’d be great.

More info
Download
Images: zip, 24kb
Images: gzip, 16kb

Thanks for the continued support. As always, comments, suggestions, and well, pretty much anything else is always welcome.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#13 2007-06-01 03:11:58

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: [plugin] [ORPHAN] ako_social

Great plugin – saved me lots of time, thanks :)

I think I may have found a bug though. On one of my sites I have a few sections which have sticky articles on them, instead of a list of articles – the links don’t pick this up at the bottom and no varibables are passed so the links on the social bookmarks look like this

http://de.lirio.us/rubric/post?uri=;title=;when_done=go_back

Is there anyway around this?

Offline

#14 2007-07-05 07:02:33

werner
Member
Registered: 2006-09-03
Posts: 10

Re: [plugin] [ORPHAN] ako_social

Hello – this plugin rocks.

I am developing a web catalogue, where every company/website is one article. The link to the company is stored in a custom field.
In order to change the social links from the article permlink to that custom field url, i changed the plugin code a little.

Instead of

$out = array();
$title = urlencode($thisarticle[‘title’]);
$permlink = urlencode(permlinkurl($thisarticle));

i wrote

$custurl = ‘url’; // Custom field name
$custa = custom_field(array(‘name’ => $custurl)); // Get value from custom field
$out = array();
$title = urlencode($thisarticle[‘title’]);
$permlink = urlencode($custa);

Maybe someone is looking for this feature.

And maybe in the next version of this plugin, there could be a tag like usecustomfield=“blahblah” ?

So i could still use the plugin for those articles of that project that are not describing companies, without having to put their permlink in the custom field. My programming skills are just too weak to achieve this.

Offline

#15 2008-01-27 19:18:45

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: [plugin] [ORPHAN] ako_social

Hi, I integrated this plugin into my project. However, I realized, that the description Info is not added to the URL.
Looking at the plugin code, it appears to me, that actually doing that PHP whise would not be the best solution.

Why?

Because it might be different for different purposes.

I was thinking, the best and easiet way to do that, would be to grab the info from the frontend page. That is how it is done with a boomarklet, it traverses the DOM to find the meta tag despription and then concatenates the URL with the fetched Info.

May be that could be done with Jquery (Which TXP uses )

Any Ideas on this ?

regards, marios

Last edited by marios (2008-01-27 19:21:20)


⌃ ⇧ < ⌃ ⇧ >

Offline

Board footer

Powered by FluxBB