View Single Post
  #1 (permalink)  
Old 10-12-2006, 01:15 AM
The Humanaught The Humanaught is offline
Casual Pligger
 
Join Date: Jun 2006
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts
Question Trackback Linkback Wrong

Greetings all, day four of the Great Pligg Upgrade and I've found a problem that I think is easy to fix for someone with some PHP knowledge. That person, sadly, is not me.

Basically, the trackback is working fine in that when a user submits a new story, and the Trackback field is filled out properly in the submission, the PLIGG SITE sends a trackback to the original SOURCE site. This is particularly useful for sites that PLIGG a lot of blogs -- as the trackback often appears in the comments, giving viewers of the comments a chance to click over to the PLIGG SITE (added traffic,etc) via a linkback URL to the PLIG SITE's story page relating to the trackback'd post.

Ok, I know that's a bit confusing, as it literally goes in circles - but try following, as the problem comes next:

Whereas the setting in the Config2.php file gives a name to the commenter (say, PLIGG SITE NAME), it does nothing to change the commenter's URL (say, http://www.PLIGGSITE.com). The settings for this, I think, are in the libs/trackback.php file.

Currently it is set up as this:
[base_url]/story/story_id (ie. www.pliggsite.com/story/512)

But it should be:
[base_url]/[pligg_subdir]/story/story_id (ie. www.pliggsite.com/pliggsubdir/story/512)

It's currently not set up for sites that have installed Pligg in a subdirectory of their main site.

Can anyone suggest how to fix this? Confirm that it does indeed centre around the libs/trackback.php file?

Thanks a load!!
__________________
The Hao Hao Report: The Best Stories About China
Reply With Quote