We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Social Bookmarks

Development and Programming

Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham

Update 1.3.0: Full documentation available

Update 2.0.0:

  • Rewritten as an ExpressionEngine extension.
  • MSM Compatible
  • LG Addon Updater Integration

——————————————————————————————————————————————————————————————————

Hey everyone,

Just a quick note to say that I have released my first Expression Engine Module. Social Bookmarks 1.0 adds social bookmarking links to any weblog post. Actually it can add social bookmarking links to any piece of content that has a title and a permalink.

Its really easy to use, super flexible and contain over 60 social bookmarking sites. You can customise the sites you wish to display using a new Social Bookmarks control panel tab and then override those defaults on a per template basis.

I have added a fair bit of documentation and a download link at: http://leevigraham.com/cms-customisation/expressionengine/addon/lg-social-bookmarks/

Check it out and tell me what you think.

I have tested the module on EE v1.6 but it should work on EE v1.5 as well.

There are some screenshots of the admin and template rendering attached.

       
PXLated's avatar
PXLated
1,800 posts
18 years ago
PXLated's avatar PXLated

Wow, nice looking CP! I’m not much of a socialite but I’m sure others will find this useful.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham

Hey PXLated,

Thanks for control panel comment.

Did you install the module? Just looking out for any bugs now.

Cheers

       
PXLated's avatar
PXLated
1,800 posts
18 years ago
PXLated's avatar PXLated

Sorry, no I didn’t. My clients are all corporate and not into the whole social thing yet. Only have one that is just now ready to do some blogging.

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
18 years ago
Sue Crocker's avatar Sue Crocker

Leevi, I haven’t installed it yet, but I do have a comment/pet peeve about the archive you made available.

For Windows users, .DS_Store and the like mean nothing. It just means that I have to delete it from my hd manually.

I suspect it is a setting on the archiving method you are using.

I’ll be installing it on one of my test sites tomorrow sometime.

Thanks for contributing, though. There are a few people that will like this.

But like PXLated said, most of my clients are corporate. They won’t be using this.

       
OrganizedFellow's avatar
OrganizedFellow
435 posts
18 years ago
OrganizedFellow's avatar OrganizedFellow

Just a heads up for Leevi Graham, I recommend you provide an alternative download source elsewhere, the one above is error (message about vacationing!)

PS: have a safe trip! 😊

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham
Just a heads up for Leevi Graham, I recommend you provide an alternative download source elsewhere, the one above is error (message about vacationing!) PS: have a safe trip! 😊

My bad…. Its sorted now.

       
ms's avatar
ms
274 posts
18 years ago
ms's avatar ms

Nice one. Love the CP (and yes, I’ve installed it here). No critical problems so far, but I noticed that changes in the CP do not have immediate effect on the site if one is using template caching. Perhaps the module should clear the cache when setting have changed.

What I’m missing are some (social) bookmark sites like Google Bookmarks, Windows Live and Yigg, and it seems its not easy/recommended to add new sites on your own?

-Markus

Update: One problem right after hitting ‘send” …. the YahooMyWeb favicon seems to be displayed correctly only in Firefox, not IE???

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham

Hi Guys,

For those of you having an issue with the yahoo icon I have attached another to this post. Just copy it to your /system/themes/cp_global_images/social_bookmarks/favicons directory.

As for adding extra social bookmarking sites I plan to add this functionality to the control panel in the next update. If you wish to add your own now follow these steps:

  1. Open /system/modules/social_bookmarks/social_bookmark_sites.php
  2. Copy lines 5-8
'blinkbits' => Array(
    'favicon' => 'blinkbits.png',
    'url' => 'http://www.blinkbits.com/bookmarklets/save.php?v=1&source_url=PERMALINK&title=TITLE&body=TITLE',
  ),
  1. Paste below
  2. In the newly pasted duplicate change the array association
  3. Change the favicon filename
  4. Add the the new favicon to /system/themes/cp_global_images/social_bookmarks/favicons
  5. Change the URL to the new social bookmark URL. ‘PERMALINK’ is replaced by the permalink param and TITLE param.

If you do add any extra sites please email me the update so I can add them to the existing list of sites.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham

Ok heres the edit for google bookmarks. I have attached it as a .txt file as this editor strips out some characters.

just add the contents to: /system/modules/social_bookmarks/social_bookmark_sites.php

and add the attached favicon to: /system/themes/cp_global_images/social_bookmarks/favicons

       
smartpill's avatar
smartpill
456 posts
18 years ago
smartpill's avatar smartpill

I’m having problems with the icons and images not displaying. My EE install (v1.6) is not in the root directory and it looks like the path to the images are relative to domain root and not the “URL to your “themes” folder” that is noted in Admin:System Preferences: General Configuration.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham

Heres the update for Windows Live Favourites.

Same as before just add the contents to: /system/modules/social_bookmarks/social_bookmark_sites.php

and add the attached favicon to: /system/themes/cp_global_images/social_bookmarks/favicons

I will roll all these into the next release.

This addition should be considered experimental as it is not 100% tested

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham
I’m having problems with the icons and images not displaying. My EE install (v1.6) is not in the root directory and it looks like the path to the images are relative to domain root and not the “URL to your “themes” folder” that is noted in Admin:System Preferences: General Configuration.

@smartpill: I have made all the paths relative in the admin in the 1.1 release.

@sue: The new release has no .DS_Store files

@everyone: There is a 1.1 release now available that addresses the path issue for admin images and adds Google Bookmarks and Windows Live Favourites to the list of social sites.

Download it from the documentation page

Note: You may need to clear your cache to see new bookmarks if you have caching turned on. Ill have a look at this issue tonight.

       
smartpill's avatar
smartpill
456 posts
18 years ago
smartpill's avatar smartpill

That fixed it. Thanks!

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham
That fixed it. Thanks!

Any other issues just let me know. When you get the module working on a live site pm me the link1

       
1 2 3 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.