AddThis.com Social Bookmarks

Register an Account
Reply
 
Thread Tools
AddThis.com Social Bookmarks
Developed by Yankidank Yankidank is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page
Designed for: Pligg 1.0.2
License: Creative Commons Attribution-Noncommercial-Share
Released: 07-15-2009
Last Update: Never
Installs: 41
Uses Module System
Template Edits Not Required
Can Reuse Source Code
Includes Files to Upload
Uses Third Party Websites
Not Supported by Author
Download Certified
As requested by forum user prorock, I've produced a module that will add an AddThis.com bookmark button to the bottom of each post that will allow visitors to quickly bookmark any article to one of the many AddThis.com supported bookmark websites. Currently AddThis supports 54 websites and services, some of which are popular Pligg CMS sites.

Installation is as simple as it gets. Upload the addthis folder to your /modules directory and then navigate to the Admin Panel > Modules and activate the AddThis module. You should see the AddThis module appear at the bottom of each story.

Download Now

File Type: zip AddThis_Module_0.1.zip (3.1 KB, 1253 views)

Screenshots

File Type: png addthis.png (4.9 KB, 1505 views)

License Agreement

Creative Commons Attribution-Noncommercial-Share Alike License
You are free to Share and Remix this work under the following conditions: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
You may not use this work for commercial purposes.
If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Show Your Support

  • If you like this download support the author by donating.
  • This download may not be copied, reproduced or published elsewhere without author's permission.

Similar Downloads
Download Developer Category Replies Last Post

Comments
  #2 (permalink)  
Old 07-15-2009, 03:39 PM
New Pligger
Pligg Version: 1.0.0
 
Join Date: Nov 2008
Posts: 11
thanks, just installed it on Publish Articles - Article Directory - Your Source for quality articles and works just fine. are there some changes I could make so that it won't show on the summary, but only on the detailed story? also, for those that want to benefit from addthis' analytics for clicks on the button, you can change in the file modules\addthis\templates\addthis_index.tpl from pub=pligg to pub=your_addthis_id; this way the statistics will be linked to your account.
Reply With Quote
  #3 (permalink)  
Old 08-26-2009, 02:43 PM
New Pligger
Pligg Version: 1.0.1
 
Join Date: Aug 2009
Posts: 5
Quote:
Originally Posted by spuby View Post
thanks, just installed it on Publish Articles - Article Directory - Your Source for quality articles and works just fine. are there some changes I could make so that it won't show on the summary, but only on the detailed story? also, for those that want to benefit from addthis' analytics for clicks on the button, you can change in the file modules\addthis\templates\addthis_index.tpl from pub=pligg to pub=your_addthis_id; this way the statistics will be linked to your account.
I've installed it and moding it a bit.
For users in other languages,
1)go to your addthis.com account and find out your language configuration for your button... copy that code, specifically the your user account line and the language button image source "src=".
2) replace the corresponding lines in the "addthis_index.tpl" file under the addthis/templates folder.

I'm just trying it out, but it should work.
Reply With Quote
  #4 (permalink)  
Old 08-27-2009, 01:10 AM
New Pligger
Pligg Version: 1.01
 
Join Date: Aug 2009
Posts: 5
wohoo! thanks for this.. I made it work
Reply With Quote
  #5 (permalink)  
Old 10-01-2009, 07:06 PM
New Pligger
 
Join Date: Sep 2009
Posts: 6
Does anyone has implemented a url like bit.ly shortened?

function Bit_ly($URL){
$Usuario = 'mi_usuario';
$API = 'mi_api_key';

$Valor = file_get_contents('http://api.bit.ly/shorten?version=2.0.1&format=xml&longUrl='.urlenco de($URL).'&login='.$Usuario.'&apiKey='.$API);
$Valor = simplexml_load_string($Valor);

return 'http://bit.ly/'.$Valor -> results -> nodeKeyVal -> hash;
}
I have this function but I can't integrate whith this module. Can you help me?
Thanks.
Reply With Quote
  #6 (permalink)  
