Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: loginbox for Coppermine bridged with phpBB2  (Read 2928 times)

0 Members and 1 Guest are viewing this topic.

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
loginbox for Coppermine bridged with phpBB2
« on: January 10, 2008, 01:05:06 am »

I found this script, but it doesn't work on Coppermine that is bridged with some other application (in my instance with phpBB2). What should I do? Thanks for answer!

Code: [Select]
<form action="login.php?referer=foobar.htm" method="post" name="loginbox">
  <table align="center" width="600" cellspacing="1" cellpadding="0" class="maintable">
    <tr>
      <td class="tableh1" colspan="2">Enter your username and password to login</td>
    </tr>
    <tr>
      <td class="tableb" width="40%">Username</td>
      <td class="tableb" width="60%"><input type="text" class="textinput" name="username" style="width: 100%" tabindex="1" /></td>
    </tr>
    <tr>
      <td class="tableb">Password</td>
      <td class="tableb"><input type="password" class="textinput" name="password" style="width: 100%" tabindex="2" /></td>
    </tr>
    <tr>
      <td colspan="2" align="center" class="tableb">Remember me <input name="remember_me" type="checkbox" class="checkbox" value="1" tabindex="3" /></td>
    </tr>
    <tr>
      <td align="center" class="tablef"><a href="forgot_passwd.php" class="topmenu">I forgot my password</a></td>
      <td align="left" class="tablef"><input name="submitted" type="submit" class="button" value="Login" tabindex="4" /></td>
    </tr>
  </table>
</form>
<script language="javascript" type="text/javascript">
<!--
document.loginbox.username.focus();
-->
</script>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: loginbox for Coppermine bridged with phpBB2
« Reply #1 on: January 10, 2008, 08:09:19 am »

Take a look at the HTML output of the phpbb login form, copy that and change the action attribute of the form accordingly. For details, post details.
Logged
Pages: [1]   Go Up
 

Page created in 0.054 seconds with 15 queries.