MyBB Community Forums

Full Version: Decrease the default ReCaptcha width, no captcha plugins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to decrease the mybb default recaptcha option width so that it does not deform my mobile theme. Any help will be greatly appreciation? Thanks in advance.
Do you want to decrease the size of the input field or the whole container?
Decrease the width of the whole iframe captcha container. Thanks.
Ok I will look at this when I go back on my computer
So any luck. Have been waiting.
Oh sorry forgot if I do that again feel free to PM me

Open member_register_regimage
Replace all with
<br />
<fieldset class="trow2">
<script type="text/javascript" src="jscripts/captcha.js?ver=1400"></script>
<legend><strong>{$lang->image_verification}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td><span class="smalltext">{$lang->verification_note}</span><br />
<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>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		document.write('<br \/><br \/><input type="button" class="button" tabindex="10000" name="refresh" value="{$lang->refresh}" onclick="return captcha.refresh();" \/>');
	}
// -->
</script>
</center>
</td>
</tr>
<tr>
<td><input type="text" class="textbox" name="imagestring" value="" id="imagestring" style="width: 100%;" /><input type="hidden" name="imagehash" value="{$imagehash}" id="imagehash" /></td>
</tr>
<tr>
	<td id="imagestring_status"  style="display: none;" colspan="2">&nbsp;</td>
</tr>
</table>
</fieldset>