Old 10-15-2009, 08:02 AM
kleinhev's Avatar
New Pligger
Pligg Version: 1.0.2
Pligg Template: wistie
 
Join Date: Jun 2008
Posts: 29
Many of my story titles contain quotes ( ' ). This leads to problems in the html of the module. This can, however, be fixed by escaping quotes in the template file \addthis\templates\addthis_index.tpl. Originally this file's content is:

{config_load file=addthis_lang_conf}

{* Use the .addthis class in your CSS stylesheet to style the module, that way updates won't effect the style. *}

<div style="display:inline;margin:-2px 5px 0 0;float:right;" class="addthis">
<!-- AddThis Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php?v=250&pub=pligg" onmouseover="return addthis_open(this, '', '{$my_base_url}{$story_url}', '{$title_short}')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" width="125" height="16" alt="{#Addthis_Bookmark#}" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=pligg"></script>
<!-- AddThis Button END -->
</div>

{config_load file=addthis_pligg_lang_conf}


Change this to:

{config_load file=addthis_lang_conf}

{* Use the .addthis class in your CSS stylesheet to style the module, that way updates won't effect the style. *}

<div style="display:inline;margin:-2px 5px 0 0;float:right;" class="addthis">
<!-- AddThis Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php?v=250&pub=pligg" onmouseover="return addthis_open(this, '', '{$my_base_url}{$story_url}', &quot;{$title_short}&quot;)" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" width="125" height="16" alt="{#Addthis_Bookmark#}" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=pligg"></script>
<!-- AddThis Button END -->
</div>

{config_load file=addthis_pligg_lang_conf}

openSUSE 11.1 x86-64 | MySQL - 5.0.67 | PHP 5.2.11
Pligg 1.0.2 | (modified) wistie | Sciencia.org
Reply With Quote
  #7 (permalink)  
Old 12-18-2009, 12:32 PM
sulong's Avatar
Casual Pligger
Pligg Version: 1.0.3
Pligg Template: thestandard
 
Join Date: Dec 2008
Location: China
Posts: 85
Quote:
Originally Posted by Yankidank View Post
wohoo!
Ver:1.0.2
Template: thestandard & wistie

Question : Addshis causing page layout errors (IE 6/7、Google Chrome)

IE 8/FF3, This is correct.
IE 7.jpg

IE 7
IE 8.jpg

Google Chrome
Google Chrome.jpg
Reply With Quote
  #8 (permalink)  
Old 01-15-2010, 10:56 AM
wesamly's Avatar
New Pligger
Pligg Version: 1.0.4
Pligg Template: arthemia
 
Join Date: Jan 2010
Location: Tripoli, Libya
Posts: 8
Added, thanks a lot
Reply With Quote
  #9 (permalink)  
Old 02-03-2010, 08:58 AM
Pligg Donor
Pligg Version: 1.1.1
Pligg Template: arthemia
 
Join Date: Nov 2009
Posts: 15
Since I've got the Flashblock add-in installed in Firefox, I noticed it was blocking a small flash object in the upper-left corner of my page.

The object loads //bin.clearspring.com/at/v/1/button1.6.swf .
Googling this turned up the following:
Warning: AddThis Puts Flash Tracking Objects on Your Website :: Useful Stuff :: JohnHaller.com
AddThis Blog » Blog Archive » The AddThis Flash Cookie… We Need Your Feedback

It's one of those darn Flash cookies. AddThis says it can be disabled (see here: AddThis - Help - AddThis Menu API). Or you can consider switching to AddToAny or ShareThis.
Reply With Quote
  #10 (permalink)  
Old 02-12-2010, 04:05 PM
New Pligger
 
Join Date: Jan 2010
Posts: 3
I downloaded, uploadet and installed via admin/modules.

Nothing happened...

I tried to make a button and copying the code from addthis.com to the body of pligg.tpl

Nothing happened...

Pleaze help a noob

Thanx
Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
social bookmarking - add more bookmarks aaronpais Questions and Comments 1 05-11-2007 09:41 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development