The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic Go down

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

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

i want to put a login bar at the top of the page like this:

+Fusion-
Forumember

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

http://www.xcodezz.com

Back to top Go down

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

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

You need to Know CSS and HTML

Dark_Code
Forumember

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

http://csshelp.ipbhost.com/

Back to top Go down

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

Post by Guest on 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>

Guest
Guest


Back to top Go down

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

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

thanks but does this work with PHPBB2 also where do i put this code

+Fusion-
Forumember

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

http://www.xcodezz.com

Back to top Go down

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

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

Hi, Hello

That's HTML so, create a HTML PAGE.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

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

Post by +Fusion- on 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

+Fusion-
Forumember

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

http://www.xcodezz.com

Back to top Go down

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

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




Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

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

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

Can u walk me through this step-by-step

+Fusion-
Forumember

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

http://www.xcodezz.com

Back to top Go down

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

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

BUMP

+Fusion-
Forumember

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

http://www.xcodezz.com

Back to top Go down

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

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

bump

+Fusion-
Forumember

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

http://www.xcodezz.com

Back to top Go down

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

Post by nutsonlizards on 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>

nutsonlizards
Forumember

Posts : 59
Reputation : 14
Language : London

http://www.redneckherpsforum.com/forum

Back to top Go down

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

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

thanks Smile SOLVED

+Fusion-
Forumember

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

http://www.xcodezz.com

Back to top Go down

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

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

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 35612
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum