[Module] [Bug] Social Bookmark

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-11-2009, 02:27 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.1.4
Pligg Template: Mainstream
 
Join Date: Jun 2009
Posts: 89
Send a message via Skype™ to MissDanni
The social bookmark module seems to have a small bug.

When clicking on "add to" and then selecting a bookmarking service the url that is being submitted is NOT the url for the story page on the pligg site, but rather the url that the member submitted.

Is there a setting to change this or is this a bug?
Reply With Quote
  #2 (permalink)  
Old 06-11-2009, 03:35 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
No, this isn't a bug. Since Pligg is a url submission CMS it makes more sense to socially bookmark the actual real url than just a page with a link to the real url.

If you want to change that you will need to edit the social bookmark module
Open /modules/social_bookmark/templates/social_bookmark_index.tpl

Replace all instances of {$enc_url} with {$story_url}
Reply With Quote
  #3 (permalink)  
Old 06-11-2009, 05:14 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.1.4
Pligg Template: Mainstream
 
Join Date: Jun 2009
Posts: 89
Send a message via Skype™ to MissDanni
Quote:
Originally Posted by chuckroast View Post
No, this isn't a bug. Since Pligg is a url submission CMS it makes more sense to socially bookmark the actual real url than just a page with a link to the real url.

If you want to change that you will need to edit the social bookmark module
Open /modules/social_bookmark/templates/social_bookmark_index.tpl

Replace all instances of {$enc_url} with {$story_url}
I made the change you stated above, however its only giving "category/sports/..." as the url rather than http://foo.com/category/sports/..."

So I changed to {$my_base_url}{$story_url} and it seems ok.
Reply With Quote
  #4 (permalink)  
Old 06-11-2009, 05:57 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by MissDanni View Post
I made the change you stated above, however its only giving "category/sports/..." as the url rather than http://foo.com/category/sports/..."

So I changed to {$my_base_url}{$story_url} and it seems ok.
Yes, I'm sorry I forgot to add that. Glad you figured it out..
Reply With Quote
  #5 (permalink)  
Old 06-15-2010, 10:56 PM
dudesweet's Avatar
New Pligger
 
Join Date: May 2010
Posts: 18
thanks guys
Reply With Quote
Reply

Tags
social bookmark module

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bookmark Us Script Jakobi Questions and Comments 3 09-14-2009 04:55 PM
Social Bookmark Plugin MissDanni Questions and Comments 8 08-14-2009 11:47 AM
Digg & Social Bookmark theChronic Questions and Comments 17 03-12-2007 10:55 AM


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