Announcement

Collapse
No announcement yet.

Login Form on HTML page?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Login Form on HTML page?

    I installed the login form on http://www.womens-health.com/index2.html and it will actually log you in, but it won't redirect you to the forum. It just redirects you to that same page. I cannot seem to see where I need to make a change for that. I want it to redirect to http://womens-health.com/boards Does anyone know where I need to make a change?? Thanks!

  • #2
    Which login script did you use?
    One of the ones at vB.org?
    *Insert text here* :)

    Comment


    • #3
      No... lol

      I just kind of stole it out of my source from my board and fiddled with it until it worked. I have not been able to find any tutorials or instructions on how to do this so I tried to figure it out myself.

      Comment


      • #4
        Here is the code...

        Code:
        <!-- login form -->
          <form action="http://www.womens-health.com/boards/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
          <script type="text/javascript" src="<A href="http://www.womens-health.com/boards/clientscript/vbulletin_md5.js"></script">http://www.womens-health.com/boards/clientscript/vbulletin_md5.js"></script>
                    <table width="72%" cellspacing="3" cellpadding="0">
                      <tr> 
                        <td nowrap="nowrap"><span class="smallfont">User Name</span></td>
             <tr>
                        <td nowrap="nowrap"><input class="bginput" name="vb_login_username" size="20" type="text" /></td>
                      </tr>
             <tr>
               <td><span class="smallfont">Password</span></td>
             </tr>
             <tr> 
                        <td><input class="bginput" name="vb_login_password" size="20" type="password" /></td>
             </tr>
             <tr>  
            <td nowrap="nowrap"><span class="smallfont">
                          <input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />
                          Remember Me?</span></td>
                      </tr>
             <tr> 
                        <td><input name="submit" type="submit" class="button" value="Log in" /></td>
                      </tr>
             <tr>  
            <td align="center" rowspan="2" width="100%"><font size="3" face="Arial, Helvetica, sans-serif">Not 
                          a member yet?<br />
                          <a href="<A href="http://www.womens-health.com/boards/register.php">Register">http://www.womens-health.com/boards/register.php">Register 
                          Now!</a></font></td>
                      </tr>
         
                    </table>
                    <input type="hidden" name="s" value="" />
          <input type="hidden" name="do" value="login" />
          <input type="hidden" name="forceredirect" value="1" />   
          <input type="hidden" name="vb_login_md5password" />
          </form>
          <!-- / login form -->

        Comment


        • #5
          Up ?!!

          Comment


          • #6
            You should seek support for this on vBulletin.org since it might possible require code modification and it does require custom coding.

            Comment


            • #7
              I found the answer here....

              Thanks for your help, but I found the answer on vBulletin.org. If you are looking for the answer to this question, it is here (and it worked for me)....

              http://www.vbulletin.org/forum/showp...55&postcount=2

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X