[Module] [Bug] Social Bookmark

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-11-2009, 01:27 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.0.2
Pligg Template: mystique
 
Join Date: Jun 2009
Posts: 70
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, 02:35 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,828
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}


Get the full Pligg Module Pack today.

Anyone want the domain MyHubb.com ? Bid Now!




Reply With Quote
  #3 (permalink)  
Old 06-11-2009, 04:14 PM
MissDanni's Avatar
Casual Pligger
Pligg Version: 1.0.2
Pligg Template: mystique
 
Join Date: Jun 2009
Posts: 70
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, 04:57 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Galleria
 
Join Date: Jun 2006
Posts: 3,828
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..


Get the full Pligg Module Pack today.

Anyone want the domain MyHubb.com ? Bid Now!




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 03:55 PM
Social Bookmark Plugin MissDanni Questions and Comments 8 08-14-2009 10:47 AM
Digg & Social Bookmark theChronic Questions and Comments 17 03-12-2007 09: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