Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Harzem on September 18, 2006, 08:46:15 AM

Title: Advanced Visual Verification
Post by: Harzem on September 18, 2006, 08:46:15 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=474)
Rate this Mod (http://mods.simplemachines.org/index.php?action=review;sa=add;mod=474)

Advanced Visual Verification Mod
by HarzeM

This mod replaces default verification code system of SMF 1.1 with an advanced system.

Only Works for SMF 1.1!

- Ask image in registration
- Ask image in guest posting
- Ask image when a guest or a member searches the forum
- Ask image when sending personal messages
- One image can be valid for more than one searches or PMs!
- Put an upper limit of failures
- Block users by defined minutes when they reach maximum failure limit
- Select one of the three image types and backgrounds
- Select image size
- Select number of characters
- Generate effective images even if your server doesn't have GD installed!
- Generate effective fontss even if your server doesn't have FreeType installed!
- Logs failures in error log.

You can modify the settings via
Admin > Registration > Visual Verification

Please vote and comment on this mod if you like it!

Version History:
1.1 - Bug Fix and SMF 1.1 update
1.0 - Initial Release
Title: Re: Advanced Visual Verification
Post by: denislici on September 18, 2006, 10:41:08 AM

thanks HarzeM, what about turkish version?
Title: Re: Advanced Visual Verification
Post by: Harzem on September 18, 2006, 01:00:17 PM
Quote from: denislici on September 18, 2006, 10:41:08 AM

thanks HarzeM, what about turkish version?

Already in Turkish boards!
Title: Re: Advanced Visual Verification
Post by: J. Williams on September 18, 2006, 03:28:55 PM
Cool, so we'll have to wait a while though :P
Title: Re: Advanced Visual Verification
Post by: RoarinRow on September 18, 2006, 03:30:33 PM
Great, thanks for this.  Just waiting for download to be available.   8)
Title: Re: Advanced Visual Verification
Post by: Harzem on September 18, 2006, 03:33:14 PM
There is a problem when the host has GD installed, but FreeType is not installed. 'Ive got two negative reviews and decided to solve the problem tonight.
Title: Re: Advanced Visual Verification
Post by: Harzem on September 18, 2006, 05:44:42 PM
Ok, I've updated the mod. It is available for download again. Please inform me about any issues you have. And if it is not a big deal for you, please put a sample image here (I want to see whether it creates good images without certain libraries), or put a forum link so I can see myself.
Title: Re: Advanced Visual Verification
Post by: winrules on September 18, 2006, 06:03:06 PM
Heres some samples :)
Title: Re: Advanced Visual Verification
Post by: sawz on September 18, 2006, 06:09:13 PM
thanks HarzeM, been waiting for something like this.
works fine for me.
Title: Re: Advanced Visual Verification
Post by: RoarinRow on September 18, 2006, 06:47:22 PM
Looks good, thanks!
Title: Re: Advanced Visual Verification
Post by: RoarinRow on September 18, 2006, 10:45:54 PM
I got these errors.  Any idea how to resolve:

8: Undefined index: verificationAskGuestSearch
File: /forum/Sources/Search.php
Line: 289

8: Undefined index: verificationAskPM
File: /forum/Sources/PersonalMessage.php
Line: 1379

For the Search and PM options, I left them unchecked in the Control Panel, but I left the default number 5 in the box.
Title: Re: Advanced Visual Verification
Post by: chipcomputer on September 19, 2006, 08:52:47 AM
Number one Harzem Thanks :)
Title: Re: Advanced Visual Verification
Post by: J. Williams on September 19, 2006, 10:46:03 AM
Quote from: RoarinRow on September 18, 2006, 10:45:54 PM
I got these errors.  Any idea how to resolve:

8: Undefined index: verificationAskGuestSearch
File: /forum/Sources/Search.php
Line: 289

8: Undefined index: verificationAskPM
File: /forum/Sources/PersonalMessage.php
Line: 1379

For the Search and PM options, I left them unchecked in the Control Panel, but I left the default number 5 in the box.


When you uncheck them, they lost their value; when defined; that have a value.
Title: Re: Advanced Visual Verification
Post by: Harzem on September 19, 2006, 10:47:58 AM
I'll fix these errors in the nex bugfix release.
Title: Re: Advanced Visual Verification
Post by: RoarinRow on September 19, 2006, 10:57:28 AM
Quote from: HarzeM on September 19, 2006, 10:47:58 AM
I'll fix these errors in the nex bugfix release.

Great, thank you. 
Title: Re: Advanced Visual Verification
Post by: Inque187 on September 19, 2006, 05:54:02 PM
Works like a charm! Thank you! Much better than the previous. Is there any way to set it to be visible with dark themes or different color themes? It it seems out of place when it doesn't match the theme color. I have a black background and the only setting that comes close to looking good is the "random colors" but it is harder to read.

http://forums.fbi-clan.org/index.php?action=register
Title: Re: Advanced Visual Verification
Post by: micaug on September 20, 2006, 02:03:26 PM
Hello,

I've just installed this mod and it doesn't work for :
    Firefox 1.5.0.7
    language : French UTF 8
    theme : SMF Default Theme - Core

I have no button in Admin/registry (in french of course)
and no image in the registry pannel.

What must I do ?

Thanks
Title: Re: Advanced Visual Verification
Post by: Harzem on September 20, 2006, 02:26:17 PM
It doesn't have french support. It automatically installs itself to the english language files. You should open index.english.php, navigate through the bottom and copy the string block to the corresponding french file. So it will be able to work in french.
Title: Re: Advanced Visual Verification
Post by: Craig on September 20, 2006, 03:59:05 PM
how easy would it be for me to use this with rc2 i only want it on the reg page...

im thinking of uploading the Subs-Graphics.php from rc3 upgrade and just editing the reg template and reg source file and the  ManageRegistration.php then running the script...

would this way work on rc2 ?

i know there is one made for rc2 already but i have the blank reg page issue with that one and searching around there dosnt seem to be a fix  :(

if it is alittle harder to add to rc2 because of a database upgrade with the new rc3 will there be a rc2 version of this released for people who dont want to upgrade yet because of the amount of mods they have on there board ?

i do all my mod changes by hand so just a brief description on what would or would not work would be fine  :)

what ever your answer... congratulations great mod that has came just intime to stop all the new breed of spammers appearing  ;)

Title: Re: Advanced Visual Verification
Post by: micaug on September 20, 2006, 04:02:56 PM
Harmez,

Texts have been added to the language file and now I have the option botton in admin/registrery, but in "Visual Verification" panel, when I click on preview, there is no image (there is one if I choose english as language).

The path (display with Web developer tools bar in Firefox) is :
Src=http://familleben.lespages.info/forum/index.php?action=verificationcode;rand=7814b2b72b24f8d2603096d61a6ef189;bgtype=0;size=0;chars=3

Is there something else to do ?
Title: Re: Advanced Visual Verification
Post by: Harzem on September 20, 2006, 04:11:31 PM
@ Craig:

I can't guarranty that it will work perfectly. But this would be what I'll try:

* Copy the subs-sound.php of rc3 to your forum, and sound folder in the theme directory.
* Replace Login.english.php file of your forum with rc3 one.
* Edit register template and source file according to the changes that the mod suggests for rc3. You won't be able to find all codes, but try to find the places where the codes are supposed to be, then play with them a bit.
* install the mod, ignoring the warnings on the flies you've edited.
* You don't need the subs-graphics file.

Of course, you may mess everything up, so create backups of the files you've edited.

If it doesn't work, I don't know how to imitate rc3 behavior :) I'm not planning to create a mod for RC2, because it doesn't have built-in sound support. My mod doesn't create sound functionality, just modifies the current one. But the mod totally replaces graphics functionality.


@ micaug:

I have no idea why it won't display it in your forum. I have a Turkish version of the mod and it works without problem. Have you translated the strings, or just copied and pasted?
Title: Re: Advanced Visual Verification
Post by: Craig on September 20, 2006, 04:34:22 PM
WOW quick responce... thank you very much that puts me in the right direction...

i will give it a go and let you know how i got on... if it dont work i will have a copy of it when i upgrade  ;)

im always the last to upgrade just find the pick of mods better that way  :)

thank again   ;)
Title: Re: Advanced Visual Verification
Post by: micaug on September 20, 2006, 04:42:38 PM
HarzeM,

I've just copy and past.
Title: Re: Advanced Visual Verification
Post by: Harzem on September 20, 2006, 05:35:57 PM
Quote from: Inque187 on September 19, 2006, 05:54:02 PM
Works like a charm! Thank you! Much better than the previous. Is there any way to set it to be visible with dark themes or different color themes? It it seems out of place when it doesn't match the theme color. I have a black background and the only setting that comes close to looking good is the "random colors" but it is harder to read.

http://forums.fbi-clan.org/index.php?action=register

Open Verification.php and find:

      $background_color = array(234, 237, 243);
      $foreground_color = array(64, 101, 136);

Then change the RGB color values to something you want. use paint or photoshop to detect the colors for example. I think this will work:

      $background_color = array(68,68,68);
      $foreground_color = array(200,210,220);

Quote from: micaug on September 20, 2006, 04:42:38 PM
HarzeM,

I've just copy and past.

Can you open Verification.php, find:

      header('Content-type: image/gif');

replace:

      // header('Content-type: image/gif');

Then visit http://familleben.lespages.info/forum/index.php?action=verificationcode;rand=bfcc361cc6179ed113088a973420ac2a
and tell me the error it gives?
Title: Re: Advanced Visual Verification
Post by: Craig on September 20, 2006, 06:11:11 PM
Quote from: HarzeM on September 20, 2006, 04:11:31 PM
@ Craig:

I can't guarranty that it will work perfectly. But this would be what I'll try:

* Copy the subs-sound.php of rc3 to your forum, and sound folder in the theme directory.
* Replace Login.english.php file of your forum with rc3 one.
* Edit register template and source file according to the changes that the mod suggests for rc3. You won't be able to find all codes, but try to find the places where the codes are supposed to be, then play with them a bit.
* install the mod, ignoring the warnings on the flies you've edited.
* You don't need the subs-graphics file.

Of course, you may mess everything up, so create backups of the files you've edited.

If it doesn't work, I don't know how to imitate rc3 behavior :) I'm not planning to create a mod for RC2, because it doesn't have built-in sound support. My mod doesn't create sound functionality, just modifies the current one. But the mod totally replaces graphics functionality.

UPDATE: worked like a charm thank you very much saves me alot of time on upgrading and can now wait a bit longer  8)

Your are the absolute man  ;)

on thing i did do was use the rc3 reg template, rc reg source code and the rc3 managereg as none of my mods effect these pages... added your englesh lang to my modifications english lang and edited my index.php by looking at where the code was in the rc3 one.

all working as ive just done a test reg hope someone else finds this useful who is in the same position as me... love the sound option very cool.

thanks again... dont allow guest posting so didnt need the post part and my search is open to members but may add the feature to the serch also and open that up  :D

one thing as spammers usually hit and run with one post it might be a great idea to add it to new members with under say 5 posts also  :)

Great mod and a BIG THANK YOU for your help  ;)
Title: Re: Advanced Visual Verification
Post by: derMalue on September 20, 2006, 06:29:05 PM
Hi HarzM

thanks for the mod.. i like it very much ...

I have a German Site, everything works fine with your mod after copying the english string block from index.english.php in index.german.php

One little Probleme is left and i´m to blind to find the solution  :'(

My Question: in which file can i translate the text in the "newpost-page" for guests:

Quote
Visual verification:

Type the letters shown in the picture
You should read 4 characters in this image.

               (image)

Type the letters shown in the picture
Listen to the letters|Request another image 

I didn´t find this words in index.english.php

(i hope you understand me  ??? )

greetz

der Malue
Title: Re: Advanced Visual Verification
Post by: Craig on September 20, 2006, 08:02:02 PM
Quote from: derMalue on September 20, 2006, 06:29:05 PM
Hi HarzM

thanks for the mod.. i like it very much ...

I have a German Site, everything works fine with your mod after copying the english string block from index.english.php in index.german.php

One little Probleme is left and i´m to blind to find the solution  :'(

My Question: in which file can i translate the text in the "newpost-page" for guests:

Quote
Visual verification:

Type the letters shown in the picture
You should read 4 characters in this image.

               (image)

Type the letters shown in the picture
Listen to the letters|Request another image 

I didn´t find this words in index.english.php

(i hope you understand me  ??? )

greetz

der Malue

well as ive been helped im gonna try and help you  :)

hi derMalue on mine the text...

QuoteType the letters shown in the picture
Listen to the letters|Request another image

it is in the login.english.php file... i dont know if there is a login.german.php file as i only use english

and the

QuoteYou should read 4 characters in this image.

is in the moded english.language.php file already called...

$txt['verificationReadChars'] = 'You should read <b>%s</b> characters in this image.';

hope that helped  ;)
Title: Re: Advanced Visual Verification
Post by: R3v3ng3 on September 22, 2006, 10:01:03 AM
Hy all... I 'm new here and i have a problem ...when I go to Admin/Packages /Browse Packages i can see Advanced Visual Verification (captcha) 1.0...if I choose Install Now! i get this error : The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
I have SMF 1.1 RC3 and i don't know what to do..i tried to upload the pack after i downloaded but when i choose [ Apply Mod ] i get some FPT problem's ,i know my user and pass ..but still..:"Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager."
Pls HELP !  :( i really need this mod
Title: Re: Advanced Visual Verification
Post by: Harzem on September 22, 2006, 10:03:37 AM
Can you try to unzip the package to your own computer? If it unzipped properly, then the package isn't corrupt and we'll look at other problems.
Title: Re: Advanced Visual Verification
Post by: derMalue on September 22, 2006, 05:32:23 PM
Quote from: Craig on September 20, 2006, 08:02:02 PM

well as ive been helped im gonna try and help you  :)

hi derMalue on mine the text...

QuoteType the letters shown in the picture
Listen to the letters|Request another image

it is in the login.english.php file... i dont know if there is a login.german.php file as i only use english

and the

QuoteYou should read 4 characters in this image.

is in the moded english.language.php file already called...

$txt['verificationReadChars'] = 'You should read <b>%s</b> characters in this image.';

hope that helped  ;)

Hi Craig...

my problem is solved ... THX alot. There is a login.german.php and in this file is a "section" called //untranslated ...

and with your help i found the right row in the index.english.php (i´m Born to be blind)

thx and greetz from (good old) Germany

der Malue
Title: Re: Advanced Visual Verification
Post by: R3v3ng3 on September 22, 2006, 07:02:18 PM
Quote from: HarzeM on September 22, 2006, 10:03:37 AM
Can you try to unzip the package to your own computer? If it unzipped properly, then the package isn't corrupt and we'll look at other problems.
I have unzipped the package to my own computer..and  didn't get any problems...but i can't apply this mod to my forum...i tried other mods..and they coud be installed ..but in this case when i try to apply this one ...the forum askes my for my ftp user/pass/host..and the path to the SMF...a wrote the right user...etc. but still that message doesn't dissapear.
Pls help & 10x 4 posting
Title: Re: Advanced Visual Verification
Post by: Harzem on September 23, 2006, 05:45:04 AM
Then can you try CHMOD'ing your Themes/default folder and Sources folder to 777 and retry installing the package?

Also, when it asks for your FTP password, why don't you type it?
Title: Re: Advanced Visual Verification
Post by: R3v3ng3 on September 23, 2006, 12:33:55 PM
Quote from: HarzeM on September 23, 2006, 05:45:04 AM
Then can you try CHMOD'ing your Themes/default folder and Sources folder to 777 and retry installing the package?
I'll try that ,10x
Quote from: HarzeM on September 23, 2006, 05:45:04 AM
Also, when it asks for your FTP password, why don't you type it?
That is one of  my problems i typed my password and my user and my host but nothing happens...just asking for them again


edited by me
Yes that was the answer to my problem CHMOD'ing Themes/default folder and Sources folder but now after applying the mod i get another error

2. Execute Modification install.xml -Modification parse error
3. Execute Modification - Modification parse error
@ Installations actions for "Advanced Visual Verification"  i can see with red at the description of this 2 files that parse error. After pressing install now i get a white screen nothing happens next ..I hope u have patience with me  ;)
Title: Re: Advanced Visual Verification
Post by: Harzem on September 24, 2006, 08:55:43 AM
R3v3ng3, create a folder named "temp" under "Packages" folder, CHMOD it to 777, and upload an arbitrary file into it so that the folder is not empty. Then reinstall the mod.

micaug, I could see the problem after installing two languages. I could see no reason, and I'm shocked why it resists to work with the second language. But I have a temporary solution:

Open index.php, find:

require_once(dirname(__FILE__) . '/Settings.php');

add after:


if(isset($_REQUEST['action']) && strpos($_REQUEST['action'], 'verificationcode') !== FALSE)
$language = 'english';


So that it will emulate english language just for the code.
Title: Re: Advanced Visual Verification
Post by: Harzem on September 24, 2006, 09:57:45 AM
Ok, found the real problem but I have no idea how to solve it. You are using French UTF-8, and after you copy and paste the language string to french file, you are not able to save it to french language file properly. This is also the case here. If I don't paste anything to turkish file, the image works. But when I edit the turkish file, the code stops working. I need to find a way to save the file properly.
Title: Re: Advanced Visual Verification
Post by: micaug on September 24, 2006, 10:33:21 AM
HarzeM,
My problem is solved.
I reloaded the french-utf8 langage pack and copy your part at the end.

I don't know what was wrong in the preview package. I think I download it from the french SMF forum.
Now I am using the parckage from the official site and your package is working properly.

Thanks

Michel
Title: Re: Advanced Visual Verification
Post by: Harzem on September 24, 2006, 10:38:35 AM
Also I've seen that there is a problem when saving UTF-8 language files. When editing, I was not able to save the UTF-8 files properly. Here is the solution, if anyone else needs:

http://www.simplemachines.org/community/index.php?topic=115860.msg741481#msg741481
Title: Re: Advanced Visual Verification
Post by: R3v3ng3 on September 24, 2006, 02:01:00 PM
Quote from: HarzeM on September 24, 2006, 08:55:43 AM
R3v3ng3, create a folder named "temp" under "Packages" folder, CHMOD it to 777, and upload an arbitrary file into it so that the folder is not empty. Then reinstall the mod.
Done that,but i have the same problem  :(..after install the white screen
Title: Re: Advanced Visual Verification
Post by: Harzem on September 24, 2006, 02:03:05 PM
Can you install any other modification?
Title: Re: Advanced Visual Verification
Post by: Daniel15 on September 25, 2006, 12:11:05 AM
HarzeM, would it be possible to port this mod to SMF 1.0, or is it dependant on some of the features of SMF 1.1 RC3? (I haven't looked through your code yet)...
Otherwise, nice work! This one is heaps better than my one ;)
Title: Re: Advanced Visual Verification
Post by: Harzem on September 25, 2006, 04:11:05 AM
Hi daniel :)

This mod is dependent to RC3 in terms of sound system. If I was to make this for 1.0, there won't be any sound support. Also I can't include the sound within the package, because it will be a distribution of current SMF code and would be illegal.

Except from the sound system, this is totally independent of default RC3 captcha. But of course the package tries to disable the default one, so it will give errors if we try to install it on a non-rc3 forum.

I'm not planning to make a 1.0 version, should I? I've never worked with 1.0 series, so I'm a bit reluctant actually.
Title: Re: Advanced Visual Verification
Post by: R3v3ng3 on September 25, 2006, 04:40:58 PM
Quote from: HarzeM on September 24, 2006, 02:03:05 PM
Can you install any other modification?
Yes i tryed one ....something "Who Voted What?" and i can  see this mode at Installed Packages ..
Title: Re: Advanced Visual Verification
Post by: Daniel15 on September 26, 2006, 06:03:24 AM
QuoteI'm not planning to make a 1.0 version, should I?
If you could, that would be awesome :).
I was trying to port it over myself, but I got stuck in Register.template.php, at the template_admin_settings() function (which doesn't seem to exist in SMF 1.0).

By the way, did you code the whole of Verification.php yourself? Even the bitmap functions (showBitmapImage)? The bitmap functions look awesome, to say the least :D :o.

Your advanced coding makes makes my code look so simple ;)
Title: Re: Advanced Visual Verification
Post by: Harzem on September 26, 2006, 11:07:49 AM
Quote from: daniel15 on September 26, 2006, 06:03:24 AM
QuoteI'm not planning to make a 1.0 version, should I?
If you could, that would be awesome :).

Actually 1.1 final is not so far, thus there will be no more 1.0 forums. This makes me reluctant. I prefer writing new mods for 1.1 instead of working on 1.0 mods.

Quote from: daniel15 on September 26, 2006, 06:03:24 AM
I was trying to port it over myself, but I got stuck in Register.template.php, at the template_admin_settings() function (which doesn't seem to exist in SMF 1.0).

I may have a look at this. But not right today.

Quote from: daniel15 on September 26, 2006, 06:03:24 AM
By the way, did you code the whole of Verification.php yourself? Even the bitmap functions (showBitmapImage)? The bitmap functions look awesome, to say the least :D :o.

Your advanced coding makes makes my code look so simple ;)

Yes, whole file is my own work. showBitmap image is my favorite, it can create images without GD or FreeType! :D I've written some Visual Basic code to read bitmap fonts from photoshop bmp images, then convert them to php arrays. Then rotate them via trigonometry techniques from calculus classes etc... Then the bitmap image comes out. It was fun when coding and nice to get positive comments :)
Title: Re: Advanced Visual Verification
Post by: cowboyfred on September 26, 2006, 12:00:06 PM
I can't get this mod to work.  Is there some chmod permissions that i need to change? 

edited-----------
I have installed the mod and everything installed great.  the box is checked to enable visiual verification.  however the mod doesn't show up when i make a new register.  Also, this might not be this mod, because i can go to Registion>settings> and add an age and it also doesn't appear in the new registration page.  so, i am thinging that this might be a permission?  I am lost and have unistalled and reistalled three times. 
Title: Re: Advanced Visual Verification
Post by: Harzem on September 26, 2006, 12:21:06 PM
If you tell us what errors you are getting, we can better help you.
Title: Re: Advanced Visual Verification
Post by: cowboyfred on September 26, 2006, 12:48:45 PM
Quote from: cowboyfred on September 26, 2006, 12:00:06 PM
I can't get this mod to work.  Is there some chmod permissions that i need to change? 

edited-----------
I have installed the mod and everything installed great.  the box is checked to enable visiual verification.  however the mod doesn't show up when i make a new register.  Also, this might not be this mod, because i can go to Registion>settings> and add an age and it also doesn't appear in the new registration page.  so, i am thinging that this might be a permission?  I am lost and have unistalled and reistalled three times. 

hey here is whats happening. I am using SMF as a wrapper in Joomla!.  When i go to just the SMF site without Joomla it is working, but inside Joomla it is not.  So, it sounds like a Joomla Conflict??!!??  If you have any ideas what is causing this i would appreciate it.  TAOT.
Title: Re: Advanced Visual Verification
Post by: cowboyfred on September 26, 2006, 12:57:04 PM
Quote from: cowboyfred on September 26, 2006, 12:48:45 PM
Quote from: cowboyfred on September 26, 2006, 12:00:06 PM
I can't get this mod to work.  Is there some chmod permissions that i need to change? 

edited-----------
I have installed the mod and everything installed great.  the box is checked to enable visiual verification.  however the mod doesn't show up when i make a new register.  Also, this might not be this mod, because i can go to Registion>settings> and add an age and it also doesn't appear in the new registration page.  so, i am thinging that this might be a permission?  I am lost and have unistalled and reistalled three times. 

hey here is whats happening. I am using SMF as a wrapper in Joomla!.  When i go to just the SMF site without Joomla it is working, but inside Joomla it is not.  So, it sounds like a Joomla Conflict??!!??  If you have any ideas what is causing this i would appreciate it.  TAOT.

Figured it out i will post my findings here:
it was in the SMF bridge into Joomla.  the SMF Compontent>Configuration>Registration>set to use SMF Registration (not SMF Bridge).

PS.  Thanks for this mod.  Good Work.
Title: Re: Advanced Visual Verification
Post by: ironmozart on September 26, 2006, 04:11:49 PM
Quote from: HarzeM on September 18, 2006, 08:46:15 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=474)
Rate this Mod (http://mods.simplemachines.org/index.php?action=review;sa=add;mod=474)

Advanced Visual Verification Mod
by HarzeM

This mod replaces default verification code system of SMF 1.1 RC3 with an advanced system.

Only Works for SMF 1.1 RC3 !

- Ask image in registration
- Ask image in guest posting
- Ask image when a guest or a member searches the forum
- Ask image when sending personal messages
- One image can be valid for more than one searches or PMs!
- Put an upper limit of failures
- Block users by defined minutes when they reach maximum failure limit
- Select one of the three image types and backgrounds
- Select image size
- Select number of characters
- Generate effective images even if your server doesn't have GD installed!
- Generate effective fontss even if your server doesn't have FreeType installed!
- Logs failures in error log.

You can modify the settings via
Admin > Registration > Visual Verification

Please vote and comment on this mod if you like it!



Newbie here. Is there a mod like that for SMF 1.0.7?

I assumed like all top blogging software (typepad, wordpress, blogspot, etc.)
SMF would have post moderation standard a long time ago. After all, being able
to preview postings for moderation is essential to counter spammers
that attack forums and blogs with spam bots and "spam monkees" that manually
post porn, viagra, and alike.





Title: Re: Advanced Visual Verification
Post by: Inque187 on September 26, 2006, 04:21:51 PM
I keep getting this error messages in my forum logs:

http://forums.fbi-clan.org/index.php?action=pm;sa=send2 
8: Undefined index: verificationAskPM
File: /home/xxxxx/public_html/forums/Sources/PersonalMessage.php
Line: 1379


I have these settings checked to "OFF"
QuoteAsk in guest posting
Ask when sending personal messages
Ask in guest searches
Ask in member searches
Title: Re: Advanced Visual Verification
Post by: Harzem on September 26, 2006, 04:24:41 PM
Can you please first check them to ON, save it, and then make them OFF again?

I've got a few reports about this issue and I'll fix them in the next release.
Title: Re: Advanced Visual Verification
Post by: NeFReT on September 27, 2006, 04:02:10 AM
Thanks HarzeM
Title: Re: Advanced Visual Verification
Post by: R3v3ng3 on September 27, 2006, 01:54:30 PM
HarzeM. I can't use your mode ...what else can I do ?  :( Can u give me another type of archive for this mode..or what else should I CHMOD ? except temp that i allready did
Title: Re: Advanced Visual Verification
Post by: sawz on September 27, 2006, 02:18:52 PM
Quote from: R3v3ng3 on September 27, 2006, 01:54:30 PM
HarzeM. I can't use your mode ...what else can I do ?  :( Can u give me another type of archive for this mode..or what else should I CHMOD ? except temp that i allready did

HarzeM's mod is for 1.1RC3 only.
what version do you use.
Title: Re: Advanced Visual Verification
Post by: R3v3ng3 on September 27, 2006, 09:25:38 PM
Quote from: sawz on September 27, 2006, 02:18:52 PM
Quote from: R3v3ng3 on September 27, 2006, 01:54:30 PM
HarzeM. I can't use your mode ...what else can I do ?  :( Can u give me another type of archive for this mode..or what else should I CHMOD ? except temp that i allready did

HarzeM's mod is for 1.1RC3 only.
what version do you use.
I have 1.1RC3
Title: Re: Advanced Visual Verification
Post by: Mannysbones on September 28, 2006, 01:02:25 PM
I'm not able to install the mod. I'm sure it's something simple that i've overlooked; so I'm hoping I can get on the right track here. I'm running SMF 1.1 RC3, having coverted from a phpBB2 board a couple of weeks ago. I'm able to unzip and upload all files to the /forum folder with no problem; however, when I attempt to run the install via browser, all I get is a blank page and no install.

Like I indicated, I'm probably overlooking a step; and I'm sure when I've resolved this I'll feel fairly foolish.


Edit: BTW, there are no other mods currently installed.
Title: Re: Advanced Visual Verification
Post by: Harzem on September 28, 2006, 01:15:33 PM
Hehe, SMF is not phpBB :) In phpBB, you should unzip the package, read the readme, appy the codes or upload the files one by one.

In SMF, just go to "Admin > Packages > Download > Browse" and browse the zip. You don't even need to unzip it or upload via FTP!


Quote from: R3v3ng3 on September 27, 2006, 01:54:30 PM
HarzeM. I can't use your mode ...what else can I do ?  :( Can u give me another type of archive for this mode..or what else should I CHMOD ? except temp that i allready did

Can you chmod your default theme directory to 777?
Title: Re: Advanced Visual Verification
Post by: Mannysbones on September 28, 2006, 01:27:50 PM
Quote from: HarzeM on September 28, 2006, 01:15:33 PM
Hehe, SMF is not phpBB :) In phpBB, you should unzip the package, read the readme, appy the codes or upload the files one by one.

In SMF, just go to "Admin > Packages > Download > Browse" and browse the zip. You don't even need to unzip it or upload via FTP!


