Gossamer Forum
Home : Products : Links 2.0 : Customization :

Need Info on setting up a black list

Quote Reply
Need Info on setting up a black list
Can someone please give me simple step by steps on how to set up a black list, so I may block submitters from submitting to my link list.


Really needing help on this matter.

Thanks for your time in advance.
Quote Reply
Re: [slickrick] Need Info on setting up a black list In reply to
Do you mean a black list to prevent specific IP's/referers from submitting, or a black list of websites you don't want allowed through the submition process?

Philip
------------------
Limecat is not pleased.
Quote Reply
Re: [fuzzy logic] Need Info on setting up a black list In reply to
An easy help-fix is to use the referrer feature built into links. In links.cfg, you can enter referrers, and then the add.cgi can only be accessed from them. This means that if you set the refferer to yourself, you index page, then links can only be submitted by clicking the Add Link button from there, and not by going directly to the add.cgi. May help...


Leonard
aka PerlFlunkie
Quote Reply
Re: [fuzzy logic] Need Info on setting up a black list In reply to
Yes Fuzzy I want to be able to block some people from submitting their site because they are not attempting to follow my rules and well they are adding the same site 20 + times every time they attempt to submit



I do not know a lot about this a friend of mine had set up the link admin and all the other stuff involved.
Thats why I am looking for a simple step by step thats easy to understand with my lack of knowlage on perl, cgi, and gossemer threads..etc etc
Quote Reply
Re: [PerlFlunkie] Need Info on setting up a black list In reply to
perlflunkie

I don't understand half of what you said, No offence. I just cant an understanding of this
Quote Reply
Re: [slickrick] Need Info on setting up a black list In reply to
Here's something that may work:

http://lookhard.hypermart.net/...-mods/blockurls.html

or

http://www.gossamer-threads.com/...i?post=141832#141832

or

http://www.gossamer-threads.com/...i?post=105746#105746
(made for linkdead.cgi. would probably work for add.cgi.)

---------------

From links.cfg:

# Database Options
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn't support it (Win95),
# then turn this off at your own risk!
$db_use_flock = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
$db_nocache = 0;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 0;
# Field number of category in category.db
$db_main_category = 1;
# Referers -- which hosts are allowed to add to your database.
@db_referers = ();

...explained...
@db_referers If you enter your sites' URL and/or IP address ("http://mysite.com","http://www.mysite.com","12.345.678"), then the add.cgi can only be accessed by using a link from your site (Add A Resource); it will no longer function by going directly to it, as in pointing your browser to http://mysite.com/cgi-bin/links/add.cgi. Using @db_referers will reduce the chances of your site being besieged by mass-submissions (spam). Note that each entry between the (parenthesis) is contained by "double quote" marks, and seperated by commas. Also, enter all URLs that apply to your site, with and without the 'www'. If you have a static IP address, you can use it, too.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Need Info on setting up a black list In reply to
That mine as well be in another langauge. I dont understand any of that. I am new to this form of langauge. thats why I am asking for step by step instructions. Something that is simple and easy to understand... I guess I'll do without getting it set up.