Related Stories

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-03-2007, 10:50 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Using 9.5, yget.

No matter what story I click on, there are no related stories in the related stories tab.

How does it determine what stories are related?

Geoserv
Reply With Quote
  #2 (permalink)  
Old 05-03-2007, 11:07 AM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
Here are some of the comments from the related stories code...


PHP Code:
// this returns similar stories based on tags in common and in the same category    
// Select 10 stories that share tags with the current story and order them by number of tags they share 
Reply With Quote
  #3 (permalink)  
Old 05-03-2007, 11:15 AM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
I think I changed it to work between categories so it finds stories with similar tags no matter what category they're in.
Reply With Quote
  #4 (permalink)  
Old 05-03-2007, 01:01 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
I have quite a few stories in my "General" category, none of which have tags, but yet if I click on one of those stories then click "Related", nothing shows up.

Should it not show stories in the category "General" in this case?

Geoserv.
Reply With Quote
  #5 (permalink)  
Old 05-03-2007, 01:11 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
it searches for tags. A story has to have the same tags as another story to be listed in "Related Stories."

Last edited by kbeeveer46; 05-11-2007 at 01:11 AM.
Reply With Quote
  #6 (permalink)  
Old 05-03-2007, 01:46 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Ok, so without tags stories won't show up. Ok, now I understand.

Thanks for the clarification.

Geoserv
Reply With Quote
  #7 (permalink)  
Old 05-11-2007, 12:41 AM
Casual Pligger
 
Join Date: Mar 2007
Posts: 51
It doesnt' show up related links even with common tags, except when you make a search query, but afterwards, with the same article, related links are not shown anymore.
Reply With Quote
  #8 (permalink)  
Old 05-18-2007, 06:28 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
I couldn´t follow the discussion. Under which circumstances will the related links/stories be shown at the story page tabs?

I´ve tried it with my own pligg as well as with the demo (http://demo.pligg.com/story.php?titl...ed_links_works) without any success.
Reply With Quote
  #9 (permalink)  
Old 05-18-2007, 06:49 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
I dont think its working myself. It shows stories with the same tags, but I have yet to see it happen on my site.

Geoserv
Reply With Quote
  #10 (permalink)  
Old 05-18-2007, 07:32 AM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 1,960
Kbeeveer - I have some doubts on this - I have two stories with tags "tag1, tag2, tag3" and "tag1, tag4, tag5" - is there a way we can get the stories with atleast 1 tag matching?

Current implementation seems like it requires all tags to match - am not sure? many time it remains empty for me.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Related Stories from Digg, Twitter, YouTube alpapa23 Questions and Comments 0 08-04-2009 04:50 PM
Related stories in sidebar - ideas needed dollars5 Questions and Comments 1 11-19-2008 04:28 PM
Related Stories on Story Page canadianguy33 Questions and Comments 8 03-22-2008 03:39 PM
New Mod -- Display related stories revenazb Questions and Comments 46 07-07-2007 02:19 AM
Related stories empty when tags separated by space aaronpais Questions and Comments 5 06-18-2007 11:32 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