Many thanks. I knew it would be that simple.  :-[
Title: Re: Advanced Visual Verification
Post by: Mannysbones on September 28, 2006, 07:49:14 PM
Now that I've got the install completed, I've started getting these errors as well. The registration works perfect though.



Quote from: Inque187 on September 26, 2006, 04:21:51 PM
I keep getting this error messages in my forum logs:

http://forums.fbi-clan.org/index.php?action=pm;sa=send2 
8: Undefined index: verificationAskPM
File: /home/xxxxx/public_html/forums/Sources/PersonalMessage.php
Line: 1379


I have these settings checked to "OFF"
QuoteAsk in guest posting
Ask when sending personal messages
Ask in guest searches
Ask in member searches
Title: Re: Advanced Visual Verification
Post by: cwzplas on September 28, 2006, 11:04:11 PM
Love the mod..

Would be nice to see a listing of members who have locked themselves out for XX mins..

Maybe have the option to allow them to log back in early instead of waiting?
Title: Re: Advanced Visual Verification
Post by: SBGamesCone on September 29, 2006, 09:27:44 AM
I just installed this mod because the users were complaining that the default captcha was difficult to read and get properly. The mod is working great with the exception being that the Visual Verification link doesn't show up in the Admin > Registration module with the Themis theme (http://www.bloczone.net/smf). I can switch to the Core Default theme and the link is there. I can see that it is attempting to build it, but it is unable to display the text for the link:

tr class="catbg">
<td align="left">
<img src="http://www.thecoverproject.net/forums/Themes/themis11rc2/images/selected.gif" alt="*" /> <b><a href="http://www.thecoverproject.net/forums/index.php?action=regcenter;sa=register">Register new member</a></b> |
<a href="http://www.thecoverproject.net/forums/index.php?action=regcenter;sa=agreement">Registration Agreement</a> |
<a href="http://www.thecoverproject.net/forums/index.php?action=regcenter;sa=reservednames">Set Reserved Names</a> |
<a href="http://www.thecoverproject.net/forums/index.php?action=regcenter;sa=settings">Settings</a> |
<a href="http://www.thecoverproject.net/forums/index.php?action=regcenter;sa=verification"></a>

</td>
</tr>


I am going to dig through some more of the source and try to track back where the problem might be coming from and post here as a followup.
Title: Re: Advanced Visual Verification
Post by: SBGamesCone on September 29, 2006, 09:33:10 AM
Found it. In this part of the install.xml for your mod, the very last part where you modify the index.english.php file, it only seemed to do it for the default theme. I went in and manually added it and all is well now, thanks for the great mod.

<file name="$languagedir/index.english.php">
<operation>
<search position="end"></search>
<add><![CDATA[
// Advanced Visual Verification Mod Start
$txt['verificationVisual'] = 'Visual Verification';
$txt['verificationSettingsDesc'] = 'Here you can change many settings about visual verification in your site.';

$txt['enable_visual_verification'] = 'Enable visual verification';
$txt['verificationCodeChars'] = 'Number of characters in the verification image';
$txt['verificationMaxTries'] = 'Number of failures before blocking the user';
$txt['verificationWaitTime'] = 'Minutes before blocking expires';

$txt['verificationAskRegister'] = 'Ask in registration';
$txt['verificationAskGuestPost'] = 'Ask in guest posting';
$txt['verificationAskPM'] = 'Ask when sending personal messages';
$txt['verificationPMvalid'] = 'Maximum personal messages a verification image is valid for';
$txt['verificationPMvalidDesc'] = 'This is the number of personal messages which users will not be asked for image verification once they entered the code correctly. Recommended value is around 5-10.';
$txt['verificationAskGuestSearch'] = 'Ask in guest searches';
$txt['verificationAskMemberSearch'] = 'Ask in member searches';
$txt['verificationSearchValid'] = 'Maximum searches a verification image is valid for';
$txt['verificationSearchValidDesc'] = 'This is the number of searches which users will not be asked for image verification once they entered the code correctly. Recommended value is around 5-10';

$txt['verificationImageBackground'] = 'Image background type';
$txt['verificationBGnoise'] = 'Noise';
$txt['verificationBGnoiseDesc'] = 'Fast, but not very effective. You can use this unless you suspect your forum still gets automatic registration.';
$txt['verificationBGlines'] = 'Distorted Lines';
$txt['verificationBGlinesDesc'] = 'Recommended. Generates easy to read but hard to guess characters.';
$txt['verificationBGcolored'] = 'Random Colors';
$txt['verificationBGcoloredDesc'] = 'Hardest to break, but slow and hard to read. Not all servers may be able to display this. See a preview before actually using it.';
$txt['verificationBGcircles'] = 'Inverted circles';
$txt['verificationBGcirclesDesc'] = 'Hardest to break, but slow and hard to read.';

$txt['verificationImageSize'] = 'Image size';
$txt['verificationImageSizeSmall'] = 'Small';
$txt['verificationImageSizeMedium'] = 'Medium';
$txt['verificationImageSizeLarge'] = 'Large';

$txt['verificationGDnotsupported'] = 'Your server doesn\'t have GD library installed. Verification images will be generated without GD.';

$txt['verificationPreview'] = 'Preview Image';
$txt['verificationPreviewDesc'] = '(Please wait when the preview is being generated)';

$txt['verificationReadChars'] = 'You should read <b>%s</b> characters in this image.';
$txt['verification_brute_force'] = 'You have exceeded the limit of visual verification failures. You should wait %s minutes before you can try again.';
$txt['error_visual_verification_failed'] = 'The letters you typed don\'t match the letters that were shown in the picture.';]]></add>
</operation>
</file>
Title: Re: Advanced Visual Verification
Post by: Skipdawg on September 29, 2006, 10:22:56 PM
Well thee is a parse error on the review page. But wanted to say this is helping allot in cutting down spammers trying to register.

I was hesitant having a vision issue myself but this mod beats the default in RC3 by far and no complaints yet.  ;)
Title: Re: Advanced Visual Verification
Post by: Daniel15 on September 29, 2006, 10:38:33 PM
Quotethe very last part where you modify the index.english.php file, it only seemed to do it for the default theme
I thought that all the language files were in the default theme only? I don't believe that other themes need to have a Languages directory...


QuoteWell thee is a parse error on the review page
Yep, I've already reported that (http://www.simplemachines.org/community/index.php?topic=117004.0) :)
Title: Re: Advanced Visual Verification
Post by: ragots on October 03, 2006, 05:06:30 AM
I have installed this mod and it works fine except for one thing.


When I log in as admin  and I try to edit a post done by a guest,
when I try to save the changes, I get the error message telling me that I did not type the correct captcha code, although the captcha dialog did not come up while I edited the message left by the user.

Is there a way around this ?
Title: Re: Advanced Visual Verification
Post by: Harzem on October 03, 2006, 12:16:34 PM
Quote from: ragots on October 03, 2006, 05:06:30 AM
I have installed this mod and it works fine except for one thing.


When I log in as admin  and I try to edit a post done by a guest,
when I try to save the changes, I get the error message telling me that I did not type the correct captcha code, although the captcha dialog did not come up while I edited the message left by the user.

Is there a way around this ?

I actually never thought of that. I'll investigate it.
Title: Re: Advanced Visual Verification
Post by: ragots on October 03, 2006, 03:34:56 PM
It's a rare bug I guess.
Here's a link to my board just in case.
http://love.mixbeat.com/hype/index.php?option=com_smf&Itemid=231

I guess a quick fix would be to have the captcha box come up when admin click on "modify" to edit a post left by a visitor who had to type the captcha code.

I'm just guessing.

thanks for investigating this.

Title: Re: Advanced Visual Verification
Post by: Harzem on October 03, 2006, 04:47:32 PM
The exact solution is this:

Open Post.php, find:


// Check whether the visual verification code was entered correctly.
if (empty($modSettings['disable_visual_verification']) && empty($modSettings['verificationDontAskGuestPost']))



replace:


// Check whether the visual verification code was entered correctly, and we are not modifying the message.
if (empty($modSettings['disable_visual_verification']) && empty($modSettings['verificationDontAskGuestPost']) && isset($_REQUEST['msg']) && !empty($topic))


I'll release 1.0.1 bug fix version soon. But not right today. Thanks for pointing out.

Please let me know if this worked, because I didn't try.
Title: Re: Advanced Visual Verification
Post by: ragots on October 03, 2006, 07:36:02 PM
It DID NOT work.

admin is asked to enter captcha code while attempting to "modify" and save changes he just did by clicking "modify" in a post left by a visitor...

:(
Title: Re: Advanced Visual Verification
Post by: ArdieM on October 05, 2006, 02:14:00 PM
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    installverification.php    
2.    Execute Modification    install.xml    Modification parse error
3.    Execute Modification    -    Modification parse error
4.    Extract File    ./Sources/Verification.php    
5.    Extract Tree    ./Themes/default/ttf_fonts    



Can i savely install this mod or what is going on with it???
Title: Re: Advanced Visual Verification
Post by: Harzem on October 05, 2006, 02:15:44 PM
This is a problem about your package permissions, not this mod.

CHMOD the packages directory to 777 and retry.
Title: Re: Advanced Visual Verification
Post by: ArdieM on October 05, 2006, 04:34:48 PM
damn i totally forgot that!!!

thanks alot for the fast reply!!!

im sorry for stealing your time :)

su programm icin COK tesekürler!
Title: Re: Advanced Visual Verification
Post by: Harzem on October 05, 2006, 04:38:40 PM
Quote from: ArdieM on October 05, 2006, 04:34:48 PM
su programm icin COK tesekürler!

Hey I know that language! :) Where do you live? (I ask because your all previous posts were in engish).
Title: Re: Advanced Visual Verification
Post by: Daniel15 on October 06, 2006, 08:31:42 AM
QuoteWhen I log in as admin  and I try to edit a post done by a guest,
when I try to save the changes, I get the error message telling me that I did not type the correct captcha code, although the captcha dialog did not come up while I edited the message left by the user.
Haha, strangely enough, that was also a bug in my CAPTCHA MOD :P. I solved it slightly differently though (my one checks if the user is a guest, and only shows the CAPTCHA if they are)
Title: Re: Advanced Visual Verification
Post by: ArdieM on October 06, 2006, 04:12:54 PM
ben almanyada yasiyorum ama türküm. sakarya-->adapazaridan geliyom :)

kusura bakma ama türkcem pek iyi degil
Title: Re: Advanced Visual Verification
Post by: truelight5 on October 07, 2006, 04:19:59 PM
I am running SMF 1.1 RC3 and TinyPortal v0.9.5--

I had this working fine, but then I installed a blog mod to the site and it broke it.  It "shows" up like normal but the place where the images are supposed to be is just an x like a broken image type thing. (I can get a screen shot of it if you would like...)  I tried uninstalling and reinstalling and the install went fine...but still not showing up.

The blog mod is located here:

http://www.tinyportal.net/smf/index.php?topic=6662.0 (http://www.tinyportal.net/smf/index.php?topic=6662.0)

And there is a mention of this issue on that site in this thread:

http://www.tinyportal.net/smf/index.php?topic=8773.0 (http://www.tinyportal.net/smf/index.php?topic=8773.0)

I *love* the functionality of this mod, and I really want to use both...is it possible?

AND it appears that even though I "uninstall" this, it is still "working" ??  Now I am really confused.  My packages look like this right now:

(http://www.truelightcreations.com/packages.jpg)

So how is this working at all if I uninstalled it?

The blog is no longer showing up...

I'm sorry if I am a pain...I've broken it lol

Blessings!
Susie

Title: Re: Advanced Visual Verification
Post by: truelight5 on October 07, 2006, 04:42:47 PM
Oh and maybe the verification I am seeing now is the captcha one?? How could I tell the difference? I didn't think of that but checked the admin section and the options for the advanced verification are no longer there so it must be gone?  I dunno...I tried reinstalling just the blog and the verifcation is broken again...

(http://www.truelightcreations.com/verify.jpg)

I am confused...how can I fix this?

Blessings!
Susie
Title: Re: Advanced Visual Verification
Post by: Harzem on October 07, 2006, 04:44:23 PM
Are you using a language other than english in your forum? Is it UTF-8?
Title: Re: Advanced Visual Verification
Post by: truelight5 on October 07, 2006, 04:48:59 PM
The forum only uses english...and I am sorry to be computer illiterate right now but I am not sure what UTF-8 is...lol Does that mean it is or isn't? lol  ;D

Blessings!
Susie
Title: Re: Advanced Visual Verification
Post by: truelight5 on October 07, 2006, 05:21:28 PM
Okay I found an update of the blog script here:

http://www.xyfrauen.com/index.php?topic=294.0 (http://www.xyfrauen.com/index.php?topic=294.0)

Installed it, reinstalled the advanced verification and it appears everything is working normally now!!

:D

Blessings!
Susie
Title: Re: Advanced Visual Verification
Post by: J. Williams on October 08, 2006, 04:52:14 AM
Quote from: truelight5 on October 07, 2006, 04:48:59 PM
The forum only uses english...and I am sorry to be computer illiterate right now but I am not sure what UTF-8 is...lol Does that mean it is or isn't? lol  ;D

Blessings!
Susie

UTF-8 is used for international languages, since the foreign symbols are unparsed when you're using normal languages
Title: Problems with Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 05:19:23 PM
I get error message and can not get to registration configuration, what is wrong. I have some other mods installed but Test shows OK, and still cant use this mod? What to do?

error message
Fatal error: Cannot redeclare verificationsettings() (previously declared in /home/xxxxx/public_html/2cv/smf/Sources/ManageRegistration.php:313) in /home/xxxxx/public_html/2cv/smf/Sources/ManageRegistration.php on line 454
Title: Re: Advanced Visual Verification
Post by: Harzem on October 08, 2006, 05:21:52 PM
Somehow you have installed the mod but it didn't uninstall properly, so now when you reinstall it, it gives a "redeclaration" error. Is that the case?
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 05:25:41 PM
No, it uninstall ok i think? At least it seems to uninstall correctly. I use rc3 with default theme.

BTW here is my installed other mods
Mod Name Version 
1. Location Mod 1.2 [ Uninstall ]
2. Location Mod - Additional Maps 1.2 [ Uninstall ]
3. Location Mod - Who Flags 1.2 [ Uninstall ]
4. User Email System 1.0 [ Uninstall ]
5. SMF Gallery Lite 1.6.4 [ Uninstall ]
6. Color Bar 1.1 [ Uninstall ]
7. Users Online Today Mod 1.4.0b3 [ Uninstall ]
8. Ad Managment 2.0

Quote from: HarzeM on October 08, 2006, 05:21:52 PM
Somehow you have installed the mod but it didn't uninstall properly, so now when you reinstall it, it gives a "redeclaration" error. Is that the case?
Title: Re: Advanced Visual Verification
Post by: Harzem on October 08, 2006, 05:28:09 PM
Does it give any error when installing or uninstalling?
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 05:29:06 PM
No, it seems to work fine in this stage!
As fast i'm push registration in config section the error come up?

Quote from: HarzeM on October 08, 2006, 05:28:09 PM
Does it give any error when installing or uninstalling?
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 05:38:42 PM
BTW Out of order but what is this overselling advertise you keep on your page, is it joke or what is it?
Title: Re: Advanced Visual Verification
Post by: Harzem on October 08, 2006, 05:53:04 PM
Quote from: Surferbird on October 08, 2006, 05:29:06 PM
No, it seems to work fine in this stage!
As fast i'm push registration in config section the error come up?

Does the mod work in other pages?

Quote from: Surferbird on October 08, 2006, 05:38:42 PM
BTW Out of order but what is this overselling advertise you keep on your page, is it joke or what is it?

Click and see ;)
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 05:55:30 PM
How do you mean now, i'm sorry but i haven't seen anything of it because i cant get to Registration configuration!
I read about the  adv but i didn't get any more wise...my english is not very good, and what i undertand it is bluff?

Quote from: HarzeM on October 08, 2006, 05:53:04 PM
Quote from: Surferbird on October 08, 2006, 05:29:06 PM
No, it seems to work fine in this stage!
As fast i'm push registration in config section the error come up?

Does the mod work in other pages?

Quote from: Surferbird on October 08, 2006, 05:38:42 PM
BTW Out of order but what is this overselling advertise you keep on your page, is it joke or what is it?

Click and see ;)
Title: Re: Advanced Visual Verification
Post by: Harzem on October 08, 2006, 05:56:57 PM
Does any image show on registration, or does it give any error after a proper registration?
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 05:58:25 PM
Wait a moment, i have to reinstall and try it, 3 minutes....


Quote from: HarzeM on October 08, 2006, 05:56:57 PM
Does any image show on registration, or does it give any error after a proper registration?
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 06:00:52 PM
No, it is not working at all, got this error now:

Fatal error: Cannot redeclare template_verification_settings() (previously declared in /home/xxxxx/public_html/2cv/smf/Sources/Load.php(1709) : eval()'d code:651) in /home/xxxxx/public_html/2cv/smf/Sources/Load.php(1709) : eval()'d code on line 1019
Title: Re: Advanced Visual Verification
Post by: Harzem on October 08, 2006, 06:02:21 PM
Have you ever done manual installation for any mod?
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 06:05:44 PM
Sometime..i remember!
Title: Re: Advanced Visual Verification
Post by: Harzem on October 08, 2006, 06:08:04 PM
Then you should uninstall the mod automatically, then follow a second uninstallation routine manually, so you will get rid of the duplicate codes.

Do you currently have the mod installed or uninstalled?
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 06:09:08 PM
It is installed now!

Quote from: HarzeM on October 08, 2006, 06:08:04 PM
Then you should uninstall the mod automatically, then follow a second uninstallation routine manually, so you will get rid of the duplicate codes.

Do you currently have the mod installed or uninstalled?
Title: Re: Advanced Visual Verification
Post by: Harzem on October 08, 2006, 06:11:00 PM
Ok, new idea:

1. get a backup of Packages/installed.list file.
2. uninstall the mod.
3. restore the backup of the installed.list file
4. uninstall the mod again, even if it gives error this time.
5. install the mod.
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 06:12:28 PM
I'll do it.

Quote from: HarzeM on October 08, 2006, 06:11:00 PM
Ok, new idea:

1. get a backup of Packages/installed.list file.
2. uninstall the mod.
3. restore the backup of the installed.list file
4. uninstall the mod again, even if it gives error this time.
5. install the mod.
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 06:20:31 PM
Jippiii...thousand THANKS...it work now, you're a master man  :-*

This is out of order but....Could you give a hand how to get narrow board and white bg table as here in SMF too? I have asked this and waited for help a long time but nobody bader to help me?
Title: Re: Advanced Visual Verification
Post by: Harzem on October 08, 2006, 06:22:07 PM
Quote from: Surferbird on October 08, 2006, 06:20:31 PM
Jippiii...thousand THANKS...it work now, you're a master man  :-*

This is out of order but....Could you give a hand how to get narrow board and white bg table as here in SMF too? I have asked this and waited for help a long time but nobody bader to help me?

I could help you if I had understood what you want :)
Title: Re: Advanced Visual Verification
Post by: Surferbird on October 08, 2006, 06:25:36 PM
I'll PM you!


Quote from: HarzeM on October 08, 2006, 06:22:07 PM
Quote from: Surferbird on October 08, 2006, 06:20:31 PM
Jippiii...thousand THANKS...it work now, you're a master man  :-*

This is out of order but....Could you give a hand how to get narrow board and white bg table as here in SMF too? I have asked this and waited for help a long time but nobody bader to help me?

I could help you if I had understood what you want :)
Title: Re: Advanced Visual Verification
Post by: busymouse on October 09, 2006, 04:32:57 PM
Hello @all,

my forums work with 1.1 RC3 and the default theme. I've three problems:

1. I can't speak English.
2. I don't got an answer at the German support.
3. Advanced Visiual Verification is a great mod. First it worked fine and than I made something - I really don't know what I'd done - and now something is wrong.

I installed the mod. I translated. It looked nice and worked. I did something else, installed new mods, translated a much and did a little I can't describe in English, but I think, it's not important for the problem.

Suddenly the registration looked different. I couldn't see the characters any more. Therefore there was a text once more normaly is shown at the left side. I thought it doesn't matter. I uninstalled the mod and deleted it. Then I installed it new, thinking it will be the same work once more, and it should work. Nothing happened. All looked the same as before.  ::)

Answering in the public boards shows the same problem.

Is there anyone who can help me? Please write to me in very easy English. Therefore I'm very stupid.

;) Thx busymouse

Title: Re: Advanced Visual Verification
Post by: Harzem on October 09, 2006, 04:35:51 PM
Is your forum language german UTF-8 ?
Title: Re: Advanced Visual Verification
Post by: busymouse on October 09, 2006, 04:38:24 PM
No, I didn't set the hook.
Title: Re: Advanced Visual Verification
Post by: busymouse on October 10, 2006, 12:18:50 PM
Do you have any idea? Have I to set the hook? The Mod worked fine before (without hook).

:) busymouse
Title: Re: Advanced Visual Verification
Post by: Morning on October 11, 2006, 04:44:59 AM
Well, after a few years back to try SMF again. You have been getting good reviews.

However, it is quite frustrating to download a new package, and not have registration work. I know it can work as I did a lot of work to get 'gotcha' to work with joomla.

Probably, I fall in the category of 'gd' installed (i.e. enabled using php internal) but no Freetype.

At the moment I fall into the category of 'trying' users, and will go back to check the beginning of the thread for what I hope is a link to the improved mod - as this does not seem to be a big enough issue for a RC3+ release.

If I don't find it, I'll just turn it off for now - I am going to use a bridge I expect anyway. Tomorrows 'struggle'.

And, except for the 'broken' visual install (sound does not work for me either btw), installation was very 'Simple' indeed.

Morning
Title: Re: Advanced Visual Verification
Post by: busymouse on October 11, 2006, 02:25:49 PM
Hello @all,

now I'm more than confused ....  :-\ I hadn't done anything without waiting for answers and now it works again.
That's very curious, isn't it?

;D busymouse
Title: Re: Advanced Visual Verification
Post by: ragots on October 12, 2006, 09:43:36 AM
Quote from: daniel15 on October 06, 2006, 08:31:42 AM
QuoteWhen I log in as admin  and I try to edit a post done by a guest,
when I try to save the changes, I get the error message telling me that I did not type the correct captcha code, although the captcha dialog did not come up while I edited the message left by the user.
Haha, strangely enough, that was also a bug in my CAPTCHA MOD :P. I solved it slightly differently though (my one checks if the user is a guest, and only shows the CAPTCHA if they are)


How did you solve that problem ?
I'm still battling with it.
Can you tell me what to do ?



Title: Re: Advanced Visual Verification
Post by: Vaskania on October 12, 2006, 05:58:48 PM
Ok, I'm at a loss for ideas. The verification image doesn't show up on the registration page or in admin > registration > visual verification.

I'm using SMF 1.1RC3 w/ Bloc's theme Black22 1.1RC3.
I am using website redirection via our host's cpanel and an included header file in template_main_above() as well (just under the <body> tag) if that makes a difference.

I've modified the theme files (privatemessages.template & index.english -other mod-altered files pull from Default) accordingly to get the mod working, but I have no image; however, the image does show up with the Default theme. Both the Default font and mod font folders are copied into the Black22 directory.

The stock verification script wasn't working in the same manner; I was hoping the mod would do the trick. =/

Ideas?
Title: Re: Advanced Visual Verification
Post by: Harzem on October 12, 2006, 06:00:23 PM
A link to your forum would be useful.
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 12, 2006, 06:01:45 PM
Aha! Whoops..

http://www.teamnorthamerica.net .. it will redirect to /forums.

Edit .. I just enabled visual verification in the settings so you could see. I suppose that would help wouldn't it? :-\
Title: Re: Advanced Visual Verification
Post by: ragots on October 12, 2006, 06:51:48 PM
Hello people, I'm posting this again.

When I log in as admin  and I try to edit a post done by a guest,
when I try to save the changes, I get the error message telling me that I did not type the correct captcha code, although the captcha dialog did not come up while I edited the message left by the user.

Daniel15 said he found a fix for this.
What is that fix ?

Does HarzeM has a fix ?
The one you proposed did not work.



Title: Re: Advanced Visual Verification
Post by: frequency on October 13, 2006, 08:04:15 AM
Hi,

Is this mod compatible with all themes? I'm having trouble with new user registration at the moment. The captcha details aren't showing up using the built-in verification so I'm thinking of installing this mod to combat the problem.

SMF version 1.1 RC3
Theme: Aa New Damage by Metalcore

