Here's the easy fix for no auto delete

Problems installing LinkMan?
Post Reply
robear
Posts: 3
Joined: Sun Nov 27, 2005 11:46 am

Here's the easy fix for no auto delete

Post by robear »

Alright, sometimes you know your linking partners are slow to add your link to their pages. Like with Link exchange sites.
and you want to run a check but without automatically deleting the sites, because you might want to give them one more week to catch up.

Here's my easy fix:
open index.php (the admin page) with a text editor
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 to:

Code: Select all

echo "<br>\n<font color=\"#FF0000\">LINK NOT FOUND!</font><br><br>\n\nShould Remove link<br>";
unset($lines[$i-1]);
$rewrite=0;
That's it :P
you can now check links, dead ones wont automatically be removed,
BUT you can still manually remove them by clicking the red [X]
:!: this works for me, use at your own risk :!:

Now for my Hard Fix....
make a copy of the file index.php
rename it to no_del.php
open with text editor
find / replace all instances of index.php with no_del.php
also do code change above
upload to server
test

now you have 2 admin pages, the original one to use for auto deletes
and the new one for no auto deletes :P
:!: this works for me, use at your own risk :!:
Post Reply