How To Make User Registration Easier (Image Verification)
#1
This was written for mybb 1.6.7 and below i think they fixed it in 1.6.8 also i write this for another forum ages ago thought id share it here, anyway for users that have not upgraded there forum here you go:

OK first of all i have had users say to me in the past "i cant register on your site" i ask them why not they say the image security code is incorrect. Clearly they dont no what case-sensitive means that the letters have to be either lowercase or capital, depending on the way your site requires it. Most MyBB sites require it in capitals so this tutorial should help "not so clever users out" hopefully.

Step 1
Login To Your Admin CP.

Step 2
Go to Templates & Style then templates.

Step 3
Choose the themes templates that your website is using, then Member Templates >> member_register_regimage.

Step 4
Find:
<td><span class="smalltext">{$lang->verification_note}</span></td>
<td rowspan="2" align="center"><img src="captcha.php?action=regimage&amp;imagehash={$imagehash}" alt="{$lang->image_verification}" title="{$lang->image_verification}" id="captcha_img" /><br /><span style="color: red;" class="smalltext">{$lang->verification_subnote}</span>

Now Replace The Code With This:
<td><span class="smalltext">{$lang->verification_note}</span></td>
<td rowspan="2" align="center"><img src="captcha.php?action=regimage&amp;imagehash={$imagehash}" alt="{$lang->image_verification}" title="{$lang->image_verification}" id="captcha_img" /><br /><span style="color: red;" class="smalltext">(Capitial Letters)</span>

Step 5
Now as you can see we only made 1 simple change which was changing this: {$lang->verification_subnote} to (Capitial Letters) now you can make it say anything but a simple short one would be "capital letters" this will now tell the user that capital letters are required.

Its as simple as that enjoy Smile

Before:
[Image: untitl14.png]

After:
[Image: untitl15.png]
Reply
#2
Why not change this in the language editor rather than hardcoding it into the templates?
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#3
Since i was using Icyboards we did not have access to that, so this was the only way Big Grin Just thought some users here may find this helpful.
Reply
#4
It says case insensitive. That means it doesn't matter if you use capital letters or not. MyBB will recognize either lowercase or uppercase letters in the captcha.
No longer involved in the MyBB project.
Reply
#5
Well it was being weird for me before so i did this and it worked but that was like a year ago i had free hosting a crap site probably an error somewhere.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)