(help)password reset box in login page

phpBB3 Olympus MOD Database
-- Categories --

To submit your MOD or style, go to the STG MOD Manager
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own topic.
We may occasionally notify users of featured MODs or important updates of specific MODs listed in these forums.

General MOD discussions may take place here. -- Not in the subforums.
The subforums are for released MODs ONLY.

MOD Support only in specific MOD topic
No phpBB3 Support


To post your own MOD, style, script or BBCode, go to the MOD Manager

(help)password reset box in login page

Postby pramod7770 » 19 May 2012, 22:09

hai dear friends Image

i would like to add password reset box also in my login page pls help me what,s my problem is when i trie to reset the password it will reload to the same page not sending password reset email i would like to add both in same page the image is below



Image

this is my login_body.html

Code: Select all
<!-- INCLUDE overall_header.html -->

<script type="text/javascript">
// <![CDATA[
    onload_functions.push('document.getElementById("<!-- IF S_ADMIN_AUTH -->{PASSWORD_CREDENTIAL}<!-- ELSE -->{USERNAME_CREDENTIAL}<!-- ENDIF -->").focus();');
// ]]>
</script>

<form action="{S_LOGIN_ACTION}" method="post" id="login">
<div>
    <div><span><span></span></span>

    <div>
    <h2><!-- IF LOGIN_EXPLAIN -->{LOGIN_EXPLAIN}<!-- ELSE -->{L_LOGIN}<!-- ENDIF --></h2>

    <fieldset <!-- IF not S_CONFIRM_CODE -->class="fields1"<!-- ELSE -->class="fields2"<!-- ENDIF -->>
    <!-- IF LOGIN_ERROR --><div>{LOGIN_ERROR}</div><!-- ENDIF -->
    <dl>
      <dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}:</label></dt>
      <dd><input type="text" tabindex="1" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" /></dd>
    </dl>
    <dl>
      <dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}:</label></dt>
      <dd><input type="password" tabindex="2" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" /></dd>
      
      <!-- IF S_DISPLAY_FULL_LOGIN and (U_SEND_PASSWORD or U_RESEND_ACTIVATION) -->
      <!-- IF U_SEND_PASSWORD --><dd><a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a></dd><!-- ENDIF -->
      <!-- IF U_RESEND_ACTIVATION --><dd><a href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a></dd><!-- ENDIF -->
      <!-- ENDIF -->
    </dl>
    <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
      <!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
      <!-- INCLUDE {CAPTCHA_TEMPLATE} -->
    <!-- ENDIF -->
    <!-- IF S_DISPLAY_FULL_LOGIN -->
    <dl>
      <!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="4" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
      <dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="5" /> {L_HIDE_ME}</label></dd>
    </dl>
    <!-- ENDIF -->

    {S_LOGIN_REDIRECT}
    <dl>
      <dt>&nbsp;</dt>
      <dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" /></dd>
    </dl>
    </fieldset>
    </div>
    <span><span></span></span></div>
    <!-- IF (S_AL_WL_ENABLED or S_AL_FB_ENABLED or S_AL_TW_ENABLED) and not S_ADMIN_AUTH -->
   
    <div style="padding: 0px 10px 10px 10px; border-style: solid; border-color: grey; border-width: 1px; width: 500px;">
      <center>
      <h3>{L_SOCIAL_LOGIN_OPTIONS}</h3>
      <br />
      <!-- IF S_AL_WL_ENABLED -->
      <a href="{U_AL_WL_AUTHORIZE}"><img src="alternatelogin/images/windows_live_connect.png" alt="Windows Live Connect" /></a>
    <!-- ENDIF -->

    <!-- IF S_AL_FB_ENABLED -->
      <a onclick="window.location='alternatelogin/al_fb_connect.php';" href="#">
        <img src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" alt="Login with your Facebook account!" />
      </a>


    <!-- ENDIF -->
   
    <!-- IF S_AL_TW_ENABLED -->
    <a href="{U_AL_TW_REQUEST}"><img src="alternatelogin/images/sign-in-with-twitter-l.png" alt="Windows Live Connect" /></a>
    <!-- ENDIF -->
      </center>
    </div>
    <!-- ENDIF -->
</div>

</span>
</b>
</font>
</div>
</center><p>
    <a name="start_here"></a>
    <div id="page-body">
   

<form action="http://www.ashija.com/ucp.php?mode=sendpassword" method="post" id="remind">

<div>
    <div><span><span></span></span>

    <div>
    <h2>Send password</h2>

    <fieldset>
   
    <dl>
      <dt><label for="email">E-mail address:</label><br /><span>This must be the e-mail address associated with your account. If you have not changed this via your user control panel then it is the e-mail address you registered your account with.</span></dt>
      <dd><input type="text" name="email" id="email" size="25" maxlength="100" /></dd>
    </dl>
    <dl>
      <dt>&nbsp;</dt>
      <dd><input type="submit" name="submit" id="submit" value="Submit" tabindex="2" />&nbsp; <input type="reset" value="Reset" name="reset" /></dd>
    </dl>
   
    </fieldset>
    </div>

    <span><span></span></span></div>
</div>
</form>

</div>
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
    <div>
    <div><span><span></span></span>

    <div>
      <h3>{L_REGISTER}</h3>
      <p>{L_LOGIN_INFO}</p>
      <p><strong><a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a></strong></p>
      <hr />
      <p><a href="{U_REGISTER}">{L_REGISTER}</a></p>
    </div>

    <span><span></span></span></div>
    </div>
<!-- ENDIF -->

</form>

<!-- INCLUDE overall_footer.html -->

this is what i added but it is not working properly
Code: Select all
</span>
</b>
</font>
</div>
</center><p>
    <a name="start_here"></a>
    <div id="page-body">
   

<form action="http://www.ashija.com/ucp.php?mode=sendpassword" method="post" id="remind">

<div>
    <div><span><span></span></span>

    <div>
    <h2>Send password</h2>

    <fieldset>
   
    <dl>
      <dt><label for="email">E-mail address:</label><br /><span>This must be the e-mail address associated with your account. If you have not changed this via your user control panel then it is the e-mail address you registered your account with.</span></dt>
      <dd><input type="text" name="email" id="email" size="25" maxlength="100" /></dd>
    </dl>
    <dl>
      <dt>&nbsp;</dt>
      <dd><input type="submit" name="submit" id="submit" value="Submit" tabindex="2" />&nbsp; <input type="reset" value="Reset" name="reset" /></dd>
    </dl>
   
    </fieldset>
    </div>

    <span><span></span></span></div>
</div>
</form>

</div>


this is my site www.ashija.com
pramod7770
Crewman
Crewman
 
Posts: 2
Joined: 10 May 2012, 11:05
Gender: Male
phpBB Knowledge: 9


Re: (help)password reset box in login page

Postby topdown » 20 May 2012, 00:24

Why would you do this?
There is a I forgot my password link in the login block.

Also it requires passing the username and email address. Check the I forgot my password link to see.
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3027
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9

Re: (help)password reset box in login page

Postby pramod7770 » 20 May 2012, 04:09

pls help me i want both login and password reset in the same login page
pramod7770
Crewman
Crewman
 
Posts: 2
Joined: 10 May 2012, 11:05
Gender: Male
phpBB Knowledge: 9


Return to phpBB3 Olympus MODs / Add-ons Database

Who is online

Users browsing this forum: No registered users and 6 guests