Results 1 to 13 of 13

Thread: How do I place a vbulletin login form on my homepage?

  1. #1
    Member

    Join Date
    Aug 2012
    Location
    Bergamo, Italy, Italy
    Posts
    73
    Rep Power
    11

    Question How do I place a vbulletin login form on my homepage?

    How to add username and password login box on my homepage?

    ScreenShot00520.png

    With this code does not show Correctly, I want to show one line and small box. Please anyone can help me?

    Code:
    <form action="path/to/your/forums/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
      	  <input type="hidden" name="do" value="login" />
      	  <input type="hidden" name="url" value="/path" />
      	  <input type="hidden" name="vb_login_md5password" />
      	  <input type="hidden" name="vb_login_md5password_utf" />
      	  <input type="hidden" name="s" value="$session[sessionhash]" />
      	  <label>Username:<input name="vb_login_username" type="text" id="login" tabindex="1" class="bginput" accesskey="u"/></label>
      	  <label>Password:<input name="vb_login_password" type="password" id="password" tabindex="1" class="bginput" /></label>
          <label>Remember me?<input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" /></label>
      	  <input name="submit" type="submit" id="submit" tabindex="1" value="Login" accesskey="s" class="button" />
    </form>
    ScreenShot00521.jpg

     
     
  2. #2
    Administrator KJ's Avatar

    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    250
    Blog Entries
    3
    Rep Power
    10
    After adding the code you have to style with the CSS as your existing style is causing this error.
    May be wrapping the code in table will help.

     
     
  3. #3
    Member

    Join Date
    Aug 2012
    Location
    Bergamo, Italy, Italy
    Posts
    73
    Rep Power
    11
    If this issue, How to get fix ?

     
     
  4. #4
    Administrator KJ's Avatar

    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    250
    Blog Entries
    3
    Rep Power
    10
    Add class to this line:

    HTML Code:
    <form action="path/to/your/forums/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
    e.g.
    HTML Code:
    <form class="myform" action="path/to/your/forums/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
    And add css code to you template

     
     
  5. #5
    Member

    Join Date
    Aug 2012
    Location
    Bergamo, Italy, Italy
    Posts
    73
    Rep Power
    11
    Sorry i am did not understanding, please give me more details step by step. About class and css file ?

     
     
  6. #6
    Administrator KJ's Avatar

    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    250
    Blog Entries
    3
    Rep Power
    10
    Hmm, It is not impossible to tell you what to edit without more info. like what software you are using where you be using this code etc...If you want you can send me more info and then may be I will be able to help you.

     
     
  7. #7
    Member

    Join Date
    Aug 2012
    Location
    Bergamo, Italy, Italy
    Posts
    73
    Rep Power
    11
    I'm sorry about for the delay, I am added the Templates files. Please let me know, Thanks

    Download Here : REMOVE AS REQUESTED
    Last edited by KJ; 11-12-2014 at 09:13 PM.

     
     
  8. #8
    Administrator KJ's Avatar

    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    250
    Blog Entries
    3
    Rep Power
    10
    Have a look at this: REMOVE AS REQUESTED

    Check it in all browsers.
    Last edited by KJ; 11-12-2014 at 09:13 PM.

     
     
  9. #9
    Member

    Join Date
    Aug 2012
    Location
    Bergamo, Italy, Italy
    Posts
    73
    Rep Power
    11
    Great, looking good.please send me the files. Can be make its one line?

     
     
  10. #10
    Administrator KJ's Avatar

    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    250
    Blog Entries
    3
    Rep Power
    10
    File attached:

    REMOVE AS REQUESTED


    Two example there... index1.html and index2.html
    Last edited by KJ; 11-12-2014 at 09:13 PM.

     
     
  11. #11
    Member

    Join Date
    Aug 2012
    Location
    Bergamo, Italy, Italy
    Posts
    73
    Rep Power
    11
    One more issue After login , If i Back to index.html page then its still show login BOX. Does not show I am Logged In.

     
     
  12. #12
    Administrator KJ's Avatar

    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    250
    Blog Entries
    3
    Rep Power
    10
    This is not a vbulletin page therefore it is not possible to hide the login fields after user logs in.

     
     
  13. #13
    Member

    Join Date
    Aug 2012
    Location
    Bergamo, Italy, Italy
    Posts
    73
    Rep Power
    11
    Anyway thanks for your great Support, Please can you delete all Download link from this thread?

     
     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •