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

Sean C. Smith's avatar
Sean C. Smith
3,818 posts
18 years ago
Sean C. Smith's avatar Sean C. Smith

Actually I would like to be able to update it via the admin page, but as I mentioned earlier the javascript doesn’t work and nothing gets updated.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham
Actually I would like to be able to update it via the admin page, but as I mentioned earlier the javascript doesn’t work and nothing gets updated.

Is there any javascript errors? Is your ee installation installed in a sub directory?

       
JT Thompson's avatar
JT Thompson
745 posts
18 years ago
JT Thompson's avatar JT Thompson

FYI this update has fixed the problems I had in IE.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham
FYI this update has fixed the problems I had in IE.

Thanks for the update. Are you using this module in the wild? If so can you share the url?

       
JT Thompson's avatar
JT Thompson
745 posts
18 years ago
JT Thompson's avatar JT Thompson

I haven’t decided exactly where to put it yet. I built a little div already in the comments page. So I think i’ll replace it there. But I haven’t completed it yet.

It’s running, just not inline where I want it, but you can see my grey box that’s existing.

http://www.hillaryproject.com/index.php?/sg_distro/comments/bill_clinton_rips_pentagon_over_letter_rebuking_hillary_clinton/

You’re welcome to share it anytime though. Your module is listed below the comment field just above the related articles box.

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
18 years ago
Sean C. Smith's avatar Sean C. Smith
Actually I would like to be able to update it via the admin page, but as I mentioned earlier the javascript doesn’t work and nothing gets updated.
Is there any javascript errors? Is your ee installation installed in a sub directory?

my system folder is inside the public_html folder and there are no javascript errors coming up. Just that nothing happens. I even clicked the update social bookmarks button bu all I get is

Your active social bookmarking sites have not been changed
       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham

Hey all,

If you don’t want to wait for the next update heres the code to add face book to your social sites…

'Facebook' => Array(
 'favicon' => 'facebook.png',
 'url' => "[removed]:(function(){ var a=window,b=document,c=encodeURIComponent,d=a.open('http://www.facebook.com/sharer.php?u='+c('PERMALINK')+'&t;='+c('TITLE'),'sharer','toolbar=0,status=0,width=626,height=436,alwaysRaised=1');a.setTimeout(function(){d.focus()},300)})();"
  ),

YOU WILL NEED TO REPLACE [removed] with javascript

Find the image attached

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
18 years ago
Sean C. Smith's avatar Sean C. Smith

I solved my javascript problem. Instead of using relative links to the javascript files I hardcoded my domain and system folder and now the javascript works fine.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
18 years ago
Leevi Graham's avatar Leevi Graham
I solved my javascript problem. Instead of using relative links to the javascript files I hardcoded my domain and system folder and now the javascript works fine.

OK cool glad it works now… Ill keep the relative paths in mind in the next update.

       
JT Thompson's avatar
JT Thompson
745 posts
17 years ago
JT Thompson's avatar JT Thompson
FYI this update has fixed the problems I had in IE.
Thanks for the update. Are you using this module in the wild? If so can you share the url?

I wanted to follow up on this.

I finally released the new layout. Because it’s new I was able to integrate your plugin pretty well. Right below my tags in each post.

Keep in mind, if you look on the front page there is social bookmarks there too, but they’re just manually inserted. The ones on the following link are using the module.

http://www.hillaryproject.com/index.php?/en/story-details/the_woman_who_are_invisible_to_hillary_clinton/

But I found a problem.

The digg links aren’t working. I haven’t really dug into this but it appears to be sending the wrong info. I had a digg button working there previously. I could show you the code I used if need be.

I really like this module! And as you asked previously, you’re welcome to use the pages on my site as examples for it.

EDIT: Actually here’s the problem.

Your module is linking to this:

http://digg.com/submit?phase=2&url=http://www.hillaryproject.com/index.php?/2471/&title=The%20“Invisible%20America”%20Hillary%20Never%20Sees

