Login form on homepage? Login form on homepage?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Login form on homepage?

Started by johanz, September 17, 2008, 08:59:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

johanz

I wonder if it is possible to add login(username and password) form on the main page without pressing login button to login :D

Nibbler

Yes, search the board for previous discussions.

johanz

I wonder what keyword should I use? Nothing comes to mind  ???

johanz

Okay I found it, but how do i make the box disappear when someone is logged in?

Gizmo

What box? ??? Maybe you can share what you've found then we can help.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

johanz


<table width="160" border="0" cellspacing="0" cellpadding="0">
  <tr>
     <form action="login.php" method="post" name="loginbox">
      <td width="100%" colspan="0">
<p>
<input type="text" class="textinput" name="username" style="width: 100%" tabindex="1" />
<input type="password" class="textinput" name="password" style="width: 100%" tabindex="2" />
<input name="submitted" type="submit" class="button" value="login" tabindex="3" />
</td>
    </form>
  </tr>
</table>

This is what I use to login, but I need to make it somehow, when user is logged, this will disappear

Joachim Müller

Well, that's a straightforward, static, HTML-driven login box that will of course appear no matter what. There have been other discussions that explain how to add a login box. Search more throughly. The thread you probably want is http://forum.coppermine-gallery.net/index.php/topic,33349.0.html