Joomla! Sexy Bookmarks

Sexy Bookmarks for Joomla is a small plugin which provides the possibility to add different social bookmark services to your Joomla based Website. The (X)HTML compliant code will add a list-based menu with different icons in each article. This allows your users to add your articles to most of the popular social bookmarking services.
The plugin provides the following features:
- Native Joomla 1.5.x (not working in Joomla 1.0.x)
- Whether or not to add rel=”nofollow” to the links
- The target attribute (_blank or _self)
- Which site’s icons should be displayed in the menu
- Custom CSS for the DIV that contains the menu
- Contains English and German language files
Screenshots
Download and Installation
This plugin can be downloaded from the Joomla extension repository, or you can choose to download the latest Version below:
Joomla! Sexy Bookmarks Plugin (108.8 KiB, 7,668 hits)
Please follow these instructions, to install the plugin:
- Download the Sexy-Bookmark Plugin
- Browse to the install/uninstall extension area in your Joomla! back-end
- Choose the file and click upload & install
- Browse to the plugins area and look for Sexy-Bookmark Plugin
- Choose the settings you want and activate the plugin
Bugs & Feature Requests
The Sexy Bookmarks Plugin for Joomla! is also available in the JoomlaCode repository now. Please use the Bug-Tracker and Feature-Request possibilities inside the project view of the JoomlaCode Repository to give me your feedback or to write a Feature-Request.
The Sexy Bookmarks Plugin for Joomla! can be found here in the repository
Changelog
- 1.1.0 – CSS Bugfix (blue box and missing images), New options to display the menu in special categories only, New option to enable/disable the Sexy Bookmarks menu on specific articles (see Usage instructions for more information), Added Tibd, PFBuzz, Friendfeed, Blogmarks, Twittley and Fwisp, plus some additional small fixes
- 1.0.5 – Bugfix ‘Call by reference’ for PHP5
- 1.0.4 – Bugfix Url transformation, New options to display Sexy Bookmarks on different pages (frontpage, blog-layouts, single articles)
- 1.0.3 – Changed display options to avoid displaying on list pages for categories and sections
- 1.0.2 – Added Izeby, Diigo and MisterWong to the list of bookmark Services
- 1.0.1 – Added english and german as supported languages to the plugin
- 1.0.0 – Initial Release of plugin
Special Thanks
This plugin is based on Josh Jones Sexy Bookmarks Plugin for Wordpress. Thanks to Josh for his great support. The original Wordpress plugin can be found here: http://eight7teen.com/sexy-bookmarks/
116 Kommentare
hey nice plugin, thank for the effort, but i still have a problem with … im working on local and after installing and publishing the plugind i had errors on every articles.
And this is the error [ Notice: Use of undefined constant add_css - assumed 'add_css' in C:\wamp\www\projets\segbm-1.1\plugins\content\sexybookmarks.php on line 49
Notice: Undefined variable: add_class in C:\wamp\www\projets\segbm-1.1\plugins\content\sexybookmarks.php on line 234 ]
Still dont know why ….
Any recommondation please !!!
Excellent!
SMALL PROBLEM: In the backend the config “Possible Bookmark Services” radio buttons for LinkedIn & Newsvine are reversed: Disabling Newsvine actually disables LinkedIn & vice versa…. no big deal since the icon links are correct.
How do I change/customise the Background images (like: Care, Sexy,Love etc) where are the .pngfiles stored I looked but couldn’t find them.
Great Job!
Alex Antwort vom Oktober 3rd, 2009 15:50:
Thanks for your bug report.
The images for can be found at plugins/content/sexybookmarks folder and is called sexy-trans.png
Great wroks… hey.. how about refactor with afterDisplayContent.
function plgContentSexyBookmarks(&$subject, $config) {
parent::__construct( $subject, $config );
JPlugin::loadLanguage( ‘plg_content_sexybookmarks’, JPATH_ADMINISTRATOR);
}
function onPrepareContent( &$article, &$params, $limitstart=”) {
$doc =& JFactory::getDocument();
if($this->params->get(’add_css’) == 1) {
$doc->addStyleSheet(SEXY_URL.”/style.css?ver=”.SEXY_VER);
}
// Not yet available
//$doc->addScript(SEXY_URL.”/sexybookmarks.js”);
if(!$this->checkCategories($article)) return;
if($this->params->get(’manual’) != 1 && !$this->searchAntiBookmarkTag($article)) {
$article->text = $this->deleteBookmarkTag($article->text);
} else {
$article->text = $this->searchBookmarkTag($article->text);
}
return;
}
function onAfterDisplayContent( &$article, &$params, $limitstart=”) {
if(!$this->checkCategories($article)) return;
if($this->params->get(’manual’) != 1 && !$this->searchAntiBookmarkTag($article)) {
if($this->params->get(’article’) == 1 && JRequest::getVar(’view’) == ‘article’) {
return $this->fetchSexyHTML($article);
} elseif($this->params->get(’frontpage’) == 1 && JRequest::getVar(’view’) == ‘frontpage’) {
return $this->fetchSexyHTML($article);
} elseif($this->params->get(’blog’) == 1 && JRequest::getVar(’layout’) == ‘blog’) {
return $this->fetchSexyHTML($article);
} else {
return;
}
}
}
hope to add “Section Exclusion List” or “Category Exclusion List” Option Function
is there a way to have the bookmarks displayed in virtumart listings?
Gret plugin, but:
The URL’s formats aren’t complete, exemple:
Your GOOGLE one:
http://www.google.com/bookmark.....&bkmk=“.$perms.”title=”.$title
(One “&” is missing between the ” and title on your plugin for Google submit…)
The GOOD Google one:
http://www.google.com/bookmark.....&bkmk=‘+encodeURIComponent(location.href)+’&annotation=&labels=&title=’+encodeURIComponent(document.title)); return false;
Try to improve you submited urls and your pluggin will become THE bookmarks plugin !
Good job.
Some PHP code is missing on my post for ANNOTATION and LABELS, the variables from Joomla for this.
annotation= &labels= &title=’+encodeURIComponent(document.title)); return false;
Nice plugin, but i still have lot problems with it that i try to fix but i didn’t yet … still have this kind pf problems :
Notice: Undefined variable: add_class in C:\wamp\www\projets\mywebsite\plugins\content\sexybookmarks.php on line 234
Notice: Undefined variable: twittley_cat in C:\wamp\www\projets\mywebsite\plugins\content\sexybookmarks.php on line 288
Notice: Undefined variable: twittley_tags in C:\wamp\www\projets\mywebsite\plugins\content\sexybookmarks.php on line 288
Notice: Undefined variable: add_class in C:\wamp\www\projets\mywebsite\plugins\content\sexybookmarks.php on line 234
In order i can fix this error :
Notice: Undefined variable: add_class in C:\wamp\www\projets\segbm-1.1\plugins\content\sexybookmarks.php on line 234 ]
i add :
$add_class= “”; to the line 223
But now i have this erro :
Notice: Use of undefined constant �� – assumed ‘��’ in C:\wamp\www\projets\segbm1-1essay\plugins\content\sexybookmarks.php on line 223
no answear for my last question ???
Is there a way to control the position of this within a content item?
[...] the site :: http://www.ast-blog.de/joomla-sexy-bookmarks/ Categories : [...]
Hi, the plugin looks good but I have the following errors at the top of each article that I choose to have the bookmarks on. I did have the other add class id errors and were able to fix these by following the threads here. I have not seen the errors I am getting anywhere else, appreciate yor help
Notice: Trying to get property of non-object in C:\wamp\www\cormerant\plugins\content\sexybookmarks.php on line 171
Notice: Trying to get property of non-object in C:\wamp\www\cormerant\plugins\content\sexybookmarks.php on line 335
Notice: Trying to get property of non-object in C:\wamp\www\cormerant\plugins\content\sexybookmarks.php on line 336
Notice: Trying to get property of non-object in C:\wamp\www\cormerant\plugins\content\sexybookmarks.php on line 337
Notice: Trying to get property of non-object in C:\wamp\www\cormerant\plugins\content\sexybookmarks.php on line 340
Notice: Trying to get property of non-object in C:\wamp\www\cormerant\plugins\content\sexybookmarks.php on line 342
Notice: Trying to get property of non-object in C:\wamp\www\cormerant\plugins\content\sexybookmarks.php on line 182
Notice: Trying to get property of non-object in C:\wamp\www\cormerant\plugins\content\sexybookmarks.php on line 197
I wish there was a forum for this thing! I’m really trying to get this working in component pages! has anyone else got this working? all the links point to
http://del.icio.us/post?url=ht.....amp;title=
article pages work fine, but the component ones not so much… any help would be appreciated
thanks again.
-L
Hello, how can I center the Sexy Bookmark on the articles pages?




Alex Antwort vom Oktober 3rd, 2009 15:45:
short fix: open the file sexybookmarks.php which can be found at your plugins/content folder and go to line 49. Here you can find something like this:
if($this->params->get(add_css) == 1) {
change it to:
if($this->params->get(’add_css’) == 1) {
Additional go to line 223 (it’s an empty line) and add the following:
$add_class= “”;
Both error messages should be fixed