Any help would be appreciated, thanks.
Title: Re: Advanced Visual Verification
Post by: Daniel15 on October 13, 2006, 08:51:08 AM
QuoteDaniel15 said he found a fix for this.
What is that fix ?
No, I meant I had a fix for my CAPTCHA mod (I wrote the CAPTCHA mod that's for SMF 1.0 - 1.1 RC2).
Title: Re: Advanced Visual Verification
Post by: Morning on October 13, 2006, 09:09:18 AM

Advanced Visual Verification Mod
by HarzeM

This mod replaces default verification code system of SMF 1.1 RC3 with an advanced system.

Only Works for SMF 1.1 RC3 !
knip...
You can modify the settings via
Admin > Registration > Visual Verification

[/quote]

Ah - the small print. There is a default mod - which is why it didnt show up in the mods section, and it was broken similiar to this one it seems.

Someone responsible for the RC3 release needs to be aware that whatever this replaces is also broken. And that it has been quite confusing for a person with little time.

Well, going to download the mod, and hope SMF works then. No point if people cant register....

Morning
Title: Re: Advanced Visual Verification
Post by: goofy2feet on October 13, 2006, 11:09:19 AM
I am using RC3, and installed the mod tonight. http://www.language-global.com/lglbbs

You can modify the settings via
Admin > Registration > Visual Verification

But there is no Visual Verification tab!

EDIT: I just uninstalled the mod - when I tried to make a test account, it refused to accept that I was typing the right letters in... Don't want to be messing around with something that will prevent real people signing up.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 13, 2006, 12:42:55 PM
goofy2feet, we can try to solve the problem, because this mod works for everyone.

Were you using a different theme when the mod was applied?
Title: Re: Advanced Visual Verification
Post by: aarffy on October 13, 2006, 02:54:13 PM
After I installed there is no admin > registration > visual verification. There is a checkbox in admin > registration > settings that says

Disable the use of the visual verification on registration

But that's all I find in admin. I'm using the standard default smf template.

What I need is to enable visual verification for guest posts. That's not enabled now, although there is vv for registration. Is it possible to add or edit settings directly into the database? What would be the settings be?

Thanks. Very cool module.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 13, 2006, 02:55:35 PM
It looks the mod was not applied correctly. Have you applied any mods before?
Title: Re: Advanced Visual Verification
Post by: aarffy on October 13, 2006, 03:02:20 PM
Nope, first one. I used Packages > Download Packages and installed from there. There was an error reporting a failure to write something to /temp. I created the folder by hand and refreshed the install page, which then went on with the rest of the install.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 13, 2006, 03:11:35 PM
But it looks like it didn't modify the files. Can you try to install any other simple modification to see whether others work or not?
Title: Re: Advanced Visual Verification
Post by: aarffy on October 13, 2006, 03:17:47 PM
I'll try to install something else and get back. Thanks for the help.
Title: Re: Advanced Visual Verification
Post by: aarffy on October 13, 2006, 03:30:09 PM
I installed AutoSig, which appears to have been successful.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 13, 2006, 03:34:31 PM
Quote from: aarffy on October 13, 2006, 03:30:09 PM
I installed AutoSig, which appears to have been successful.

Does it actually work? Have you tried? Or does it simply install without errors?

Do you have a "Search.php~" file in your Sources folder? Does it have any file size difference between "Search.php" file?
Title: Re: Advanced Visual Verification
Post by: aarffy on October 13, 2006, 03:42:01 PM
No Search.php~
Title: Re: Advanced Visual Verification
Post by: Harzem on October 13, 2006, 03:43:57 PM
Hmm, then the verification mod was not installed at all. Can you try it once more? Will it give any installation error? Will it say "it has been installed"?
Title: Re: Advanced Visual Verification
Post by: aarffy on October 13, 2006, 04:06:30 PM
I uploaded and applied again:

The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.

But same result, no admin > registration > visual verification.

I have a feeling it's a file permission thing. I'll try it on a different server later.
Title: Re: Advanced Visual Verification
Post by: aarffy on October 13, 2006, 07:11:19 PM
Yes, it seems it is a server issue. Thanks for your help.
Title: Re: Advanced Visual Verification
Post by: goofy2feet on October 13, 2006, 09:15:58 PM
Quote from: HarzeM on October 13, 2006, 12:42:55 PM
goofy2feet, we can try to solve the problem, because this mod works for everyone.

Were you using a different theme when the mod was applied?

Thanks for your reply.
No, I was using the default theme.
I applied the mod using the package manager in the admin panel.

(Sorry for slow reply - am in a different time zone... and working so I can only get to look in here intermittently. If the problem can be relatively simply fixed then I would be interested in getting your mod set up on my forum)

Thanks.
Title: Re: Advanced Visual Verification
Post by: carbonize on October 14, 2006, 02:49:59 PM
Hi HarzeM. Great mod but is there any sign of the bug fix update? I just installed this and already have pages and pages of errors regarding the undefined index.
Title: Re: Advanced Visual Verification
Post by: Croco on October 14, 2006, 10:28:35 PM
Quote from: carbonize on October 14, 2006, 02:49:59 PM
Hi HarzeM. Great mod but is there any sign of the bug fix update? I just installed this and already have pages and pages of errors regarding the undefined index.

yea we are waiting ! :D
Title: Re: Advanced Visual Verification
Post by: carbonize on October 14, 2006, 11:04:32 PM
Also all searches fail but not sure if this is because of the mod or not.
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 07:40:39 AM
Any idea as to why the verification image doesn't show?
(Issue and website link posted on pg. 8)
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 07:43:34 AM
Vaskania, does your theme have a register.template.php file?
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 07:47:03 AM
Nope.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 07:55:47 AM
Do you have a "Search.php~" file in your Sources folder? Does it have any file size difference between "Search.php" file?
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 08:00:52 AM
Yes.
Search.php: 79720 bytes
Search.php~: 76601 bytes
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 08:03:20 AM
Then please also check

Personalmessage.php
Post.php
Register.php

And in Themes/default folder:

Search.template.php
Personalmessage.template.php
Post.template.php
Register.template.php

Do these also have ~ versions, and file size difference?
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 08:14:05 AM
Personalmessage.php: 83504
Personalmessage.php~: 79038
Post.php: 87474
Post.php~: 86403
Register.php: 21679
Register.php~: 21862

Search.template.php: 28629
Search.template.php~: 22833
Personalmessage.template.php: 55245
Personalmessage.template.php~: 53394 (Black22 Theme also has it's own PM template)
Post.template.php: 56517
Post.template.php~: 54666
Register.template.php: 38659
Register.template.php: 29373
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 08:16:55 AM
What php files do you have in black22 theme? (you may need to remove the pm template of black22)

Have you activated the verification? What errors/problems are you getting exactly?
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 08:22:51 AM
/fonts
/images
/languages
/ttf_fonts
BoardIndex.template.php
Display.template.php
error_log
index.php
index.template.php
MessageIndex.template.php
PersonalMessage.template.php
Recent.template.php
Settings.template.php
style.css
theme_info.xml
Who.template.php

I did go through your mod installation manually as well to add in the necessary script to the files that the theme had of it's own.

Yes, the mod is activated.

The actual problem is that the script works fine, but there is no verification image showing in the admin panel or the registration page for this theme. It does work with the Default theme, however.

Edit .. I also want to re-add that the stock feature for visual verification was broken for me to begin with in the same manner. No image was displayed.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 08:52:46 AM
Do you have a language other than english?

Can you provide me a phpinfo?

What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 08:57:46 AM
I have not installed any other languages.
I have PMed you the link to the phpinfo.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 09:01:04 AM
This gets strange. You have GD and freetype libraries.

Can you do me a favor?

Enable verification.
Disable registration verification, enable search verification.
Set image verification validity for search as 0 or 1.
Allow guests to make searches.

So I can have a look at the image at seach and see the problem.
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 09:05:02 AM
Should be good to try.

Could there be something in the theme code itself preventing it from displaying? Since it does work on the Default theme...
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 09:11:10 AM
I don't know why it will work for default theme but not black22 theme.

Can you enable theme selection for users? So I can see in on default theme, whicle the other users wo'Nt even see the default theme.
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 09:13:42 AM
Theme selection was enabled, but I went ahead and enabled users to select the Default theme as well.

(By users I'm assuming you meant members)
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 09:22:26 AM
Wow, it doesn't work ONLY for black22 :o All the other themes display it properly.

I can't see any reason why it will behave like that. Try deleting the font folders of black22 so they will be used from default.
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 09:25:45 AM
Didn't work. This is buggin me too, because I really like that theme and Bloc gave me permission to mod the crap out of it.. so to speak. lol
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 09:34:08 AM
Then we'll need to investigate further.

Try renaming ALL php files in that theme directory, to begin with 2.
For example, "2index.template.php".

Then run your forum. It should look like default, but with black colors. Report whether the image works or not.
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 09:36:33 AM
The site looks VERY ugly, but the image works. lol
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 09:45:17 AM
Now rename the files back to their original names.

Then rename files to their "2" versions again, this time one by one. At each rename, try if the image works.

What we want to find is, the file of Black22 that makes the image unreadable.
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 09:47:08 AM
I've actually found out what it was. It was my included header. Now to figure out how to include an external header without screwing things up. =|
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 09:47:36 AM
How did you include it?
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 09:51:45 AM
Placed in template_main_above:
include ('http://www.teamnorthamerica.net/indexHeader.php');

The contents of said header:
<?php 
//require("forums/SSI.php");
require_once("forums/smf_api.php");

 
/*BEGIN MAIN TABLE*/
Echo '
<table valign="top" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="padding: 0;">'
;

// LEFT SIDE BLOCKS
Echo  '
<table valign="top" cellpadding="0" cellspacing="0" style="margin-top: 38px;">
<tr>
<td cellspacing="0" cellpadding="0" valign="top" style="background-color: #FF33CC; width: 6px; background-image: url(http://www.teamnorthamerica.net/forums/Themes/black22_11rc3/images/leftback.gif); background-repeat: repeat-y;">
</td>
<td valign="top" style="padding: 0;">'
;

/*VENTRILO BLOCK*/
Echo '
<table valign="top" width="100%" style="background-color: #50535B;"><tr><td class="pm_box" align="center">VENTRILO</td></tr>
<tr><td align="center" style="background-color: #686A6E;">
<script language="javascript" type="text/javascript">
var vspy_width=145;
var vspy_height=200;
var vspy_style="160x200_html";
var vspy_server="66.207.167.29:4034";
</script>
<script language="javascript" type="text/javascript" src="http://www.ventrilospy.net/js/show_ventrilo.js"></script><p>
</td><tr></table>'
;

/*GAME SERVER BLOCK*/
Echo '
<table valign="top" width="100%" style="background-color: #50535B; margin-top: 4px; "><tr><td class="pm_box" align="center">GAME SERVERS (3)</td></tr>
<tr><td align="center" style="background-color: #686A6E;">
<IFRAME src="http://www.nanospy.de/track.php?ip=70.86.100.210&port=7777&qport=8777&prot=rvs&width=120&height=152" frameborder="1" scrolling="no" style="width: 120px; height: 152px;">[Your browser does not support frames or is currently configured  not to display frames.]</IFRAME><p />
<IFRAME src="http://www.nanospy.de/track.php?ip=70.86.100.210&port=28960&qport=28960&prot=cod&width=120&height=152" frameborder="1" scrolling="no" style="width: 120px; height: 152px;">[Your browser does not support frames or is currently configured  not to display frames.]</IFRAME><p />
<IFRAME src="http://www.nanospy.de/track.php?ip=70.86.100.210&port=28961&qport=28961&prot=cod&width=120&height=152" frameborder="1" scrolling="no" style="width: 120px; height: 152px;">[Your browser does not support frames or is currently configured  not to display frames.]</IFRAME>
</td><tr></table>'
;

/*END LEFT SIDE BLOCK TABLE*/
Echo '
</td>
</tr>
</table>'
;


/*BEGIN RIGHT SIDE/FORUM*/
Echo '
</td>
<td width="100%">'
;
 
?>


Then I had table closing tags in template_main_below to close the main table created by my header.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 09:55:26 AM
You don't need the code:

//require("forums/SSI.php");
require_once("forums/smf_api.php");

And you can include the file:

include("home/yoursite/public_html/indexHeader.php");
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 09:57:22 AM
Yea, i had the smf_api called because I was working to include other things to a main portal type looking page (without using TinyPortal); I just didn't remove the requirement.

Thanks for putting up with this with me. hah :)
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 10:01:47 AM
Wow, now it works? That was a long support conversation!
Title: Re: Advanced Visual Verification
Post by: Vaskania on October 15, 2006, 10:08:29 AM
Yep! It works.

Knowing my dumb luck I had the footer in the wrong section by accident which probably broke everything. I'm still getting used to the layout of SMF.. soo used to Nuke.
Title: Re: Advanced Visual Verification
Post by: carbonize on October 15, 2006, 11:24:14 AM
Ok I've been fixing the bugs myself. Looks like an error between the names you gave to your language lines and the names you then call in the scripts. Like in search.php you have

log_error($txt['visual_verification_failed']);

but in the language file you put

$txt['error_visual_verification_failed'] = 'The letters you typed don\'t match the letters that were shown in the picture.';

So I removed the error_ part from the language file.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 12:52:24 PM
Quote from: carbonize on October 15, 2006, 11:24:14 AM
Ok I've been fixing the bugs myself. Looks like an error between the names you gave to your language lines and the names you then call in the scripts. Like in search.php you have

log_error($txt['visual_verification_failed']);

but in the language file you put

$txt['error_visual_verification_failed'] = 'The letters you typed don\'t match the letters that were shown in the picture.';

So I removed the error_ part from the language file.

They are different texts. One is default in RC3, and the other is given when a guests can't type the letters when posting. So I suggest you to restore it ;)
Title: Re: Advanced Visual Verification
Post by: carbonize on October 15, 2006, 12:55:09 PM
Well since removing the error_ I'm not getting the undefined index error any more.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 15, 2006, 12:57:01 PM
Can you again tell me which errors are you getting at which files and lines?
Title: Re: Advanced Visual Verification
Post by: carbonize on October 15, 2006, 01:08:59 PM
The one I get most is

8: Undefined index: visual_verification_failed
File: /home/yahelit/public_html/forum/Sources/Search.php
Line: 282

But I've disabled captcha in searches now so that ones gone.

If a guest puts wrong image code when making a post it generates this error

8: Undefined index: visual_verification_failed
File: /home/yahelit/public_html/forum/Sources/Post.php
Line: 1276

Which is the same line as in the search error
log_error($txt['visual_verification_failed']);

Also they get

Your session timed out while posting. Please try to re-submit your message.
No name was provided.
No email address was provided.
An invalid email address was given.
The letters you typed don't match the letters that were shown in the picture.
No subject was filled in.
The message body was left empty.
Title: Re: Advanced Visual Verification
Post by: carbonize on October 15, 2006, 02:13:52 PM
ok some more error messages for you

8: Undefined index: verificationAskGuestSearch
File: /home/yahelit/public_html/forum/Sources/Search.php
Line: 289

8: Undefined index: verificationAskPM
File: /home/yahelit/public_html/forum/Sources/PersonalMessage.php
Line: 1379

I don't have FTP access right now because work is funny about that kind of thing.
Title: Re: Advanced Visual Verification
Post by: carbonize on October 16, 2006, 06:29:50 AM
I've switched to Daniel15's CAPTCHA mod as at present this one has to many bugs. In one night it generated 8 pages of error log.
Title: Re: Advanced Visual Verification
Post by: Morning on October 16, 2006, 04:39:06 PM
Just a small update.

Had some issues with Installing. It said that it didnt have the correct perms to install in Packages, and seemed to cache this somewhere. Only after I switched to another computer and tried to install (after uploading package to Packages/Advanced*.zip) did the package verify and install.
Title: Re: Advanced Visual Verification
Post by: sawz on October 16, 2006, 08:34:49 PM
Quote from: carbonize on October 16, 2006, 06:29:50 AM
I've switched to Daniel15's CAPTCHA mod as at present this one has to many bugs. In one night it generated 8 pages of error log.

i just deleted over 400 pages of errors, really, i was surprised at the number of errors. the majority of them due to the Advanced Visual Verification Mod. The first thing i noticed was that the control panel for the mod in the Admin section was gone, so i couldn't disable it. i tried uninstalling but got an error so i didn't proceed.

the mod still works fine, just like its supposed to, but no control panel and i can't uninstall it at the moment. right now my biggest concern is the missing control panel. the forum is using the Back-n-Black theme so i didn't have to edit any files. any thoughts on the missing control panel?

here is a sample of the errors:

forums/index.php?action=pm;sa=send2
forums/Sources/PersonalMessage.php

forums/index.php?action=regcenter;sa=settings
forums/Sources/ManageRegistration.php
Title: Re: Advanced Visual Verification
Post by: Simplemachines Cowboy on October 16, 2006, 10:52:39 PM
The errors I get are this:
Quote8: Undefined index: use_graphic_library
File: /home/********/public_html/smf/Themes/default/Register.template.php (eval?)
Line: 55

and:
Quote8: Undefined index: verificationAskPM
File: /home/********/public_html/smf/Sources/PersonalMessage.php
Line: 1379

Default theme on rc 3 (upgraded from rc 2)

Test forum, no mods installed other than this one.
Title: Re: Advanced Visual Verification
Post by: carbonize on October 17, 2006, 05:16:18 AM
These error were first reported on September 18th as can be seen at http://www.simplemachines.org/community/index.php?topic=114620.msg735112#msg735112
Title: Re: Advanced Visual Verification
Post by: Harzem on October 17, 2006, 10:01:05 AM
I'll be releasing the bug fix this night, including an upgrade from your current one also.

make sure that you have posted all the errors here, so I can address them one by one.
Title: Re: Advanced Visual Verification
Post by: sawz on October 17, 2006, 11:55:07 AM
thanx HarzeM, i was able to get it back to the point where i could uninstall it, now i'll wait for the update.
Title: Re: Advanced Visual Verification
Post by: Croco on October 19, 2006, 01:30:26 AM
there is a problem with

8: Undefined index: visual_verification_failed in Sources/Search.php

8: Undefined index: verificationAskPM in Sources/PersonalMessage.php
Title: Re: Advanced Visual Verification
Post by: rockinaway on October 25, 2006, 12:44:00 PM
My verification images are not showing. They show the red cross, which is usually shown when an image doesn't exist.

http://www.etcworld.co.uk/forum/

That is the link to see, just try registering and the image does not appear  :(
Title: Re: Advanced Visual Verification
Post by: sawz on October 25, 2006, 02:06:58 PM
Quote from: rockinaway on October 25, 2006, 12:44:00 PM
My verification images are not showing. They show the red cross, which is usually shown when an image doesn't exist.

http://www.etcworld.co.uk/forum/

That is the link to see, just try registering and the image does not appear  :(
the verification your using is not the one being discussed in this thread, what your using in the captcha that is default with 1.1 rc3
Title: Re: Advanced Visual Verification
Post by: rockinaway on October 25, 2006, 04:38:47 PM
Nope I am using this one ;)
Title: Re: Advanced Visual Verification
Post by: sawz on October 25, 2006, 04:59:10 PM
Quote from: rockinaway on October 25, 2006, 04:38:47 PM
Nope I am using this one ;)
for some reason i thought there wasn't any sound files associated with this mod, my bad.
anyway, i had to uninstall mine due to do lots of errors in the error log, and HarzeM is in the process of making corrections. so the best thing to do is wait till the man is done.
Title: Re: Advanced Visual Verification
Post by: floris on October 25, 2006, 07:21:26 PM
During installation of this mod I get a blank page, and the mod won't install itself. It only uploaded the file Verification.php and the map ttf_fonts.

My error log gives the following error:

QuotePHP Fatal error: packageinstall(): Failed opening required '/home/xxx/httpdocs//Packages/temp/./installverification.php' (include_path='.:/usr/share/pear') in /home/xxx/httpdocs/Sources/Packages.php on line 540, referer: http://forum.virtuworld.net/index.php?action=packages;sa=install;package=AdvancedVisualVerification_1-0.zip

How can I solve this problem?
Title: Re: Advanced Visual Verification
Post by: rockinaway on October 26, 2006, 05:06:41 AM
Quote from: rockinaway on October 25, 2006, 12:44:00 PM
My verification images are not showing. They show the red cross, which is usually shown when an image doesn't exist.

http://www.etcworld.co.uk/forum/

That is the link to see, just try registering and the image does not appear  :(

Its working agian today! It worked when I first installed it, then went, now it is back?!
Title: Re: Advanced Visual Verification
Post by: sawz on October 26, 2006, 05:55:33 AM
Quote from: rockinaway on October 26, 2006, 05:06:41 AM
Quote from: rockinaway on October 25, 2006, 12:44:00 PM
My verification images are not showing. They show the red cross, which is usually shown when an image doesn't exist.

http://www.etcworld.co.uk/forum/

That is the link to see, just try registering and the image does not appear  :(

Its working agian today! It worked when I first installed it, then went, now it is back?!
are there any errors in your error log? look for any visual verification errors.
Title: Re: Advanced Visual Verification
Post by: rockinaway on October 26, 2006, 06:08:02 AM
Nothing from what I can see.
Title: Re: Advanced Visual Verification
Post by: BShaftoe on October 26, 2006, 07:48:29 AM
Hi, Harzem!

I'd like to use your mod in my spanish forum, but prior to that, I need to translate it.

Can you tell me what should I do (exactly) in order to translate the mod so it can be automatically installed in spanish?

I'm a computer science student, but I have near to nil knowledge about PHP and HTML, so any help would be appreciated. Or a link to a "translation tutorial" or something like that.

Of course, once I have translated it, I will post it here, so everybody can benefit from it.
Title: Re: Advanced Visual Verification
Post by: rockinaway on October 26, 2006, 08:12:13 AM
For you to use the MOD on a Spanish board, and for the effects to take on automatic install you must:

1) Download the package from here
2) Open up the install.xml for editing
3)

Find:


<file name="$languagedir/index.english.php">
<operation>
<search position="end"></search>
<add><![CDATA[
// Advanced Visual Verification Mod Start
$txt['verificationVisual'] = 'Visual Verification';
$txt['verificationSettingsDesc'] = 'Here you can change many settings about visual verification in your site.';

$txt['enable_visual_verification'] = 'Enable visual verification';
$txt['verificationCodeChars'] = 'Number of characters in the verification image';
$txt['verificationMaxTries'] = 'Number of failures before blocking the user';
$txt['verificationWaitTime'] = 'Minutes before blocking expires';

$txt['verificationAskRegister'] = 'Ask in registration';
$txt['verificationAskGuestPost'] = 'Ask in guest posting';
$txt['verificationAskPM'] = 'Ask when sending personal messages';
$txt['verificationPMvalid'] = 'Maximum personal messages a verification image is valid for';
$txt['verificationPMvalidDesc'] = 'This is the number of personal messages which users will not be asked for image verification once they entered the code correctly. Recommended value is around 5-10.';
$txt['verificationAskGuestSearch'] = 'Ask in guest searches';
$txt['verificationAskMemberSearch'] = 'Ask in member searches';
$txt['verificationSearchValid'] = 'Maximum searches a verification image is valid for';
$txt['verificationSearchValidDesc'] = 'This is the number of searches which users will not be asked for image verification once they entered the code correctly. Recommended value is around 5-10';

$txt['verificationImageBackground'] = 'Image background type';
$txt['verificationBGnoise'] = 'Noise';
$txt['verificationBGnoiseDesc'] = 'Fast, but not very effective. You can use this unless you suspect your forum still gets automatic registration.';
$txt['verificationBGlines'] = 'Distorted Lines';
$txt['verificationBGlinesDesc'] = 'Recommended. Generates easy to read but hard to guess characters.';
$txt['verificationBGcolored'] = 'Random Colors';
$txt['verificationBGcoloredDesc'] = 'Hardest to break, but slow and hard to read. Not all servers may be able to display this. See a preview before actually using it.';
$txt['verificationBGcircles'] = 'Inverted circles';
$txt['verificationBGcirclesDesc'] = 'Hardest to break, but slow and hard to read.';

$txt['verificationImageSize'] = 'Image size';
$txt['verificationImageSizeSmall'] = 'Small';
$txt['verificationImageSizeMedium'] = 'Medium';
$txt['verificationImageSizeLarge'] = 'Large';

$txt['verificationGDnotsupported'] = 'Your server doesn\'t have GD library installed. Verification images will be generated without GD.';

$txt['verificationPreview'] = 'Preview Image';
$txt['verificationPreviewDesc'] = '(Please wait when the preview is being generated)';

$txt['verificationReadChars'] = 'You should read <b>%s</b> characters in this image.';
$txt['verification_brute_force'] = 'You have exceeded the limit of visual verification failures. You should wait %s minutes before you can try again.';
$txt['error_visual_verification_failed'] = 'The letters you typed don\'t match the letters that were shown in the picture.'


It should be at the end of the file.

4) This is to be done in the smae install.xml file

Find:

<file name="$languagedir/index.english.php">
<operation>
<search position="end"></search>
<add><![CDATA[


Then replace the 'index.english.php' with your language file, I guess it would be 'index.spanish.php', although it may be different.

5) Change the second bit for each string so that it is Spanish, for example:

$txt['verificationVisual'] = 'Visual Verification';

We want to edit the 'Visual Verification' part, which is what the string will show. So change that into Spanish. Do the same for all the other strings.
Title: Re: Advanced Visual Verification
Post by: BShaftoe on October 26, 2006, 10:02:35 AM
Ok, thanks, mate.

Once I have translated it and I have checked it works properly on my forum I will post a link here.
Title: Re: Advanced Visual Verification
Post by: Gobo on October 26, 2006, 01:40:58 PM
Thanks its a great mod - works perfectly!

And the amount of options given are really wonderful as well :D

Aku
Title: Re: Advanced Visual Verification
Post by: Sam_Gordon on October 28, 2006, 09:52:37 AM
Hi HarzeM!
I have also a problem with the error in the CP-Error Log:

http://allplanet.ru/forum/index.php?action=pm;sa=send2
8: Undefined index: verificationAskPM
File: /home/***/***/***/forum/Sources/PersonalMessage.php
Line: 1420 (no matter :))

// Check whether the visual verification code was entered correctly.
$modSettings['verificationPMValid'] = isset($modSettings['verificationPMValid']) ? $modSettings['verificationPMValid'] : 5;
if ((empty($_SESSION['verificationAskPM']) || $_SESSION['verificationAskPM'] >= $modSettings['verificationPMValid']) && empty($modSettings['disable_visual_verification']) && !empty($modSettings['verificationAskPM']))
{
require_once($sourcedir . '/Verification.php');
if ((empty($_REQUEST['visual_verification_code']) || !verifyCode(strtoupper($_REQUEST['visual_verification_code']))))
{
$post_errors[] = 'visual_verification_failed';
log_error($txt['visual_verification_failed']);
// Require new verification
$_SESSION['verificationAskPM'] = -1;
}
else
$_SESSION['verificationAskPM'] = 0;
}
$_SESSION['verificationAskPM'] ++; // THIS IS THE LINE
   

http://allplanet.ru/forum/index.php?action=search2
8: Undefined index: verificationAskGuestSearch
Файл: /home/***/***/***/forum/Sources/Search.php
Line: 289 (no matter :))

// Check whether the visual verification code was entered correctly.
$modSettings['verificationSearchValid'] = isset($modSettings['verificationSearchValid']) ? $modSettings['verificationSearchValid'] : 5;
if ((empty($_SESSION['verificationAskGuestSearch']) || $_SESSION['verificationAskGuestSearch'] >= $modSettings['verificationSearchValid']) && empty($modSettings['disable_visual_verification']) && ((!empty($modSettings['verificationAskGuestSearch']) && $user_info['is_guest']) || (!empty($modSettings['verificationAskMemberSearch']) && !$user_info['is_guest'])))
{
require_once($sourcedir . '/Verification.php');
if ((empty($_REQUEST['visual_verification_code']) || !verifyCode(strtoupper($_REQUEST['visual_verification_code']))))
{
$context['search_errors']['visual_verification_failed'] = true;
log_error($txt['visual_verification_failed']);
// Require new verification
$_SESSION['verificationAskGuestSearch'] = -1;
}
else
$_SESSION['verificationAskGuestSearch'] = 0;
}
$_SESSION['verificationAskGuestSearch'] ++; // THIS IS THE LINE


It doesn't matter - user or not.

The verification options for the search and PM-send are not checked - and this, IMHO, is the error, because the verificationAsk*'s doesn't have an index, the vars wasn't defined.
Please help me to solve this problem, where can I fix this little bug. (Sorry, it's not a bug, it's a feature :))
Many thanks in advance.

P.S. Our Forum on our site: FORUM OF THE FREE TRAVELLERS' CLUB - allplanet.ru - (http://allplanet.ru/forum)

Happy Uraz Bairam!
Title: Re: Advanced Visual Verification
Post by: BShaftoe on October 28, 2006, 09:53:27 AM
Ok, mates. It's translated into Spanish, but somehow I cannot get it to work properly in my server. The image simply isn't displayed. But I think it works, at least, the text is in Spanish.

The file is here: http://personal.telefonica.terra.es/web/greguren/AdvancedVisualVerification_1-0_es.zip (http://personal.telefonica.terra.es/web/greguren/AdvancedVisualVerification_1-0_es.zip)
Title: Re: Advanced Visual Verification
Post by: wibo on October 30, 2006, 03:32:33 PM
Quote from: RoarinRow on September 18, 2006, 10:45:54 PM
I got these errors.  Any idea how to resolve:


8: Undefined index: verificationAskPM
File: /forum/Sources/PersonalMessage.php
Line: 1379

For the Search and PM options, I left them unchecked in the Control Panel, but I left the default number 5 in the box.


I installed the mod yesterday.
I have a lot of these errors as well.


Title: Re: Advanced Visual Verification
Post by: J. Williams on October 30, 2006, 04:08:15 PM
The only fix for now is changing them to checked
Title: Re: Advanced Visual Verification
Post by: Harzem on October 30, 2006, 04:14:07 PM
Sorry for any inconvenience, I have several server issues, I made two migration within a short time, most of my websites are offline for more than a week, even a month for few, I can't deliver any emails sent to @harzem.com (try sending an email to dilbermc@harzem.com), I've spend 99.95$ for nothing but server tests, still my apache on the server is broken and I can't get online. I currently own three VPS machines and no flawless website.

I'll be updating the mod with a huge change (code based) after I'm again on my feet.
Title: Re: Advanced Visual Verification
Post by: Sam_Gordon on October 30, 2006, 04:46:09 PM
Quote from: J J Williams on October 30, 2006, 04:08:15 PM
The only fix for now is changing them to checked

:)
Yes, sure. But i don't need that.
Title: Re: Advanced Visual Verification
Post by: exrace on October 31, 2006, 08:11:15 AM
I have installed this neat mod right after the latest RC3 patch and the images do not generate.
What apache lib support is needed for the image generation? 
The image has "action=verificationcode;rand=82f7b2a8f751acd56e1cb7d38bf18941" for the link and the "listen to the letters" works fine.
Title: Re: Advanced Visual Verification
Post by: wibo on October 31, 2006, 09:11:05 AM
Please can you tell me when will there be an update?

There are a lot of errors now in my error log.

8: Undefined index: profile_updated_own
8: Undefined index: verificationAskPM

many many errors like this since 3 days when I installed this mod.

The visualisation images are nice and clear but if there will be not an upgrade I think I have to uninstall the mod.
Title: Re: Advanced Visual Verification
Post by: Harzem on October 31, 2006, 09:21:06 AM
Yes there will be an update. Read my previous post please.

Quote from: HarzeM on October 30, 2006, 04:14:07 PM
Sorry for any inconvenience, I have several server issues, I made two migration within a short time, most of my websites are offline for more than a week, even a month for few, I can't deliver any emails sent to @harzem.com (try sending an email to dilbermc@harzem.com), I've spend 99.95$ for nothing but server tests, still my apache on the server is broken and I can't get online. I currently own three VPS machines and no flawless website.

I'll be updating the mod with a huge change (code based) after I'm again on my feet.

Title: Re: Advanced Visual Verification
Post by: paster_cobra on October 31, 2006, 10:28:27 PM
i installed the advance verification mon..everything installed and checked out fine..when i going into the setup i get the following error

Unable to load the 'verification_settings' template

also no one can register for forum

can someone PLEASE help using rc 3

i am using the Silver_Shine v2 theme

www.shadowbattalion.com/forum
Title: Re: Advanced Visual Verification
Post by: Spanko on November 01, 2006, 10:50:16 AM
Hello,
i have a problem. i have the german language pack installed and my forum uses the german language.

today i installed the bot and at the registration form is the new visual verification, but i dont have it in the admin.

i tried to edit the xml-file and changed the index.english.php into index.german.php. after that and the new install i have it in the admin, but the registration form sends a failure notice.

what must i change and what not to have it at the registration form and at the german admin?

thx
Title: Re: Advanced Visual Verification
Post by: Laibeus Lord on November 03, 2006, 11:32:13 PM
Errors / bugs

Part I.
Even if member and guest PM, search and posting are enabled, no captcha is being loaded.  Basically, only works for me on the registration page.

Part II.
These are the errors I get.


8: Undefined index: verificationAskGuestSearch
File: /home/laibcom/public_html/boards/Sources/Search.php
Line: 298



8: Undefined index: verificationAskPM
File: /home/laibcom/public_html/boards/Sources/PersonalMessage.php
Line: 1391


Errors show even with the settings "unchecked" and with the core theme and any other theme (with all the theme settings properly and correctly added).

Thanks

Title: Re: Advanced Visual Verification
Post by: Deirdre on November 04, 2006, 06:25:52 AM
Quote from: ragots on October 12, 2006, 06:51:48 PM
Hello people, I'm posting this again.

