Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=734)
This modification adds additional options to the built-in Visual Verification system.
This mod was written from scratch to use existing SMF code where possible and integrates options into areas where they would best fit.
This mod and other information can be found at:
http://www.animeneko.net/smf/
UPDATE: This modification is now under the BSD license. The source code repository is at https://bitbucket.org/motokochan/visual-verification-options-for-smf
So this ads a captcha for guest posting and guest searching?
Or does it have other features as well?
At the moment, this just adds the option of making guest users have to enter a verification on post and search. I might be adding other options in the future.
Edit:
Also, if anyone wants to send me localization strings for my mod, I'll gladly add them to the package.
Nice!
Don't need it right now but defeintatly a usefull feature :)
Very nice!
Just installed it, looking good, thanks a lot.
I took the freedom to bash the install.xml a bit. No code changed, but templates (validating now) and also changed the succession of operations to my liking (yes, I'm a perfectionist). Also added translations for german-utf8. Here it is.
Edit: Please don't post the whole installer file, it will become outdated quickly. If you notice bugs, please either send me a diff or point the issues out in PM.
German language section:
<file name="$languagedir/Modifications.german-utf8.php">
<operation>
<search position="end"></search>
<add><![CDATA[
//Visual Verification Options
$txt['visual_verification_guest_post'] = 'Visuelle Bestätigung für Gäste aktivieren';
$txt['visual_verification_guest_search'] = 'Visuelle Bestätigung für Gäste aktivieren';
$txt['error_visual_verification_failed'] = 'Die eingegebenen Buchstaben stimmen nicht mit den im Bild gezeigten überein.';
]]></add>
</operation>
</file>
- Motoko-chan
This is a great mod! But I'm having one problem, I installed the mod but in the admin controls all I see is a check box but no description no matter what theme I use. When I check the box(es) the verification works just fine. Any ideas on how to make the description show?
Are you using a language other than English? If so, that would be the reason. Look at themes/default/languages/modifications.english.php and copy the lines into modifications.YOURLANGUAGE.php
Thanks, I keep forgetting that when I used fantastico to install SMF it set my language to english-UTF8.
Version 0.2 has been released. No major bugs have been fixed, just some minor adjustments and features. If 0.1 is working fine for you, you don't need to upgrade.
New in Version 0.2:
- Added German, Turkish, and Japanese translations
- Fixed mod to be valid XHTML
- Broke out theme changes into different files
- Added classic theme support
Thanks so much for releasing this mod.
I'm having some problems installing it though. The package manager reports no problems during testing, but when I apply it no files seem to change and nothing is installed (although it reports that it is istalled). I have tested installing other mods (albeit simplier ones), and they installed correctly - but with this one nothing seems to happen, even though I tried several times.
Any ideas?
Have you checked on the default theme? Also, have you checked the admin area to see if the options are in there?
Yes, I have checked with the default theme. The new admin options are not there. According to the time stamps on the files (when looking via FTP), it seems like no files have been edited.
Hm. Very odd. Do other mods install properly for you?
For some strange reason, that seems to vary. A couple of simplier mods I have tried with (such as Spam-Me-Not) installs fine, while for instance SMF Arcade has the exact same problem as this one.
I haven't been able to find any pattern why some mods work, and some don't.
Very strange. I know there are some minor problems when running PHP 5.2, perhaps that is affecting you?
You can install the mods manually if you want. All it takes is a bit of time, care, and backups.
One of the team members has a mod parser that might help in understanding what needs to be changed. You can find it at http://modparser.dev.dansoftaustralia.net/
By the way, since this seems to be effecting more than one mod, perhaps you could post something on the main support area about this.
Thank you for that mod, (https://www.simplemachines.org/community/Themes/default/images/icons/profile_sm.gif)Motoko-chan (http://www.simplemachines.org/community/index.php?action=profile;u=5345) :)
Thanks! Good Mod!
Motoko-chan! If You want add finnish translation too, it can be like in those files I put in this post:
______________________________________________________________________________
(In finnish: Jos haluat suomeksi tämän modauksen, laita mukaan modaukseen ennen sen asennusta /languages/finnish.xlm. Vaihda myös modin juuressa oleva package-info.xml)
(Ei sitten enä tarvi, jos Motoko-chan lisää ne modiinsa malmiiksi)
Quote from: Motoko-chan on April 04, 2007, 11:02:15 AM
Very strange. I know there are some minor problems when running PHP 5.2, perhaps that is affecting you?
That doesn't seem to be it, as I'm running PHP 4.4.2.
Anyway, I have managed to install it manually.
Do you have any plans to add an option to require visual verification on the Send topic page (when sending topics to a friend)? That feature is one large spam trap, and is currently pretty much impossible to have enabled for guests. Therefore, it would be a useful addition to be able to use CAPTCHA on that page, so one can enable send topics for guests as well.
That is a good idea. I'll look into adding that feature in the next release.
Only one problem I keep getting with V 1 of the mod. Does V2 fix it
if guest searches are not selected in the options then I get a shedload of errors in the logs
all
8: Undefined index: visual_verification_guest_search
File: /home/s/p/spykiller/public_html/Sources/Search.php
Line: 296
I allow guest searches & have no wish or desire to make them enter a verification code
forum is http://www.thespykiller.co.uk (http://www.thespykiller.co.uk)
same problem on
http://www.hedgehoghelp.co.uk (http://www.hedgehoghelp.co.uk)
Edit: I have found the problem, it was only occurring when visitors were using the search function in tiny portal block, not the main search function, so I have disabled the TP block for now
but can you look into it & see whether bloc needs to fix it in TP or whether your mod is incompatible with TP search function
Motoko-chan, i must say i love this mod and it turned out to be the perfect fit for the spamming problems I was having on my web site, a user reported an issue with guest searches today and I replicated it perfectly, whenever a guest searches, inserting viual verification just fine, they cannot get to the second or other pages of the results, it returns an error saying:
QuoteAn Error Has Occurred!
The letters you typed don't match the letters that were shown in the picture.
But there is no prompt for a new image at all. I tried using no index and a full index for searches and this does not change.
Thanks for the hard work and great mod. :)
Version 0.3 has been released. It fixes two bugs.
- Fixed Issue #12 - Multi-page search results not working with VVO on
- Fixed Issue #13 - Re-search for empty search requires code
(I have three other projects in the tracker, so those IDs are high because of that.)
I'll look at including the "Send This Topic" enhancement shortly.
The TinyPortal issue appears to be a theme issue, but since it uses an adjusted theme, I really can't include those changes in the mod. I'll investigate this more as soon as I have time.
Thanks a lot for your hard work motoko, this one mod has been able to keep me spam free after some pretty strong attacks I had been facing.
:)
//Visual Verification Options $txt['visual_verification_guest_post'] = 'Guests must enter visual verification code before posting'; $txt['visual_verification_guest_search'] = 'Enable visual verification for search by guests'; $txt['error_visual_verification_failed'] = 'The letters you typed don\'t match the letters that were shown in the picture.';
that's what i got after i installed the mod.... i tried to uninstall nothing seem to work
Do you have some other mids installed? It looks like you are missing the php tags in Themes/default/languages/modifications.english.php. Make sure the top line in the file is ONLY:
<?php
and the bottom line is ONLY
?>
If those lines are in any other position, move them to where they should be.
How compatible is this with v1.1.3? Seeking to know. :)
It seems to work fine with SMF 1.1.3, without any modifications. I have it installed in 1.1.3 with no problems, and the mod does not appear to touch any of the lines that have changed between 1.1.2 and 1.1.3.
Thanks for your reply, I have two live sites and wouldn't like to loose this. ;)
As Daniel Hofverberg said, this should work perfectly fine with 1.1.3.
If you are upgrading from 1.1.2, it will continue to work, but the uninstall link will be gone (as the package was 1.1.2 only). If you are doing a new install, you can do the smf_version trick for now to install it.
I'll be releasing a package that installs directly on 1.1.3 shortly.
Quote from: Motoko-chan on June 27, 2007, 12:14:22 PM
As Daniel Hofverberg said, this should work perfectly fine with 1.1.3.
If you are upgrading from 1.1.2, it will continue to work, but the uninstall link will be gone (as the package was 1.1.2 only). If you are doing a new install, you can do the smf_version trick for now to install it.
I'll be releasing a package that installs directly on 1.1.3 shortly.
How short will it be ???
The release of the newer version for 1.1.3 ....
I have released version 0.3.1 of the mod to work with SMF 1.1.3. There have been no updates to the mod since 0.3, so if you have that installed already, you do not need to upgrade.
Sorry for the delay, things have been really busy for me lately both at work and outside work.
Thanks for your work in building and supporting the mod, Motoko, this is a great one and I was waiting for it before updating my websites to 1.1.3 :)
The old version works just fine under 1.1.3, you didn't need to wait. In fact, the only change (aside from the changelog and readme) was to add 1.1.3 as a version to install directly on.
Quote from: Motoko-chan on July 02, 2007, 06:11:54 PM
I have released version 0.3.1 of the mod to work with SMF 1.1.3. There have been no updates to the mod since 0.3, so if you have that installed already, you do not need to upgrade.
Sorry for the delay, things have been really busy for me lately both at work and outside work.
Thanks for the 1.1.3v release :) .....
I'll install it and let you how it worked ...
Thanks once again ;)
Nice work, this mod.
-I installed this on my 1.1.2 SMF and
-deinstalled it before updating the forum (don't ask me why, I also make backups ;) ).
-Then I patched the forum to 1.1.3
-After that, I wasn't able to install it because it says that the version I have is not supported by the package.
-I changed the package-info.xml from 1.1.2 to 1.1.3
-installed and grinned
So there wasn't any delay for me.
You can also add smf_version=1.1.2 to the package manager URL and it will allow all mod packages that claim to work under 1.1.2 to install. Of course, it won't mean they will install perfectly, but it is an option. YMMV.
I think you posted in the wrong topic.
Oh I'm sorry, how stupid of me.
PS. I use your mod too and think it's great :)
I seem to get this error all the time:
Quote8: Undefined index: visual_verification_guest_post
File: /home/virtual/trancechill.no/public_html/forum/Sources/Post.php
Line: 110
Could this be because I've installed it using the Package Manager?
I get that as well, if I try to make a search unlogged (guest) I face no problem but the error or all over the logs, I have search with captcha turned off, btw.
Which voids the whole point of this mod, which is to prevent spambots from posting all over the forum.
I can, of course, turn off guest posting, but that would prevent the guests I want to post from posting.
Nvm, found the solution. In the package installation it doesn't edit the Modifications.english.php correctly, so you'll have to do that operation manually.
You didn't got what I said, I have guest posts using the mod just fine, what I am not using is the search function requiring a captcha for guests and I egt a very very similar error, but for search instead. That one I haven't seen at all. ;)
Quote from: Skoen on July 11, 2007, 02:17:43 PM
Nvm, found the solution. In the package installation it doesn't edit the Modifications.english.php correctly, so you'll have to do that operation manually.
care to elaborate what is not done correctly? ;)
Skoen, if you can provide a fix I will make sure to update the package. I think I know the trouble, and it usually stems from a previous mod adding a blank line after the ?>.
Nifelhein, did you do anything that overwrote Search.php?
Not that I am aware of, unless Tinyportal does that. I will be sure to check the error and see if any of the mods I use change it, I will get back to you Motoko. ;)
Hi there,
I recently installed SMF 1.1.3 in my server. I also tried to download the latest update of this package via Package Manager but I'm getting the following errors:
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.
... Then it has "Modification parse error" for every single file.
Any tips? Thanks!
Hm. Odd. Any other mods installed? Are other mods showing the same parse error issues? What version of PHP are you on? (On the Support and Credits section of the admin area)
If you were on an earlier version of SMF and updated with the package manager, VVO should still work fine without needing an update.
Hi there,
I have the following according to the forum info:
Version Information:
Forum version: SMF 1.1.3 (more detailed)
Current SMF version: SMF 1.1.3
PHP version: 4.4.4
MySQL version: 4.1.22-standard
Server version: Apache
GD version: bundled (2.0.28 compatible)
I also have this:
SMF File Your Version Current Version
SMF Package SMF 1.1.3 SMF 1.1.3
Sources 1.1.3 1.1.3
Admin.php 1.1 1.1
BoardIndex.php 1.1 1.1
Calendar.php 1.1 1.1
Display.php 1.1.2 1.1.2
DumpDatabase.php 1.1 1.1
Errors.php 1.1 1.1
Help.php 1.1 1.1
Karma.php 1.1 1.1
Load.php 1.1.2 1.1.2
LockTopic.php 1.1 1.1
LogInOut.php 1.1.3 1.1.3
ManageAttachments.php 1.1 1.1
ManageBans.php 1.1 1.1
ManageBoards.php 1.1.2 1.1.2
ManageCalendar.php 1.1 1.1
ManageErrors.php 1.1 1.1
ManageMembergroups.php 1.1.2 1.1.2
ManageMembers.php 1.1 1.1
ManageNews.php 1.1.3 1.1.3
ManagePermissions.php 1.1.2 1.1.2
ManagePosts.php 1.1 1.1
ManageRegistration.php 1.1.2 1.1.2
ManageSearch.php 1.1.2 1.1.2
ManageServer.php 1.1 1.1
ManageSmileys.php 1.1.1 1.1.1
Memberlist.php 1.1 1.1
MessageIndex.php 1.1 1.1
ModSettings.php 1.1 1.1
Modlog.php 1.1 1.1
MoveTopic.php 1.1 1.1
News.php 1.1 1.1
Notify.php 1.1 1.1
PackageGet.php 1.1 1.1
Packages.php 1.1.2 1.1.2
PersonalMessage.php 1.1.3 1.1.3
Poll.php 1.1 1.1
Post.php 1.1.3 1.1.3
Printpage.php 1.1 1.1
Profile.php 1.1.3 1.1.3
QueryString.php 1.1.3 1.1.3
Recent.php 1.1 1.1
Register.php 1.1.2 1.1.2
Reminder.php 1.1.2 1.1.2
RemoveTopic.php 1.1 1.1
RepairBoards.php 1.1 1.1
Reports.php 1.1 1.1
SSI.php 1.1 1.1
Search.php 1.1.2 1.1.2
Security.php 1.1 1.1
SendTopic.php 1.1 1.1
SplitTopics.php 1.1.2 1.1.2
Stats.php 1.1 1.1
Subs-Auth.php 1.1.3 1.1.3
Subs-Boards.php 1.1 1.1
Subs-Charset.php 1.1 1.1
Subs-Compat.php 1.1.2 1.1.2
Subs-Graphics.php 1.1.2 1.1.2
Subs-Members.php 1.1.2 1.1.2
Subs-Package.php 1.1.2 1.1.2
Subs-Post.php 1.1.2 1.1.2
Subs-Sound.php 1.1 1.1
Subs.php 1.1.3 1.1.3
Themes.php 1.1.2 1.1.2
ViewQuery.php 1.1 1.1
Who.php 1.1 1.1
Default Templates 1.1.2 1.1.2
Admin.template.php 1.1.1 1.1.1
BoardIndex.template.php 1.1 1.1
Calendar.template.php 1.1 1.1
Combat.template.php 1.1 1.1
Display.template.php 1.1 1.1
Errors.template.php 1.1 1.1
Help.template.php 1.1 1.1
Login.template.php 1.1 1.1
ManageAttachments.template.php 1.1 1.1
ManageBans.template.php 1.1 1.1
ManageBoards.template.php 1.1 1.1
ManageCalendar.template.php 1.1 1.1
ManageMembergroups.template.php 1.1 1.1
ManageMembers.template.php 1.1 1.1
ManageNews.template.php 1.1 1.1
ManagePermissions.template.php 1.1 1.1
ManageSearch.template.php 1.1 1.1
ManageSmileys.template.php 1.1 1.1
Memberlist.template.php 1.1 1.1
MessageIndex.template.php 1.1 1.1
Modlog.template.php 1.1 1.1
MoveTopic.template.php 1.1 1.1
Notify.template.php 1.1 1.1
Packages.template.php 1.1 1.1
PersonalMessage.template.php 1.1 1.1
Poll.template.php 1.1.2 1.1.2
Post.template.php 1.1 1.1
Printpage.template.php 1.1 1.1
Profile.template.php 1.1.2 1.1.2
Recent.template.php 1.1 1.1
Register.template.php 1.1.2 1.1.2
Reminder.template.php 1.1 1.1
Reports.template.php 1.1 1.1
Search.template.php 1.1.1 1.1.1
SendTopic.template.php 1.1 1.1
Settings.template.php 1.1 1.1
SplitTopics.template.php 1.1 1.1
Stats.template.php 1.1 1.1
Themes.template.php 1.1 1.1
Who.template.php 1.1 1.1
Wireless.template.php 1.1 1.1
Xml.template.php 1.1 1.1
index.template.php 1.1 1.1
Language Files 1.1.2 1.1.2
Admin.english.php 1.1 1.1
Errors.english.php 1.1.2 1.1.2
Help.english.php 1.1 1.1
Install.english.php 1.1 1.1
Login.english.php 1.1.2 1.1.2
ManageBoards.english.php 1.1 1.1
ManageCalendar.english.php 1.1 1.1
ManageMembers.english.php 1.1 1.1
ManagePermissions.english.php 1.1 1.1
ManageSmileys.english.php 1.1 1.1
Manual.english.php 1.1 1.1
ModSettings.english.php 1.1 1.1
Modifications.english.php 1.1 1.1
Packages.english.php 1.1 1.1
PersonalMessage.english.php 1.1 1.1
Post.english.php 1.1 1.1
Profile.english.php 1.1 1.1
Reports.english.php 1.1 1.1
Search.english.php 1.1 1.1
Settings.english.php 1.1 1.1
Stats.english.php 1.1 1.1
Themes.english.php 1.1 1.1
Who.english.php 1.1 1.1
Wireless.english.php 1.1 1.1
index.english.php 1.1.2 1.1.2
Current Templates 1.1 1.1
By the way, I also went to skoen's site and the image verification seems to be the same every time I request a new one:
http://www.trancechill.no/forum/index.php?action=post;topic=38.0;num_replies=0
Awfully odd. This isn't an upgrade, right? How was the forum installed (fantastico or other automated method, official SMF installer)? I honestly can't think of why the package should be failing on every file. If you are willing to let me poke around a bit, PM me an administrator-level account and your forum URL. Of course, make a backup of your forum before doing that in-case something goes awry.
Quote from: qacer on July 17, 2007, 10:26:07 AM
By the way, I also went to skoen's site and the image verification seems to be the same every time I request a new one
That is part of the built-in system from SMF itself. When you request a new image, it returns a different copy of the same letters. After a certain time, the letter set will change, and after an attempt at putting in the code (either failure or success) the code will change for the next display.
Hi Motoko-chan,
I just sent you a PM.
My copy of SMF is a fresh install of ver 1.1.3. I just downloaded the latest file from the website (the *.gz version) and extracted it in my webserver.
It looks like, for whatever reason, your server is keeping the package install file from being parsed properly. I'm still looking into this.
On further checking, it appears the host is using safe_mode, which is causing the issues.
mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script
whose uid is 665 is not allowed to access /home/XXXXXXXXXXXXXX/public_html/Packages/temp
owned by uid 48
Basically, with this turned on, your webserver/PHP can't edit any files you have uploaded through FTP because they are owned by different users, even if you set permissions properly. If you have a control panel, you can try to fix the owner, or you can contact your host and have them fix ownership. This should fix your issue.
Thanks Motoko-chan! I just emailed my webhost. This is the reply that I got from them:
"Safemode is not active on your domain, something else is causing your issues."
Hmm. I wonder what else is causing this.
Given that error is generated by PHP itself and simply logged by SMF, I think they might be mistaken. Can you put up a phpinfo page to check?
What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)
Hi Motoko-chan,
I just uploaded it and got the following:
http://www.mydomain.com/phpinfo.php
I sent you my domain name via PM previously. If you don't recall it, I can send it again.
Thanks for the help!
:)
Quote
safe_mode On
safe_mode is on. You can point your host to that page to prove it to them.
You can also confirm by looking at it too. Just do a search in the page for "safe_mode". The master value is off, but the local value is on, meaning something is setting it that way outside php.ini (possibly the Apache configuration file).
Hi Motoko-chan,
My hosts says that safe mode is off. I'm in the process of finding other users that use the same host and see if they can test it under their account.
I guess the worst thing is that I can probably patch it up manually. But at this point, I am not sure where to start.
Thanks again!
Wow. Quite a crazy host to say that when PHP itself thinks it is on.
You can install manually, it isn't too difficult. There is a third-party parser at http://modparser.dev.dansoftaustralia.net/ that will take an uploaded mod package and give instructions on what changes to make to the code. As long as you are careful in what you do when making the edits, it should be okay.
Quote from: Motoko-chan on July 17, 2007, 12:18:03 PM
Quote from: qacer on July 17, 2007, 10:26:07 AM
By the way, I also went to skoen's site and the image verification seems to be the same every time I request a new one
That is part of the built-in system from SMF itself. When you request a new image, it returns a different copy of the same letters. After a certain time, the letter set will change, and after an attempt at putting in the code (either failure or success) the code will change for the next display.
To Fix that.
Open search.php
if ((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 && isset($_SESSION['visual_verification_code']))
unset($_SESSION['visual_verification_code']);
fatal_lang_error('visual_verification_failed', false);
}
else
{
unset($_SESSION['visual_verification_code']);
if (isset($_SESSION['visual_errors']))
unset($_SESSION['visual_errors']);
}
Open Post.php
if ((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 && isset($_SESSION['visual_verification_code']))
unset($_SESSION['visual_verification_code']);
$post_errors[] = 'visual_verification_failed';
}
else
{
unset($_SESSION['visual_verification_code']);
if (isset($_SESSION['visual_errors']))
unset($_SESSION['visual_errors']);
}
Thx.
Hi. I'm having troubles installing v0-3-1 of this mod. It says:
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/ManageSearch.php Test successful
2. Execute Modification ./Sources/ManagePosts.php Test successful
3. Execute Modification ./Sources/Post.php Test successful
4. Execute Modification ./Sources/Search.php Test successful
5. Execute Modification ./Themes/default/Admin.template.php Test successful
6. Execute Modification ./Themes/default/ManageSearch.template.php Test successful
7. Execute Modification ./Themes/default/Post.template.php Test successful
8. Execute Modification ./Themes/default/Search.template.php Test successful
9. Execute Modification ./Themes/classic/Post.template.php Test successful
10. Execute Modification languages/english.xml Modification parse error
11. Execute Modification - Modification parse error
12. Execute Modification languages/german.xml Modification parse error
13. Execute Modification - Modification parse error
14. Execute Modification languages/japanese.xml Modification parse error
15. Execute Modification - Modification parse error
16. Execute Modification languages/turkish.xml Modification parse error
17. Execute Modification - Modification parse error
So it seems to do fine until it reaches the language files. I think i have Safe_mode on, but if this were the problem there will not be any successful test...
The forum is in usually in spanish, and it's integrated with mkportal
Any tip? Thanks
I just did a test with a fresh download from the custom site, and it seems to work fine for me. You don't need to do the languages, but since you had errors, do a backup of all your files before continuing. You'll also need to add the correct language strings for your forum. You can look at the other language files for what you need.
Also, you are welcome to send the translations to me, and I'll include them in a future version. I had translations for Spanish at one time, but lost them.
I tried this again but the package instalation didn't work. I made the changes manually.
These are the strings for spanish language:
$txt['visual_verification_guest_post'] = 'Los invitados deben escribir el código de verificación antes de enviar un mensaje';
$txt['visual_verification_guest_search'] = 'Activar la verificación visual para la búsqueda de los invitados';
$txt['error_visual_verification_failed'] = 'Las letras que escribiste no coincidían con las de la imagen.';
can this be updated to insist on a vvo on pms for users below a certain post count with post count being set in admin cp
I am getting spammers manually signing up who then use a bot to spam the pm system & I can't exclude pms completely for new users who often need extra help
I think 2.0 beta has something simialr in it from documentation I have seen
This is already built into the core of SMF. Check the bottom of the Features and Options area for "Post count under which users must enter code when sending personal messages." I believe the default is 5 posts.
I knew it was there somewhere but I just couldn't see it for looking
We are new to the SMF product, having just installed a fresh version of 1.14. Using the package manager I selected this MOD to add to our forum, and the following "Modification parse error" messages appeared:
Click thumbnail to view actual size
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg153.imageshack.us%2Fimg153%2F375%2Fcroppercapture1ev0.th.jpg&hash=71b4c842471f00143fc16a26ec82807b4c323f21) (http://img153.imageshack.us/my.php?image=croppercapture1ev0.jpg)
I cancelled the install and wondered if you could advise me what the problem might be & how we should proceed if we want this MOD applied to our forum.
Thanks for your help!
Check and make sure that the mod you downloaded is not corrupt. The lines on some of the failure points usually indicate something went wrong with the extraction of the mod files.
Hi ... installed the component ... no problem notices with the install, but I don't have any captcha image showing when guests create a reply. I did click the Guest box in admin.
I am using Rocket's Versatility II template for SMF. Your mod seems to modify files in the default and classic templates. I tried copying over the modified files to the Versatility template (four files) and still no luck. The one thing it did do was drop the "reply" "print" icons in the top bar when you are viewing posts.
Any suggestions ???
Thanks,
dee_jay
Try using the SMF Package Parser (http://modparser.dev.dansoftaustralia.net/). Don't worry about the version, 1.1.3 is fine (there weren't changes needed for 1.1.4 support). Make sure to set the operation to "install" and have it show only theme edits.
Copying files over the top of existing is a bad practice unless you are sure that the theme didn't have its own changes to that template.
Hi ... I tried using the SMF Package Parser but still no luck. I'm using SMF 1.1.4. When I create a guest reply, the captcha image is not there ... and when I go to post the reply, I get a message "The letters you typed don't match the letters that were shown in the picture"
Here is the output from the package parser:
Error: Modification XML file (/tmp/smf_xml/themescore.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/themesclassic.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/languagesenglish.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/languagesgerman.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/languagesjapanese.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/languagesturkish.xml) doesn't exist!
Note: I always make back-ups of any file I overwrite.
It appears the package parser has a problem with the way the mod is packaged. You might do best by manually reading the modification XML and making the changes yourself. The XML format isn't too hard to read.
Also, sorry for the long response time, I didn't notice your post here.
Hello, good work :)
But is there any way to use "reCaptcha" ( http://custom.simplemachines.org/mods/index.php?mod=1044 ) instead of standard smf capcha in post reply ?
Sure, you just need to update the code manually right now. I've been considering adding an extra reCAPTCHA package for it, but haven't had the time to do so.
Great mod but can you tell me how I can make it so it only uses 2 characters rather than 5?
That is a function of the built-in image verification system. This mod doesn't allow a change like that.
I manually changed post.template.php file for the template I'm using. The verification image now shows in the guest "reply" form.
After posting the reply, I'm not seeing the reply when I go back to the topic listing. If I do a second new reply, I will see the first reply ... but not the newest (second) reply. It always seems to post the second last reply, but not the latest.
Any suggestions???
What version of SMF is this? Does it work under the default theme?
OK so I can't change the characters via your mod but can I do it by editing something in SMF?
Hi ... Thanks for the quick reply.
I tried the default theme and I still have the same issue ... only the second last post shows up, not the last post.
I am using SMF 1.1.4
dee_jay123, do you have caching enabled?
SMF is set to "no caching".
I take it I have no accelerator installed, as I get this message:
"SMF has not been able to detect a compatible accelerator on your server."
Hm. Can't say the cause. The mod itself shouldn't be causing this as it doesn't affect anything other than if the post happens or not.
Does this happen with all posts, or only guest posts?
I reduced the "time required between post from the same IP" and it works better.
I didn't realize this was set so high.
Thanks for your help.
Motoko-chan Grate mod i have one question
can you explane how to put captcha on the login page ?
That is not supported in SMF nor the Visual Verification Options mod. Mostly this is because the account registration should have required it in the first place.
Motoko-chan,
I have upgraded to 1.1.5 and installed your current offering of VVC.
The letter pass code does not change. I request a new code and the picture changes but not the pass code! I get the same using Fire Fox or IE.
Thank you,
Danny
Quote from: Danny22 on May 29, 2008, 07:18:08 PM
The letter pass code does not change. I request a new code and the picture changes but not the pass code! I get the same using Fire Fox or IE.
This is part of the built-in SMF image verification. The code will not change for the session until you fail it a certain number of times (and it changes every try after that) or get it correct.
I'm having some trouble uploading this mod to my site. It downloads fine to my computer from the mod site, but when I try to upload it with Package Manager, I get a not valid or corrupted error.
I'm using 1.1.5.
I think I'm missing something. It downloads fine onto my site (v1.1.6), but then what do I do? With AdvancedVV, there was a link in the admin panel. However, AVV isn't compatible with 1.1.6, so I wanted to try this. I loaded it with no problems, but now I'm unsure what I need to turn on... if anything?
Hey KahneFan, try reading the "Read Me" first :D
Quote
How to Use
----------
You can enable the verification image for posts by going to:
Admin -> Posts and Topics -> Require image verification on all guest posts
Quote from: KahneFan on September 18, 2008, 11:38:41 PM
Hey KahneFan, try reading the "Read Me" first :D
Always a good idea. ;)
My philosophy is to integrate with SMF as close as possible, which means settings might be a bit hidden if you don't check the readme.
Quote from: Motoko-chan on March 28, 2007, 10:14:32 PM
Are you using a language other than English? If so, that would be the reason. Look at themes/default/languages/modifications.english.php and copy the lines into modifications.YOURLANGUAGE.php
I also have the same problem. (I manually installed it. )
I use Thai-UTF8. I have copied and paste into modifications.thai-UTF8.php but it does not work.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi519.photobucket.com%2Falbums%2Fu357%2Fpeng_117%2FVV01.jpg&hash=a5c14df4510dd5f378d3bde16ba75d458076bb3d)
After I check in this blank box, it get nothing new. There is none of the code when guest replying.
Can you suggest me?
My website in www.ThaiCondoLand.com but it is a Thai website that you may not understand.
Are you using the default theme, or are you using a copy?
CAPTCHA to insert comment
Anybody knows if it any mod to force one captcha in all new massages.
In SMF 2.0 you can force verification to be used for members until they have a certain number of posts (which also applies to guests). This is a built-in feature.
finally got it working. I am running a test of SMF 1.1.6 - Only problem is that I see 2 captcha form entries during guest posts, instead of one. Anyone know how to fix that?
Find the duplicate code in Post.template.php and remove one copy. It is possible that you installed twice, so you might need to clean out other duplicates as well.
I don't see a duplicate code..
Quoteif ($context['visual_verification'])
{
echo '
<tr align="right" valign="top">
<td style="font-weight: bold;', isset($context['post_error']['visual_verification_failed']) ? 'color: red;' : '', '">
<script language="JavaScript" type="text/javascript"><!-- // -->
function refreshImages()
{
// Make sure we are using a new rand code.
var new_url = new String("', $context['verificiation_image_href'], '");
new_url = new_url.substr(0, new_url.indexOf("rand=") + 5);
// Quick and dirty way of converting decimal to hex
var hexstr = "0123456789abcdef";
for(var i=0; i < 32; i++)
new_url = new_url + hexstr.substr(Math.floor(Math.random() * 16), 1);';
if ($context['use_graphic_library'])
echo '
document.getElementById("verificiation_image").src = new_url;';
else
echo '
document.getElementById("verificiation_image_1").src = new_url + ";letter=1";
document.getElementById("verificiation_image_2").src = new_url + ";letter=2";
document.getElementById("verificiation_image_3").src = new_url + ";letter=3";
document.getElementById("verificiation_image_4").src = new_url + ";letter=4";
document.getElementById("verificiation_image_5").src = new_url + ";letter=5";';
echo '
}
// ]]></script>
', $txt['visual_verification_label'], ':
<div class="smalltext">', $txt['visual_verification_description'], '</div>
</td>
<td align="left" valign="top">';
if ($context['use_graphic_library'])
echo '
<img src="', $context['verificiation_image_href'], '" alt="', $txt['visual_verification_description'], '" id="verificiation_image" /><br />';
else
echo '
<img src="', $context['verificiation_image_href'], ';letter=1" alt="', $txt['visual_verification_description'], '" id="verificiation_image_1" />
<img src="', $context['verificiation_image_href'], ';letter=2" alt="', $txt['visual_verification_description'], '" id="verificiation_image_2" />
<img src="', $context['verificiation_image_href'], ';letter=3" alt="', $txt['visual_verification_description'], '" id="verificiation_image_3" />
<img src="', $context['verificiation_image_href'], ';letter=4" alt="', $txt['visual_verification_description'], '" id="verificiation_image_4" />
<img src="', $context['verificiation_image_href'], ';letter=5" alt="', $txt['visual_verification_description'], '" id="verificiation_image_5" />';
echo '
<input type="text" name="visual_verification_code" size="30" tabindex="', $context['tabindex']++, '" />
<div class="smalltext">
<a href="', $context['verificiation_image_href'], ';sound" onclick="return reqWin(this.href, 400, 120);">', $txt['visual_verification_sound'], '</a> | <a href="', $scripturl, '" onclick="refreshImages(); return false;">', $txt['visual_verification_request_new'], '</a>
</div>
</td>
</tr>';
}
Can you attach your post template here?
Also, can you provide a link to your forum so I can see the actual issue?
my apologies. I posted the wrong post.template
I posted Classic Template, but I am using default right now..
I found it. After uninstal and reinstall, the plugin adds 2 entries of this to the file:
Quoteif ($context['visual_verification'])
{
echo '
<tr align="right" valign="top" class="needsPadding">
<td style="font-weight: bold;', isset($context['post_error']['visual_verification_failed']) ? 'color: red;' : '', '">
<script language="JavaScript" type="text/javascript"><!-- // -->
function refreshImages()
{
// Make sure we are using a new rand code.
var new_url = new String("', $context['verificiation_image_href'], '");
new_url = new_url.substr(0, new_url.indexOf("rand=") + 5);
// Quick and dirty way of converting decimal to hex
var hexstr = "0123456789abcdef";
for(var i=0; i < 32; i++)
new_url = new_url + hexstr.substr(Math.floor(Math.random() * 16), 1);';
if ($context['use_graphic_library'])
echo '
document.getElementById("verificiation_image").src = new_url;';
else
echo '
document.getElementById("verificiation_image_1").src = new_url + ";letter=1";
document.getElementById("verificiation_image_2").src = new_url + ";letter=2";
document.getElementById("verificiation_image_3").src = new_url + ";letter=3";
document.getElementById("verificiation_image_4").src = new_url + ";letter=4";
document.getElementById("verificiation_image_5").src = new_url + ";letter=5";';
echo '
}
// ]]></script>
', $txt['visual_verification_label'], ':
<div class="smalltext">', $txt['visual_verification_description'], '</div>
</td>
<td align="left" valign="top">';
if ($context['use_graphic_library'])
echo '
<img src="', $context['verificiation_image_href'], '" alt="', $txt['visual_verification_description'], '" id="verificiation_image" /><br />';
else
echo '
<img src="', $context['verificiation_image_href'], ';letter=1" alt="', $txt['visual_verification_description'], '" id="verificiation_image_1" />
<img src="', $context['verificiation_image_href'], ';letter=2" alt="', $txt['visual_verification_description'], '" id="verificiation_image_2" />
<img src="', $context['verificiation_image_href'], ';letter=3" alt="', $txt['visual_verification_description'], '" id="verificiation_image_3" />
<img src="', $context['verificiation_image_href'], ';letter=4" alt="', $txt['visual_verification_description'], '" id="verificiation_image_4" />
<img src="', $context['verificiation_image_href'], ';letter=5" alt="', $txt['visual_verification_description'], '" id="verificiation_image_5" />';
echo '
<input type="text" name="visual_verification_code" size="30" tabindex="', $context['tabindex']++, '" />
<div class="smalltext">
<a href="', $context['verificiation_image_href'], ';sound" onclick="return reqWin(this.href, 400, 120);">', $txt['visual_verification_sound'], '</a> | <a href="', $scripturl, '" onclick="refreshImages(); return false;">', $txt['visual_verification_request_new'], '</a>
</div>
</td>
</tr>';
}
Sounds like it isn't uninstalling cleanly for some reason. You'll just need to check for duplicates.
thanks for the pointer on which file to look at..
Hi!
I installed Visual Verification Options mod, and when im trying to apply it, it says "An Error Has Occurred! Session verification failed. Please try logging out and back in again, and then try again". Same thing if i try to delete it. Logging out and in again has no effect. So maybe someone would know how to fix this...? Im using SMF 1.1.7 and finnish launguage-pack. Thanks!
EDIT: Any ideas anybody...?
I'm new to SMF, having come from phpBB. I'm very impressed with SMF and have everything in place with the exception of this visual verification mod that you created. I had guest postings all of the time on the old phpBB and was starting to get spam after installing SMF.
I installed your mod this evening and it was smooth as silk! It finished the last piece of the puzzle that I was looking for. Great mod and great work! Thank you!
Hi!
I have installed this mod and i've enabled also for search but i see this error:
8: Undefined index: visual_verification_code
File: /membri/darkwolf/forum/Sources/Search.php
Linea: 299
How i can fix?
Thanks in advance, DarkWolf :)
This was asked earlier and the person seemed to find their own answer, but I never saw what it was.
We have used this Mod successfully for some time, but all along we have received this error:
8: Undefined index: visual_verification_guest_search
File: /homepages/5/d217677497/htdocs/Sources/Search.php
Line: 70
Guests are not allowed to search, so I'm not sure what is spawning this or how to fix it. This is the section in our Search.php file:
// 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) && ($user_info['is_guest'] && $modSettings['visual_verification_guest_search']);
if ($context['visual_verification'])
{
loadLanguage('Login');
$context['use_graphic_library'] = in_array('gd', get_loaded_extensions());
$context['verificiation_image_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand());
Any help would be greatly appreciated.
Hello,
actually I have installed this mod, but I want to use visual verification with recaptcha, (as I have in the registration of new users). Is that possible??
Thanks.
There is currently no way to so such. There might be the possibility in the future, however.
Quote from: aher on February 07, 2009, 11:19:19 AM
Hello,
actually I have installed this mod, but I want to use visual verification with recaptcha, (as I have in the registration of new users). Is that possible??
Thanks.
That's something I would like too. How near in the future could this be possible?
First, let me say I love this mod. It's exactly what I've been looking for. I just want to make sure that it's working.
In the error logs generated by some spammers (snarl), I'm finding this:
8: Undefined index: visual_verification_guest_post
File: /hsphere/local/home/dremalkin/quantum-sky.org/eclipsingbinary/Sources/Post.php
Line: 110
Does that mean the visual verification is encountering an error when it tries to function or the spammer (snarl) is being blocked by the VV?
Hi,
Would it be possible to implement this to downloads by guest?
Thanks
Hi!
If i enable captcha to guests and it use quicksearch form it receive: Enable visual verification for search by guests: The letters you typed don't match the letters that were shown in the picture.
Even or i disable visual verification for search by guests or.... ???
Hi ... This mod was working fine on my development server. I just moved the site to the production server .. I'm getting the "no image" symbol where the image should appear and I'm getting this error message:
[error] PHP Fatal error: smf_main() [<a href='function.require'>function.require</a>]:
Failed opening required '/home/earthian/public_html/Forum/Sources/Register.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/earthian/public_html/Forum/index.php on line 369
Any help appreciated, thanks.
Did you make sure all the files were uploaded? It's not finding an SMF core file.
nice mod,
Arabic translation attached .
Sorry to bump the thread, but I'm having a small bit of difficulty... I installed it and everything was fine, but when I went to test it, the actual image doesn't show up... ^^;
http://wimg.co.uk/AW4.png
This isn't the default, it might work on there, but if so, what do I need to do to make it work on the rest of my themes? I looked at the readme and looked at the rest of this thread but I didn't see what to do.
OMG !! OMG !!
This MOD enables CAPTCHA for GUEST Searches..
Motoko-chan : Thank You very much..
Quote from: Tsukuyomi on August 08, 2009, 01:37:09 AM
I installed it and everything was fine, but when I went to test it, the actual image doesn't show up... ^^;
Link please. Also, does the verification image look okay for registration?
Quote from: Tsukuyomi on August 08, 2009, 01:37:09 AM
This isn't the default, it might work on there, but if so, what do I need to do to make it work on the rest of my themes?
It depends. If the other themes haven't messed with the post and search templates, nothing. If they have, you'd need to manually integrate the theme changes to them.
Very nice this modification.
Thank You Motoko-chan ;)
Quote from: Motoko-chan on August 08, 2009, 12:23:14 PM
Quote from: Tsukuyomi on August 08, 2009, 01:37:09 AM
I installed it and everything was fine, but when I went to test it, the actual image doesn't show up... ^^;
Link please. Also, does the verification image look okay for registration?
Quote from: Tsukuyomi on August 08, 2009, 01:37:09 AM
This isn't the default, it might work on there, but if so, what do I need to do to make it work on the rest of my themes?
It depends. If the other themes haven't messed with the post and search templates, nothing. If they have, you'd need to manually integrate the theme changes to them.
Well, I'm using another system for the registration, as I just found your code recently. Anyway, here is a link: http://fantasyaurora.com/forums/index.php?action=post;board=229.0
If you are using the reCAPTCHA modification you found here, that's another of my modifications.
Anyway, the problem is that you added a style block to index.php. That's bad because that means the style block is put at the top of everything served through index.php, including the verification image. This results in a corrupted image that won't display.
To fix, move the style block you added to index.template.php for your theme. I believe you want to put it inside the template_main_above function.
Quote from: Motoko-chan on August 13, 2009, 01:15:38 PM
If you are using the reCAPTCHA modification you found here, that's another of my modifications.
Anyway, the problem is that you added a style block to index.php. That's bad because that means the style block is put at the top of everything served through index.php, including the verification image. This results in a corrupted image that won't display.
To fix, move the style block you added to index.template.php for your theme. I believe you want to put it inside the template_main_above function.
Silly question, but... what's a style block? ^^; What does it look like? If I did add anything like that, it probably wasn't with me knowing what it actually did. xD
The code beginning:
<STYLE type="text/css">
/**************** header styles ****************/
Very nice.
Czech translation:
//Visual Verification Options
$txt['visual_verification_guest_post'] = 'Vyžadovat vizuální ověřování pro hosty při psaní';
$txt['visual_verification_guest_search'] = 'Vyžadovat vizuální ověřování pro hosty při vyhledávání';
$txt['error_visual_verification_failed'] = 'Lituji, ale Vaše ověření je neplatné. Zřejmě jste neopsal(a) obrázek správně.';
How to modify the words on the left of the verification picture, when a guest is posting?
Visual verification:
Type the letters shown in the picture
Many words are not good for my visitors. I want to simplified it into:
Case insensitive letter
It means that remove the big words Visual verification: and change Type the letters shown in the picture into Case insensitive letter
How to do it?
vickemble, edit the language files. This modification simply adds areas where the verification appears. It re-uses all the default language strings that are used for the registration display.
Quote from: Motoko-chan on November 15, 2009, 12:23:38 PM
vickemble, edit the language files. This modification simply adds areas where the verification appears. It re-uses all the default language strings that are used for the registration display.
Thank you. I thought that your mod added these words inside. O:)
Excuse me.
My forum now has many advertisements, which are added automatically by robots.
Would you please tell me how to force everyone to enter the verification code when creating new topics or replying, even he or she has registered and logged in?
VVO only works with guests. Member accounts don't have any restriction. You might want to try stopping the spammers at the registration process with one of the many anti-spam modifications for SMF. For support with non-mod things, please use the general support boards.
Its available the recaptcha verification for posts?
Its very important for me! Thanks
I have two questions regarding this MOD
(1). Apart from guests, can i use this MOD for regular members also?
(2). Can i dissable this MOD feature for search?
Quote from: Srinib on December 28, 2009, 03:33:47 AM
(1). Apart from guests, can i use this MOD for regular members also?
This is not possible, and is not planned to be added. You can do this with the 2.0 series of SMF.
Quote from: Srinib on December 28, 2009, 03:33:47 AM
(2). Can i dissable this MOD feature for search?
Verification for posts and search can be individually enabled and disabled.
Thanks so much for this. Been looking everywhere for this for a fresh new install of 1.1.11. Cheers.
Edit: I spoke too soon. The mod installed with no error, is activated in Posts & Topics and Search, but I don't see it in the respective pages when trying it as a guest.
I've tried it with the default theme and it doesn't work there either. I tried it on another hosting, no dice. I wonder if there are any specific prerequisites other than being able to modify the files indicated in the manual procedure. I checked all those files and the changes are in them.
This is the Spanish translation:
$txt['visual_verification_guest_post'] = 'Requerir verificación visual para todos los mensajes de visitantes';
$txt['visual_verification_guest_search'] = 'Habilitar verificación visual para búsqueda a los visitantes';
$txt['error_visual_verification_failed'] = 'Lo que has tecleado no coincide con lo que se muestra en la imagen.';
Is there any way to translate the text beside the captcha?:
Visual verification:
Type the letters shown in the picture
Listen to the letters | Request another image
Thank you.
Quote from: Andres. on February 26, 2010, 11:56:31 AM
Is there any way to translate the text beside the captcha?:
Visual verification:
Type the letters shown in the picture
Listen to the letters | Request another image
Thank you.
Yes, but you'd need to add that manually to the code. The text is generated from the reCAPTCHA servers themselves. You can read more on reCAPTCHA internationalization at http://wiki.recaptcha.net/index.php/I18n
Spanish for this mod.
This one with skip on error, in case spanish is not found.
Quote from: Motoko-chan on February 26, 2010, 02:53:28 PM
Yes, but you'd need to add that manually to the code. The text is generated from the reCAPTCHA servers themselves. You can read more on reCAPTCHA internationalization at http://wiki.recaptcha.net/index.php/I18n
Thank you. I did it manually by editing Login.spanish_es.php. This is the code.
$txt['visual_verification_label'] = 'Verificación visual';
$txt['visual_verification_description'] = 'Introduce las letras que se muestran en la imagen';
$txt['visual_verification_sound'] = 'Escuchar las letras';
$txt['visual_verification_sound_again'] = 'Repetir';
$txt['visual_verification_sound_close'] = 'Cerrar ventana';
$txt['visual_verification_request_new'] = 'Nueva imagen';
$txt['visual_verification_sound_direct'] = '¿Problemas para escucharlo? Prueba el enlace directo.';
I apologize for my bad english. I installed mod VVO in my forum and it seems works fine, but the two links "Listen to the letters" and "Request another image" don't work.
When I try the first link it doesn't work at all.
When I try the second link, the new image doesn't appear (I think because in the "src" the characters "&" are write as html "&").
Why this? On what these problems may depend?
Thanks in advance for any response.
Quote from: cocco.belardo on March 10, 2010, 04:59:15 PM
When I try the first link it doesn't work at all.
Does this work on the standard location (registration page)?
Quote from: cocco.belardo on March 10, 2010, 04:59:15 PM
When I try the second link, the new image doesn't appear (I think because in the "src" the characters "&" are write as html "&").
Why this? On what these problems may depend?
Does this work on the standard location (registration page)?
Does the image change at all? The letters won't change until three failed attempts, but the presentation should change.
The & should be written as & in the src attribute in XHTML, so that is correct.
In my forum, mod VVO is setting not for registration page but only for posting topic (and replay) and searching. So every guest can use the forum without registration or login.
Example. When a guest tries to post a topic, he sees a correct captcha image. If he digits a wrong sequence of caracthers, another capctha image is shown (since 3rd attempt, with the same characters and another presentation; after with another sequence). But if he clicks directly on link "Request another image", the image disappears. In this case, in the code html of the page, the "src" string of the <img /> tag seems correct (if used as url in the browser, converting "&" in "&", the image is correctly displayed), but the captcha image doesn't appear to guest.
Quote from: cocco.belardo on March 11, 2010, 01:40:26 PM
In my forum, mod VVO is setting not for registration page but only for posting topic (and replay) and searching. So every guest can use the forum without registration or login.
That is correct, the registration function has the option built in. I'm using the exact same code used there and duplicating it for the other sections. Does the verification image work correctly in the registration function?
The forum is a part of a Joomla site and it is joined with cms by Jfusion bridge. The new users get their registration in Joomla and they are simultaneously registered in SMF forum. I also use dual login, so who make login in Joomla is automatically logged in SMF too.
For these reasons verification image for registration function in SMF forum is not used (any link and field for registration and login/logout in SMF have been hidden)
If you are doing stuff like wrapping, it is possible that it is causing issues. I can't reproduce your issue on a standalone SMF 1.1 install.
Hello there.
I just installed this mod but there's a part in the search.template file that doesn't exist in mine.
The mod is working good for topics made by guests, but no for the search.
Can someone help me here?
Thanks in advance.
Are you using a custom theme that replaces the search template?
I'm using a custom template, but it uses the search.template of default theme.
I have a mod installed though... it's called "Search Enhancement Mod" and it probably changed something there in the code.
If that modification changed the code search points, then that will cause the install to fail for that portion. You'll need to make the changes manually.
The thing is i don't know what to edit, since this part doesn't exist:
if (isset($context['did_you_mean']) || empty($context['topics']))
{
instead i have this:
if (isset($context['did_you_mean']))
echo '
', $txt['search_did_you_mean'], ' <a href="', $scripturl, '?action=search2;params=', $context['did_you_mean_params'], '">', $context['did_you_mean'], '</a>.<br />';
// ATTN: wordzilla -- added acttopic, match_mode, etc.
echo '
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
<b>', $txt[582], ':</b><br />
<input type="text" name="search"', !empty($context['search_params']['search']) ? ' value="' . $context['search_params']['search'] . '"' : '', ' size="40" />
<select name="searchtype">
<option value="1"', empty($context['search_params']['searchtype']) ? ' selected="selected"' : '', '>', $txt[343], '</option>
<option value="2"', !empty($context['search_params']['searchtype']) ? ' selected="selected"' : '', '>', $txt[344], '</option>
</select>
<select name="match_mode">
<option value="whole"', (!empty($context['search_params']['match_mode']) && $context['search_params']['match_mode'] == 'whole' ? ' selected="selected"' : ''), '>', $txt['search_match_mode_whole_short'], '</option>
<option value="smart"', (!empty($context['search_params']['match_mode']) && $context['search_params']['match_mode'] == 'smart' ? ' selected="selected"' : ''), '>', $txt['search_match_mode_smart_short'], '</option>
<option value="any"', (!empty($context['search_params']['match_mode']) && $context['search_params']['match_mode'] == 'any' ? ' selected="selected"' : ''), '>', $txt['search_match_mode_any_short'], '</option>
</select>
';
Hope it helps.
Guessing at this point. Try the top line of what you pasted in.
I guess the mod i have installed it's not compatible with yours. It seems to much different from the default search.
How can i use just the part dedicated to the captcha in topics? Can i delete all the parts related to the search part? If so, which ones?
Italian for this mod. ;)
Hi, I installed the mod, but do not see the image, I missed something?
Thanks
No one can help me?
Patience, please. I was away at Jury Duty yesterday all day.
Did you make sure to enable the options that the modification provides? Also, does the normal image verification for registration work properly?
thank you
good mod
when update dont forget portuguese
attach
I installed this and no errors where shown. I am using 1.1.12. But, it's not showing anywhere on the post template. Where exactly are the options to configure this modification?
They should be located on the registration page where the settings for the image verification can be found as well.
If your theme has a custom post template, you'll need to make the correct manual edits to it.
This mod should be just what I'm looking for, thanks! :-)
But I can't get it to work. Forum version: SMF 1.1.11 (Havn't had time to upgrade) Using several mods and not the default theme (but all the important files are just in the default-folder).
I tried to install the package, but there was no changes in my Admin > Registration > Settings
I then uninstalled the package and installed it manually (just posting, not search), but my Settings look like before. Please see attached print of screen.
Do you have any idea why?
Have you tried looking with the default theme? It's very likely your custom theme has its own set of admin-area templates for some reason.
Quote from: 青山 素子 on April 13, 2011, 10:51:09 AM
Have you tried looking with the default theme? It's very likely your custom theme has its own set of admin-area templates for some reason.
Yes, I'm sorry I forgot to mention that. It didn't work with the default (SMF Default Theme - Core) either. Thanks for your quick reply.
I have no idea why, but it seems to work all of a sudden! :-)
This modification is now under a BSD license.
You can view the source code repository at https://bitbucket.org/motokochan/visual-verification-options-for-smf