View Full Version : Duplicate Links Remover
aureldragut
02-25-2007, 04:50 PM
This is a code that helps you remove duplicate links that are found in the same category. The code is very simple and it worked for me on v2.1
Content visible to registered users only.
shadav
02-25-2007, 11:20 PM
where to place this code?
just make a NAME.php file? and what folder should it go into...root or other?
to run it do you just type in yourdomain.tld/NAME.php
aureldragut
02-26-2007, 12:00 AM
anywhere on the server and with any name you want.
As long as you set the data to connect to the database properly it will work.
aureldragut
02-26-2007, 03:14 AM
I had in mind to make this script remove only the duplicate links found in a category...but it was removing all the duplicates. I have made some changes to the code. I am sorry if i caused any troubles. If someone can check again the code or do something much simple, it's invited to do that.
Oleks
02-26-2007, 05:12 PM
Parse error: syntax error, unexpected T_STRING in /mounted-storage/.../duplicate.php on line 21
Does not work :(
Content visible to registered users only.
Do i have to change these like:
$pass = "mypassword";
?
aureldragut
02-26-2007, 05:26 PM
You have two choices:
1. uncomment and edit those 4 lines
2. change the 4 variables in $connection and $db
Content visible to registered users only.
navjotjsingh
06-19-2007, 04:41 PM
I want this function in version 3 of the script. Can anybody help?
webfriend
06-20-2007, 08:45 PM
This needs to be part of the script. With duplicate content being, look at by some search engines, this is a must have.
shadav
06-20-2007, 09:00 PM
i think this would be a good idea to looked into and expand upon to be standard with the script. Having an option as to what duplicates you want to remove.
Usually when I have time I just go through manually in my admin in the link section have it ordered by url and look for any obvious duplicates :D now yes this takes a long time seeing that i have roughly 4K in links lol
I'll test this script out as soon as I get a chance, sorry I haven't before, completely forgot about it.
navjotjsingh
06-20-2007, 09:06 PM
I tried it...same error as post no. 6.
I even did
$server = "value";
$user = "value";
$pass = "value";
$databasename = "value"
But it did not work. BTW in $server what should I put? localhost?
shadav
06-20-2007, 09:12 PM
what do you mean by value? you put your info in there, right?
and i would assume that yes it'd be $server = "localhost";
instead of
Content visible to registered users only.maybe try replacing it with
Content visible to registered users only. and see if that helps?
[edit]nevermind i don't think that would help any....
smartcard
11-02-2007, 08:06 PM
I am getting the following error:
Content visible to registered users only.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.