When I log in as admin  and I try to edit a post done by a guest,
when I try to save the changes, I get the error message telling me that I did not type the correct captcha code, although the captcha dialog did not come up while I edited the message left by the user.

Daniel15 said he found a fix for this.
What is that fix ?

Does HarzeM has a fix ?
The one you proposed did not work.
Just for the record, i had the same problem.
Don't know if my fix is correct, but it works.

In Post.php :

// Check whether the visual verification code was entered correctly.
if (empty($modSettings['disable_visual_verification']) && empty($modSettings['verificationDontAskGuestPost']))


Replace :

// Check whether the visual verification code was entered correctly, and we are not modifying the message.
if (empty($modSettings['disable_visual_verification']) && empty($modSettings['verificationDontAskGuestPost']) && isset($_REQUEST['msg']) && !empty($topic) && !allowedTo('moderate_forum'))
Title: Re: Advanced Visual Verification
Post by: Morning on November 06, 2006, 05:58:02 AM
Hi,

I had an installation error.

Said a problem with Packages/./temp directory. I made the directory by hand, tried again, install completed.

I cannot find the register-> .... Visual Settings, or whatver text that is supposed to be.

Trying to uninstall, so I can install it again, buit getting the following message:

QuoteAn Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

Quote
rises@x054:[/www/htdocs/rises]ls -ld Packages   
drwxrwsr-x   3 rises    www             256 Nov 06 11:43 Packages
Title: Re: Advanced Visual Verification
Post by: Daniel15 on November 06, 2006, 09:09:25 PM
Quoterises@x054:[/www/htdocs/rises]ls -ld Packages   
drwxrwsr-x   3 rises    www             256 Nov 06 11:43 Packages
It's not world writable, so unless you're using PHP suexec, you'll need to make it world writable:

chmod a+w Packages
Title: Re: Advanced Visual Verification
Post by: Morning on November 09, 2006, 05:38:28 AM
Most people assume it is nobody/nobody. Actually, my perms are fine for the settings I use.

Excerpt from httpd.conf:

#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#

User www
Group www


imho - world writeable is to be avoided as much as possible. Normally my perms are o-rwx (or --- for others)
Title: Re: Advanced Visual Verification
Post by: DJ Skott on November 09, 2006, 05:01:02 PM
I'm getting this error

Fatal error: packageinstall(): Failed opening required '/home2/xxxxpublic_html/xxx/board/Packages/temp/./installverification.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/xxxx/public_html/xxxx/board/Sources/Packages.php on line 540
Title: Re: Advanced Visual Verification
Post by: Morning on November 10, 2006, 02:36:52 AM
This was the problem I was getting constantly.

I made the directory, and reinstalled, deinstalled, and installed again. Then everything installed.

* I have had to do it twice like this, and had to wait some hours before the deinstall worked. My best guess is that there are some cookies, or session "thingies" preventing the deinstall from working initially. So if you try to deinstall, and it doesnt work, try in 12 hours. And witness a miracle! :)
Title: Re: Advanced Visual Verification
Post by: Laibeus Lord on November 10, 2006, 06:54:21 AM
Quote from: Laibeus Lord on November 03, 2006, 11:32:13 PM
Errors / bugs

Part I.
Even if member and guest PM, search and posting are enabled, no captcha is being loaded.  Basically, only works for me on the registration page.

Part II.
These are the errors I get.


8: Undefined index: verificationAskGuestSearch
File: /home/laibcom/public_html/boards/Sources/Search.php
Line: 298



8: Undefined index: verificationAskPM
File: /home/laibcom/public_html/boards/Sources/PersonalMessage.php
Line: 1391


Errors show even with the settings "unchecked" and with the core theme and any other theme (with all the theme settings properly and correctly added).

Thanks



Could this be related to some session or cookies being stored somewhere?  Sometimes these errors don't show up, there are times when it does.

Title: Re: Advanced Visual Verification
Post by: Morning on November 10, 2006, 10:04:39 AM
I dont know if your probem is like mine. I thought Advanced Visual Verification was the built-in captcha. I originally came to this thread thinking it was fixes for that.

I never got the built to work, but - with a bit of difficulity, I did get this one to work.

If only there was a version for smf/joomla bridged versions - I'd be very happy.

If you are not 'suffering' from the confusion I had, just disregard the post - and gl with your problem.  ;D
Title: Re: Advanced Visual Verification
Post by: shahrc on November 17, 2006, 11:52:00 PM
I got this error

Fatal error: packageinstall() [function.require]: Failed opening required
'/x/x/x/Packages/temp/./installverification.php' (include_path='.:/usr/local/lib/php') in /x/x/x/Sources/Packages.php on line 540


How to solve this?
Title: Re: Advanced Visual Verification
Post by: J. Williams on November 18, 2006, 04:12:25 AM
Quote from: shahrc on November 17, 2006, 11:52:00 PM
I got this error

Fatal error: packageinstall() [function.require]: Failed opening required
'/x/x/x/Packages/temp/./installverification.php' (include_path='.:/usr/local/lib/php') in /x/x/x/Sources/Packages.php on line 540


That is not related to this modification

How to solve this?
Title: Re: Advanced Visual Verification
Post by: Krysia on November 18, 2006, 05:44:48 PM
Well, it installed with no problems, and the visuals appeared without difficulty in all their colorful glory.

So far, so good. <phew, crosses fingers> :D

Thank you for the fabulous mod.
Title: Re: Advanced Visual Verification
Post by: shiva777 on November 19, 2006, 01:15:03 AM
Hello and thank you for the mod! I have one problem though: I am setting up my site with a 'simple view' theme and an advanced view theme. The weird thing is that when someone is in one theme and goes to register the verification image does not show up. The form field and 'type in the letters' message comes up but no image. However, if they switch to the other theme then it shows up fine. Don' these feed off the same files no matter what the theme? Why would it show up in one theme and not another?
Any help appreciated!

~shiva
Title: Re: Advanced Visual Verification
Post by: PuG on November 20, 2006, 09:04:20 AM
Hi - mod looks good, installed fine with no erros but no image appears - comes up with red cross in IE, and preview in admin fails to work.

Running latest GD.

Any suggestions?

Regards!


Update - Had to uninstall then reinstall the mod - working :)
Title: Re: Advanced Visual Verification
Post by: Rop on November 20, 2006, 10:05:00 AM
When applying the mod it shows:

2.     Execute Modification     -     Modification parse error

The "install now" option is still enabled after that, though it is clear that nothing gets installed when hitting it.

This is a fresh install of SMF 1.1-RC3 on a W2K machine, running Apache v2, PHP5 (safe_mode = Off), and MySQL 5.0.27. All on the same machine. The entire SMF directory and everything underneath has full access control for everyone, with 'inherit' enabled so the temp dir that Package Manager creates plus its files have full controll as well. The database user account has SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX and ALTER access to the forum schemata.

Any ideas on where to look or what to try? A better description on what this error message actually means would be helpful too. I've exhausted all ideas on this end...

Thank you!

-Rob-
Title: Re: Advanced Visual Verification
Post by: dvd-man on November 21, 2006, 05:50:49 PM
I apoligize if this has been asked before in this thread; but I didn't wanna read all 15 pages :P

Can you use this mod with custom themes? If so... how? I noticed some of the files affected were template files.

Thanks!
Title: Re: Advanced Visual Verification
Post by: Daniel Hofverberg on November 22, 2006, 08:58:05 AM
I have just installed this mod, and it works fine for me - nice to finally be able to enable guest posting again.

However, one suggestion for HarzeM: Would it be possible for you to add an option to use CAPTCHA on "Send topic" as well (I e when someone clicks "Send this topic", to send an e-mail to someone about a topic)? As it is now, it's pretty much impossible to enable that option for guests, as it would result in tons of spam e-mails being sent from the forum. Therefore, it would be very useful if CAPTCHA could be added when guests are using that feature as well. Any way to add this to the next version?
Title: Re: Advanced Visual Verification
Post by: Dozzer on November 27, 2006, 02:51:34 PM
Help on installing...

I have the following error:

Modification parse error   (in red) when trying to install using the package manager.

All of my files and folders are chmod 777.

Any ideas?

regards,

Doz
Title: Re: Advanced Visual Verification
Post by: Boyscoutz on November 28, 2006, 11:40:06 AM
Hi,

First of all it appears to be a great mod - however, I can't get the verification image to show up. There is a red cross - no preview, no sound etc. I run the lastest version of SMF 1.1 RC3, default english language, Default_modern skin - and everything installed without any errors.

The image will not show on preview, nor in the registration. Do I need to install other stuff than the Advanced Visual Registration or do you have any ideas of how to fix this?

Thanks
Title: Re: Advanced Visual Verification
Post by: Harzem on November 28, 2006, 12:53:26 PM
Does that theme (default-modern) have its own template files? If so, which ones? I'm asking about .php files.
Title: Re: Advanced Visual Verification
Post by: Boyscoutz on November 28, 2006, 01:14:59 PM
Yes it has an index.template.php

Thanks
Title: Re: Advanced Visual Verification
Post by: SteveW on November 29, 2006, 04:06:39 PM
There seems to be a problem with audio using Firefox, only read first letter, and sometimes its incorrect. Works great with IE. No installation problems or log entries.
Title: Re: Advanced Visual Verification
Post by: J. Williams on November 30, 2006, 10:45:17 AM
Thats mainly cause the sound file doesn't know the letter.
Title: Re: Advanced Visual Verification
Post by: ryanwagner on December 02, 2006, 08:28:54 PM
Hopefully we'll see this mod added to the SMF 1.1 compatibility list soon. :)
Title: Re: Advanced Visual Verification
Post by: mark7144 on December 03, 2006, 07:51:54 AM
1.1 final pleeeessseeeee? :)
Title: Re: Advanced Visual Verification
Post by: Dorte on December 03, 2006, 08:33:00 AM
Yes I desperately need it for 1.1 too! Please! :D
Title: Re: Advanced Visual Verification
Post by: Badmovies.org on December 03, 2006, 11:23:09 AM
I agree that this is a big want for the new 1.1 version.  I did the upgrade, thinking "nothing could be out of whack that I would miss."  Big mistake on my part.  The Advanced Visual Verification mod is a must have.  I think that I am going to roll back to 1.1 RC3 until it is ready.
Title: Re: Advanced Visual Verification
Post by: zigzag on December 04, 2006, 04:03:35 AM
1.1 needed here too  :D
Title: Re: Advanced Visual Verification
Post by: Gobo on December 04, 2006, 06:09:44 AM
Looking forward to the 1.1 compatible mod :D
Title: Re: Advanced Visual Verification
Post by: Krysia on December 04, 2006, 09:20:00 PM
Another vote for a 1.1 version! :D
Title: Re: Advanced Visual Verification
Post by: rejetto on December 04, 2006, 11:17:46 PM
+1  :-X
Title: Re: Advanced Visual Verification
Post by: rejetto on December 05, 2006, 02:42:38 AM
i have guest posts enabled, and as i upgraded to final 1.1 was flooded by spam.  :'(

couldn't wait for the new version of this mod, so i forced compatibility, with little care, and installed it on my forum.

i attach here so you can see it and test it. remember it is good only for testing!
Title: Re: Advanced Visual Verification
Post by: RXL on December 05, 2006, 12:18:47 PM
I too vote for 1.1-final.
Thank You!
Title: Re: Advanced Visual Verification
Post by: BigMike on December 05, 2006, 03:08:53 PM
I have not 1) installed this mod nor 2) read all 16 pages, so I'll make this quick and dirty: I like the idea of requiring the image for sending PMs, but can this be set so that it only requires the image if multiple recipients are added?

Last night for the first time in 5 years a spammer mass PMed members of my forum. Requiring the Image verification if a defined number of recipients were reached would be great because it would not require every member to verify the Image if they are just sending a 1-on-1 PM.

This could be a user-defined number that could be changed in the admin. For instance I would set it to 2 or 3. I like the default limit of recipients (as per SMF) at 10, but right now I have it set to 4 just in case this spammer is to make a repeat showing.

If this is an option then I will install this mod. Otherwise if I don't get a response, or its not a feature, I will consider changing the code with permission from HarzeM today.

Thankyou in advance,
BigMike
Title: Re: Advanced Visual Verification
Post by: Harzem on December 06, 2006, 04:39:23 AM
Due to my internet connection lost for a few days, I was unable to login here and reply.

I'm considering to update the mod for 1.1 by improvements, removing database table, adding more settings etc... Your suggestion sounds good. Currently it doesn't have that feature, so you may modify your copy if you want, until I'll release a new version.
Title: Re: Advanced Visual Verification
Post by: Daniel Hofverberg on December 06, 2006, 05:04:03 AM
HarzeM: Any way for you to implement CAPTCHA on "Send topic", that I suggested earlier in this topic (http://www.simplemachines.org/community/index.php?topic=114620.msg821806#msg821806)?
Title: Re: Advanced Visual Verification
Post by: Harzem on December 06, 2006, 05:06:00 AM
Yes, one of the great ideas and I'm considering to implement it ;)
Title: Re: Advanced Visual Verification
Post by: Daniel15 on December 06, 2006, 07:01:56 AM
This MOD is compatible with SMF 1.1, just you need to do a few things to install it:
1) You need to tell the package manager to emulate a different version number (SMF 1.1 RC3). To do this, put ;emulate_version=1.1 RC3 at the end of the Package Manager URL.
2) You need to do an edit to Register.php (the package doesn't modify it correctly, as the bit to change has changed in SMF 1.1 Final). Open Sources/Register.php, and find:

// Check whether the visual verification code was entered correctly.
if (empty($modSettings['disable_visual_verification']) && (empty($_REQUEST['visual_verification_code']) || strtoupper($_REQUEST['visual_verification_code']) !== $_SESSION['visual_verification_code']))
{
$_SESSION['visual_errors'] = isset($_SESSION['visual_errors']) ? $_SESSION['visual_errors'] + 1 : 1;
if ($_SESSION['visual_errors'] > 3)
unset($_SESSION['visual_verification_code']);

fatal_lang_error('visual_verification_failed', false);
}

Replace with:

// Check whether the visual verification code was entered correctly.
if (empty($modSettings['disable_visual_verification']) && empty($modSettings['verificationDontAskRegister']))
{
require_once($sourcedir . '/Verification.php');
if ((empty($_REQUEST['visual_verification_code']) || !verifyCode(strtoupper($_REQUEST['visual_verification_code']))))
fatal_lang_error('visual_verification_failed');
}


Then, the MOD should be working :D
Title: Re: Advanced Visual Verification
Post by: Kindred on December 06, 2006, 12:04:49 PM
strange...

I get no picture for the visual verification. :(

the whole thing seems to have installed correctly, but the picture (no matter which method of display I choose) comes up with the "missing picture" graphic.
Title: Re: Advanced Visual Verification
Post by: mark7144 on December 06, 2006, 12:34:38 PM
Quote from: Kindred on December 06, 2006, 12:04:49 PM
strange...

I get no picture for the visual verification. :(

the whole thing seems to have installed correctly, but the picture (no matter which method of display I choose) comes up with the "missing picture" graphic.

Same here.
Title: Re: Advanced Visual Verification
Post by: Gobo on December 06, 2006, 12:54:03 PM
isnt the visual verification fixed in 1.1 ?
Title: Re: Advanced Visual Verification
Post by: Kindred on December 06, 2006, 01:04:36 PM
and I am getting a log of errors:

8: Undefined index: verificationAskPM
File: /site.../Sources/PersonalMessage.php
Line: 1471
Title: Re: Advanced Visual Verification
Post by: Harzem on December 06, 2006, 01:05:26 PM
akulion, it didn't fail in 1.1 RC3, so there is no "fix". It just needed impovement, in image and security, and a few additional features for only the ones who want these.

Kindred, I know there are errors. I'll be fixing them when releasing 1.1 version (tomorrow).
Title: Re: Advanced Visual Verification
Post by: BigMike on December 06, 2006, 01:13:13 PM
Thankyou very much HarzeM. I think I should upgrade to the (final) 1.1, and then install your mod v1.1 after that...
Title: Re: Advanced Visual Verification
Post by: Daniel15 on December 06, 2006, 08:12:26 PM
QuoteI'll be fixing them when releasing 1.1 version (tomorrow).
Is it possible to upgrade from the current version to this version? I installed the current version on SMF 1.1 Final (as I posted above).
Title: Re: Advanced Visual Verification
Post by: Harzem on December 07, 2006, 03:38:41 AM
I'm afraid upgrading may not be possible. I'm planning to remove the database system and use the session system. The mod already uses the session system to count the number of PMs without verification etc, but I'm planning to fully transfer to sessions. This may mean the code changes will be more than a few lines, so upgrade may not be possible.

Extra features I'm planning are:

- Post count limit for PM verifications
- Post count limit for search verifications
- Ask verification for PMs that have multiple recipients
- Ask verification when a member with less than X posts is posting (or posting a link)
- Ask verification when sending a topic to a friend
- Ask verification when visiting the member list
- Ask verification when trying to see the email address of a member
- Integrate to the "user email system" of vbgamer45
- Ask verification after incorrect password attempts (like gmail)

All will be optional, but these may take some time to complete. I hope I'll be able to finish it today.
Title: Re: Advanced Visual Verification
Post by: mark7144 on December 07, 2006, 07:57:55 PM
READY YET?  :D
Title: Re: Advanced Visual Verification
Post by: Lill-Micke on December 09, 2006, 02:38:53 AM
Quote from: HarzeM on December 07, 2006, 03:38:41 AM
I'm afraid upgrading may not be possible. I'm planning to remove the database system and use the session system. The mod already uses the session system to count the number of PMs without verification etc, but I'm planning to fully transfer to sessions. This may mean the code changes will be more than a few lines, so upgrade may not be possible.

Extra features I'm planning are:

- Post count limit for PM verifications
- Post count limit for search verifications
- Ask verification for PMs that have multiple recipients
- Ask verification when a member with less than X posts is posting (or posting a link)
- Ask verification when sending a topic to a friend
- Ask verification when visiting the member list
- Ask verification when trying to see the email address of a member
- Integrate to the "user email system" of vbgamer45
- Ask verification after incorrect password attempts (like gmail)

All will be optional, but these may take some time to complete. I hope I'll be able to finish it today.

Hi HarzeM!

This great mod is installed on my board and I looking forward to your next generation of (Advanced Visual Verification)

Thanks a lot for the time that you are putting in to this mod!

//Micke
Title: Re: Advanced Visual Verification
Post by: mark7144 on December 09, 2006, 04:57:03 AM
I want it now!  :'(
Title: Re: Advanced Visual Verification
Post by: Lill-Micke on December 09, 2006, 05:14:18 AM
Quote from: mark7144 on December 09, 2006, 04:57:03 AM
I want it now!  :'(

You have to wait my friend!  :)
You don't get this great mod eny faster by asking for it all the time...
Title: Re: Advanced Visual Verification
Post by: Dirk67 on December 09, 2006, 05:32:16 AM
Quote from: mark7144 on December 09, 2006, 04:57:03 AM
I want it now!  :'(

how kind, friendly and thankful some people can be...

Title: Re: Advanced Visual Verification
Post by: mark7144 on December 09, 2006, 05:57:09 AM
Quote from: Dirk67 on December 09, 2006, 05:32:16 AM
Quote from: mark7144 on December 09, 2006, 04:57:03 AM
I want it now!  :'(

how kind, friendly and thankful some people can be...


Indeed, my desperate acts of begging just shows my huge appreciation of the mod :)
Title: Re: Advanced Visual Verification
Post by: Niteblade on December 09, 2006, 10:15:01 AM
The problem with creating a useful and helpful modification is that a lot of people will want it !!

Perhaps "demands" can be interpreted as "unsophisticated compliments."

;D
Title: Re: Advanced Visual Verification
Post by: Piwaille on December 09, 2006, 12:10:11 PM
Quote from: Daniel15 on December 06, 2006, 07:01:56 AM
This MOD is compatible with SMF 1.1, just you need to do a few things to install it...

Using Daniel's info, I've modified the mod...
I've got one error into register.template.php ... but the 1.1final is already in the moded form...

I've added french translation...

It installes ...; but it dosn't work  :(
With IE (not tested on other explorer) when a anonymous posts, the page doesn't end refreshing ... whether the code is right or not  :-\

When I manage to force the end of page submission... it as lost it's session ...
so it's is not usable as it :-\
Title: Re: Advanced Visual Verification
Post by: rejetto on December 09, 2006, 12:16:28 PM
you can try installing my version
Title: Re: Advanced Visual Verification
Post by: Piwaille on December 09, 2006, 12:48:04 PM
Quote from: rejetto on December 09, 2006, 12:16:28 PM
you can try installing my version

was not very easy as there is no de installator   :-\
manage to desintall my old one, install yours ...
ran into the same time out :-[ and same session lost while posting
Title: Re: Advanced Visual Verification
Post by: Gobo on December 09, 2006, 12:54:02 PM
always test 'new' or alpha or beta mods on test sites before applying to live sites!

I usually always do that but yesterday I was reminded of that again when a mod install went bad lol - but luckily i recovered

just some advice for those testing non-official versions of mods on their live sites

for me....im just gona wait for harzems official mod release :D
Title: Re: Advanced Visual Verification
Post by: f4five1 on December 10, 2006, 12:48:42 AM
any chance this is ever going to be ready for 1.1 final?
Title: Re: Advanced Visual Verification
Post by: Benson on December 10, 2006, 05:28:30 AM
Could it be that spambots are recognizing the code now? I had a report that there were spam-bots posting on a board where i'm using this CAPTCHA-Mod...

EDIT: Ok seems like messages are saved even the entered code is wrong!!!
Title: Re: Advanced Visual Verification
Post by: Daniel15 on December 10, 2006, 05:47:59 AM
QuoteCould it be that spambots are recognizing the code now? I had a report that there were spam-bots posting on a board where i'm using this CAPTCHA-Mod...
No, not really. Most likely, it's a human doing it...
Title: Re: Advanced Visual Verification
Post by: nokonium on December 10, 2006, 05:58:33 AM
I'm just posting to say that I've updated to 1.1 final and the one with SMF is still pants. I really miss having AVV.
Title: Re: Advanced Visual Verification
Post by: Benson on December 10, 2006, 06:30:12 AM
Ok, the problem is that with the fix below captchas are displayed for guests, but if the entered code is wrong or they even don't enter anything the entry is saved! So i made the changes undone, now captcha verification is working as it should but now admins can't edit guest posts again...

Quote from: HarzeM on October 03, 2006, 04:47:32 PM
The exact solution is this:

Open Post.php, find:


// Check whether the visual verification code was entered correctly.
if (empty($modSettings['disable_visual_verification']) && empty($modSettings['verificationDontAskGuestPost']))



replace:


// Check whether the visual verification code was entered correctly, and we are not modifying the message.
if (empty($modSettings['disable_visual_verification']) && empty($modSettings['verificationDontAskGuestPost']) && isset($_REQUEST['msg']) && !empty($topic))


I'll release 1.0.1 bug fix version soon. But not right today. Thanks for pointing out.

Please let me know if this worked, because I didn't try.
Title: Re: Advanced Visual Verification
Post by: mark7144 on December 10, 2006, 08:50:34 AM
I'm a bit dissapointed that HazeM isn't simply making this mod compaitible but rather is adding features first whilst we must wait.

Surely it is more sensible to quickly make the mod compaitible, release the new version, THEN start working on future features?
Title: Re: Advanced Visual Verification
Post by: Gobo on December 10, 2006, 09:23:53 AM
well u cant hurry a master piece :D
Title: Re: Advanced Visual Verification
Post by: mark7144 on December 10, 2006, 11:12:37 AM
Quote from: akulion on December 10, 2006, 09:23:53 AM
well u cant hurry a master piece :D
But you can hurry a few little things to make it compatible with a new release.

Of course don't rush all the features but that should be after the compatibility update.
Title: Re: Advanced Visual Verification
Post by: Harzem on December 10, 2006, 12:45:42 PM
Quote from: mark7144 on December 10, 2006, 11:12:37 AM
Of course don't rush all the features but that should be after the compatibility update.

Agreed, and 1.1 compatibility added right now. No new features. Only fixes of the reported bugs and 1.1 compatibility. There may still be bugs, so please inform me so I can fix them for the next feature release.
Title: Re: Advanced Visual Verification
Post by: Gobo on December 10, 2006, 12:57:51 PM
woo hoo :D thanks Harzem!! :D

ill be the first to install :D

on test site 1st and then on live site :D thanks

***added***
installed on test site without errors :D
installed on live site without errors :D :D
Title: Re: Advanced Visual Verification
Post by: ~dragonfly~ on December 10, 2006, 01:41:15 PM
Thank you for updating this mod.   :)   I also was able to install with no errors.

Title: Re: Advanced Visual Verification
Post by: mark7144 on December 10, 2006, 01:55:59 PM
Quote from: HarzeM on December 10, 2006, 12:45:42 PM
Quote from: mark7144 on December 10, 2006, 11:12:37 AM
Of course don't rush all the features but that should be after the compatibility update.

Agreed, and 1.1 compatibility added right now. No new features. Only fixes of the reported bugs and 1.1 compatibility. There may still be bugs, so please inform me so I can fix them for the next feature release.
Thanks, much appreciated!!
Title: Re: Advanced Visual Verification
Post by: Niteblade on December 10, 2006, 03:10:13 PM
I installed it on my site without errors, too.

But I can't see the image.

Am attempting to troubleshoot.

Will report back later.

http://forum.midessa.net/status.php?php

I do have gd installed.

The image "http://forum.midessa.net/index.php?action=verificationcode" cannot be displayed, because it contains errors.

/me bets it has something to do with the compiled php executable ,,..

...

It has something to do with index.template.php ... [still searching..]

...

It DID have something to do with index.template.php. Your mod works great. It was something on my end. To correct it, what I did was install tinyportal on a test site on a clean install. I used the resulting "index.template.php" to compare it to the one that was on my live site. Anyhow, I fixed it. And it works... Great! Nice job as always.
Title: Re: Advanced Visual Verification
Post by: Martje on December 10, 2006, 04:02:05 PM
 :) Thanks HarzeM
its very much appreciated!!
Title: Re: Advanced Visual Verification
Post by: RXL on December 10, 2006, 05:21:21 PM
It's works!

Thank You!
Title: Re: Advanced Visual Verification
Post by: Lachlan on December 10, 2006, 07:05:33 PM
Is it at all possible to download the version for 1.1 RC3? I cant find a link anywhere, only to the updated version :)
Title: Re: Advanced Visual Verification
Post by: NeFReT on December 10, 2006, 07:46:15 PM
Thanks HarzeM
Title: Re: Advanced Visual Verification
Post by: Daniel15 on December 10, 2006, 07:56:42 PM
Thanks for the update HarzeM! :)
Now I need to uninstall the one I installed...
Title: Re: Advanced Visual Verification
Post by: badman2nd on December 10, 2006, 08:37:23 PM
First thank you for the update. I am showing a problem on my forum, it works great for registering and for guest use but my members PMs it shows up twice, once above the message box and then again below the box. this way you cannot send a message. I then went to the admin panel and unchecked the box for using on pms and it does not go away. Can anyone check theirs ans see if it is just me?

Thanks

Pat
Title: Re: Advanced Visual Verification
Post by: badman2nd on December 10, 2006, 09:20:40 PM
Here's a screen shot on my PM post.

Pat

Title: Re: Advanced Visual Verification
Post by: Daniel15 on December 11, 2006, 01:06:16 AM
I've installed the new version, and it appears to be working fine (well, I had a problem with Register.php [it was blank for some strange reason], but I reuploaded it and it's fine now).

I think I found a bug, though: If I click on the 'Listen to the letters' link on the registration page, the letters that are read out are not the same letters in the picture! :P
Title: Re: Advanced Visual Verification
Post by: Niteblade on December 11, 2006, 01:48:17 AM
On my site, I generated 5 different images & listened to it being read each time.

No problems here.
Title: Re: Advanced Visual Verification
Post by: f4five1 on December 11, 2006, 02:37:40 AM
installed 1.1 version successfully but cannot see image or audio...I've seen some people with same problem.  Can anyone elaborate on fix for this?

Thanks
Title: Re: Advanced Visual Verification
Post by: Nurdle on December 11, 2006, 04:15:22 AM
I'm having some issues with the mod. Works fine on the default themes but having issue manually editing the files to work on the Pn-Pn & Ig-Oh theme by Koni. It works fine on the registration pages but not anything else. I am currently running version 1.1 of SMF.

The files I manually edited are......

post.template.php
search.template.php
personalmessage.template.php

Are these the correct files that need editing?
If I should have posted this in Themes board i'm sorry!  :-[

Nurdle
Title: Re: Advanced Visual Verification
Post by: Harzem on December 11, 2006, 04:20:10 AM
Quote from: badman2nd on December 10, 2006, 08:37:23 PM
First thank you for the update. I am showing a problem on my forum, it works great for registering and for guest use but my members PMs it shows up twice, once above the message box and then again below the box. this way you cannot send a message. I then went to the admin panel and unchecked the box for using on pms and it does not go away. Can anyone check theirs ans see if it is just me?

Thanks

Pat

