PDA

View Full Version : [Release] Add "User re-request of activation code" to any template


Pezman
05-28-2003, 01:08 AM
This is easy as pie on my error_nopermissions_loggedout and error_nopermissions_loggedin pages I added "Remail my Activation Code"

Here is the link so you can do the same: register.php?action=requestemail

You can add it anywhere you like even on non vb pages if you please.

I just got tired of "I Lost My Activation Email" comments, so I made a very helpful error page to catch all my noobie email problems :)

For anyone who wants my full error_nopermissions_Loggedout here it is, I made it very user friendly with big fonts and what not:

You do not have permission to access this page. This could be due to one of several reasons:

<ol>
<li><font size="+1"><b>Did You Just Register?</b></font> Because if you did, it is likely that you forgot to check your email. We send out an email to you that you must open and click on the activation link before you can post. <i>Often spam filters will throw this message in the trash or spam folder so be sure to check there!</i></li><ul>
<li><b>Need The Registration Activation Email Resent?</b> then <a href="register.php?action=requestemail">click here</a> to have it emailed to you.</li>
<li><b>Forgotten Your Password?</b> then <a href="member.php?s=$session[sessionhash]&action=lostpw">click here</a> to have it emailed to you. (Note: After you receive it you'll have to activate your account)</li></ul>
<li><font size="+1"><b>Perhaps you are not logged in.</b></font> Fill in the form at the bottom of this page and try again.</li>
<li><font size="+1"><b>Are You A Member?</b></font> We are now requiring you to <a href="register.php?s=$session[sessionhash]&action=signup">register</a> in order to view the forums, so please register.</li>
<li><font size="+1"><b>Did you get banned?</b></font> The administrator may have disabled your account, or it may be awaiting activation.</li>
</ol>
<p align="center">
<table border="0" bgcolor="#0A293E" cellpadding="4" cellspacing="1" align="center">
<form action="member.php" method="post"><input type="hidden" name="s" value="$session[sessionhash]">
$logincode
</table>

<br>

<center><normalfont>
<input type="hidden" name="action" value="login">
<input type="hidden" name="url" value="$scriptpath">
<input type="submit" class="bginput" value="Login!"></form>
</normalfont></center>
</p>
<p><smallfont><a href="member.php?s=$session[sessionhash]&action=lostpw">Forgotten your password?</a></smallfont>

Error_nopermissions_loggedin:
You do not have permission to access this page. This could be due to one of several reasons:

<ol>
<li><font size="+1"><b>Did You Just Register?</b></font> Because if you did, it is likely that you forgot to check your email. We send out an email to you that you must open and click on the activation link before you can post. <i>Often spam filters will throw this message in the trash or spam folder so be sure to check there!</i></li><ul>
<li><b>Need The Registration Activation Email Resent?</b> then <a href="register.php?action=requestemail">click here</a> to have it emailed to you.</li>
<li><b>Forgotten Your Password?</b> then <a href="member.php?s=$session[sessionhash]&action=lostpw">click here</a> to have it emailed to you. (Note: After you receive it you'll have to activate your account)</li></ul>
<li><font size="+1"><b>Perhaps you are not logged in.</b></font> Fill in the form at the bottom of this page and try again.</li>
<li><font size="+1"><b>Are You A Member?</b></font> We are now requiring you to <a href="register.php?s=$session[sessionhash]&action=signup">register</a> in order to view the forums, so please register.</li>
<li><font size="+1"><b>Did you get banned?</b></font> The administrator may have disabled your account, or it may be awaiting activation.</li>
</ol>

<p align="center">
<table border="0" bgcolor="#0A293E" cellpadding="4" cellspacing="1" align="center">
$logincode
</table>
</p>
<p><smallfont>The administrator may have required you to <a href="register.php?s=$session[sessionhash]&action=signup">register</a> before you can view this page.
</smallfont></p>
<p><smallfont><a href="member.php?s=$session[sessionhash]&action=lostpw">Forgotten your password?</a></smallfont>

Boofo
05-28-2003, 01:33 AM
Can you post an image of these 2 templates in action? ;)