FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


need help





adeee
i have a question about phpbb3 login system..

when i use this code paste in forum header. it works.

Code:

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
   <form method="post" action="{S_LOGIN_ACTION}" >   
   <div class="quick-login">
         <label for="username" class="menu1">&bull;&nbsp;{L_USERNAME}:</label>&nbsp;<br/><div style="padding-left:8px; cursor:text;"><input type="text" name="username" id="username"  size="20" class="inputbox23"  title="{L_USERNAME}" /></div>
         <label for="password" class="menu1">&bull;&nbsp;{L_PASSWORD}:</label>&nbsp;<br/><div style="padding-left:8px; cursor:text;"><input type="password" name="password" id="password" size="20" class="inputbox23" title="{L_PASSWORD}" /></div>
         <!-- IF S_AUTOLOGIN_ENABLED -->
          <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
         <!-- ENDIF -->
         <br/><div style="padding-left:125px;"><input type="submit" name="login" value="{L_LOGIN}" class="button2" /></div>
      </div>
      </form>
   <!-- ENDIF -->


but
it works only forum index means when i see post and logout.and want to quick again login on post page then its not
worked its only work on the forum index..

tell me the correction of this code..

so that it works on other pages..
shamil
For simplicity put working html codes instead of raw codes(which need to be compiled). For that open your login page which works then take its form codes. You can take source code by using browser's view source menu or saving page to local disk and then opening it on any editor.
Related topics
can i help?
help,Bonding
HELP!!
Help me with MySQL Account Maintenance and phpBB 2.0.15 :((
help, change pass my acc in cpanel
help me upgrade php to 5.
Need help adding a domain
help add admin in phpbb forum
How to solve this problem? Thanks
Help!
Help me change port for phptriad
problam Plz help
Help!!
Google Ads help fund Spyware ?
simple php problem, please help...
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.