Yes, you should disable the default verification of SMF 1.1 in PMs. It is disabled via Features and Options. I'll be automatically disabling it in the next release.

Quote from: Daniel15 on December 11, 2006, 01:06:16 AM
I've installed the new version, and it appears to be working fine (well, I had a problem with Register.php [it was blank for some strange reason], but I reuploaded it and it's fine now).

I think I found a bug, though: If I click on the 'Listen to the letters' link on the registration page, the letters that are read out are not the same letters in the picture! :P

This is not expected :o Can you give me a link?

Quote from: nite0859 on December 11, 2006, 01:48:17 AM
On my site, I generated 5 different images & listened to it being read each time.

No problems here.

Thank you :P

Quote from: f4five1 on December 11, 2006, 02:37:40 AM
installed 1.1 version successfully but cannot see image or audio...I've seen some people with same problem.  Can anyone elaborate on fix for this?

Thanks

A link to a post page please?

Quote from: Nurdle on December 11, 2006, 04:15:22 AM
I'm having some issues with the mod. Works fine on the default themes but having issue manually editing the files to work on the Pn-Pn & Ig-Oh theme by Koni. It works fine on the registration pages but not anything else. I am currently running version 1.1 of SMF.

The files I manually edited are......

post.template.php
search.template.php
personalmessage.template.php

Are these the correct files that need editing?
If I should have posted this in Themes board i'm sorry!  :-[

Nurdle

Yes, they are the correct files. Make sure the Sources files are also edited.
Title: Re: Advanced Visual Verification
Post by: Daniel15 on December 11, 2006, 05:45:02 AM
QuoteThis is not expected  Can you give me a link?
http://www.daniel15.com/forum/
My Register.php and Register.template.php are both unedited from the original SMF 1.1 versions (apart from the Advanced Visual Verification MOD code, obviously)


...
Wow, HarzeM, you have magical powers! It seems to be fixed now :P OK, it was probably a problem with my web host's transparent proxy caching things incorrectly...

Although, I have a problem with guest posting (forgot to mention this before):
Quote
Your session timed out while posting. Please try to re-submit your message.
The letters you typed don't match the letters that were shown in the picture.
I'm assuming that since the session is timing out, it's losing the code, and hence assuming that it's incorrect. This is probably not a problem with your MOD, but I thought I should post it here just in case. The funny thing is, this happens sporadically... If I try it a few times, it works fine. I have no idea what's causing this problem...

EDIT: Forgot to mention, guest replying is enabled in the Announcements board on my site. You can try it out, if you like.

EDIT 2: I'm thinking it's a theme problem (I'm using Bloc's Apollo), but I have no idea what to look for...
Title: Re: Advanced Visual Verification
Post by: bob on December 11, 2006, 10:41:10 AM
Works great using distorted lines, thanks!

I show nothing however when trying to trying to preview using random colors. I see that it says "Not all servers may be able to display this". What in particular needs to be added to the server configuration to support random colors??
Title: Re: Advanced Visual Verification
Post by: vengeance on December 11, 2006, 02:20:26 PM
Dear HarzeM,
before i start, i would like to say "thank you" for your great mod and your support.
I just use your visual verification mod and i became a error message like this:

Fatal error: Cannot redeclare verificationsettings() (previously declared in /xxxxxx/xxxxxx/forum/Sources/ManageRegistration.php:313) in /xxxxxx/xxxxx/forum/Sources/ManageRegistration.php on line 384

The error message came, when you click on the "registration" button in admin menu. Install and reinstall of the mod take no effects.

Thanks,
vengeance
Title: Re: Advanced Visual Verification
Post by: Harzem on December 11, 2006, 02:41:21 PM
Can you uninstall the mod, upload a fresh copy of ManageRegistration.php and then re-apply?
Title: Re: Advanced Visual Verification
Post by: vengeance on December 11, 2006, 02:51:58 PM
Quote from: HarzeM on December 11, 2006, 02:41:21 PM
Can you uninstall the mod, upload a fresh copy of ManageRegistration.php and then re-apply?

No, i can't uninstall without a error. The uninstall routine calls a error at: ./Sources/PersonalMessage.php
Should i uninstall anyway?

There's now a new error Message after re-installing the package:
Fatal error: Cannot redeclare template_verification_settings() (previously declared in /xxxxx/xxxxx/forum/Sources/Load.php(1724) : eval()'d code:656) in /xxxxx/xxxxx/forum/Sources/Load.php(1724) : eval()'d code on line 840

Damn, i think i crashed something...
Title: Re: Advanced Visual Verification
Post by: Harzem on December 11, 2006, 02:53:25 PM
Do you have any other mods installed?
Title: Re: Advanced Visual Verification
Post by: vengeance on December 11, 2006, 03:01:45 PM
Quote from: HarzeM on December 11, 2006, 02:53:25 PM
Do you have any other mods installed?
Yes,  i installed the "EXIF Mod" (V1.2) and "Deutsche Kalender Tage" mods. The "Deutsche Kalender Tage" Mod insert only some feasts- dates in the SMF calendar - that's all. Got you an idea what happend?
Title: Re: Advanced Visual Verification
Post by: Harzem on December 11, 2006, 03:11:33 PM
I don't know, but you may try uploading fresh files and start over. You have very few mods, that shouldn't be a pain :)
Title: Re: Advanced Visual Verification
Post by: vengeance on December 11, 2006, 03:31:52 PM
I uinstalled the mod and uploaded the complete fresh "source" folder - I still got an error when I click on the registration button in the Admin- center. It says:

Fatal error: Cannot redeclare template_verification_settings() (previously declared in /xxxxx/xxxxx/forum/Sources/Load.php(1724) : eval()'d code:676) in /xxxxx/xxxxx/forum/Sources/Load.php(1724) : eval()'d code on line 860

Should/must I upload something else as the "source" folder?

I hope that you can help me.
Sorry, I'm a Noob.
Title: Re: Advanced Visual Verification
Post by: Harzem on December 11, 2006, 03:36:49 PM
It looks you also should re-upload the default theme folder (only php files).
Title: Re: Advanced Visual Verification
Post by: vengeance on December 11, 2006, 03:38:31 PM
Ah, I got it! That's it! I tried to upload the "register.template.php" in the themes folder - and than it works.
I will now to go to install your mod again - and then it will hopefully work.

Thank you so much for your support!!
Title: Re: Advanced Visual Verification
Post by: rucanunes on December 11, 2006, 05:10:33 PM
Hi,

I tried to install this Mod on SMF 1.1 RC3 and it returns this error:
"This mod doesn't seem to support your SMF version.". Is there a
way to install it on this SMF version?

Thank you,
Ralph Nunes
Title: Re: Advanced Visual Verification
Post by: f4five1 on December 11, 2006, 07:59:17 PM

Quote from: f4five1 on December 11, 2006, 02:37:40 AM
installed 1.1 version successfully but cannot see image or audio...I've seen some people with same problem.  Can anyone elaborate on fix for this?

Thanks

A link to a post page please?

Here ya go:

www.fahrenheit4five1.info/moviezoop/index.php

Thanks in advance for any assistance you can give!!
Title: Re: Advanced Visual Verification
Post by: jcompton on December 11, 2006, 09:27:58 PM
Are the instructions for manual permission changes available somewhere (and if not, can you make them available?) My server doesn't like the package manager's automated attempt and I cannot easily glean from this thread or from the documentation exactly what needs to be created/modified.
Title: Re: Advanced Visual Verification
Post by: Badmovies.org on December 12, 2006, 12:03:59 AM
I upgraded from 1.1RC3 to 1.1 and attempted to install this mod first.  The following error happens:

2.     Execute Modification     -     Modification parse error

It will run, but the options for Advanced Visual Verification never appear.  These are the steps I have tried:

Checking all permissions on files in the forum.
Uploading a fresh copy of SMF 1.1.
I am using Helios Multi for my theme.  I changed it to SMF default and tried to run the mod, but still no joy.  Other mods seem to install fine.  I am running MySQL 5.0 and PHP 5.2.  I wonder if the problem is the PHP version?

For kicks, I deleted the table that the mod creates in the database and tried running the mod again.  It did create the table again, so it gets that far. 

I am currently looking at the instructions to install a mod manually.  Ick.
Title: Re: Advanced Visual Verification
Post by: Daniel15 on December 12, 2006, 02:55:51 AM
QuoteI am currently looking at the instructions to install a mod manually.  Ick.
This will help you a lot:
Upload the package-info.xml file to http://server.daniel15.com/smf_xml/package-info.php?action=file, and the install.xml file to http://server.daniel15.com/smf_xml/modification.php?action=file. It will tell you exactly what to do, in a nicely-formatted form :)
Title: Re: Advanced Visual Verification
Post by: Dirk67 on December 12, 2006, 03:09:40 AM
Quote from: Daniel15 on December 12, 2006, 02:55:51 AM
This will help you a lot:
Upload the package-info.xml file to http://server.daniel15.com/smf_xml/package-info.php?action=file, and the install.xml file to http://server.daniel15.com/smf_xml/modification.php?action=file. It will tell you exactly what to do, in a nicely-formatted form :)

That's quite cool man  :D
Title: Re: Advanced Visual Verification
Post by: Daniel15 on December 12, 2006, 07:55:55 AM
QuoteThat's quite cool man
Thanks ;)
I did that as soon as I discovered PHP 5's SimpleXML functions... Both scripts are quite short (modification.php is 99 lines, and package-info.php is 128 lines)
Title: Re: Advanced Visual Verification
Post by: nokonium on December 12, 2006, 04:37:34 PM
I've just installed the version for 1.1 and have found two problems. When AVV is turned on for PM's no graphic displays and all the avatars appear with horizontal scroll bars. The scroll bars go when it is turned off.

Using SMF 1.1 Final

and

1.   SMF Arcade   1.3.1-MOD-E1.5     
2.   TinyPortal   0.97     
3.   Googlebot & Spiders Mod   2.0.2     
4.   Location Mod   1.2     
5.   Advanced Visual Verification   1.1     
6.   Users Online Today Mod   1.4.0b3     
7.   Move Old Topics   1.2     
8.   Karma Blocks Package V.03   0.3     
9.   Location Mod - Additional Maps   1.2
Title: Re: Advanced Visual Verification
Post by: Harzem on December 12, 2006, 04:40:31 PM
You should disable the default SMF image from features and options.

Avatars should have no relation to this mod ::)
Title: Re: Advanced Visual Verification
Post by: nokonium on December 13, 2006, 01:28:44 AM
I don't understand what you mean by

Quote from: HarzeM on December 12, 2006, 04:40:31 PM
You should disable the default SMF image from features and options.

There are no image options in features and options and the SMF VV was turned off in Registration when the mod was installed.

Quote from: HarzeM on December 12, 2006, 04:40:31 PM
Avatars should have no relation to this mod ::)

That is what I thought, but when the AVV for PM's was unchecked they returned to normal. This was in Opera 9, I didn't check it with other browsers.
Title: Re: Advanced Visual Verification
Post by: f4five1 on December 13, 2006, 02:19:57 AM
Any ideas to the cause of my problem yet?
Title: Re: Advanced Visual Verification
Post by: Laibeus Lord on December 13, 2006, 03:54:05 AM
Hmm... the verification do not show up when creating a PM.  As in nothing, but it does check if the code supposedly entered is correct.

Using Default template.
I checked everything and all things are properly inserted, replaced, etc.

Any idea?

Thanks!
Title: Re: Advanced Visual Verification
Post by: julien on December 13, 2006, 04:51:51 AM
The link on
http://mods.simplemachines.org/index.php?mod=474
is broken.  :'(
Title: Re: Advanced Visual Verification
Post by: vityusha on December 13, 2006, 05:09:28 AM
Please, help!
When i try to apply mod (Advanced Visual Verification 1.1) on SMF 1.1 Final i got in the "Installations actions for "Advanced Visual Verification" error message:
Execute Modification     -     Modification parse error

After pressing "Install now" i got "The package was installed successfully" message. But this mod doesn't appear anywhere - neither in "registration" in admin section, nor in registration and post forms.
What's wrong?
Title: Re: Advanced Visual Verification
Post by: nediam on December 13, 2006, 05:31:56 AM
Have the same error like vityusha
Title: Re: Advanced Visual Verification
Post by: MothMan on December 13, 2006, 11:03:18 AM
As do I, also on SMF 1.1 final... although  have not gone ahead and hit Install Now button...  I am getting the same error message though, on initially hitting Apply Mod.

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

1.     Execute Code                       installverification.php     
2.    Execute Modification    -    Modification parse error
3.    Extract File                        ./Sources/Verification.php    
4.    Extract Tree                      ./Themes/default/ttf_fonts    

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


Checking the error log after this failed attempt reveals some errors:

Several notes of

----------------
"2: umask() has been disabled for security reasons"


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

... but I think this is normal... I get these all the time after package installs, including successful package installs.


However, there is another error noted:

-------------------------
http://othersi.ulmb.com/forum/index.php?action=packages;sa=install;package=AdvancedVisualVerification_1-1

2: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Unable to access /hosted/subs/ulmb.com/o/t/othersi/public_html/forum/Packages/temp/ttf_fonts/
File: /hosted/subs/ulmb.com/o/t/othersi/public_html/forum/Sources/Subs-Package.php
Line: 1232
--------------------------


My guess is, the problem lies in here somewhere... but I ahve no idea what the problem is.
Title: Re: Advanced Visual Verification
Post by: Zeihold_von_SSL on December 13, 2006, 05:03:34 PM
How do I integrate the mod into a german board?

I don't know how to configure the mod while using german templates.
Title: Re: Advanced Visual Verification
Post by: nokonium on December 13, 2006, 05:59:55 PM
I can add it bit more information, each of the members who reported that they didn't see the AVV graphic created a pair of error messages each time:

Quotehttp://our-local.co.uk/index.php?action=pm;sa=send2


Yes, the error, file and line do not appear in the error message, it isn't that I've not posted it

and

Quote
http://our-local.co.uk/index.php?action=pm;sa=send2
8: Undefined index: visual_verification_failed
File: /############/our-local/Sources/PersonalMessage.php
Line: 1470
Title: Re: Advanced Visual Verification
Post by: WarBirD on December 14, 2006, 05:42:42 AM
I can´t see it in the Admin Panel after the Installation of the Mod. I tested with default theme, its not there. Had no error while installation, everything went fine. Just isn´t there.

Anyone similiar problems ?

WarBirD
Title: Re: Advanced Visual Verification
Post by: julien on December 14, 2006, 05:44:28 AM
Can anyone e-mail me the mod? The download link is broken...
Thanks!
Title: Re: Advanced Visual Verification
Post by: WarBirD on December 14, 2006, 05:46:18 AM
Worked for me the download. Btw, how can someone mail something to you if you hide your Email in your Forum profile. ;)

WarBirD
Title: Re: Advanced Visual Verification
Post by: julien on December 14, 2006, 05:48:45 AM
Quote from: WarBirD on December 14, 2006, 05:46:18 AM
Worked for me the download. Btw, how can someone mail something to you if you hide your Email in your Forum profile. ;)

WarBirD
Oh...  :-\
my adress:
info monkeything cadsite.be
Thanks!
Title: Re: Advanced Visual Verification
Post by: WarBirD on December 14, 2006, 05:51:04 AM
Quote from: julien on December 14, 2006, 05:48:45 AM
Quote from: WarBirD on December 14, 2006, 05:46:18 AM
Worked for me the download. Btw, how can someone mail something to you if you hide your Email in your Forum profile. ;)

WarBirD
Oh...  :-\
my adress:
info monkeything cadsite.be
Thanks!

Send.
Title: Re: Advanced Visual Verification
Post by: snifftheglove on December 14, 2006, 06:30:23 AM
Quote from: MothMan on December 13, 2006, 11:03:18 AM
As do I, also on SMF 1.1 final... although  have not gone ahead and hit Install Now button...  I am getting the same error message though, on initially hitting Apply Mod.

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

1.     Execute Code                       installverification.php     
2.    Execute Modification    -    Modification parse error
3.    Extract File                        ./Sources/Verification.php    
4.    Extract Tree                      ./Themes/default/ttf_fonts    


I too have the same problem.
I did uninstalled TP 0.95 then uploaded the SMF 1.1 upgrade, then uploaded TP0.97 and then uploaded AVV1.1, when I got the above error I did continue the installation and it said all was OK at the end but I can not find any settings and even the guests can post with out the code  :(

EDIT-->
I tried to uninstall AVV and it said parse errors but I went ahead and then tried again to upload and this time go this message

Quote
   Type     Action     Description
1.    Execute Code    installverification.php    
2.    Execute Modification    install.xml    Modification parse error
3.    Execute Modification    -    Modification parse error
4.    Extract File    ./Sources/Verification.php    
5.    Extract Tree    ./Themes/default/ttf_fonts    

Any help would be great.

Only other mods on the forum is TP0.9.7
Title: Re: Advanced Visual Verification
Post by: Zeihold_von_SSL on December 14, 2006, 07:04:56 AM
Quote from: WarBirD on December 14, 2006, 05:42:42 AM
I can´t see it in the Admin Panel after the Installation of the Mod. I tested with default theme, its not there. Had no error while installation, everything went fine. Just isn´t there.

Anyone similiar problems ?

WarBirD

I've the same problem. I think this happens while using another language then english.

Another problem are various error messages like:

Quote
8: Undefined index: verificationReadChars
Datei: /www/htdocs/wenzinga/testsmf/Themes/default/Register.template.php (eval?)
Zeile: 118
Title: Re: Advanced Visual Verification
Post by: snifftheglove on December 14, 2006, 08:27:53 AM
Quote

I've the same problem. I think this happens while using another language then english.


Mine is just default English and the default theme.

I have also deleted everything from my 1.1 Final root directory, and then uploaded a new install, went with utf-8 and forums then working fine, then tried uploading AVV and got
1.    Execute Code    installverification.php   
2.    Execute Modification    install.xml    Modification parse error
3.    Execute Modification    -    Modification parse error
4.    Extract File    ./Sources/Verification.php   
5.    Extract Tree    ./Themes/default/ttf_fonts   

Confused as this was a vanilla install of SMF1.1, follows by AVV a few seconds later. (No other mods installed)

Hope this helps
Title: Re: Advanced Visual Verification
Post by: tarsia on December 15, 2006, 10:30:02 AM
Quote from: snifftheglove on December 14, 2006, 08:27:53 AM
Quote

I've the same problem. I think this happens while using another language then english.


Mine is just default English and the default theme.

I have also deleted everything from my 1.1 Final root directory, and then uploaded a new install, went with utf-8 and forums then working fine, then tried uploading AVV and got
1.    Execute Code    installverification.php   
2.    Execute Modification    install.xml    Modification parse error
3.    Execute Modification    -    Modification parse error
4.    Extract File    ./Sources/Verification.php   
5.    Extract Tree    ./Themes/default/ttf_fonts   

Confused as this was a vanilla install of SMF1.1, follows by AVV a few seconds later. (No other mods installed)

Hope this helps

I have exactly the same problem. But I don't think it depends on the language (I tried it with in english and german).

I searched the forum and found two hints with similiar problems by other mods.

1st hint: Change the rights of the SMF-installation-folder (and subfolders) to WWW_RUN.
=> Tried this, but it doesn't help

2nd hint: Make a temp-folder in the package-folder with full rights (777) before installing the mod.
=> Tried this, but it doesn't help. The temp-folder is deleted after trying to add the mod.

Any help is welcome, because i would like to install the mod asap.

thanks, tarsia


Title: Re: Advanced Visual Verification
Post by: snifftheglove on December 15, 2006, 11:31:54 AM
Also this is the error message from the log files

Quote
http://www.midlandrocketry.org.uk/index.php?action=packages;sa=install;package=AdvancedVisualVerification_1-1.zip

2: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 32016 is not allowed to access /home/midland/public_html/Packages/temp owned by uid 99
File: /home/midland/public_html/Sources/Subs-Package.php
Line: 1232
Title: Re: Advanced Visual Verification
Post by: Seranza on December 15, 2006, 12:32:48 PM
Quote from: badman2nd on December 10, 2006, 08:37:23 PM
First thank you for the update. I am showing a problem on my forum, it works great for registering and for guest use but my members PMs it shows up twice, once above the message box and then again below the box. this way you cannot send a message. I then went to the admin panel and unchecked the box for using on pms and it does not go away. Can anyone check theirs ans see if it is just me?

Thanks

Pat

I'm having this same problem, didn't have it with 1.0 on SMF 1.1 RC3.  Yes I've turned off the Image Verification for SMF, only way I can do so though is before installing this mod as it removes that option in ALL themes after it is installed.  Thing is, even if I turn it off then install this mod, I still have the problem and it persists even if I turn off the AVV completely.  Any other bright ideas other than "go into Features and Options and turn it off?" as that doesn't work.  This is a good mod, or was before 1.1 and SMF 1.1 Final.
Title: Re: Advanced Visual Verification
Post by: MothMan on December 15, 2006, 09:47:04 PM
Quote2nd hint: Make a temp-folder in the package-folder with full rights (777) before installing the mod.
=> Tried this, but it doesn't help. The temp-folder is deleted after trying to add the mod.

Ditto
Title: Re: Advanced Visual Verification
Post by: topdog2k on December 16, 2006, 01:39:35 PM
I dont recommend using this mod...way too many errors.  And too much fussing to get it working correctly.
Title: Re: Advanced Visual Verification
Post by: Kindred on December 16, 2006, 05:37:22 PM
works fine for me...   implementing this has cut my spam-bots down to ZERO
Title: Re: Advanced Visual Verification
Post by: lazo on December 17, 2006, 09:39:33 AM
I installed this mod successfully. but when i tried register an account, i got the code all wrong.
i tried a few times with different codes but all are wrong
any ideas?
Title: Re: Advanced Visual Verification
Post by: MothMan on December 17, 2006, 12:58:26 PM
Quote from: MothMan on December 13, 2006, 11:03:18 AM
As do I, also on SMF 1.1 final... although  have not gone ahead and hit Install Now button...  I am getting the same error message though, on initially hitting Apply Mod.

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

1.     Execute Code                       installverification.php     
2.    Execute Modification    -    Modification parse error
3.    Extract File                        ./Sources/Verification.php    
4.    Extract Tree                      ./Themes/default/ttf_fonts    

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


Checking the error log after this failed attempt reveals some errors:

Several notes of

----------------
"2: umask() has been disabled for security reasons"


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

... but I think this is normal... I get these all the time after package installs, including successful package installs.


However, there is another error noted:

-------------------------
http://othersi.ulmb.com/forum/index.php?action=packages;sa=install;package=AdvancedVisualVerification_1-1

2: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Unable to access /hosted/subs/ulmb.com/o/t/othersi/public_html/forum/Packages/temp/ttf_fonts/
File: /hosted/subs/ulmb.com/o/t/othersi/public_html/forum/Sources/Subs-Package.php
Line: 1232
--------------------------


My guess is, the problem lies in here somewhere... but I have no idea what the problem is.

Any ideas, anyone?
Title: Re: Advanced Visual Verification
Post by: Harzem on December 17, 2006, 01:01:04 PM
Modification parse error , mkdir(), umask() errors are completely becasue of your server configuration and has nothing to do with this modification. Sorry. You should search this forum and find general solutions.
Title: Re: Advanced Visual Verification
Post by: [tiktaktok] on December 17, 2006, 08:02:54 PM
Any idea what server setting leads to teh parse error?

Thanks
Title: Re: Advanced Visual Verification
Post by: MothMan on December 18, 2006, 01:18:30 AM
HarzeM, thanks for the response.  Seems the mod is not meant to be for me, the reported problem is a mystery.
Title: Re: Advanced Visual Verification
Post by: Annihilator on December 18, 2006, 04:40:41 AM
Same "modification parse error". Happens after a clean, unmodded & uncustomized install of SMF 1.1 as well.
Running Windows Server 2003 Standard x64, IIS 6.0 (in 32-bit mode), PHP 5.2.0 (32-bit), MySQL 5.0.27 (32-bit). Full permissions granted to the web server process for accessing the forum folder. All other mods install successfully.
Title: Re: Advanced Visual Verification
Post by: tarsia on December 18, 2006, 05:53:31 AM
Quote from: Annihilator on December 18, 2006, 04:40:41 AM
Same "modification parse error". Happens after a clean, unmodded & uncustomized install of SMF 1.1 as well.
Running Windows Server 2003 Standard x64, IIS 6.0 (in 32-bit mode), PHP 5.2.0 (32-bit), MySQL 5.0.27 (32-bit). Full permissions granted to the web server process for accessing the forum folder. All other mods install successfully.

Hi Annihilator,

as i get the same error (se above) on an apache-server.  May the error depends on the PHP-Safe-Mode of the Server? I weakly remember, that i read something like that in the forum, but i can't find it again.

Could you to turn the safe-mode on/off and try to install the mod in both settings. As my webspace is on a shared-server i can't change the setting.

Maybe that's a hint.

tarsia
Title: Re: Advanced Visual Verification
Post by: Dirk67 on December 18, 2006, 05:53:58 AM
Quote from: HarzeM on December 17, 2006, 01:01:04 PM
Modification parse error , mkdir(), umask() errors are completely becasue of your server configuration and has nothing to do with this modification. Sorry. You should search this forum and find general solutions.

Why did all other mods install well then ?
(on the same server / same clean installation ?)
--> any idea ?
Title: Re: Advanced Visual Verification
Post by: vityusha on December 18, 2006, 05:57:21 AM
Quote from: tarsia on December 18, 2006, 05:53:31 AM
Could you to turn the safe-mode on/off and try to install the mod in both settings. As my webspace is on a shared-server i can't change the setting.
Modification parse error occures both in safe-mode on/off php settings.
Title: Re: Advanced Visual Verification
Post by: MothMan on December 18, 2006, 11:56:13 AM
Just a heads up for people with this problem... as a test, through the aid of a helpful fellow SMF'er, I tried moving my forum to a different server, and then tried installing this mod again.. it installed perfectly.

No changes of anything in my forum software, coding (other than updating the directory references to the new server), etc... just a different server ... so, while I have no idea what the problem was, it certainly is an issue with the server... at least in my case.
Title: Re: Advanced Visual Verification
Post by: [tiktaktok] on December 18, 2006, 12:40:38 PM
Moving to a new hoster soon too - for "mod_rewrite", will test than again ...
Title: Re: Advanced Visual Verification
Post by: gregy on December 19, 2006, 02:24:24 AM
Hi!

Honestly i haven't read all 23 pages :(

I'm looking for language strings i have to add into my language files. I have some errors in Forum error log aoput verification due to missing language string. I just cannopt find them comparig to moded english files  :(

thanks in advance
Title: Re: Advanced Visual Verification
Post by: snifftheglove on December 19, 2006, 06:04:51 AM
I think I might have found the reason for the Modification parse errors. It might be down to the version of PHP you are running.
Please see my posting
http://www.simplemachines.org/community/index.php?topic=135698.0 (http://www.simplemachines.org/community/index.php?topic=135698.0)




Quote from: snifftheglove on December 14, 2006, 08:27:53 AM
Quote

I've the same problem. I think this happens while using another language then english.


Mine is just default English and the default theme.

I have also deleted everything from my 1.1 Final root directory, and then uploaded a new install, went with utf-8 and forums then working fine, then tried uploading AVV and got
1.    Execute Code    installverification.php   
2.    Execute Modification    install.xml    Modification parse error
3.    Execute Modification    -    Modification parse error
4.    Extract File    ./Sources/Verification.php   
5.    Extract Tree    ./Themes/default/ttf_fonts   

Confused as this was a vanilla install of SMF1.1, follows by AVV a few seconds later. (No other mods installed)

Hope this helps
Title: Re: Advanced Visual Verification
Post by: snifftheglove on December 19, 2006, 06:07:18 AM
Oh, by the way the above post was me trying to install SMF1.1.1 upgrade, so I don't know if it will fix AVV install as AVV fails to install because of my forum now being SMF1.1.1 and not SMF1.1

I will give feedback once AVV gets upgraded for SMF1.1.1

Thanks
Title: Re: Advanced Visual Verification
Post by: Badmovies.org on December 19, 2006, 09:44:11 AM
I found this same thing.  Rolling my PHP version back to the 4 series let me finally get past the parse error.  However, now I cannot install the AV Mod, due to the update to 1.1.1.  Waiting for the update myself, though hopefully it is not a lot of work for HarzeM.  Having to constantly update your mods is surefire way to discourage authors.
Title: Re: Advanced Visual Verification
Post by: Kindred on December 19, 2006, 10:42:04 AM
I am getting:
8: Undefined index: verificationAskPM
File: /dir.../Sources/PersonalMessage.php
Line: 1471

it doesn't appear to be causing errors from the users' point of view, but it's filling my error log right quickly.
Title: Re: Advanced Visual Verification
Post by: J. Williams on December 19, 2006, 10:44:30 AM
Quote from: Kindred on December 19, 2006, 10:42:04 AM
I am getting:
8: Undefined index: verificationAskPM
File: /dir.../Sources/PersonalMessage.php
Line: 1471

it doesn't appear to be causing errors from the users' point of view, but it's filling my error log right quickly.

As of what I remember, when the Ask Verification for PM is unchecked; it has no value in which   it uses a blank value which results in the undefined index error.
Title: Re: Advanced Visual Verification
Post by: Kindred on December 19, 2006, 02:57:59 PM
Ok...  fixed that error by doing this:
changing:
      $_SESSION['verificationAskPM'] ++;

to:
   if(!empty($_SESSION['verificationAskPM']))
      $_SESSION['verificationAskPM'] ++;
   else
      $_SESSION['verificationAskPM'] = 1;



but I am also getting:
8: Undefined index: use_graphic_library
File: /dir.../Themes/default/Register.template.php (eval?)
Line: 59

line 59 is:
if ($context['use_graphic_library'])


but context is correctly defined earlier in the function...
Title: Re: Advanced Visual Verification
Post by: Harzem on December 19, 2006, 03:01:49 PM
The last error might be because of my incorrect implementation for 1.1, I was rushed. I'll have a look.

Until I release a fix, you may use that line as

if (isset($context['use_graphic_library']) && $context['use_graphic_library'] == true)
Title: Re: Advanced Visual Verification
Post by: Laibeus Lord on December 20, 2006, 03:22:41 AM
Anyone else having problems for the captcha not showing in PMs even after a successful install??

(SMF1.1 Final)
Title: Re: Advanced Visual Verification
Post by: willi1 on December 20, 2006, 10:37:30 AM
Hello,

thanks for the great mod,

can i use it with vers 1.1.1?

best regards
Title: Re: Advanced Visual Verification
Post by: FoneBone on December 20, 2006, 05:41:10 PM
Just open the package-info.xml in the zip-file and modify these two lines:
<install for="1.1">
<uninstall for="1.1">


to:

<install for="1.1, 1.1.1">
<uninstall for="1.1, 1.1.1">


In my case, it works  8)

