The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
5 posters

    how do i put a login bar at the top of the page

    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Solved how do i put a login bar at the top of the page

    Post by +Fusion- April 25th 2012, 9:34 am

    i want to put a login bar at the top of the page like this:
    how do i put a login bar at the top of the page Login_10
    Dark_Code
    Dark_Code
    Forumember


    Male Posts : 91
    Reputation : 4
    Language : CSS
    Location : Modesto

    Solved Re: how do i put a login bar at the top of the page

    Post by Dark_Code April 25th 2012, 3:59 pm

    You need to Know CSS and HTML
    avatar
    Guest
    Guest


    Solved Re: how do i put a login bar at the top of the page

    Post by Guest April 25th 2012, 4:31 pm

    Hi!

    Using this code you can get what you want:
    Code:
    <form id="ddlogin" action="/login.forum" method="post">
      <fieldset>
        <dl>
          <dt><label for="username">Username:</label></dt>
          <dd><input type="text" tabindex="1" name="username" id="username" size="20" maxlength="40" value="" class="inputbox" /></dd>
        </dl>
        <dl>
          <dt><label for="password">Password:</label></dt>
          <dd><input type="password" tabindex="2" id="password" name="password" size="20" maxlength="25" class="inputbox" /></dd>
        </dl>
        <dl>
          <dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="4" class="checkbox" checked="checked" /> Remember me</label></dd>
        </dl>
        <dl>
          <dd><input type="submit" name="login" tabindex="6" value="Log In" class="button2" /></dd>
        </dl>
      </fieldset>
    </form>
    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Solved Re: how do i put a login bar at the top of the page

    Post by +Fusion- April 25th 2012, 8:32 pm

    thanks but does this work with PHPBB2 also where do i put this code
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6980
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    Solved Re: how do i put a login bar at the top of the page

    Post by Sir Chivas™ April 25th 2012, 8:36 pm

    Hi, Hello

    That's HTML so, create a HTML PAGE.
    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Solved Re: how do i put a login bar at the top of the page

    Post by +Fusion- April 25th 2012, 8:38 pm

    i created a HTML page, and put "use forum header and footers" to yes, and use as homepage to no, and still no luck. :/ any suggestions, or did i do something wrong


    Last edited by ReBoRNz on April 25th 2012, 8:42 pm; edited 1 time in total
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6980
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    Solved Re: how do i put a login bar at the top of the page

    Post by Sir Chivas™ April 25th 2012, 8:39 pm

    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Solved Re: how do i put a login bar at the top of the page

    Post by +Fusion- April 26th 2012, 2:36 am

    Can u walk me through this step-by-step
    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Solved Re: how do i put a login bar at the top of the page

    Post by +Fusion- April 27th 2012, 3:45 am

    BUMP
    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Solved Re: how do i put a login bar at the top of the page

    Post by +Fusion- May 3rd 2012, 2:27 am

    bump
    nutsonlizards
    nutsonlizards
    Forumember


    Posts : 59
    Reputation : 14
    Language : London

    Solved Re: how do i put a login bar at the top of the page

    Post by nutsonlizards May 3rd 2012, 5:33 am

    here you go hope this helps Very Happy
    first here the css
    Code:

    #form-login{
            width: 440px;
       height:25px;
            color: #ff0;
            border-radius: 0px 0px 15px 15px;
       margin: 0px auto;
       padding: 5px 5px 5px 10px ;
            position:fixed;/* You can also use position: absolute; */
            top:0px;
            left:20px;
            background: #000
           
    }
    next is the log in form
    Code:

    <div id="form-login" >
    <form action="/login.forum" method="post">
    <label for="username">Username:</label> <input type="text" name="username" size="10" maxlength="15" /> <label for="password">Password:  </label><input type="password" name="password" size="10" maxlength="15" />  <input type="checkbox" name="autologin" checked="true" /> <input type="submit" class="mainoption" name="login" value="Log in" /><input name="redirect" type="hidden" value=""></form>
    </div>
    +Fusion-
    +Fusion-
    Forumember


    Male Posts : 252
    Reputation : 4
    Language : English
    Location : Flying

    Solved Re: how do i put a login bar at the top of the page

    Post by +Fusion- May 3rd 2012, 5:52 am

    thanks Smile SOLVED
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: how do i put a login bar at the top of the page

    Post by SLGray May 3rd 2012, 5:55 am

    Topic Solved & Locked



    how do i put a login bar at the top of the page Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is September 22nd 2024, 11:25 am