MyBB Community Forums
The MyBB Humanization Project - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Development (https://community.mybb.com/forum-105.html)
+---- Thread: The MyBB Humanization Project (/thread-122216.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


RE: The MyBB Humanization Project - brad-t - 2013-02-04

Looks nice Smile What's with the floating box at the bottom right?


RE: The MyBB Humanization Project - Euan T - 2013-02-04

I think that's probably one of those register prompt things.


RE: The MyBB Humanization Project - brad-t - 2013-02-04

On the registration page?

There are some things in this world that should not be ...


RE: The MyBB Humanization Project - Euan T - 2013-02-04

It would seem so. I'd guess it's a global prompt that shows on every page. To me, they're a massive turn off no matter what.


RE: The MyBB Humanization Project - brad-t - 2013-02-04

For sure, and is totally against the principles of non-user-hostility that I hope this project encourages.


RE: The MyBB Humanization Project - alv4 - 2013-02-10

(2013-02-04, 03:20 AM)brad-t Wrote: Looks nice Smile What's with the floating box at the bottom right?

It's a floating box that said "Register" Smile


RE: The MyBB Humanization Project - Maj - 2013-02-12

I removed right half of default register page

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/validator.js"></script>
</head>
<body>
{$header}
<form action="member.php" method="post" id="registration_form">
<input type="text" style="visibility: hidden;" value="" name="regcheck1" />
<input type="text" style="visibility: hidden;" value="true" name="regcheck2" />
{$regerrors}
<table style="width:400px;" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->registration}</strong></td>
</tr>
<tr>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong>{$lang->account_details}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td colspan="2"><span class="smalltext"><label for="username">{$lang->username}</label></span></td>
</tr>
<tr>
<td colspan="2"><input type="text" class="textbox" name="username" id="username" style="width: 100%" value="{$username}" /></td>
</tr>
{$passboxes}
<tr>
<td><span class="smalltext"><label for="email">{$lang->email}</label></span></td>
<td><span class="smalltext"><label for="email2">{$lang->confirm_email}</label></span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="email" id="email" style="width: 100%" maxlength="50" value="{$email}" /></td>
<td><input type="text" class="textbox" name="email2" id="email2" style="width: 100%" maxlength="50" value="{$email2}" /></td>
</tr>
<tr>
	<td colspan="2" style="display: none;" id="email_status">&nbsp;</td>
</tr>
</table>
</fieldset>
{$requiredfields}
{$referrer}
{$regimage}
{$regq}
</td>


</table>
<br />
<div align="center">
<input type="hidden" name="step" value="registration" />
<input type="hidden" name="action" value="do_register" />
<input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}" />
</div>
</form>
<script type="text/javascript">
<!--
	regValidator = new FormValidator('registration_form');
	regValidator.register('username', 'notEmpty', {failure_message:'{$lang->js_validator_no_username}'});
    regValidator.register('email', 'regexp', {match_field:'email2', regexp:'^([a-zA-Z0-9_\\.\\+\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$', failure_message:'{$lang->js_validator_invalid_email}'});
	regValidator.register('email2', 'matches', {match_field:'email', status_field:'email_status', failure_message:'{$lang->js_validator_email_match}'});
{$validator_extra}
	regValidator.register('username', 'ajax', {url:'xmlhttp.php?action=username_availability', loading_message:'{$lang->js_validator_checking_username}'}); // needs to be last
// -->
</script>
{$footer}
</body>
</html>

But now new users who registers have all checkboxes in right side (which is deleted by me) unchecked, so for example they can't recieve private messages by default. Dodgy


RE: The MyBB Humanization Project - brad-t - 2013-02-12

You need to set those fields as hidden and checked.

<input type="hidden" name="emailpmnotify" id="emailpmnotify" value="1" {$emailpmnotifycheck} />
<input type="hidden" name="receivepms" id="receivepms" value="1" {$receivepmscheck} />
<input type="hidden" name="pmnotice" id="pmnotice" value="1" {$pmnoticecheck} />
<input type="hidden" name="allownotices" id="allownotices" value="1" {$allownoticescheck} />



RE: The MyBB Humanization Project - Maj - 2013-02-12

Thank you Brad.


RE: The MyBB Humanization Project - Elitis - 2013-03-15

Whats the download link?