And for all people, who wants to use this mod in their german boards, here's a language mod ;)
Title: Re: Advanced Visual Verification
Post by: willi1 on December 20, 2006, 09:24:38 PM
danke, thanks

it works great  :)

best regards

willi1
Title: Re: Advanced Visual Verification
Post by: Badmovies.org on December 22, 2006, 02:14:20 PM
Ah, quite sad to report that I cannot install version 1.1 of the Mod to a SMF 1.1.1 forum.  This is from a clean install of 1.1, then immediately upgraded to 1.1.1.  I made the changes to package-info.  No other mods have been installed.  When I tell it to install, the following errors appear:

2.     Execute Modification     ./index.php                                         Test failed
9.     Execute Modification     ./Themes/default/Search.template.php     Test failed
12.    Execute Modification     ./Sources/ManageRegistration.php       Test failed

Installing it anyway definitely causes issues, such as this in registration:
Fatal error: Cannot redeclare verificationsettings() (previously declared in /home/mydir/public_html/forum_test/Sources/ManageRegistration.php:312) in /home/mydir/public_html/forum_test/Sources/ManageRegistration.php on line 383

Attempting to uninstall, I get the following error every time:

9.     Execute Modification     ./Sources/PersonalMessage.php     Test failed

After the uninstall, registration still does not work.  The only way to get it to work is to upload a clean copy of SMF and start over.
Title: Re: Advanced Visual Verification
Post by: Fiery on December 23, 2006, 07:39:34 PM
When I enable AVV I get the following message when I try to send a personal message:

Fatal error: Call to undefined function: verificationnotexceed() in forums/Sources/PersonalMessage.php on line 1093

It only occurs when I enable AVV on sending personal messages.  Does this have anything to do with the fact I have a non default theme?

Any help would be great!

Thanks,

Brian

Update:  This appears to occur with everything that has to do with AVV
Title: Re: Advanced Visual Verification
Post by: Simple Machinist on December 24, 2006, 10:00:44 AM
Can we expect an update to be released that supports the new version of SMF 1.1.1?

I made the modificaitons to the package-info.xml file as sugessted by FoneBone, but after the mod is uploaded to the Forum it still wont install because I think there are other issues relating to the recent upgrade to SMF 1.1.1

Any other thoughts/ideas would be much appreciated.

best wishes,

Marc
Title: Re: Advanced Visual Verification
Post by: J. Williams on December 24, 2006, 10:41:49 AM
It will be updated when HarzeM has time to update it.
Title: Re: Advanced Visual Verification
Post by: carbonize on December 24, 2006, 10:47:11 AM
But the mod is made by HarzeM not Forsakenlad.
Title: Re: Advanced Visual Verification
Post by: J. Williams on December 24, 2006, 12:00:38 PM
Sorry about that, two different topics messed up; got to fix the second.
Title: Re: Advanced Visual Verification
Post by: sasquatch on December 29, 2006, 07:44:21 AM
I wasn't able to install this on smf 1.1.1: I uploaded the extracted archive into my packages folder, went into admin panel -> browse packages -> apply mod and got the following:
Quote
Installation Readme
This mod doesn't seem to support your SMF version.

Install Actions
Installations actions for "Advanced Visual Verification":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

Looking forward to getting this mod working.
Title: Re: Advanced Visual Verification
Post by: r_kstro on December 30, 2006, 12:15:11 AM
in smf 1.1.1 when wishing to install the modification it appears an error indicating that it is not possible to be installed.

as this can be solved?

