Tell a friend story link version 8.2

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-14-2007, 07:28 PM
Donor
 
Join Date: Jan 2007
Posts: 377
Hello, can someone here helps me? When I test the tell a friend function, I recieve a test tell a friend email and saw that in the tell a friend's email, it sends a broken story link.

For example the story is at mydomain.com/sub/alligatordied.php, but tell a friend will actually insert that story link in the email as mydomain.com/sub/sub/aligatordied.php. So there is extra same sub directory in the link.

Anyone know how to fix this?

This is a bug in 8.2? Thanks in advance...
Reply With Quote
  #2 (permalink)  
Old 01-24-2007, 01:00 PM
Donor
 
Join Date: Jan 2007
Posts: 377
bumb! my message
Reply With Quote
  #3 (permalink)  
Old 01-24-2007, 01:26 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
Have a link to your site? It shouldn't do this. Here is the code from recommend.php that grabs the link before it's put into the email:

Code:
$link_url = my_base_url . my_pligg_base . getmyurl("story", $link->id);
that translates to story link = www.yourdomain.com/yoursubfolder/storylink
Reply With Quote
  #4 (permalink)  
Old 01-24-2007, 08:36 PM
Donor
 
Join Date: Jan 2007
Posts: 377
I saw exact code you stated earlier in recommend.php but tell a friend still acting funky. The code in my recommend.php is like this:
Code:
$link_url = my_base_url . my_pligg_base . getmyurl("story", $link->id);
So I don't really know what's going on.

My site is at www.blogmyway.org/pdc/
Reply With Quote
  #5 (permalink)  
Old 02-03-2007, 12:21 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
I fixed the bug of the tell a friend email link putting the sub folder twice http://pligg.svn.sourceforge.net/vie...v&revision=683
Reply With Quote
  #6 (permalink)  
Old 02-03-2007, 08:34 PM
observer_24_7's Avatar
Pligg Donor
 
Join Date: May 2006
Posts: 45
Thanks . Fix works.

Quote:
Originally Posted by kbeeveer46 View Post
I fixed the bug of the tell a friend email link putting the sub folder twice http://pligg.svn.sourceforge.net/vie...v&revision=683
Reply With Quote
  #7 (permalink)  
Old 02-04-2007, 12:46 AM
Donor
 
Join Date: Jan 2007
Posts: 377
It work! Thank You
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Story Status link for RC2 does nothing argh2xxx Questions and Comments 1 02-25-2009 04:40 PM
[SOLVED] Direct link to story instead of going throught out.php or /out/ doit Questions and Comments 10 01-27-2008 06:29 PM
Link to Story after or during Submit dattard Questions and Comments 1 12-31-2007 04:27 AM
adding a link to story description codefreaq Questions and Comments 1 10-31-2007 12:52 PM
edit story and outgoing link returns blank page crusty Questions and Comments 0 08-23-2007 03:30 PM


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