[solved]making entering an email optional

Relmitos

Resident
Joined
Jul 10, 2009
Messages
575
Reaction score
0
FP$
256
hey.
how can i remove the enter your e mail, and type it again part from phpBB3's Register page?
thanks.
 
Open: /styles/*yourstyle*/template/ucp_register.html

For prosilver based styles, find:
Code:
	<dl>
		<dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt>
		<dd><input type="text" tabindex="2" name="email" id="email" size="25" maxlength="100" value="{EMAIL}" class="inputbox autowidth" title="{L_EMAIL_ADDRESS}" /></dd>
	</dl>
	<dl>
		<dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label></dt>
		<dd><input type="text" tabindex="3" name="email_confirm" id="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_EMAIL}" /></dd>
	</dl>

Delete it.


For subsilver based styles, find:
Code:
<tr>
	<td class="row1"><b class="genmed">{L_EMAIL_ADDRESS}: </b></td>
	<td class="row2"><input class="post" type="text" name="email" size="25" maxlength="100" value="{EMAIL}" /></td>
</tr>
<tr>
	<td class="row1"><b class="genmed">{L_CONFIRM_EMAIL}: </b></td>
	<td class="row2"><input class="post" type="text" name="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" /></td>
</tr>

Delete it.

That's just the instructions on how to remove it from the registration screen.
 
Removing the email field from the forum will cause a few problems. The above code changes will only stop it showing. When you click submit, the registration will fail.
 
Re: making entering an email optional

Thanks.
Removing the e mail, and confirm requirements would be really hard, though i can remove timezone and language.
 
why would you want to take time zone out? i mean that something i find important personally
 
Re: making entering an email optional

thats something to put on the profile field, not on the register field.
 
It would be good to take it off for local forums.

But yeah, making the registration as quick as possible is always good.
 
Back
Top Bottom