And it should be linking to this:

http://digg.com/submit?phase=2&url=http://www.hillaryproject.com/index.php?/&title=The%20“Invisible%20America”%20Hillary%20Never%20Sees

       
JT Thompson's avatar
JT Thompson
745 posts
17 years ago
JT Thompson's avatar JT Thompson

Unfortunately I’ve removed this add-on since I’m not getting any response or fixes. I spose I could just go in and edit the php files so maybe I’ll add it back in later. but my guess is if it’s not going to be supported now it probably won’t later either so I just did them by hand.

       
Blair Warren's avatar
Blair Warren
8 posts
17 years ago
Blair Warren's avatar Blair Warren
I’m experiencing the same problem. Wondering about step 5 in the installation process:
Copy the themes/cp_global_images/social_bookmarks directory to your /system/themes/cp_global_images directory
The themes directory is not located in the system folder. (For the record, I tried it as described in your instructions, as well as in the other location. Neither worked in either IE or Firefox. I’m running EE 1.6)

Was this issue ever addressed?

My cp_global_images directory is in my public_html (root) directory and not the system directory.

Where should these images be uploaded?

I tried uploading them to my existing cp_global_images directory without luck (i.e. none of the images are displayed on my Social Bookmarks Admin page.

I’m using EE 1.6 and Social Bookmarks 1.2.

Thanks!

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

Hey JT,

The module/plugin replaces the PERMALINK placeholder with what ever you pass through in the permalink param.

It looks to me that you where passing through the wrong url. Best way to check is to output whatever your permalink param value is inside a comment and check that it is right.

Cheers

FYI this update has fixed the problems I had in IE.
Thanks for the update. Are you using this module in the wild? If so can you share the url?
I wanted to follow up on this. I finally released the new layout. Because it’s new I was able to integrate your plugin pretty well. Right below my tags in each post. Keep in mind, if you look on the front page there is social bookmarks there too, but they’re just manually inserted. The ones on the following link are using the module. http://www.hillaryproject.com/index.php?/en/story-details/the_woman_who_are_invisible_to_hillary_clinton/ But I found a problem. The digg links aren’t working. I haven’t really dug into this but it appears to be sending the wrong info. I had a digg button working there previously. I could show you the code I used if need be. I really like this module! And as you asked previously, you’re welcome to use the pages on my site as examples for it. EDIT: Actually here’s the problem. Your module is linking to this: http://digg.com/submit?phase=2&url=http://www.hillaryproject.com/index.php?/2471/&title=The%20“Invisible%20America”%20Hillary%20Never%20Sees And it should be linking to this: http://digg.com/submit?phase=2&url=http://www.hillaryproject.com/index.php?/&title=The%20“Invisible%20America”%20Hillary%20Never%20Sees
       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

Hey Bill,

This module is really simple inside. Until I add a path option you may need to change the path in the mcp.lg_social_bookmarks.php file.

Look for (around Line 167):

$sites_list .= "../themes/cp_global_images/Lg_social_bookmarks_module/favicons/ " . $key;

and change it to what you need.

Also you may need to change the JS & CSS paths - Line 61-63

Cheers

I’m experiencing the same problem. Wondering about step 5 in the installation process:
Copy the themes/cp_global_images/social_bookmarks directory to your /system/themes/cp_global_images directory
The themes directory is not located in the system folder. (For the record, I tried it as described in your instructions, as well as in the other location. Neither worked in either IE or Firefox. I’m running EE 1.6)
Was this issue ever addressed? My cp_global_images directory is in my public_html (root) directory and not the system directory. Where should these images be uploaded? I tried uploading them to my existing cp_global_images directory without luck (i.e. none of the images are displayed on my Social Bookmarks Admin page. I’m using EE 1.6 and Social Bookmarks 1.2. Thanks!
       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham

Just a quick note to everyone using this module…

There is new documentation available on my Expression Engine customisation resource!

All updates / downloads will be made available at the link above

       
1 2 3 4 5 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.