:( :( :( :( :(
Title: Re: Advanced Visual Verification
Post by: Dirk67 on December 31, 2006, 09:38:52 AM
good mod, works now fine for me on V.1.1.1

another question:

Quote from: HarzeM on December 12, 2006, 04:40:31 PM
You should disable the default SMF image from features and options.

Is this still needed (using the actual versions ?)
anyhow, I can not find the setting "default SMF image" within the  "Features and Options" dialog
which one do you mean ?
Title: Re: Advanced Visual Verification
Post by: snifftheglove on January 01, 2007, 05:18:09 AM
Quote from: Dirk67 on December 31, 2006, 09:38:52 AM
good mod, works now fine for me on V.1.1.1

Do you mean you installed AVV onto 1.1.1 or was AVV already running and then you upgraded to SMF 1.1.1

Title: Re: Advanced Visual Verification
Post by: Uexplode on January 01, 2007, 06:36:17 AM
I cant get It to work whit 1.1.1. I get this when I try to install. "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Any cool awnser how to fix that?=)
Title: Re: Advanced Visual Verification
Post by: Dirk67 on January 01, 2007, 07:54:41 AM
Quote from: snifftheglove on January 01, 2007, 05:18:09 AM
Do you mean you installed AVV onto 1.1.1 or was AVV already running and then you upgraded to SMF 1.1.1
Yes,
I installed AVV onto 1.1.1 (AVV was not running before)

Just did the trick like "FoneBone" described it just one page before:
--> http://www.simplemachines.org/community/index.php?topic=114620.msg867913#msg867913
Title: Re: Advanced Visual Verification
Post by: RSprinkel on January 01, 2007, 08:20:07 AM
YEah I did it too, but the ONE primary theme that I wanted apparently didn't like it as it didn't allow the code to work on it as nothing showed.  So I decided to remove it, well thats where the headaches come in so BEWARE if you have to uninstall it.  IF you do have to, plan on reuploading all the folders and files once again and do an overwrite
Title: Re: Advanced Visual Verification
Post by: Kindred on January 01, 2007, 12:11:46 PM
jujst about EVERY mod will require you to manually install some portions if you are running something other than the default theme
Title: Re: Advanced Visual Verification
Post by: crash3903 on January 02, 2007, 02:42:13 PM
Folks I have this installed but when I test it all i see is the background image

I can listen to the letters but they are not appearing??

Any ideas?

Thanks

Mark
Title: Re: Advanced Visual Verification
Post by: crash3903 on January 02, 2007, 04:11:29 PM
Quote from: crash3903 on January 02, 2007, 02:42:13 PM
Folks I have this installed but when I test it all i see is the background image

I can listen to the letters but they are not appearing??

Any ideas?

Thanks

Mark

I have resolved it now - Uninstalled it, deleted the Register.template.php and uploaded a fresh one from my backup, re uploaded the mod and installed it and it all works fine now except for PM's but I am not that bothered - Just for info of others

Regards

Mark
Title: Re: Advanced Visual Verification
Post by: Rasqual on January 03, 2007, 10:34:41 AM
Quote from: snifftheglove on December 19, 2006, 06:04:51 AM
I think I might have found the reason for the Modification parse errors. It might be down to the version of PHP you are running.
Please see my posting
http://www.simplemachines.org/community/index.php?topic=135698.0 (http://www.simplemachines.org/community/index.php?topic=135698.0)




Quote from: snifftheglove on December 14, 2006, 08:27:53 AM
Quote

I've the same problem. I think this happens while using another language then english.


Mine is just default English and the default theme.

I have also deleted everything from my 1.1 Final root directory, and then uploaded a new install, went with utf-8 and forums then working fine, then tried uploading AVV and got
1.    Execute Code    installverification.php   
2.    Execute Modification    install.xml    Modification parse error
3.    Execute Modification    -    Modification parse error
4.    Extract File    ./Sources/Verification.php   
5.    Extract Tree    ./Themes/default/ttf_fonts   

Confused as this was a vanilla install of SMF1.1, follows by AVV a few seconds later. (No other mods installed)

Hope this helps
PHP5 here, I suspect a mismatch caused by memory limit?
In class xmlArray's _parse, the preg_match to find the closing tag (modification) FAILS if the data is too large (i.e. if I remove some <file>s, the add-on is ready to install)


Quote from: FoneBone on December 20, 2006, 05:41:10 PM
Just open the package-info.xml in the zip-file and modify these two lines:
<install for="1.1">
<uninstall for="1.1">


to:

<install for="1.1, 1.1.1">
<uninstall for="1.1, 1.1.1">

I use 1.1* which works fine, unless a 1.10 etc. version is released
Title: Re: Advanced Visual Verification
Post by: Medizinmann99 on January 03, 2007, 11:31:22 AM
Hello,

I would like to know if this mod is going to work with SMF 1.1.1. and the YABB SE Classic Theme.

I am asking first because I do not want to mess anything up. (I already made a backup though but uploading the backup again etc. etc. will take some time so I ask first)

Bye and thanks,

Medizinmann99
Title: Re: Advanced Visual Verification
Post by: Kindred on January 03, 2007, 11:48:35 AM
you will have to manually apply the changes to the theme template files...   other than that, it should work just fine.

I have it installed on a custom theme as well as Helios, but I had to apply the changes for display.template.php and profile.template.php manually.
Title: Re: Advanced Visual Verification
Post by: Medizinmann99 on January 03, 2007, 12:11:38 PM
Hello,

thanks hm I have one question left, on page two of this thread some german person says that
"after copying the english string block from index.english.php in index.german.php" everything worked fine.

How can I identify the code block that is being added to index.english.php ?

My mother tongue is german btw and my forum is german + english.

Thanks,

Medizinmann99
Title: Re: Advanced Visual Verification
Post by: Dirk67 on January 03, 2007, 01:41:33 PM
Quote from: Medizinmann99 on January 03, 2007, 12:11:38 PM
My mother tongue is german btw and my forum is german + english.

Thanks,

Medizinmann99

here's a solution for german (with file attached)
--> http://www.simplemachines.org/community/index.php?topic=114620.msg867913#msg867913
Title: Re: Advanced Visual Verification
Post by: Medizinmann99 on January 03, 2007, 02:06:11 PM
Hello,

ok I just tried it.

I unpacked the original advancedvisualverification etc. zip to a folder and unpacked the contents of the german language mod thing you just mentioned to this folder, therefore replacing a few of the files of the original with the german versions, so to say. Then I packed this again and went to package manager, uploaded the package, and it said ok and correct and everything fine and the dot is green blabla etc..

So the forum thinks everything was correctly installed.

Still, when I take a look at "registration" there is no "visual verification" menu at all. I changed profile from german to english and vice versa, and there simply isnt any visual verification menu anywhere. So not in registration and not in the german counterpart for this menu point nor anywhere.

Well, thats the end of the story. Anybody has any idea?

P.S.:
I also tried setting the theme back to standard SMF in my personal profile and there also tried both language settings in my profile, still no visual verification menu anywhere.

P.P.S.:
I just attached two screenshots so that you can see the package manager screen and the registration menu.
Title: Re: Advanced Visual Verification
Post by: Medizinmann99 on January 03, 2007, 04:24:46 PM
Hello,

ok and if I try to install the original mod with the mini modification mentioned here:
http://www.simplemachines.org/community/index.php?topic=114620.msg867913#msg867913
so that the SMF forum package installer accepts it as 1.1.1. the forum says the below mentioned thing.

So basically I think the version needs to be upgraded or something, or I am doing something wrong. As I said I am using the Classic YABB SE Theme, perhaps this is somehow involved here.

Bye,

Medizinmann99
Title: Re: Advanced Visual Verification
Post by: Dirk67 on January 04, 2007, 05:35:38 AM
all modifcations will install on the standard-theme with english language (non UTF-8) only...

if you use another language you will have to make manual modifications or manual installation...

if you use another theme you will have to make manual modifications or manual installation as well...

what exactly to do if you have another theme, I don't know, cause I am a newbie like you ;) ,
so maybe another experienced person may help you instead...

as a quick start to this issue you may use this link:
--> http://www.simplemachines.org/community/index.php?topic=34526.0
or in german:
--> http://www.simplemachines.org/community/index.php?topic=34543.0

hope it helps...
Title: Re: Advanced Visual Verification
Post by: Medizinmann99 on January 04, 2007, 04:51:11 PM
Hello,

well according to my information the mod does not even run on 1.1.1. with the standard theme. Therefore I think it would useless to sit myself down for hours and manually change and exchange parts as mentioned in the install.xml.

I suppose it will be better to wait for a patch for 1.1.1. and then try the modification - at least in my opinion.

Bye,

Medizinmann99
Title: Re: Advanced Visual Verification
Post by: Kindred on January 04, 2007, 05:29:44 PM
it's working just fine for me on 3 different forums using 1.1.1
Title: Re: Advanced Visual Verification (Modification parse errors)
Post by: tarsia on January 05, 2007, 03:17:19 AM
Quote from: Rasqual on January 03, 2007, 10:34:41 AM
Quote from: snifftheglove on December 19, 2006, 06:04:51 AM
I think I might have found the reason for the Modification parse errors. It might be down to the version of PHP you are running.
Please see my posting
http://www.simplemachines.org/community/index.php?topic=135698.0 (http://www.simplemachines.org/community/index.php?topic=135698.0)

PHP5 here, I suspect a mismatch caused by memory limit?
In class xmlArray's _parse, the preg_match to find the closing tag (modification) FAILS if the data is too large (i.e. if I remove some <file>s, the add-on is ready to install)


Hi,
I already know that the error depends on the PHP version. But, does anybody know a hack to install the mod on PHP 5?

Thanks, tarsia

PS. As the parse error appears in some other mods, in my point of view its is a general bug of SMF and a todo for the Development-Team. But it seems that they are not interested in it (as far is i read in other topics).
Title: Re: Advanced Visual Verification
Post by: Rasqual on January 05, 2007, 08:13:08 PM
Perhaps you could try to convert the mod from XML to the (old) boardmod format
Title: Re: Advanced Visual Verification
Post by: Badmovies.org on January 05, 2007, 08:54:04 PM
Quote from: tarsia on January 05, 2007, 03:17:19 AM
PS. As the parse error appears in some other mods, in my point of view its is a general bug of SMF and a todo for the Development-Team. But it seems that they are not interested in it (as far is i read in other topics).

I came to the same conclusion after reading other posts about this issue.  However, I believe they will have to address the issue sooner or later.
Title: Re: Advanced Visual Verification
Post by: Juan Carlos on January 05, 2007, 09:34:15 PM
I install this mode but I uninstall it because in the registration page I had 5 images  ???.
Now after uninstall my registration page in the admin panel is blank.

How can I correct this problem?

Thanks
Title: Re: Advanced Visual Verification
Post by: Badmovies.org on January 05, 2007, 09:56:01 PM
I was running into installation problems too (see a page or two back).  The only way I could fix the problem was to upload a fresh copy of the pages affected.
Title: Re: Advanced Visual Verification
Post by: rockinaway on January 06, 2007, 01:41:12 PM
The images are not showing... happened before too.. using 1.1.1 all installed
Title: Re: Advanced Visual Verification
Post by: Rasqual on January 06, 2007, 06:27:57 PM
Definitely an error due to the XML parser and the regex expression.
Converted to boardmod and applied successfully. It seems to work fine so far.

tarsia: Get this archive (http://rask.free.fr/public/AdvancedVisualVerification_1-1-boardmod_only.zip) and rezip them into your AdvancedVisualVerification_1-1.zip, then re-upload.
Edit: according to the remark below, errors occurs when applying it. I may have made a mistake somewhere.
Title: Re: Advanced Visual Verification
Post by: snifftheglove on January 07, 2007, 03:05:01 PM
Quote from: Rasqual on January 06, 2007, 06:27:57 PM
Definitely an error due to the XML parser and the regex expression.
Converted to boardmod and applied successfully. It seems to work fine so far.

tarsia: Get this archive (http://rask.free.fr/public/AdvancedVisualVerification_1-1-boardmod_only.zip) and rezip them into your AdvancedVisualVerification_1-1.zip, then re-upload.

Make a backup of my Sources and Themes folders, then tried that file above from Rasqual, this time it stated success on the test run and I then applied it.

Then I could not click the registration page in admin as there were page errors in the php, something about a missing }.

So I restored the backup and all was fine again with out AVV.

Sorry.

HarzeM, do you have a time line for a 1.1.1 version of AVV
Title: Re: Advanced Visual Verification
Post by: willi1 on January 08, 2007, 01:44:45 AM
hello,

i have installed the mod for 1.1 I use the forum 1.1.1 .
no member can write a personal message in the config I disable the part (beim Versand einer PM:)
but the pictures are there can you explain me the problem?
sorry for my bad english

best regards

André
Title: Re: Advanced Visual Verification
Post by: rockinaway on January 08, 2007, 12:33:54 PM
Images still not showing
Title: Re: Advanced Visual Verification
Post by: just_dave on January 09, 2007, 02:26:32 PM
Quote from: Kindred on January 04, 2007, 05:29:44 PM
it's working just fine for me on 3 different forums using 1.1.1

first u installed SMF 1.1.1 pack or AVV?
Title: Re: Advanced Visual Verification
Post by: lexhair on January 09, 2007, 09:42:59 PM
I installed AVV while I was running 1.1. No problems after I upgraded to 1.1.1.

I run php version 4.4.4.
Title: Re: Advanced Visual Verification
Post by: haartester on January 10, 2007, 02:42:01 AM
Quote from: lexhair on January 09, 2007, 09:42:59 PM
I installed AVV while I was running 1.1. No problems after I upgraded to 1.1.1.
[...]
Same with me. The other way round AVV did not work correctly and uninstalling AVV thereafter led to errors while trying to register.
Title: Re: Advanced Visual Verification
Post by: lexhair on January 10, 2007, 11:00:49 AM
Quote from: just_dave on January 10, 2007, 03:06:02 AM
Quote from: lexhair on January 09, 2007, 09:42:59 PM
I installed AVV while I was running 1.1. No problems after I upgraded to 1.1.1.

I run php version 4.4.4.

i did exactly the same, but regular members cannot send PM (administrators can). I tried to remove AVV code from PersonalMessage.php and PersonalMessage.template.php but it didnt help.
i also tried to remove 1.1.1. Still not working.
Any ideas, how to make PMs work?
Sorry, I can't replicate this. I just created a new member and sent a PM without a problem. Are your PM settings in "Features and Options" correct? Check the post count switch which forces a AVV before sending.
Title: Re: Advanced Visual Verification
Post by: busy_one on January 11, 2007, 04:09:53 AM
I run 1.1.1 and made the mistake(?) to update with AVV activated. AVV wouldn't work but after deinstalling it, still the (nice) big AVV-letters showed on registration-attempts. But they displayed the wrong code! Boy some quite days until I realised that. :o

I tried the <install for="1.1, 1.1.1"> hack, but got an error-message that index.php failed. Obviously the installer searches for something like array('Register.php', 'VerificationCode') but in my installation there it says array('Register.php', 'Register').

I changed that but still got an error concerning index.php but this time after entering the FTP-connecting data.

If anyone has an idea how I could at least use the build-in registration, please tell - I have (among some dumb bots) a very annoying spammer on my back with fake IPs and valid, unsuspicious email-accounts.
Title: Re: Advanced Visual Verification
Post by: BFG on January 11, 2007, 04:43:31 AM
Hey HarzeM. Firstly thanks for the mod it looks excellent. However we have recently upgraded our forums having struggled with a bout of spammers. We are running 1.1.1 and i was wondering how long it might be before you have this mod running under the latest smf release?

Cheers
Title: Re: Advanced Visual Verification
Post by: just_dave on January 11, 2007, 06:10:36 AM
Quote from: lexhair on January 10, 2007, 11:00:49 AM
Quote from: just_dave on January 10, 2007, 03:06:02 AM
Quote from: lexhair on January 09, 2007, 09:42:59 PM
I installed AVV while I was running 1.1. No problems after I upgraded to 1.1.1.

I run php version 4.4.4.

i did exactly the same, but regular members cannot send PM (administrators can). I tried to remove AVV code from PersonalMessage.php and PersonalMessage.template.php but it didnt help.
i also tried to remove 1.1.1. Still not working.
Any ideas, how to make PMs work?
Sorry, I can't replicate this. I just created a new member and sent a PM without a problem. Are your PM settings in "Features and Options" correct? Check the post count switch which forces a AVV before sending.

well... i feel kind of embarrassed :/ I didn't setup minimum postcount needed to send PM. Default value is five. My community spammer helped me :)
Title: Re: Advanced Visual Verification
Post by: dooie on January 12, 2007, 06:54:22 AM
Will this be upgraded to work with SMF 1.1.1?

I am having lots of trouble with robots signing up and SPAMing my forum. This would come in very handy and would be greatly appreciated if it was able to work with the newest update of SMF 1.1.1

Cheers
Title: Re: Advanced Visual Verification
Post by: Daniel Hofverberg on January 12, 2007, 08:54:54 PM
The current version seems to be working fine for SMF 1.1.1. I was able to install it with no problems, when I added the ;version_emulate=1.1 string to the package manager URL. I have had it running for a week on 1.1.1, and haven't found any problems so far.

That said though, I'd love to see a new version soon with CAPTCHA added also for the "Send topic" screen, as that feature is pretty much impossible to have enabled for guests for the time being.
Title: Re: Advanced Visual Verification
Post by: korby on January 14, 2007, 01:40:52 PM
Quote from: Daniel Hofverberg on January 12, 2007, 08:54:54 PM
The current version seems to be working fine for SMF 1.1.1. I was able to install it with no problems, when I added the ;version_emulate=1.1 string to the package manager URL. I have had it running for a week on 1.1.1, and haven't found any problems so far.

That said though, I'd love to see a new version soon with CAPTCHA added also for the "Send topic" screen, as that feature is pretty much impossible to have enabled for guests for the time being.


How can we do that please? I'm kinda bad at this stuff. :|
Title: Re: Advanced Visual Verification
Post by: Daniel Hofverberg on January 14, 2007, 08:19:47 PM
Korby: Go to the Package Manager, and then add the following at the end of the URL in the address bar (index.php?action=package, etc):
;version_emulate=1.1

If it works, the package manager will then display a notification that you should upgrade to 1.1.1 (which you can safely ignore). Then you can install the mod as usual.
Title: Re: Advanced Visual Verification
Post by: korby on January 15, 2007, 04:13:35 PM
Not working. :(

(http://img123.imageshack.us/img123/1930/errorvs0.th.jpg) (http://img123.imageshack.us/my.php?image=errorvs0.jpg)
Title: Re: Advanced Visual Verification
Post by: gregy on January 16, 2007, 02:01:01 AM
worked well for me .. spam is off :d
Title: Re: Advanced Visual Verification
Post by: snifftheglove on January 18, 2007, 05:33:20 AM
Does anybody know if HarzeM is OK?

He has not posted in SMF forum since 19th December (1 month ago)
Title: Re: Advanced Visual Verification
Post by: korby on January 19, 2007, 12:19:51 PM
Anybody there? :D


I really need this mod, but .php is not my good point. :(
Title: Re: Advanced Visual Verification
Post by: maobe on January 22, 2007, 10:23:43 AM
Hi Folks,

do the following:

1. Download the zip-File from the PackageServer!

2. Access the PackageManager of your SMF and add ;version_emulate=1.1 to the URL in your Adressbar ->

/index.php?action=packages;version_emulate=1.1

...hit Return, ignore the Message

3. Upload the zip-File via PackageManager (Download Packages) to your SMF

4. Apply Mod

5. be happy...

Tested & Proved on a NEW SMF 1.1.1 Installation, but should do for every upgraded SMF!!!

regards

Mao-B
Title: Re: Advanced Visual Verification
Post by: Annihilator on January 22, 2007, 01:18:01 PM
Someone fix this mod, please. Modification parse error, incompatibility with 1.1.1 (disregarding the "hack" to get it to run)... too much.
Title: Re: Advanced Visual Verification
Post by: korby on January 22, 2007, 02:46:29 PM
maobe, I allready said it. Doesn't work. Look at my first post on this page. :(
Title: Re: Advanced Visual Verification
Post by: kuklovod on January 28, 2007, 04:53:09 AM
Attaching fixed mod. Same, only changed to install on 1.1.1 without any problems.
Title: Re: Advanced Visual Verification
Post by: jacobselby on January 28, 2007, 03:03:37 PM
I installed it successfully but for some reason none of the letters for the verification show up, whats going on?
Title: Re: Advanced Visual Verification
Post by: Annihilator on January 30, 2007, 06:33:34 AM
Modification parse error - still.
Title: Re: Advanced Visual Verification
Post by: OmegaSupreme on February 01, 2007, 07:13:01 PM
Quote from: kuklovod on January 28, 2007, 04:53:09 AM
Attaching fixed mod. Same, only changed to install on 1.1.1 without any problems.

Thanks I use the theme Silver_Shine_V2 and that seemed to do the trick...was waiting on that
Title: Re: Advanced Visual Verification
Post by: [Lucien] on February 02, 2007, 08:52:28 PM
Quote from: Annihilator on January 30, 2007, 06:33:34 AM
Modification parse error - still.

Here the same, tried everything whats left to try.. :(

And thank you for this mod, i used it before and it is awesome :)
Title: Re: Advanced Visual Verification
Post by: Achilles991 on February 04, 2007, 05:37:07 AM
Hello. why i cant install this mod for SMF 1.1.1???? When i try to install it i see this massage "This mod doesn't seem to support your SMF version."!!!! WHY THAT?? If you want check my site here:
www.schoolnparty.com/forum/index.php
Title: Re: Advanced Visual Verification
Post by: Achilles991 on February 04, 2007, 05:45:45 AM
If someone fix this bug i will be glad to reable again visual verification. Now it is disabled!
Title: Re: Advanced Visual Verification
Post by: kgo on February 04, 2007, 12:21:32 PM
Quote from: kuklovod on January 28, 2007, 04:53:09 AM
Attaching fixed mod. Same, only changed to install on 1.1.1 without any problems.

This worked perfectly.  Thanks a ton!
Title: Re: Advanced Visual Verification
Post by: Dirk67 on February 05, 2007, 02:21:19 AM
Quote from: Achilles991 on February 04, 2007, 05:45:45 AM
If someone fix this bug i will be glad to reable again visual verification. Now it is disabled!
unfortunately the developer of AVV HarzeM (http://www.simplemachines.org/community/index.php?action=profile;u=36096) was not active in this forum since the 19th of december last year  :(
we hope he's fine ...
Title: Re: Advanced Visual Verification
Post by: Krysia on February 07, 2007, 12:26:03 PM
This mod works fine (I'm on 1.1.1), but my members have alerted me to the fact that they get the verification request even when trying to PM someone --- and I have that setting disabled. They shouldn't have to verify anything prior to PMming a fellow member of the board.

Has this happened to anyone else?
Title: Re: Advanced Visual Verification
Post by: Niteblade on February 07, 2007, 01:13:28 PM
Quote from: Annihilator on January 30, 2007, 06:33:34 AM
Modification parse error - still.

I get this when I run php v5.2.0 ... when I change back to version php 4.4.4, this error goes away.
Title: Re: Advanced Visual Verification
Post by: quicksilver1024 on February 07, 2007, 04:09:12 PM
Quote from: Krysia on February 07, 2007, 12:26:03 PM
This mod works fine (I'm on 1.1.1), but my members have alerted me to the fact that they get the verification request even when trying to PM someone --- and I have that setting disabled. They shouldn't have to verify anything prior to PMming a fellow member of the board.

Has this happened to anyone else?

This is happening on my board as well. In fact, I get two CAPTCHAs to go through before sending PM's. I have turned CAPTHA for PM off and even tried turning CAPTCHA entirely off, but they are still there. To make matters worse, you cannot send PM's due to this!
Title: Re: Advanced Visual Verification
Post by: Kindred on February 07, 2007, 04:59:00 PM
there are two places that CAPTCHA is referenced for PMs...

one is the standard SMF CAPTCHA for PMs... (turn that off)
The other is the option added by this mod....
Title: Re: Advanced Visual Verification
Post by: Krysia on February 07, 2007, 05:56:11 PM
Quote from: Kindred on February 07, 2007, 04:59:00 PM
there are two places that CAPTCHA is referenced for PMs...

one is the standard SMF CAPTCHA for PMs... (turn that off)
The other is the option added by this mod....
Where is the standard SMF CAPTCHA for PMs located?
Title: Re: Advanced Visual Verification
Post by: Krysia on February 07, 2007, 05:57:46 PM
Found it: "Post count under which users must enter a code"...
Title: Re: Advanced Visual Verification
Post by: szinski on February 07, 2007, 07:16:04 PM
If you're having problems with people not being able to send pm's, you should do the following:

1. From the Admin-->Features and Options page, set the Post count under which users must enter code when sending personal messages option to 0 (zero).

2. From the Admin-->Registration-->Visual Verification page, clear (uncheck) the Ask when sending personal messages box setting.

Steve
Title: Re: Advanced Visual Verification
Post by: GetRank on February 07, 2007, 09:15:27 PM
Quote from: kuklovod on January 28, 2007, 04:53:09 AM
Attaching fixed mod. Same, only changed to install on 1.1.1 without any problems.

thanks so much
Title: Re: Advanced Visual Verification
Post by: webhigh on February 08, 2007, 12:59:00 PM
I installed the original AVV mod and upgrade to SMF 1.1 then upgrade SMF to 1.1.1 with out realizing that the AVV didn't work with 1.1.1 - today tried to install the upgrade of AV 1.1.1 provided in this board - not guest can't post and I can't get in to the Registration in the Admin area - keep getting the following error:
Fatal error: Cannot redeclare template_verification_settings() (previously declared in /home/wgn/public_html/support/Sources/Load.php(1724) : eval()'d code:656) in /home/wgn/public_html/support/Sources/Load.php(1724) : eval()'d code on line 840

Anyone know how to fix this - tried upload the theme files again but know luck either

Thank
webhigh@comcast.net
Title: Re: Advanced Visual Verification
Post by: szinski on February 08, 2007, 01:12:35 PM
Check Sources/ManagePermissions.php and Sources/Profile.php scripts. Look for duplicate blocks of the same code, specifically look for the template_verification_settings() function and see if it's in the code twice. If it is, remove the duplicate.
Title: Re: Advanced Visual Verification
Post by: quicksilver1024 on February 08, 2007, 04:45:29 PM
Quote from: Blue Crab on February 07, 2007, 07:16:04 PM
If you're having problems with people not being able to send pm's, you should do the following:

1. From the Admin-->Features and Options page, set the Post count under which users must enter code when sending personal messages option to 0 (zero).

2. From the Admin-->Registration-->Visual Verification page, clear (uncheck) the Ask when sending personal messages box setting.

Steve

i found it! THANK YOU
Title: Re: Advanced Visual Verification
Post by: gdoostra on February 10, 2007, 12:41:50 PM
Thanx for the update! Seems to work perfectly.
First couldn't find the avv-settings tab under registration, but it appeared when switching from Dutch to English.
Title: Re: Advanced Visual Verification
Post by: Daniel15 on February 10, 2007, 06:29:50 PM
Quote from: Dirk67 on February 05, 2007, 02:21:19 AM
Quote from: Achilles991 on February 04, 2007, 05:45:45 AM
If someone fix this bug i will be glad to reable again visual verification. Now it is disabled!
unfortunately the developer of AVV HarzeM (http://www.simplemachines.org/community/index.php?action=profile;u=36096) was not active in this forum since the 19th of december last year  :(
we hope he's fine ...
I believe that he decided to leave the community for some time. I'm not sure when (or if) he'll be back, though  :'(
Title: Re: Advanced Visual Verification
Post by: L.G.S on February 11, 2007, 11:45:27 AM
Hey I got a problem I only just noticed... (I installed the mod 2-3 months ago...)

Even though I have the PM Visual Verfication box unticked, it still appears in the PM area and is stopping my members from PMing.

Also, it puts two Visual V. codes in the PM send box, not just one.

Almost forgot, it also seems to be only happening to certain membergroups. (nothing to do with permissions, i checked them)
Title: Re: Advanced Visual Verification
Post by: Krysia on February 11, 2007, 11:57:54 AM
Quote from: L.G.S on February 11, 2007, 11:45:27 AM
Hey I got a problem I only just noticed... (I installed the mod 2-3 months ago...)

Even though I have the PM Visual Verfication box unticked, it still appears in the PM area and is stopping my members from PMing.

Also, it puts two Visual V. codes in the PM send box, not just one.

Almost forgot, it also seems to be only happening to certain membergroups. (nothing to do with permissions, i checked them)
If you check back a page or so, this problem was brought up and addressed already. :)
Title: Re: Advanced Visual Verification
Post by: L.G.S on February 11, 2007, 01:10:45 PM
Oops sorry, I'll check it

has the mod been updated since december?
Title: Re: Advanced Visual Verification
Post by: Krysia on February 11, 2007, 03:25:59 PM
Quote from: L.G.S on February 11, 2007, 01:10:45 PM
Oops sorry, I'll check it

has the mod been updated since december?
Hm. That I don't know. I guess as long as it's been working for me, I haven't checked. What does it say on the Mod site?
Title: Re: Advanced Visual Verification
Post by: Krysia on February 11, 2007, 03:27:00 PM
Okay, on the Mod's site, it still says 12/10/06, so I'm thinking not...
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 12, 2007, 12:17:37 AM
first off, if this has been asked and answered already, i apologize, didnt feel like going through 29 pages though to look it up.

Is this Advanced Visual Mod available for version 1.1.1 yet? i thought it worked, because it seems to be working fine on another boards I have up elsewhere, but i did upgrade from 1.1 to 1.1.1 and already had the mod installed, so maybe thats why it still works? IDK? But the new boards I have set up, it is 1.1.1 and when trying to install, it says that the mod is either corrupted or not valid for my version of the boards. So Im guessing fresh install of 1.1.1 will not work for this mod? yet? anything i can do to fix it manually, or is there a estimated date when it will for sure work with 1.1.1?

Thanks, David
Title: Re: Advanced Visual Verification
Post by: Daniel Hofverberg on February 12, 2007, 05:20:16 AM
dpiffy: The mod seems to be working fine on a clean SMF 1.1.1 install, if you add ;version_emulate=1.1 to the package manager URL before installing it. I've done it, and it installed with no errors and has been running for a month with no problems.

Some other people have had problems though (as seen on various posts in this topic), but that may be because of other installed mods; not sure.
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 12, 2007, 01:53:11 PM
Quote from: Daniel Hofverberg on February 12, 2007, 05:20:16 AM
dpiffy: The mod seems to be working fine on a clean SMF 1.1.1 install, if you add ;version_emulate=1.1 to the package manager URL before installing it. I've done it, and it installed with no errors and has been running for a month with no problems.

Some other people have had problems though (as seen on various posts in this topic), but that may be because of other installed mods; not sure.


for the most part i am an advanced user with these mods, but in the case of what you just told me to do, im not sure. What file is this I am adding this to? and is there any specific place i am adding this, or replacing? i have tried using a find feature in my text editor, on a few files and havent dound it yet.
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 12, 2007, 02:04:33 PM
as another note, i just saw the update to 1.1.2
still didnt work.. and i still havent found where i am to add that version_emulate code at..
also, rather this is another issue, or could be part of the problem, now even after upgrading to 1.1.2, the better security for the verification, it only shows the background color or fuzzy, no letters are appearing in the box that you are supposed to read and type in the verify.
Title: Re: Advanced Visual Verification
Post by: Dirk67 on February 12, 2007, 03:45:40 PM
this AVV mod does not work with the new 1.1.2 Version at all  :(
(neither with ";version_emulate=1.1" nor with modifying the "package-info.xml" to e.g.: "<install for="1.1,1.1.1,1.1.2">"

what can we do now to get CAPTCHA functionality for guest postings ?
Title: Re: Advanced Visual Verification
Post by: Martje on February 12, 2007, 05:02:25 PM
 :( nope its certainly not working on SMF1.1.2, I thought by now that there would be a working captcha as a standard feature in SMF, these days it is  a must to have a verification code working on a forum. unless the majority of SMF users does not alllow guestposting... :'(

dpiffy
to get the 1.1 version working on SMF1.1.1 just open  the package-info.xml and replace

<install for="1.1">
to
<install for="1.1.1">

and
<uninstall for="1.1">
to
<uninstall for="1.1.1">
uplaod the file with
Package to Upload:
in your admin-packages
and then go to browse packages and in Modification Packages click the Apply Mod

that should do the trick (1.1.1 only)
Title: Re: Advanced Visual Verification
Post by: nokonium on February 12, 2007, 05:30:04 PM
If you installed the SMF 1.1.1 patch, uninstall it then uninstall or install the mod and re-apply the patch. However the mod does need updating for 1.1.2, if you try to install the 1.1.2 patch with the mod installed there are several test failures. If you uninstall the mod, apply the 1.1.2 patch and try to re-install the mod it cannot find the insertion points for 3 files because it has been changed by SMF 1.1.2.

I still want to use this mod because it is still way better than the SMF built in one, so I'll wait to upgrade my main site.
Title: Re: Advanced Visual Verification
Post by: lexhair on February 12, 2007, 07:52:21 PM
I installed it under 1.1. When I upgraded to 1.1.1, it still worked just fine. However, it won't uninstall under 1.1.1 so upgrading to 1.1.2 is tough unless you manually uninstall it, which isn't trivial.
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 12, 2007, 11:24:27 PM
well i have edited the 1.1 to 1.1.1 after i uninstalled from 1.1.2 back to 1.1.1, and still not working. i edit the install file, update it to the zip file, try to add it back on my forum through the package upload, and now it says: "The package you tried to upload either is not a valid package or has become corrupted. "

Im not sure what im doing wrong. like i said i am probably a 7 out of a 10 for experience on knowing how to mod files and website editing and manually editing the files. I was thinking just install everything manually, but it looks like quite a bit more I would want to mess with without being worried of messing anything up.  
Title: Re: Advanced Visual Verification
Post by: bob on February 13, 2007, 11:04:45 AM
Quote from: dpiffy on February 12, 2007, 02:04:33 PM
as another note, i just saw the update to 1.1.2
still didnt work.. and i still havent found where i am to add that version_emulate code at..
also, rather this is another issue, or could be part of the problem, now even after upgrading to 1.1.2, the better security for the verification, it only shows the background color or fuzzy, no letters are appearing in the box that you are supposed to read and type in the verify.

I have that problem with the stock captcha code as well. I THINK it MAY have something to do with the version of libgd on the server. AVV worked VERY well in the monochrome mode but until it has a 1.1.2 version I'm sort of stuck...

A little more info on the problem with the stock captcha code, the libgd version affects colors but the problem with the stock code appears to be freetype support in php.
Title: Re: Advanced Visual Verification
Post by: Krysia on February 13, 2007, 11:13:33 AM
I had to manually uninstall tihs mod in order to run the SMF 1.1.2 update patch. I have not yet tried to reinstall it. Considering the update had a bunch of CAPTCHA changes, I figure that the codes wouldn't be the same anymore for this mod.
Title: Re: Advanced Visual Verification
Post by: Chriss Cohn on February 13, 2007, 12:07:19 PM
Hello, creator of this mod, please make a fast "bugfix" to your mod, so it will work with 1.1.2
We all need it!!!

Regards,Christian
Title: Re: Advanced Visual Verification
Post by: Rick_M on February 13, 2007, 08:44:34 PM
I agree we need an update badly.  I was able to use the modified version for 1.1.1, but without a working version for 1.1.2, I have to shut guest posting off.

Oh well.
Title: Re: Advanced Visual Verification
Post by: Kindred on February 14, 2007, 07:58:18 AM
works fine for me in 1.1.2...

mind you, I applied the 1.1.2 patch and ignored the "errors" since they were all related to the changes that this mod made...
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 14, 2007, 01:07:05 PM
well thats nice, but like i said, it didnt even work for 1.1.1.. i installed it fresh of 1.1.1, and converted a YaBB board to this new SMF.. so it never worked once on my new host.. i have another host however that it did work fine going from 1.1 to 1.1.1 but not to 1.1.2
Title: Re: Advanced Visual Verification
Post by: J. Williams on February 15, 2007, 08:27:43 AM
Quote from: dpiffy on February 14, 2007, 01:07:05 PM
well thats nice, but like i said, it didnt even work for 1.1.1.. i installed it fresh of 1.1.1, and converted a YaBB board to this new SMF.. so it never worked once on my new host.. i have another host however that it did work fine going from 1.1 to 1.1.1 but not to 1.1.2

Have you tried checking the CHMOD permissions?
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 15, 2007, 01:03:06 PM
i honestly dont remember if i have or not..

what files should i be concerned with checking and what permissions should they have?
Title: Re: Advanced Visual Verification
Post by: Sapphire_H on February 15, 2007, 04:38:28 PM
I thought because I got it installed it was working - took me a few days to realize that, in fact, no character images were showing up at registration, so no one could get through the registration process.

I disabled all the built in visual verifications (1.1.1) and tried installing the mod - got the following error when clicking on "Register":

Fatal error: Cannot redeclare template_verification_settings() (previously declared in /home/sou10001/public_html/forum/Sources/Load.php(1751) : eval()'d code:701) in /home/sou10001/public_html/forum/Sources/Load.php(1751) : eval()'d code on line 885

Uninstalling the mod caused a failure in the personalmessage.php file, but it did uninstall otherwise.

Registration, however, still doesn't work and I've got the following error:

Fatal error: Cannot redeclare template_verification_settings() (previously declared in /home/sou10001/public_html/forum/Sources/Load.php(1751) : eval()'d code:721) in /home/sou10001/public_html/forum/Sources/Load.php(1751) : eval()'d code on line 905

I really need some help!

Mods currently installed:

SMF 1.0.7 / 1.1 RC2 Update    1.0    [ List Files ] [ Delete ]
MessagePreviewOnHover    1.4    [ Uninstall ] [ List Files ] [ Delete ]
SMF Staff Page       1.5.1    [ Uninstall ] [ List Files ] [ Delete ]
Enchanced post template    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
SMF Links       1.6.3    [ Uninstall ] [ List Files ] [ Delete ]
MessagePreviewOnHover    1.4    [ Uninstall ] [ List Files ] [ Delete ]
VisualWarning       1.31    [ Uninstall ] [ List Files ] [ Delete ]
Search Topic       1.01    [ List Files ] [ Delete ]
Custom Profile Field Mod    3.16    [ Uninstall ] [ List Files ] [ Delete ]
View Only Boards       1.0    [ Uninstall ] [ List Files ] [ Delete ]
BBCode Bar For Signature    1.2    [ Uninstall ] [ List Files ] [ Delete ]
Ignore Boards       2.0.1    [ Uninstall ] [ List Files ] [ Delete ]
Ignore user       1.3    [ Uninstall ] [ List Files ] [ Delete ]
PM On Registration       1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
Reason For Editing Mod    1.14    [ Uninstall ] [ List Files ] [ Delete ]
Title: Re: Advanced Visual Verification
Post by: Kindred on February 15, 2007, 05:41:59 PM
looks like you installed the mod twice...

you will have to go remove the duplicate sections by hand...
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 18, 2007, 09:07:01 PM
i never got a response to my question 2-3 posts above this one..

all i know is the author of this mod said to not comment on the actual mod page and to do so on this topic, and everyone is needing help or is just plain asking for an update for 1.1.2 and haven't heard anything back at all...

i cant imagine it being much any different than 1.1.1 to change much at all that would make it difficult to upgrade it to work for 1.1.2     right/wrong?
Title: Re: Advanced Visual Verification
Post by: Chriss Cohn on February 20, 2007, 03:47:55 PM
Its very sad that we got no response of the mod-creator.....
Anyway, why not just try to find out the right insert-point by our selves?
This couldn't be so hard.....

Regards Christian
Title: Re: Advanced Visual Verification
Post by: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 25, 2007, 11:34:04 AM
Quote from: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...

WOW! THANK YOU !! YOUR A LIFE SAVER!! IT worked and installed perfect for me.. now.. however.. i am still finding the same problem I had with the new updated verification built in to the new SMF 1.1.2 --where the background is showing, but no actual letters are appearing. It is doing this as well with this mod. I thought maybe with this mod, it would work, but it does the same thing as the one built into SMF too.. So does it have something to do with my internet host/server that is making it not work. The guy for my host is easy to talk to, is there something I need to find out from him as to why it may not be working??
Title: Re: Advanced Visual Verification
Post by: rejetto on February 25, 2007, 11:39:11 AM
did you try to install 1.1.2 from scratch, then apply the mods?
Title: Re: Advanced Visual Verification
Post by: dpiffy on February 25, 2007, 01:40:59 PM
i did a 1.1.1 then update to 1.1.2
Title: Re: Advanced Visual Verification
Post by: staudili on February 25, 2007, 04:22:41 PM
Hi,

i had tested it with 1.1.2 (Update from 1.1.1) and it works only whith a little trick.

at // Skip I, J, L, O and Q. is a different line, there must be:

<file name="$sourcedir/Register.php">
<operation>
<search position="replace"><![CDATA[ // Generate a visual verification code to make sure the user is no bot.
$context['visual_verification'] = empty($modSettings['disable_visual_verification']) || $modSettings['disable_visual_verification'] != 1;
if ($context['visual_verification'])
{
$context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());

// Only generate a new code if one hasn't been set yet
if (!isset($_SESSION['visual_verification_code']))
{
// Skip I, J, L, O and Q.
$character_range = array_merge(range('A', 'H'), array('K', 'M', 'N', 'P', '3', '4', '5', '6', '7', '9'), range('R', 'Z'));

// Generate a new code.
$_SESSION['visual_verification_code'] = '';
for ($i = 0; $i < 5; $i++)
$_SESSION['visual_verification_code'] .= $character_range[array_rand($character_range)];
}
}
]]></search>


so all works correctly.

My Forum is german, but if i use the translated file a few post before there are a few things in english...
"Type the letters shown in the picture
Sie sollten 5 Zeichen in diesem Bild lesen können. "
Where can i modify it?

Greetz staudi

P.S.: sorry my english (o:
Title: Re: Advanced Visual Verification
Post by: Cyberclone on February 25, 2007, 04:32:54 PM
Dann ändere das File install.xml in der Zip Datei und übersetze die englischen Ausdrücke im Bereicht zwischen    <file name="$languagedir/index.german.php"> blabla </file>

you have to translate the english strings between <file name="$languagedir/index.german.php"> blabla </file>  in file install.xml
Title: Re: Advanced Visual Verification
Post by: staudili on February 25, 2007, 04:49:43 PM
Hi,

das hab ich auch gerade festgestellt, aber trotzdem dankeschön. bei der übersetzung die hier im thread etwas früher steht fehlen ein paar sachen.

Thanks, i used the translation from earlyer in this thread, but in this a few things missed.

greetz staudi
Title: Re: Advanced Visual Verification
Post by: lexhair on February 25, 2007, 06:18:19 PM
Quote from: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...
Nice. The mod still needs an uninstaller for 1.1.1 so you can remove it, install the 1.1.2 patch and then reinstall AVV.
Title: Re: Advanced Visual Verification
Post by: staudili on February 26, 2007, 02:00:45 AM
Hi again,

i´ve found the few strings which was untranslated in: /Themes/default/Login.german.php (or your prefered language)
here a quick german translation
$txt['visual_verification_label'] = 'Visuelle Verifikation';
$txt['visual_verification_description'] = 'Geben Sie die Zeichen des Bildes ein.';
$txt['visual_verification_sound'] = 'Die Zeichen h&ouml;ren';
$txt['visual_verification_sound_again'] = 'Wiederholen';
$txt['visual_verification_sound_close'] = 'Fenster schlie&szlig;en';
$txt['visual_verification_request_new'] = 'Ein neues Bild generieren';
$txt['visual_verification_sound_direct'] = 'Haben Sie Probleme das zu h&ouml;ren? Versuchen Sie es mit direkt.';


greetz staudi
Title: Re: Advanced Visual Verification
Post by: vcomp on February 27, 2007, 02:45:59 PM
Thanks for all of the hard work dude.  What is the verdict on the 1.1.2 download a few posts ago.  Does it require any tweaks to work properly?

TIA
Title: Re: Advanced Visual Verification
Post by: lexhair on February 27, 2007, 06:42:57 PM
I'm a compulsive "updater" but I've got AVV and 1.1.1 running fine so I'm going to stay with this configuration for a couple more 1.1.x releases.

And yes....it's killing me not to update.
Title: Re: Advanced Visual Verification
Post by: lucia2 on March 01, 2007, 03:39:41 PM
I've installed SMF 1.1.2 and I'd love to add AVV.  I've tried to figure out how to do it based on what's discussed here, but I'm mystified. When I try to install using the package manager I get this:

===
Installation Readme
This mod doesn't seem to support your SMF version.

Install Actions
Installations actions for "Advanced Visual Verification":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
==

Is there a work around? (I'm seeing  hints above, but I'm afraid I don't understand enough to figure out what to do.  Can I unzip, edit and install without the package manager? Or modify, rezip, then use the package manager? (Yes. I am clueless!)
Title: Re: Advanced Visual Verification
Post by: verderacer on March 01, 2007, 07:30:57 PM
Howdy,

Been trying to just uncompress the zip file on my OS X (10.4.8) system and it fail every time.  Have tried downloading the file on 3 different systems and still no luck.

Any ideas ???



Title: Re: Advanced Visual Verification
Post by: lucia2 on March 02, 2007, 09:05:41 AM
I  used the version cyberclone supplied! Works great on 1.1.2.
http://www.simplemachines.org/community/index.php?topic=114620.msg978394#msg978394 (http://www.simplemachines.org/community/index.php?topic=114620.msg978394#msg978394)
Title: Re: Advanced Visual Verification
Post by: verderacer on March 02, 2007, 09:42:49 AM
Trying to install the mod on 1.1.2 version and get the following error from package manager:

Install Actions
Installations actions for "Advanced Visual Verification":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Any ideas ???
Title: Re: Advanced Visual Verification
Post by: lucia2 on March 02, 2007, 10:15:13 AM
verderacer-- look up one comment! I used the modiification posted by cyberclone. (Works great!)

http://www.simplemachines.org/community/index.php?topic=114620.msg978394#msg978394 (http://www.simplemachines.org/community/index.php?topic=114620.msg978394#msg978394)

I also installed No Spam By Guests. You'll need to set the version for the package manager:

http://www.simplemachines.org/community/index.php?topic=119091.msg981524#msg981524 (http://www.simplemachines.org/community/index.php?topic=119091.msg981524#msg981524)

I now let guests post, but block URL's and links. (To avoid people from posting links to pornographic photos etc.)
Title: Re: Advanced Visual Verification
Post by: verderacer on March 02, 2007, 10:16:37 PM

That worked great...  Thanks much !

Still trying to install the NoSpam by Guests mod...  
Title: Re: Advanced Visual Verification
Post by: hasnain721 on March 03, 2007, 06:41:18 AM
any updates for smf 1.2 ?
Title: Re: Advanced Visual Verification
Post by: exnyte on March 03, 2007, 12:42:25 PM
Quote from: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...

I installed this version on a 1.1.2 board (converted from IPB) with no problems and works perfectly (as far as I can see).
Title: Re: Advanced Visual Verification
Post by: straxus on March 04, 2007, 03:12:39 AM
Quote from: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...

It breaks registration on my forum.
Title: Re: Advanced Visual Verification
Post by: Tarmotim on March 16, 2007, 08:12:37 AM
Quote from: straxus on March 04, 2007, 03:12:39 AM
Quote from: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...

It breaks registration on my forum.

Maybe you are using a non-default theme:)
Have you tested your registration with the default theme?
Title: Re: Advanced Visual Verification
Post by: lexhair on March 16, 2007, 10:31:52 AM
Quote from: straxus on March 04, 2007, 03:12:39 AM
Quote from: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...

It breaks registration on my forum.
Does your theme have a register.template.php? If so, you need to manually apply the mod.
Title: Re: Advanced Visual Verification
Post by: Cyberclone on March 16, 2007, 11:52:14 AM
Quote from: Tarmotim on March 16, 2007, 08:12:37 AM
Quote from: straxus on March 04, 2007, 03:12:39 AM
Quote from: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...

It breaks registration on my forum.

Maybe you are using a non-default theme:)
Have you tested your registration with the default theme?

I use the standard template... http://www.forum-hardtecs4u.com/yabbse/
Title: Re: Advanced Visual Verification
Post by: URPG on March 18, 2007, 07:00:11 AM
How well does this integrate with TinyPortal?
Title: Re: Advanced Visual Verification
Post by: - danny on March 18, 2007, 03:07:10 PM
I've updated to 1.1.2 and tried this mod to fix the AVV on my site...It doesn't work...I've tried the modified version listed a few pages back too, but that didn't do trick either. I'm also using TP v.97, FelBlog and about 20 other Mods...I've read here and there that FelBlog may be causing it, but I had FelBlog before updating to 1.1.2 and TP v.97 - AVV worked fine at that point...There's gotta be something about these last two updates. I just can't put my finger on it. Anyone have any clues?
Title: Re: Advanced Visual Verification
Post by: Kon-Tiki on March 21, 2007, 04:35:55 PM
Is it possible to change the random letters/numbers thing to say "Select all horses" from a 3x3 grid of random animal pictures in this mod? I've been looking for something like Captcha to keep all the bot-spam from my forum, but the illegible Captcha things tend to keep real members away too, which I can't afford, especially not at this stage, so a userfriendly thing like "Select all dogs" or so would be a good solution (which exists, as I've seen it before, but don't know if this mod handles it like that)
Title: Re: Advanced Visual Verification
Post by: Kindred on March 21, 2007, 05:01:37 PM
no, this mod would not handle that
Title: Re: Advanced Visual Verification
Post by: Kon-Tiki on March 21, 2007, 05:26:33 PM
Alright. Sounds like I'll have to write it myself, as no mod does this then :P
Title: Re: Advanced Visual Verification
Post by: guppy on March 22, 2007, 09:25:27 AM
Quote from: Cyberclone on February 25, 2007, 09:24:36 AM
Here my version for 1.1.2
I hope it works...

Not working for me :'(

   Type     Action     Description
1.    Execute Code    installverification.php    
2.    Execute Modification    -    Modification parse error
3.    Extract File    ./Sources/Verification.php    
4.    Extract Tree    ./Themes/default/ttf_fonts
Title: Re: Advanced Visual Verification
Post by: Kon-Tiki on March 24, 2007, 09:26:12 AM
Yeah, same here. Decided to go ahead with this until I found a userfriendly solution, but...

QuoteInstalling this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    installverification.php    
2.    Execute Modification    install.xml    Modification parse error
3.    Execute Modification    -    Modification parse error
4.    Extract File    ./Sources/Verification.php    
5.    Extract Tree    ./Themes/ttf_fonts

When still going ahead with installing, it takes aaaaaaaaaaages and doesn't do anything at all.
Title: Re: Advanced Visual Verification
Post by: Kindred on March 24, 2007, 11:58:48 AM
why would you click proceed with such a major error showing?   That is a sure way to screw up the installation and possibly your board.
Title: Re: Advanced Visual Verification
Post by: Kon-Tiki on March 24, 2007, 12:17:40 PM
Didn't have much choice other than that. At any rate, the board still works, as the Proceed-button didn't do anything.
Title: Re: Advanced Visual Verification
Post by: Kindred on March 24, 2007, 02:10:56 PM
I'll bet you it did do something...   just nothing that affects the parts of the board that you can see.

10 gets you 20 that the mod is now partially installed, which means that if you ever resolve the errors and try to install it for real, you'll get a double install of some of the code...
Title: Re: Advanced Visual Verification
Post by: Kon-Tiki on March 24, 2007, 02:37:02 PM
I'll check that. In the meantime... how can I solve those errors?
Title: Re: Advanced Visual Verification
Post by: Kon-Tiki on March 25, 2007, 07:20:50 PM
Anyone any idea how to get this install done?
Title: Re: Advanced Visual Verification
Post by: rejetto on March 25, 2007, 07:57:35 PM
i just used one of those hacked versions, and had no problem in months
Title: Re: Advanced Visual Verification
Post by: goitalone on March 28, 2007, 11:51:48 PM
What hacked version? I need this for 1.1.2  
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on March 29, 2007, 11:27:11 AM
Given the lack of updates, the creator has likely abandoned the development of this mod.

I hate to advertise, but for all those searching for something that allows you to require guests verify against an image, and that works with 1.1.2, try the Visual Verification Options (http://custom.simplemachines.org/mods/index.php?mod=734) mod. It isn't the same thing, but it should provide the most-used functionality.

Please don't use this topic to discuss this mod, it has its own.

Here is to hoping HarzeM updates AVV soon.
Title: Re: Advanced Visual Verification
Post by: lexhair on March 29, 2007, 01:03:30 PM
Be nice to have an uninstaller that works with 1.1.1.
Title: Re: Advanced Visual Verification
Post by: goitalone on March 29, 2007, 01:35:00 PM
BTW, that hacked version of Advanced Visual Verification works great on 1.1.2 for installation (not sure about 1.1.1 or uninstall though)

It installed perfect and works great ...only thing it didn't install on was the German language file (which didn't exsist anyways)

http://www.simplemachines.org/community/index.php?topic=114620.450
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on March 29, 2007, 03:27:40 PM
Quote from: lexhair on March 29, 2007, 01:03:30 PM
Be nice to have an uninstaller that works with 1.1.1.

Use the ;version_emulate=1.1 trick to show the uninstall link. Do a search if you aren't sure how to do that.
Title: Re: Advanced Visual Verification
Post by: lexhair on March 30, 2007, 11:14:21 AM
Quote from: Motoko-chan on March 29, 2007, 03:27:40 PM
Quote from: lexhair on March 29, 2007, 01:03:30 PM
Be nice to have an uninstaller that works with 1.1.1.

Use the ;version_emulate=1.1 trick to show the uninstall link. Do a search if you aren't sure how to do that.
Thanks for the advice. Looks like that'll work. I'll stick with the orig AVV mod and 1.1.1 for another couple of releases and then give your mod a shot.  
Title: Re: Advanced Visual Verification
Post by: Diamondhead on April 01, 2007, 11:59:43 PM
I'm getting the same verbatim "modification parse error" error at the end of the install process which Kon-tiki asked for help with a few days ago.

Anyone, if you have a solution (or can even clarify what that message means) please reply.  I'm obviously not the only person waiting for an answer to this head scratcher.

Btw, it took MUCH work to get all the error problems/messages whittled down to just these "mod. parse error"s at the end of the install process.....and I don't want to click the Install button and have it screw up a days worth of work.   

Thanks for anyone's thoughts, input, or comments about this error.

Diamondhead
Title: Re: Advanced Visual Verification
Post by: Kindred on April 02, 2007, 12:06:48 AM
I could not resolve Kon-Tiki's issues with this mod... although I don't know why it took "much" work to get it to that point...   it was a matter of 2 minutes to determine that the original error was the result of the temp directory not being properly created.  Manually create the temp directory in your packages directory, with chmod 777 and mods will install just fine.

As for the other issue with install.xml... I gave up and installed the VVO mod for him rather than this one (AVV)
Title: Re: Advanced Visual Verification
Post by: goitalone on April 02, 2007, 02:13:32 AM
The hacked version I posted a link to doesn't work either?
Title: Re: Advanced Visual Verification
Post by: Kindred on April 02, 2007, 10:37:34 AM
nope...


I believe it is some odd configuration with these individual's servers; because I have installed this mod package on at least 5 other sites with no problems at all.
Title: Re: Advanced Visual Verification
Post by: ragots on April 06, 2007, 04:08:54 PM
When I edit a visitor's post as an admin, I get asked to enter the captcha code.
I posted this a while ago. Any solution for this ?




Quote from: ragots on October 12, 2006, 06:51:48 PM
Hello people, I'm posting this again.

When I log in as admin  and I try to edit a post done by a guest,
when I try to save the changes, I get the error message telling me that I did not type the correct captcha code, although the captcha dialog did not come up while I edited the message left by the user.

Daniel15 said he found a fix for this.
What is that fix ?

Does HarzeM has a fix ?
The one you proposed did not work.




Title: Re: Advanced Visual Verification
Post by: goitalone on April 06, 2007, 04:48:15 PM
LOL thats funny...you must have yourself on the wrong permissions er something I would think. LOL
Title: Re: Advanced Visual Verification
Post by: ivytony on April 11, 2007, 10:30:52 AM
doesn't support SMF 1.1.2?

thanks!
Title: Re: Advanced Visual Verification
Post by: Badmovies.org on May 01, 2007, 01:36:56 AM
For those who have 1.1.2 and are experiencing the "Modification Parse Error" issue when trying to install, it appears another gent found the problem.  The issue is that the installer does not like big .xml files.  When I split the install.xml file into three parts, it worked fine.

I am not an SMF developer and have done very little testing, but the attached file is the one I made (using Cyberclone's to start) and it worked fine to both install and uninstall.

I think that the "Modification Parse Error" has to do with the server's PHP version.  I did not run into it until I upgraded my version of PHP and downgrading my PHP would get rid of the error.

Title: Re: Advanced Visual Verification
Post by: [Lucien] on May 01, 2007, 03:54:09 AM
Quote from: Badmovies.org on May 01, 2007, 01:36:56 AM
For those who have 1.1.2 and are experiencing the "Modification Parse Error" issue when trying to install, it appears another gent found the problem.  The issue is that the installer does not like big .xml files.  When I split the install.xml file into three parts, it worked fine.

I am not an SMF developer and have done very little testing, but the attached file is the one I made (using Cyberclone's to start) and it worked fine to both install and uninstall.

I think that the "Modification Parse Error" has to do with the server's PHP version.  I did not run into it until I upgraded my version of PHP and downgrading my PHP would get rid of the error.



Thank you very much for this, i don't get any modification parse error, but the only file that can't be modified is the register.php file within the sources directory.. any idea why this one fails? :)
Title: Re: Advanced Visual Verification
Post by: [Lucien] on May 01, 2007, 04:19:02 AM
YESSS it works!!!! :D I replaced the register.php with the original one and now it works, thank you so much for this!!
Title: Re: Advanced Visual Verification
Post by: cmonex on June 01, 2007, 09:35:29 PM
it still doesnt work for me!!

registration part stops workign for me


this is a fresh install of 1.1.2!

i installed original version of AVV first then the first mod, then this last one, this one at least didnt have the usual german lang file error when installing.

nothing helps. theme is default, tried the other one that doesnt have that php file, but it still didnt help,

how do i install this "manually" if that helps?



--
edit:
the error message i get when i click on the registration part

Fatal error: Cannot redeclare template_verification_settings() (previously declared in /home/blablablaforum/Sources/Load.php(1726) : eval()'d code:689) in /home/blablablaforum/Sources/Load.php(1726) : eval()'d code on line 873

i tried to rename both register.php's in source folder to some nonsense so there was no active register.php and i still got the same error. so this file isnt working at all. help?
Title: Re: Advanced Visual Verification
Post by: cmonex on June 01, 2007, 10:13:59 PM
maybe someone could send me working versions of register.php, register.template.php, manageregistration.php :(

right now registration works, AVV plugin is installed, but it doesnt put the settings there in registration so i can't enable it. good for nothing


....edit: worse than that, it didnt ask for captcha anymore on registration either, had to remove plugin.
Title: Re: Advanced Visual Verification
Post by: URPG on June 02, 2007, 10:33:11 AM
Why would you need this, if you installed 1.1.2? It's a standard feature...
Title: Re: Advanced Visual Verification
Post by: Kindred on June 02, 2007, 01:28:02 PM
this one is more advanced than the one that is standard in 1.1.2
Title: Re: Advanced Visual Verification
Post by: URPG on June 02, 2007, 01:35:44 PM
ah, ok. Guess the standard is fine, never had complaining users or bot's that came in...
Title: Re: Advanced Visual Verification
Post by: cmonex on June 02, 2007, 05:19:51 PM
Quote from: URPG on June 02, 2007, 10:33:11 AM
Why would you need this, if you installed 1.1.2? It's a standard feature...

well because i was appalled to find i could not enable captcha's for guest posting out of the box. i want to enable guest posting, but if i dont have some verification system in place for them, then i would be flooded with spam.
i did install some other mod that prevents guests from posting links and it works but i feel this AVV mod would be more efficient.

can someone help, pretty please. thanks.
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on June 03, 2007, 01:26:20 AM
This mod isn't compatible with SMF 1.1.2 due to changes made in how the built-in captcha works.

I hate advertising on these topics, but you could look at Visual Verification Options (http://custom.simplemachines.org/mods/index.php?mod=734) if you want something compatible with SMF 1.1.2.
Title: Re: Advanced Visual Verification
Post by: URPG on June 03, 2007, 06:15:13 AM
Ah... i do allow guest posting without it. I just installed a mod preventing guests from posting links, never had a single spam post since then  8)
Title: Re: Advanced Visual Verification
Post by: cmonex on June 03, 2007, 02:49:51 PM
Quote from: URPG on June 03, 2007, 06:15:13 AM
Ah... i do allow guest posting without it. I just installed a mod preventing guests from posting links, never had a single spam post since then  8)

thanks, i do have it installed, just wasn't sure if that was safe enough. you seem to confirm it is. can you tell me how you fixed the error report issue with it though? for me (when i tested it as a guest) it only said "error occurred: " but didn't say the reason (i.e. it won't let you post because of the link). or maybe it is intentional? thanks.
Title: Re: Advanced Visual Verification
Post by: cmonex on June 03, 2007, 02:50:41 PM
Quote from: Motoko-chan on June 03, 2007, 01:26:20 AM
This mod isn't compatible with SMF 1.1.2 due to changes made in how the built-in captcha works.

I hate advertising on these topics, but you could look at Visual Verification Options (http://custom.simplemachines.org/mods/index.php?mod=734) if you want something compatible with SMF 1.1.2.

no worries about advertising :)

i know the original mod is not compatible, but two hacks are available that make it compatible, it does work for others, sadly not for me, :(

edit: i checked out your mod. it looks nice, does it enable captcha for guest posting? i see it does it for opening a new thread, but does it, when someone just posts in an existing thread? thanks lots.
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on June 03, 2007, 04:09:29 PM
Personally, I'm not really into un-reviewed hacks to make things work, especially when something affects such a critical part of the system.

As to your question, you should really ask that in the topic for that mod, but yes, turning it on means any post by a guest will require a verification.
Title: Re: Advanced Visual Verification
Post by: cmonex on June 03, 2007, 05:20:04 PM
Quote from: Motoko-chan on June 03, 2007, 04:09:29 PM
Personally, I'm not really into un-reviewed hacks to make things work, especially when something affects such a critical part of the system.

As to your question, you should really ask that in the topic for that mod, but yes, turning it on means any post by a guest will require a verification.

cool, the description didnt sound like that, but now going to check it out :) thanks
Title: Re: Advanced Visual Verification
Post by: URPG on June 03, 2007, 05:31:15 PM
No, actualy it's not intentional i guess... but no i did not solve anything *g* let it send the bot's into the void :)
Title: Re: Advanced Visual Verification
Post by: mstahl on June 22, 2007, 01:31:18 PM
I keep getting this error trying to install the mod on 1.1RC3:

This mod doesn't seem to support your SMF version.

How do I get around this. I would upgrade to 1.1.2 but I need to stop some spamming now and upgrading involves a ton of work since I am using a joomla bridge.

Thanks!
Title: Re: Advanced Visual Verification
Post by: Kindred on June 22, 2007, 01:46:06 PM
If you are using the joomla bridge form this site (v1.1.6 or 1.1.7) then upgrading SMF is no hassle, since the bridge does not affect any SMF files at all.
Title: Re: Advanced Visual Verification
Post by: mstahl on June 22, 2007, 02:07:50 PM
Unfortunately I am not. I wish I could but i have a problem with SEF advance and it working with SMF. Our site has over 3500 articles that are indexed and it pains me to think of losing that by changing sef components. We might have to though. We are using Joomlahacks.
Title: Re: Advanced Visual Verification
Post by: mstahl on June 22, 2007, 02:09:24 PM
I don't see a joomla bridge in http://www.simplemachines.org/download/?bridges am I missing it?
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on June 22, 2007, 02:14:49 PM
Quote from: mstahl on June 22, 2007, 02:09:24 PM
I don't see a joomla bridge in http://www.simplemachines.org/download/?bridges am I missing it?

It has been removed due to the recent action on the Joomla! team's part concerning the license of their software. They have basically stated that non-GPL modules are in violation of their license. We are working to see how best to resolve the situation, if we can.

This will be an interesting development to watch, as several core developers have quit because of the license change.
Title: Re: Advanced Visual Verification
Post by: mstahl on June 22, 2007, 02:18:49 PM
Shocker! :) That is another issue we are dealing with. So back to the main question...any idea why the captcha isn't installing on 1.1RC3?
Title: Re: Advanced Visual Verification
Post by: Fiery on June 24, 2007, 12:37:12 AM
Quote from: mstahl on June 22, 2007, 02:18:49 PM
Shocker! :) That is another issue we are dealing with. So back to the main question...any idea why the captcha isn't installing on 1.1RC3?

Because it is only compatible with 1.1 not 1.1rc3

You could uncompress the file, modify package-info.xml to allow for installation and uninstallation of 1.1rc3 not just 1.1 then recompress it and try to install... but you are doing this at your own risk.  Make sure to backup
Title: Re: Advanced Visual Verification
Post by: imako on June 27, 2007, 05:10:25 AM
Anyone tried it with 1.1.3? I have it fully working in 1.1.2 but is there some changes that screws this up? This is great mod to allow guest posting in my forum, otherwise i get tons of spam in my forum.
Title: Re: Advanced Visual Verification
Post by: jnix on June 27, 2007, 11:26:38 AM
(v 1.1.3)

I've just uninstalled this mod via package manager, but I still have the "Visual Verification" tab under Admin>Registration. Clicking on it gives me the "Unable to load the 'verification_settings' template" error. Any idea how I can remove this (I want to completely uninstall).

And, perhaps related to the above, on the Admin>Registration>Settings screen the dropdown re image complexity has no effect, even when I save changes (see attached image).

(I also had the Visual Verification Options mod installed, but now uninstalled, so apologies if its because of that and not this mod...)

And, finally, my registration page shows the image 5 times (see 2nd attachment)

Title: Re: Advanced Visual Verification
Post by: 青山 素子 on June 27, 2007, 12:12:07 PM
imako, AVV hasn't worked right since 1.1.2 because it wasn't updated and the default verification system was changed a bit. That being said, there have been no changes to the areas AVV changes between 1.1.2 and 1.1.3. If you install the update via the package manager, you should be okay. You might want to look at Visual Verification Options (http://custom.simplemachines.org/mods/index.php?mod=734) if you start having problems with AVV.

jnix, you can use the package parser at http://sleepycode.com/index.php?action=modparser to see what changes the mod made and check that those changes have been deleted.

The complexity dropdown was added in 1.1.2 for the built-in system, and won't influence AVV at all. The lack of changes is likely because of the system still using its generator for the images becuase the uninstall was incomplete. The registration image problem is also likely related to the incomplete uninstall of the mod. These should be fixed if you manually remove any remaining changes still present.
Title: Re: Advanced Visual Verification
Post by: jnix on June 27, 2007, 01:22:40 PM
Thanks - will try manually uninstalling (seems the modparser is out of action though - when I submit the file i just get taken to http://sleepycode.com/index.php)
Title: Re: Advanced Visual Verification
Post by: jnix on June 28, 2007, 11:51:03 AM
Hooray, successfully manually uninstalled it. Phew.

Thanks Motoko-chan
Title: Re: Advanced Visual Verification
Post by: go4java on July 10, 2007, 03:40:08 PM
Hi all,
I just installed SMF 1.1.3 and tried to integrate MOD 'Advanced Visual Verification' (=Captcha) into the forum by using the package manager (zip).
I get the error 'This mod doesn't seem to support your SMF version.'???!!!
What could be the problem? Is Captcha not yet supported by 1.1.3?
Ciao
Title: Re: Advanced Visual Verification
Post by: Kindred on July 10, 2007, 04:12:10 PM
1- captcha already exists in 1.1.3, this mod just adds additional stuff
2- you'll have to edit the install.xml for this mod to include 1.1.3 as a valid install version. (as indicated in several previous posts)
Title: Re: Advanced Visual Verification
Post by: lexhair on July 14, 2007, 08:58:44 PM
This mod has worked so well for me to eliminate spam, I've stayed with smf ver 1.1.1.
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on July 15, 2007, 03:02:42 AM
There have been several security fixes since 1.1.1 (although minor, they are still possible to be exploited by someone determined to cause problems). If you haven't upgraded please look over the changes for 1.1.2 and 1.1.3 and make sure you can live without the fixes.
Title: Re: Advanced Visual Verification
Post by: kuklovod on July 16, 2007, 03:13:00 AM
in fact, I'm thinking about reverting to 1.1 for this mod, too. built-in verification never prevented any spam for me.
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on July 16, 2007, 10:15:42 AM
Are you allowing guests to post?
Title: Re: Advanced Visual Verification
Post by: lexhair on July 16, 2007, 12:39:24 PM
Quote from: Motoko-chan on July 15, 2007, 03:02:42 AM
There have been several security fixes since 1.1.1 (although minor, they are still possible to be exploited by someone determined to cause problems). If you haven't upgraded please look over the changes for 1.1.2 and 1.1.3 and make sure you can live without the fixes.
Happily spam, hack and problem free. Thanks.
Title: Re: Advanced Visual Verification
Post by: Jairito on July 22, 2007, 11:07:14 AM
I unpacked the modpackage and I changed in the package-info XML document <install for="1.1, 1.1.1"> and <uninstall for="1.1, 1.1.1">. Zipped and uploaded for installing. It didn't work: "Installations actions for "Advanced Visual Verification":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF'


I changed it to 1.1.2 and I got the same message. After that I changed it to 1.1.3. The packagemanager unpacked the mod but gave the following warnings:
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


Install Actions
Installations actions for "Advanced Visual Verification":
Installing this package will perform the following actions:
   Type    Action    Description
1.    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 failed
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 failed
13.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
14.    Extract File    ./Sources/Verification.php    
15.    Extract Tree    ./Themes/default/ttf_fonts


What can I do? Just install or not? It gives some warnings. Or did I something wrong? I use SMF 1.1.3.

Title: Re: Advanced Visual Verification
Post by: 青山 素子 on July 22, 2007, 01:12:43 PM
The image verification system changed considerably in SMF 1.1.2, which is why those are failing. The creator abandoned it, so there have been no updates (and won't be unless they return to update it or give permission for someone else to take over).

I personally don't recommend using this unless you have the skills to update it for your own use.
Title: Re: Advanced Visual Verification
Post by: Jairito on July 22, 2007, 01:55:23 PM
There are some members on this forum who are using AVV in their own forum, running @ 1.1.3, right? So it's possible. Is there one of them who can guide me to integrated AVV in my forum. I really need this mod. I am getting sick of all those spammers on my forum. Every day I have to delete/ban more than 10 spamaccounts. They use automatic scripts to login and to post spam. The AVV mod is a great solution for this problem.
Title: Re: Advanced Visual Verification
Post by: Jairito on July 22, 2007, 03:33:14 PM
How strange. I checked the loginpage and I see the code-images. I check the AVV by loggin in with a new account and it worked. I can't find the mod in "Installed Packages". But I do remember that I installad the mod before the Upgrade to 1.1.3. I don't know if this is normal but Hey!...it works :)
Title: Re: Advanced Visual Verification
Post by: Daniel15 on August 11, 2007, 08:30:55 PM
I've PMed HarzeM about this mod. If he lets me, I'll see if I can update it so it supports SMF 1.1.3.
Stay tuned :)
Title: Re: Advanced Visual Verification
Post by: Daniel15 on August 13, 2007, 02:49:15 AM
OK, I got permission from HarzeM to update it. The updates are coming along nicely, and my local version now support SMF 1.1.2 and 1.1.3.

However, there's a few bugs that will delay the release a bit. I'll try to fix the bug with admins editing messages by guests (it says that they didn't enter the code correctly, but no code was actually displayed), as well as a few other little bugs.

Since I don't have much free time, I won't work on it much until Friday.
Title: Re: Advanced Visual Verification
Post by: Daniel15 on August 17, 2007, 06:07:20 AM
Alright, updated version is up. Please see http://custom.simplemachines.org/mods/index.php?mod=907 :)
Title: Re: Advanced Visual Verification
Post by: RoccoGD on August 26, 2007, 11:39:39 AM
i have problems installing the mod -> http://www.simplemachines.org/community/index.php?topic=191150.0
thanks for help.
Title: Re: Advanced Visual Verification
Post by: Garry1953 on September 04, 2007, 11:35:22 PM
Installed and works perfect.
Thanks
(http://skins.hotbar.com/skins/mailskins/em/google_emoticons/emoti_65.gif)
Title: Re: Advanced Visual Verification
Post by: Lucleonhart on October 22, 2007, 04:07:51 AM
Quote from: Daniel15 on August 17, 2007, 06:07:20 AM
Alright, updated version is up. Please see http://custom.simplemachines.org/mods/index.php?mod=907 :)
I still got "Unable to load the 'verification_settings' template." when i click on the visual verification settings link. :(
Title: Re: Advanced Visual Verification
Post by: krackerjax on October 30, 2007, 01:22:21 PM
I have this mod installed on my forum.  Firstly, thanks for a great mod!

I have noticed an issue.  I'm not sure if it's an SMF issue or this mod.  When you go to register on the forums, if you type something wrong, then you of course get the error message telling you what was wrong (e.g. type invalid visual code, etc).  So, you click the "Back" link.  Here's where the issue is.

You correct whatever problem is there.  But, the visual verification code does not refresh to a new one automatically.  When I was testing my forum out I noticed it when I tried to register a dummy account.  Say you typed in the VVC wrong, you click back.  There is the same VVC.  If you do type that in correctly then you will get the same error as you need to click "Refresh Image" and then put in the type in the new VVC.
Title: Re: Advanced Visual Verification
Post by: shumar on November 05, 2007, 05:41:36 PM
I have a problem.
Some of users get captcha check wehn sending PM.
Admin > Members > Registration > Visual verification > Ask when sending personal messages:      is unchecked.
Also if they write correctly that isn't true, always asking to write a verification code and always said it's wrong ???
Title: Re: Advanced Visual Verification
Post by: krackerjax on November 10, 2007, 03:19:43 PM
In addition to the CAPTCHA not refreshing as mentioend in my previous post, I have noticed the same issue as shumar.  Members are asked for verificaiton even when the option is not checked in configuration.  Another issue I have just noticed is that when it asks for verification in the PM, there are two instances of CAPTCHA.  Even if you type both of them in it will not send the message.

I have attached two screenshots.  The first is the top of a PM screen and the second the bottom part of the PM screen.  This shows how the CAPTCHA is displayed twice on the PM screen.
Title: Re: Advanced Visual Verification
Post by: Gwion on November 20, 2007, 04:28:00 PM
This mod won't work for 1.1 RC 2 will it?
I have a small board with some mods and don't want to upgrade and do all the work again ..
Title: Re: Advanced Visual Verification
Post by: krackerjax on November 20, 2007, 07:11:31 PM
I'm not sure.  I tried using this mod on SMF 1.1.4 and encountered these issues.  With the mod doing the things it does, it's useless.  I understand it has to be tough to prevent spambots, but in the condition this mod is in, users can's send PMs and registering users will keep having trouble registering unless they know to click the Refresh Image link.
Title: Re: Advanced Visual Verification
Post by: Kindred on November 21, 2007, 03:33:12 PM
Quote from: Gwion on November 20, 2007, 04:28:00 PM
This mod won't work for 1.1 RC 2 will it?
I have a small board with some mods and don't want to upgrade and do all the work again ..


I don't know why  you would still be running on 1.1RC2...   but you **REALLY** need to upgrade. There have been some serious security fixes between RC2 and 1.1.4
Title: Re: Advanced Visual Verification
Post by: Xardas on November 24, 2007, 05:13:27 PM
installed SMF version is 1.1.14
defects of this mod:
-in german language I cant see the th mod "Visual Verification"
-change to english language, I can see the menu, but " An Error Has Occurred! Unable to load the 'verification_settings' template. "
-in private message system the mod will show 2 capcha pictures
-and after use the send-button, the PN will not sends.

when comes the bugfix of this release for SMF 1.1.4.?
Thank for your hard work and support.
Title: Re: Advanced Visual Verification
Post by: Kindred on November 24, 2007, 05:29:18 PM
Quote from: Xardas on November 24, 2007, 05:13:27 PM
installed SMF version is 1.1.14
defects of this mod:
-in german language I cant see the th mod "Visual Verification"
-change to english language, I can see the menu, but " An Error Has Occurred! Unable to load the 'verification_settings' template. "
-in private message system the mod will show 2 capcha pictures
-and after use the send-button, the PN will not sends.

when comes the bugfix of this release for SMF 1.1.4.?
Thank for your hard work and support.

-- The mod (as most) only installs into English by default. for any other language, you will have to add the translations yourself.
-- Sounds like the mod did not completely install. Try manually adding the correct code to the template files.
-- you did not turn off the standard SMF CAPTCHA (or you installed this mod twice)
-- see above...

This mod seems to work just fine on 1.1.4 for me...
Title: Re: Advanced Visual Verification
Post by: Zeihold_von_SSL on February 05, 2008, 08:04:32 AM
Quote from: shumar on November 05, 2007, 05:41:36 PM
I have a problem.
Some of users get captcha check wehn sending PM.
Admin > Members > Registration > Visual verification > Ask when sending personal messages:      is unchecked.
Also if they write correctly that isn't true, always asking to write a verification code and always said it's wrong ???

Today, some users reported the same problem to me.

Is there a solution to fix that problem?
Title: Re: Advanced Visual Verification
Post by: Nimitz1061 on February 05, 2008, 01:36:44 PM
Apparently not.  I'm having the same issue on 1.1.4 - VVC applied to PM's whether it is enabled or not and refresh failures.

While new users can register, this really hurts PM's.

David
Title: Re: Advanced Visual Verification
Post by: Nimitz1061 on February 05, 2008, 02:49:32 PM
I may be wrong here, but I think this issue may be related to this code in sources/PersonalMessage.php:

// --- Begin added code - Advanced Visual Verification ---
   // Verification code is valid for this many PMs...
  if (isset($_SESSION['verificationAskPM']) && empty($modSettings['max_pm_recipients']) || count($recipients['to']) + count($recipients['bcc']) <= $modSettings['max_pm_recipients'])
   $_SESSION['verificationAskPM'] += count($recipients['to']) + count($recipients['bcc']) - 1;
   // --- End added code ---


Which I suspect should be :

// --- Begin added code - Advanced Visual Verification ---
    Verification code is valid for this many PMs...
   if (isset($_SESSION['verificationAskPM']) && empty($modSettings['max_pm_recipients']) || count($recipients['to']) + count($recipients['bcc']) <= $modSettings['max_pm_recipients'])
     $_SESSION['verificationPMvalid'] += count($recipients['to']) + count($recipients['bcc']) - 1;
   // --- End added code ---


I think what is happening is that this code was incrementing the on/off switch (verificationAskPM) forcing the modification on by accident.

David
Title: Re: Advanced Visual Verification
Post by: afxtrader on May 09, 2008, 12:57:06 AM
I'm running SMF version 1.1.5.  Is it possible to have advanced visual verification turned for all logins even after registration?
Title: Re: Advanced Visual Verification
Post by: eline on September 08, 2009, 10:48:41 AM
hello I have this same problem with double captcha in PM as described. Verification for PM is disabled.
Any help ?
Title: Re: Advanced Visual Verification
Post by: christianjb2006 on April 19, 2010, 05:10:57 PM
HI... This Mod Works on SMF 1.1.10 ??? Somebody try to install them on that this version ??

Works ???

Thanks a lot !!!
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on April 19, 2010, 07:57:39 PM
Probably not, I don't think it's been updated to work with the image verification changes made way back in 1.1.3 or so.
Title: Re: Advanced Visual Verification
Post by: christianjb2006 on April 20, 2010, 03:21:11 AM

Thanks Motoko-chan.

Some Mod to use in the guest post to try stop SPAM ?    In SMF 1.1.10 version ?

Thanks again.

  :)
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on April 20, 2010, 03:19:48 PM
There is Visual Verification Options (http://custom.simplemachines.org/mods/index.php?mod=734) if you just want to extend image verification to guest posts.

You can also use advanced search for modifications compatible for 1.1.11 that are in the anti-spam category (http://custom.simplemachines.org/mods/index.php?action=search;type=19;smf_versions=53;bool=and;submit=Search+for+Mods).
Title: Re: Advanced Visual Verification
Post by: christianjb2006 on April 22, 2010, 12:57:27 AM

Thank you Motoko-chan. I try whit this.

Please God Help me !!  :P
Title: Re: Advanced Visual Verification
Post by: fullmoonya on January 10, 2012, 02:48:43 AM
could someone update this mod for smf2.0.2?
Title: Re: Advanced Visual Verification
Post by: 青山 素子 on January 10, 2012, 02:58:01 AM
It's not really needed. Part of the functionality (verification for guest posts, searches) is built into the 2.0 series. For the other functionality, there are much better solutions such as the question/answer feature in the 2.0 series. The whole concept of CAPTCHA images is broken and has been for years since there are now services that easily charge $1 (or less) per 1,000 solutions done by human workers. For reference, see:

Virtual Sweatshops Defeat Bot-or-Not Tests (https://krebsonsecurity.com/2012/01/virtual-sweatshops-defeat-bot-or-not-tests/) (2012)
Captchabot: Blurring Human and Machine (http://krebsonsecurity.com/2010/11/captchabot-blurring-human-and-machine/) (2010)
Inside India's CAPTCHA solving economy (http://www.zdnet.com/blog/security/inside-indias-captcha-solving-economy/1835) (2008)