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 2.0 - Now and ExpressionEngine Extension!

Development and Programming

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

Update 2.0.1:

  • Fixed image path issue
  • Added error message if permalink attribute is not included

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

It’s been well over a year since LG Social Bookmarks 1.0 was released so an update was due.

Introducing LG Social Bookmarks 2.0 - Now an ExpressionEngine extension.

Why an extension instead of a module?

Well for a couple of reasons..

  • A module was overkill for a simple addon that only had one tag.
  • My knowledge of EE’s extension settings has improved greatly.
  • MSM compatibility is now easier to implement.
  • Integration with LG Addon Updater was possible.

As far as the code goes parts have been rewritten for speed gains although the front end impact is miniumn. The only thing you should need to do is remove the exp: prefix from the {lg_social_bookmarks} tag pair after upgrading.

So if you have any support requests, comments or anything else to ask I’ll try and answer them in this thread.

Don’t forget that if you enjoyed this extension please bookmark it, post a tweet, write a blog post or link to the documentation!

Cheers Leevi

       
Oxygen Smith's avatar
Oxygen Smith
120 posts
16 years ago
Oxygen Smith's avatar Oxygen Smith

Leevi,

Thanks for this extension update.

When I install it and enter the sample code, I get an error:

Notice: Undefined index: permalink in /www/pmh4547/public_html/tci/extensions/ext.lg_social_bookmarks_ext.php on line 655

It still displays the weblog entry page (and the icons) that I have this on, but when I go to bookmark anything, it doesn’t carry the URL through.

Also, I’m pretty sure I have the paths set up correctly, but it still doesn’t display any images on the back end in the extension settings.

One more thing, it’s a little confusing (in the docs) where jquery has to be enabled. I assume you only mean the back end, for the extension setting page’s purposes, but one could assume that you have to have jquery enabled on the weblog entry page from the way you’ve written it.

Cheers

R o B

       
ass4ssin's avatar
ass4ssin
1 posts
16 years ago
ass4ssin's avatar ass4ssin

thanks for the update and release new version

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

hmmm this is odd. The extension seems to not work for me. No favicons or links. The code tag prints out but no links.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
hmmm this is odd. The extension seems to not work for me. No favicons or links. The code tag prints out but no links.

This issue has been fixed in v 2.0.1 I still had the resource folder named lg_social_bookmarks_module in the code :(

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
Leevi, Thanks for this extension update. When I install it and enter the sample code, I get an error:
Notice: Undefined index: permalink in /www/pmh4547/public_html/tci/extensions/ext.lg_social_bookmarks_ext.php on line 655
It still displays the weblog entry page (and the icons) that I have this on, but when I go to bookmark anything, it doesn’t carry the URL through. Also, I’m pretty sure I have the paths set up correctly, but it still doesn’t display any images on the back end in the extension settings. One more thing, it’s a little confusing (in the docs) where jquery has to be enabled. I assume you only mean the back end, for the extension setting page’s purposes, but one could assume that you have to have jquery enabled on the weblog entry page from the way you’ve written it. Cheers R o B

Hey Rob,

Can you paste your template into a pastie so I can have a look. Version 2.0.1 will now output an error if the permalink tag parameter cannot be found.

Cheers Leevi

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

Version 2.0.1 is now available:

  • Fixed image path issue
  • Added error message if permalink attribute is not included

Cheers

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

Hi leevi,

Thanks for the update but the file I just downloaded 2.0.1 and nothing seems to have changed. The version in the CP did not change either. It still says 2.0.0 and the file size appears to be the same. (not sure if that helps. Thanks again.

BTW. I was having issues with your plugins last week or so and now with the updates things are working nicely. except this little issue here. I appreciate your hard work. 😊

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

I just re-uploaded the .zip… can you try and download it again?

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

Thanks for the quick reply.

After downloading again I was immediatley hit with an error which says that the permalink must be a full path url. which does not reflect the code example. (small thing) after fixing the path I get the same un-altered tag printed out again. Note: The title and permalink are replaced fine with the proper information. Hope that helps.

Thanks again Leevi

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

can you paste in your template code?

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou
{exp:weblog:entries weblog="reviews" limit="1"}
  {lg_social_bookmarks title="{title}" permalink="http://my_secret_url/reviews/permalink"}
    Enjoy this post? Share it with others.
    <ul>
      {social_sites}
        <li>
          <a href="http://{social_site_url}" title="Bookmark on: {social_site_name}">_            /themes/cp_global_images/lg_social_bookmarks/favicons/{social_site_img_url}_            <span>Bookmark on {social_site_name}</span>_          </a>
        </li>
        {/social_sites}
    </ul>
  {/lg_social_bookmarks}
{/exp:weblog:entries}

I copied this from your site nothing, fancy just to test it out.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
error which says that the permalink must be a full path url

The only error message that should appear is one that states the permalink parameter is required:

“There is no “permalink” parameter in the {lg_social_bookmarks} tag. Please check the documentation for more information.”

Is that the error you are referring to?

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

yep :lol:

I got it when I had the code pasted directly from your site.

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

I’m confused now. it says that the tag shouldn’t have a permalink param but when I remove that param i get the message you posted above.

“There is no “permalink” parameter in the {lg_social_bookmarks} tag. Please check the documentation for more information.”

       
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.