loginbox for Coppermine bridged with phpBB2 loginbox for Coppermine bridged with phpBB2
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

loginbox for Coppermine bridged with phpBB2

Started by santoro, January 10, 2008, 01:05:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

santoro

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!


<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>

Joachim Müller

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.