Advanced Visual Verification (captcha)

Started by Daniel15, August 17, 2007, 06:06:13 AM

Previous topic - Next topic

vhs

Same problem here:
imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Could not read font
File: /Sources/Verification.php
Line: 946


When i switch to default "english" file (not utf8) then mod is working fine, but i have to use polish-utf8 lang file and then there is just blank place in the captcha place.
Please help  :(
Dating online [nofollow]

Dorian

Quote from: Alundra on June 07, 2008, 08:51:39 PM
2: imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Could not read font
File: /Sources/Verification.php
Line: 946

I'm getting these errors on a clean 1.1.5 installation....how do I fix it?
You need to have the fonts used in this mod in some folder, dunno which one right now, maybe just try to reinstall it (remove it via packages manager and then install it) to fix that.

Quote from: vhs on July 14, 2008, 08:21:49 AM
When i switch to default "english" file (not utf8) then mod is working fine, but i have to use polish-utf8 lang file and then there is just blank place in the captcha place.
Please help  :(
Download and open all your language files and remove the Byte-Order-Mark. There's a bug in PHP which causes it to always add the Byte-Order-Mark to the output of the script, no matter what the output is. You can remove the byte order mark, with an UTF-8 compatible Texteditor like Notepad++. Open the file, select Save as and in the Codepage dropdown select UTF-8 without BOM and save the files with the same name, as they had before. Then upload the language files back to your server.
I'm your creativity creator:)

Jiveturkey

I'm trying to uninstall this mod because it's preventing me from upgrading to 1.1.6 and this is what I got.

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Sources/Register.php    Test successful
3.    Execute Modification    ./Sources/Subs-Graphics.php    Test successful
4.    Execute Modification    ./Themes/default/Register.template.php    Test failed
5.    Execute Modification    ./Sources/Post.php    Test successful
6.    Execute Modification    ./Themes/default/Post.template.php    Test failed
7.    Execute Modification    ./Sources/Search.php    Test successful
8.    Execute Modification    ./Themes/default/Search.template.php    Test failed
9.    Execute Modification    ./Sources/PersonalMessage.php    Test successful
10.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
11.    Execute Modification    ./Sources/ManageRegistration.php    Test successful
12.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
13.    Delete File    ./Sources/Verification.php    
14.    Delete Tree    ./Themes/default/ttf_fonts


Any thoughts on how to get this uninstalled?

bob

I need this mod because the colored one SMF uses by default doesn't work right on my server.

On one forum, I just backed up the Sources dir and SSI.php and index.php and ran the update anyway. It worked fine ( if it didn't I could just have restored the backed up files).

I diffed the resulting Register.php and Register.php~ files and the only 2 lines that were different involved the captcha code (and one for the version #) and the changes looked fine. It seems to be working fine as well YMMV.


Quote from: Jiveturkey on September 10, 2008, 05:18:35 PM
I'm trying to uninstall this mod because it's preventing me from upgrading to 1.1.6 and this is what I got.

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Sources/Register.php    Test successful
3.    Execute Modification    ./Sources/Subs-Graphics.php    Test successful
4.    Execute Modification    ./Themes/default/Register.template.php    Test failed
5.    Execute Modification    ./Sources/Post.php    Test successful
6.    Execute Modification    ./Themes/default/Post.template.php    Test failed
7.    Execute Modification    ./Sources/Search.php    Test successful
8.    Execute Modification    ./Themes/default/Search.template.php    Test failed
9.    Execute Modification    ./Sources/PersonalMessage.php    Test successful
10.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
11.    Execute Modification    ./Sources/ManageRegistration.php    Test successful
12.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
13.    Delete File    ./Sources/Verification.php    
14.    Delete Tree    ./Themes/default/ttf_fonts


Any thoughts on how to get this uninstalled?

KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

jonathanE.

I just tried the available package in 1.1.6 and it works "fine".

The inverted comas is due to the fact that even though it shows an error during install

Quote1.     Execute Code     installverification.php     
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Sources/Register.php    Test failed
4.    Execute Modification    ./Sources/Subs-Graphics.php    Test successful
5.    Execute Modification    ./Themes/default/Register.template.php    Test successful
6.    Execute Modification    ./Sources/Post.php    Test successful
7.    Execute Modification    ./Themes/default/Post.template.php    Test successful
8.    Execute Modification    ./Sources/Search.php    Test successful
9.    Execute Modification    ./Themes/default/Search.template.php    Test successful
10.    Execute Modification    ./Sources/PersonalMessage.php    Test successful
11.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
12.    Execute Modification    ./Sources/ManageRegistration.php    Test successful
13.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful

it surprisingly works fine afterwards, during the 'Register' process I mean.

Whereas the feature that does not work with Guest post and the YaBB theme I am using. As there is no error related to it, as far as I know, during the installation so I do not know what the problem might be.

chep

Quote from: motumbo on September 11, 2007, 02:58:46 AM
There is a major bug in this mod.

The captcha code for visual verification is in TWO different places in the private message screen in my installation.  Not only that, but it does NOT work, even when you correctly fill out the captcha information in both places.

I believe one is above the text box where you type your message and the other is just above the submit button.



When did this get fixed? I have an older version but when I download the latest one there is no difference between it and my version. How can I get this fixed?

rbw

Hi,
this mod has had issues when trying to upgrade to SMF 1.1.6 from 1.1.5 - the upgrade fails on Register.php, and so does the uninstall of the Advanced Visual Verification mod.  I uninstalled it regardless of the test fail and upgraded my forum.  Now it is back to haunt me, and I'm having issues with posting as a guest, it gives an error from Sources/Post.php saying it needs Sources/Verification.php.

I re-installed the mod and now the CAPTCHA image comes out all screwed up (less than 5 letters at times, and it is impossible to get the letters correct, even when it does give 5 letters).

I have no option but to completely uninstall this, so how do I manually get this totally off my forum for now? :(

Thank you!

KahneFan

Quote from: jonathanE. on September 29, 2008, 11:55:25 AM
it surprisingly works fine afterwards, during the 'Register' process I mean.

Unfortunately it still does not appear to work properly with my registration process. I just tried installing it again and I (a guest) can not register with it installed.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

rbw

#49
OK, after a long period of a broken board and no replies I was getting frustrated.  I finally had more than ten minutes to sit down to it and got it manually uninstalled.  Here is the error i was getting:

Fatal error: post2() [function.require]: Failed opening required '[directory]/forum/Sources/Verification.php' (include_path='.:/usr/lib/php') in [directory]/forum/Sources/Post.php on line 1290

The solution, after uninstalling the mod by the admin panel, is to go into Post.php and remove the code including and between the tags:
      // --- Begin added code - Advanced Visual Verification ---
      
      // --- End added code ---
This did it.  Hopefully nothing else was left behind by it :(

ChaosEnergy

QuoteOkay, finally got the "missing characters" problem solved too. Aparantly my server had troubles with the dymo.ttf font and was unable to display it. When trying to open the font on my Mac, Font Book just crashes. It's weird that I have the exact same problem on another server with a SMF installation that is -not- from the same package, so it seems like the problem with the font is somewhere in the source package maybe? ::)

Anyhow, the mod is working perfectly now. I'll just leave my own problem solving message in here in case someone else is experiencing the same weird behaviour and might use the search function in here. :-)

THANKS A LOT!!!!
Now more missing letters, no more filled up error log, now more frustrated user
Chaos Empire ®

dkounal

Hello, great mod, I got rid of robots but it has some problems.
1. Sometimes you have 4 chars instead of 5
2. I got the following message that does not happen every time:
Quote2: imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Could not read font
Αρχείο: /home/xxxx/public_html/forum/Sources/Verification.php
Γραμμή: 946
My /home/xxxx/public_html/forum/Themes/default/ttf_fonts has the following fonts:
acidic.ttf
borduu.ttf
cbgb.ttf
corporeaa.ttf
dymo.ttf
fanzine.ttf
jaii.ttf   
kulminoituva.ttf

Any ideas?

ArrayInteractive

Requiring captcha for guest posts would be an amazing feature for me. It sounds like this mod will do the trick. Wondering if anyone has had any luck installing it on 1.1.8?

Or are there any other mods that would implement a captcha verification for guest posts?

Thanks.
smf 2.0.2

acewashere

Quote from: ArrayInteractive on February 10, 2009, 12:38:54 AM
Requiring captcha for guest posts would be an amazing feature for me. It sounds like this mod will do the trick. Wondering if anyone has had any luck installing it on 1.1.8?

Or are there any other mods that would implement a captcha verification for guest posts?

Thanks.

I had this installed on 1.1.7, but when I upgraded to 1.1.8 registration broke.

Removed it and registration worked as normal again. Tried to manually install on 1.1.8 (it would not auto install for me) and wound up breaking the entire forum, had to restore from backup. So now I'm without my favorite mod.

ArrayInteractive

Damn! Thanks for saving me the trouble though...
smf 2.0.2

el_neurotico

Hey,

so there's no other way to prevent bot's from spamming on the forum if guests are allowed to write? Is there any other viable solution for 1.1.8 version of SMF?

Thanks for help.

eline

tx to iRuben for htions about broken font ;) great tip, big + for u ...

Chemicaltrails

I downloaded the latest version of advanced visual verification from the customization site and on the first step of installation it warns me that it is not recommended to install the modification because the following file has failed...

./Sources/Register.php Test failed

I then upgraded my forum from 1.1.9 to 1.1.10 thinking that might resolve the problem.  It now says that the advanced visual verification is not compatible with this version.

I'm hoping this "Daniel" guy decides to upgrade the mod.  But I understand if he doesn't.

Narlas

#58
I have forum on 1.1.10 ver.
Advanced Visual Verification 1.2 is not working for me. I tried to use default theme and english language but no captcha images are shown for not registered users. Can u help me? Here ist the list of installed components:

Verification.php~ (83067 bytes)
Verification.php (83052 bytes)
installverification.php (2235 bytes)
readme.txt (1026 bytes)
ttf_fonts/acidic.ttf (49516 bytes)
ttf_fonts/borduu.ttf (9540 bytes)
ttf_fonts/cbgb.ttf (10180 bytes)
ttf_fonts/corporeaa.ttf (8020 bytes)
ttf_fonts/dymo.ttf (21328 bytes)
ttf_fonts/fanzine.ttf (13812 bytes)
ttf_fonts/jaii.ttf (10808 bytes)
ttf_fonts/kulminoituva.ttf (13912 bytes)
install.xml (54223 bytes)
package-info.xml (1180 bytes)

My DB:
Forum version: SMF 1.1.10
Current SMF version: ??
PHP version: 4.3.4
MySQL version: 5.0.67-community-log
Server version: Apache/2.0.59 (Unix)
GD version: bundled (2.0.15 compatible)

Its not in language, i tried everythnig (turn on/off the language, the theme...) and tried everythning mentioned in common topics, nothing helped.
Take a look:
god.czweb.org/index.php?action=post;board=10.0

Dont know what should I do. Thanks for any help.

Chamaeleon


Advertisement: