Page 1 of 1
Removing automatic link delete function?
Posted: Wed May 11, 2005 7:48 pm
by Your Guest
Hi man,
I love your PHP LinkManager 1.01 script.
I would like to get script working so that it won't delete links automatically. Just saying Link not found, like it do now.
So can you help me with this when have extra time? (iif this is allowed of course)
I have no experience in coding but looks like its admin.php that need to be edited.
Posted: Sat May 14, 2005 1:05 pm
by Klemen
Working
Posted: Sun May 15, 2005 1:51 am
by Your Guest
Thanks alot man! This is working just like I wanted.
Only needed to change all index.php --> admin.php -inside file.
Your script got my vote!

linkmand no delete
Posted: Sat Oct 15, 2005 7:12 pm
by shawnsmithnj
is this something that can be switched on and off in the setup ? im new and not sure if this is in the ver i just downloaded...
Posted: Sat Oct 15, 2005 8:35 pm
by Klemen
Nope, the original version automatically deletes expired links. But I will probably add on/off sometime soon.
Posted: Thu Jan 19, 2006 10:26 pm
by seawind
I would like to do the same thing but in the latest version v1.02. What did you change in the script?
Thanks,
Ryan
Posted: Sat Jan 21, 2006 12:20 pm
by Klemen
Hi,
In index.php line 229 you will find
Code: Select all
echo "<br>\n<font color=\"#FF0000\">LINK NOT FOUND!</font><br><br>\n\nRemoving link ...<br>";
unset($lines[$i-1]);
$rewrite=1;
Change all that that to just
Code: Select all
echo "<br>\n<font color=\"#FF0000\">LINK NOT FOUND!</font><br><br>\n\n";
Haven't tested it, but should work.
Posted: Mon Jan 23, 2006 2:45 am
by seawind
Klemen,
Works like a charm! Thanks!
Ryan