I-MAXI Posted June 26, 2009 Report Share Posted June 26, 2009 Hello, There are two problems with captcha verification in the forum registration page: 1)Captcha image doesn't appear; 2)If you tray to update captcha image, you will be redirect to phpVMS Home Page; Marco Quote Link to comment Share on other sites More sharing options...
I-MAXI Posted June 26, 2009 Author Report Share Posted June 26, 2009 I found the solution on the SMF Support web Site, here is the code: in ./Sources/Subs-Graphics.php Find: // Walk the right path. if (!empty($modSettings['currentAttachmentUploadDir'])) { if (!is_array($modSettings['attachmentUploadDir'])) $modSettings['attachmentUploadDir'] = unserialize($modSettings['attachmentUploadDir']); $path = $modSettings['attachmentUploadDir'][$dir]; } else $path = $modSettings['attachmentUploadDir']; Make It: // Walk the right path. if (!empty($modSettings['currentAttachmentUploadDir'])) { if (!is_array($modSettings['attachmentUploadDir'])) $modSettings['attachmentUploadDir'] = unserialize($modSettings['attachmentUploadDir']); $path = $modSettings['attachmentUploadDir'][$modSettings['currentAttachmentUploadDir']]; } else $path = $modSettings['attachmentUploadDir']; Source: http://www.simplemachines.org/community/index.php?P=fe96009fe8a2e514f91f59675d1e6997&topic=312047.msg2073091#msg2073091 Solution by: Shadow82x Marco Quote Link to comment Share on other sites More sharing options...
I-MAXI Posted June 26, 2009 Author Report Share Posted June 26, 2009 However I advice to use reCaptcha plugin for SMF it's more secure than SMF default captcha. Here is the link for SMF Mod: http://custom.simplemachines.org/mods/index.php?mod=1044 Here is the link of reCaptcha to get API key: http://recaptcha.net/ It's compatible on SMF 2.0 RC1-1. Marco Quote Link to comment Share on other sites More sharing options...
Strider Posted June 26, 2009 Report Share Posted June 26, 2009 There is no captcha image in the registration of phpvms just two random number you have to add, so there is no mistake there. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
I-MAXI Posted June 26, 2009 Author Report Share Posted June 26, 2009 Ehm no, i'm referring to phpVMS Official Forum Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 26, 2009 Administrators Report Share Posted June 26, 2009 Wow that's pretty lame. No wonder it's been kinda quiet LOL I had upgraded SMF. I had recaptcha working, perhaps it broke on the upgrade. Thanks man, checking it out now (ps - did you register, without the captcha?) Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 26, 2009 Administrators Report Share Posted June 26, 2009 Alright, been fixed, thanks! Quote Link to comment Share on other sites More sharing options...
I-MAXI Posted June 26, 2009 Author Report Share Posted June 26, 2009 I have heard the captcha nothing! Quote Link to comment Share on other sites More sharing options...
I-MAXI Posted June 26, 2009 Author Report Share Posted June 26, 2009 eh eh you have installed recaptcha eh? is a nice mod, isn't it? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 26, 2009 Administrators Report Share Posted June 26, 2009 Ya, I had it installed before, I guess it got lost in the forum update Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.