View Full Version : Recipicole Link not working.
Stewartrose
04-11-2007, 12:13 PM
Hi Team,
I found other emails to say how this should be setup, and adjusted my config to match, but when I add a new link, it fails and said put the url to the correct place, I checked the logs on the site that I was recipricole with and it shows the script is calling the page, but not finding the url...
Any pointers would help please...
Best reagrds from Jayne..
Sergey Ten
04-12-2007, 04:49 AM
Hello Jayne,
Please post URL your site and the site which you want to add.
Stewartrose
04-12-2007, 08:30 AM
Good Morning Sergey,
This is the link http://www.highforce.com/resource/Business-Directories-and-Search-Engines.html
and the url is http://www.highforce.com
is there anything else you need Sergey...
All the best from Jayne...
Sergey Ten
04-12-2007, 09:01 AM
Hello Jayne,
Please read this thread:
http://www.esyndicat.com/forum/about9212.html
Stewartrose
04-12-2007, 12:49 PM
Hi Sergey,
I followed the information to the letter, and it still does not work, I cant think what I may be doing wrong..
All the best from Jayne
Sergey Ten
04-13-2007, 05:18 AM
Hello Jayne,
What's directives did you apply?
Stewartrose
04-13-2007, 11:01 AM
Hi Sergey
"What's directives did you apply?"
Can you explain please sorry to be so thick
All the best from Jayne
Sergey Ten
04-13-2007, 12:22 PM
Hello Stewartrose,
There are several solutions:
http://www.esyndicat.com/forum/post60003-6.html
http://www.esyndicat.com/forum/post62202-20.html
http://www.esyndicat.com/forum/post62685-27.html
Alan Walker
04-14-2007, 03:49 PM
Hi Sergey,
Mmm wll i tried all three of them and they did not work, why I have no idea I am not a programmer, so if a peice of code is that much of a problem it is probably time to dump it.. which I did... :) and probably will be shot down in flames :ooi:
So here is my simple mod to solve the problem which works..
Line 592 Suggest-link.php
if (in_array($link_header, array (200, 403, 405)))
{
$content = file_get_contents($url);
if (!empty($content))
{
$recip_valid = has_url($content, $config->get('reciprocal_text'));
}
}
Line 753 includes/util.php
function has_url($aText, $aUrl)
{
return strpos($aText, $aUrl);
}
Hope it is of value..
All the best from Jayne...
Sergey Ten
04-15-2007, 06:37 AM
Hello and welcome to our support forum Alan :)
Thank you for your solution -- it will be work BUT not correctly. The reciprocal link is a link to your site. If you have any knowledge of HTML the link is :
<a href="www.your_site.com" target="_blank">www.your_site.com</a>
If I put on my page:
<a href="www.other_site.com" target="_blank">www.your_site.com</a>
Your function will return true :)
Alan Walker
04-16-2007, 04:12 PM
Hi Sergey,
I agree, that is why i always make sure the url is put in full..
And yes I know html, but I am not a php programmer...
All the best from Jayne..
PS Alan is my partner..
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.