News:

Wondering if this will always be free?  See why free is better.

Main Menu

Avatar Verification

Started by Akyhne, October 18, 2009, 09:32:39 PM

Previous topic - Next topic

Akyhne

Quote from: societyofrobots on May 07, 2010, 11:53:13 PM
This mod causes ~3 pages of errors per day . . . spiders like my website . . .
Exactly how does the links look in the error log?

Akyhne

#81
See if this helps you:

societyofrobots

Quote from: Akyhne on May 10, 2010, 04:43:56 AM
Quote from: societyofrobots on May 07, 2010, 11:53:13 PM
This mod causes ~3 pages of errors per day . . . spiders like my website . . .
Exactly how does the links look in the error log?
http://www.my_site.com/forum/index.php?action=verificationsimages&avatar=069a30aee6b855aa044e939ba92dbb1f&type=2


The error I mentioned before was just one of them. There are others:
Quote
2: imagejpeg(): supplied argument is not a valid Image resource
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 143

8: Undefined variable: im
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 134

2: imagecopyresampled(): supplied argument is not a valid Image resource
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 133

2: imagefilledrectangle(): supplied argument is not a valid Image resource
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 87

2: imagecolorallocate(): supplied argument is not a valid Image resource
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 86

2: imagecreatetruecolor() [<a href='function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 85

2: Division by zero
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 83

2: imagesy(): supplied argument is not a valid Image resource
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 77

2: imagesx(): supplied argument is not a valid Image resource
File: /home/folder/public_html/forum/Sources/Subs-CaptchaAvatar.php
Line: 76

Akyhne


Akyhne

Hmm, why do I even bother correcting errors when no one bothers testing...

societyofrobots

Quote from: Akyhne on May 16, 2010, 08:49:14 AM
Hmm, why do I even bother correcting errors when no one bothers testing...
You didn't make it an official release, and I don't have time to fiddle with betas ;)

That said, it seems to be working and no more errors. Thanks dood!

kibtwane

Quote from: h78509 on January 27, 2010, 07:52:39 AM
I have 2 questions:

1. It says on the installation: "A Manual edit will be required for ALL themes (other than SMF Default Core Theme) which have a custom Register.template.php
If you don't perform the manual edit, nobody will be able to register using those themes."


I'm using RC2 Curve. So.. what is this edit I'm required to do? Or do I have to figure it out by myself?


2. In the option: "Folders from which to use avatars as verification", what format should I use?

/avatars/dogs ?
avatars/dogs ?
ht*p://mysite.com/avatars/dogs ?


Right now I only have numbers in boxes, no images, but the mod looks awesome. Thanks for posting it.

Your second question is what I'd like an answer to.  I've tried all formats and none of them works.  I keep getting the same images as you, the boxes with the numbers in them.  My folder is avatars/Street Signs.

Akyhne

#87
Just Street Signs. However, I don't remember if spaces are supported.

EDIT: spaces in folder names are supported.

kibtwane

Akyhne, how should "Street Signs" be entered in the "Folders from which to use avatars as verification" box? What is the correct format?  Should it just be "Street Signs" or "/Street Signs" or is the whole url required?

Akyhne

"Street Signs" without quotes.
And it's case sensitive.

Akyhne

Updated for RC4. Not really any changes, except RC4 compability.

parsa

#91
I'm not sure what I'm doing wrong, but I get blank colored boxes with numbers in them instead of images. I figured I had the Settings wrong, and the mod could not find the avatar files. So when I went to registration Settings in Administration I saw:



Obviously, it's kind of hard to change the settings. Any idea what is causing this? I'm using 1.1.12

This is what the initial verification page looks like:



Note that there's no text either.

Akyhne

Well, if you are running English, then something went wrong during installation. Look in your error log.

russ skinner

Hi Akyhne,

Installed your mod (SMF 2.0 RC4) and all functions well. However, it changes all forum members who have never selected and avatar (no pic) and any new members who sign up to the Alanis morissette Avatar in the musicians sub folder - uninstalling the mod reverts these users back to no pic. Any idea how I can run you mod and still have no pic selected?

Thanks,

Russ

Akyhne


russ skinner

Thanks. For the record uninstalling the mod does not revert members back to no pic - I had to edit the dbase.

Akyhne

Solved. New version 1.4 available. The problem with Alanis morissette Avatar has been in all older versions, it seems.

russ skinner

Many thanks Akyhne.

Great mod by the way, which on the forum I look after has drastically cut bot/spammer registrations. They were becoming a real pain, easily getting past SMF's built in captcha.

Akyhne


TheListener

Hi Akayhne

Testing the mod all I see is red lines and no pictures.

Any ideas?

There were no errors on installation.

Advertisement: