If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Free Link Page 1.2 human verification  XML
Forum Index » General Discussion
Author Message
feldon
Beginner
[Avatar]

Joined: 12/12/2005 19:29:50
Messages: 6
Offline

Hi

Is there somebody who know how to add simple human verification
to Free Link Page 1.2 ?

I really need it.

Feldon
[WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

Open addlink.html and find



Replace that with



Feel free to change "Type <b>Mozart</b> into the box below." to suit your needs

Save and close the file

Open up links.pl which is in your cgi-bin

Find



Start a new line after the } and put the following there



If you changed the "Type <b>Mozart</b> into the box below." text in the earlier instruction then change the mozart in the last instruction to match the required answer.

The test is not case sensitive so if the answer is blue it will accept BLUE, blue or even BlUe

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
feldon
Beginner
[Avatar]

Joined: 12/12/2005 19:29:50
Messages: 6
Offline

Thank you very much I'll try it immidiatly.

Feldon
[WWW]
feldon
Beginner
[Avatar]

Joined: 12/12/2005 19:29:50
Messages: 6
Offline

Problem when I try to Submit URL


Feldon
[WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

Open links.pl again and replace

if (lc($FORM{'bottest'}) ne "mozart") {


with

if ($FORM{'bottest'} ne "\Lmozart") {

I hope thats right anyway.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
feldon
Beginner
[Avatar]

Joined: 12/12/2005 19:29:50
Messages: 6
Offline

No still donsen't work.

Feldon
[WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

Send me your links.pl to webmaster@carbonize.co.uk

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
feldon
Beginner
[Avatar]

Joined: 12/12/2005 19:29:50
Messages: 6
Offline

Carbonize wrote:Send me your links.pl to webmaster@carbonize.co.uk

Yes i'll do that.
But I think I know what a problem is...
When I'm trying to open my links.pl with text editor 'notpad' I can't read it.
So I was trying with my ori file with aout any changes to just open and save it with Dreamweaver and after uploading it don't work.
So I think there is a chnace that your codes work wel.

Feldon
[WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

your text editor should open it just fine or failing that wordpad. Personally I use PSPad.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
feldon
Beginner
[Avatar]

Joined: 12/12/2005 19:29:50
Messages: 6
Offline

Carbonize wrote:your text editor should open it just fine or failing that wordpad. Personally I use PSPad.

I know.

I've just find an 'old' back up of links.pl and I've changed with your code (from your first message) and now it work.
Strange that I waesn't able to correctly edit the original file from my server.

Thank you very much for all your help!

Feldon
[WWW]
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Thanks, Carbonize. I am going to try this when I get the time.

I also noticed that people are searching for "ffa" just so they can add their links. They don't even bother to visit your other pages. In an effort to limit the free links pages to actual site visitors, I got rid of the ffa- at the beginning of the pages, and it has helped considerably. So now, the file that used to be named ffa-business.html is just business.htm. Also added robots meta tag, "noindex,nofollow". . . or should it be "noindex,follow"?

Renamed "addlink.html" and added a form they can submit if they wish to delete a link.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

I am the king of antispam mods lol.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

The code worked perfectly. Thanks again.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

I might write a free links page. Start an entire range of Lazarus scripts. Lazarus Links

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Carbonize wrote:I might write a free links page. Start an entire range of Lazarus scripts. Lazarus Links


Please consider a Lazarus shopping cart. There are several carts out there but none very practical. OSCommerce and ZenCart use too many files.

Some of us need an address book that can be integrated into PhpBB - for club membership.
 
Forum Index » General Discussion
Go to:   
Based on the open source JForum