MyBB Community Forums
How To Make User Registration Easier (Image Verification) - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: Tutorials (https://community.mybb.com/forum-38.html)
+--- Thread: How To Make User Registration Easier (Image Verification) (/thread-128285.html)



How To Make User Registration Easier (Image Verification) - Mr Tech - 2012-10-26

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]



RE: How To Make User Registration Easier (Image Verification) - Leefish - 2012-10-26

Why not change this in the language editor rather than hardcoding it into the templates?


RE: How To Make User Registration Easier (Image Verification) - Mr Tech - 2012-10-26

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.


RE: How To Make User Registration Easier (Image Verification) - Nathan Malcolm - 2012-10-26

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.


RE: How To Make User Registration Easier (Image Verification) - Mr Tech - 2012-10-26

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.