Gossamer Forum
Quote Reply
Blacklist
Here's a suggestion for a plug. As a directory grows, there's bound to be people that keep submitting sites that you really don't want to list - and after a while is hard to remember the domains. How about a plug that keeps track of blacklisted domains, and makes it impossible for them to submit.

Regards Dane

Quote Reply
Re: Blacklist In reply to
1) Create another table called Blacklist with the following columns:

BlackListID
URL
Comments

2) Then add another option in the validate process that moves the URL field value to the BlackList table before deleting the bad link you do not want to validate.

3) Then add query codes in the add.cgi to check the INPUTTED URL against the values in the BlackList table. If the URL if found in the BlackList table, then the add form errors out. If it is not in the BlackList, then the link is successfully submitted into the Links table.

With a little bit of hacking, this should not be hard to do.

Regards,

Eliot Lee
Quote Reply
Re: Blacklist In reply to
Thanks Eliot,

You make it sound so simple, but unfortunately I'm totally unable to do any programming whatsoever :(
Would it not be something most sites could use ? Maybe one of you hackers could make a few bucks putting it into a plug.

Regards Dane

Quote Reply
Re: Blacklist In reply to
I would be interested in this too. Being able to ban by domain, e-mail address, or IP (the IP the person is using to submit, not the IP of the site submitted) would be very useful.