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.

Log In Script Problem

View previous topic View next topic Go down

Log In Script Problem

Post by stackman on July 19th 2011, 12:33 am

Code:
<form action="http://YOUR_FORUM.forumotion.com/login.forum" method="post"><table cellspacing="1" cellpadding="3" border="0"><tbody><tr><td width="45%" align="right"> Username:</td><td><input type="text" name="username" size="25" maxlength="40" /></td></tr><tr><td align="right">Password:</td><td><input type="password" name="password" size="25" maxlength="32" /></td></tr><tr align="center"><td colspan="2">Log me on automatically each visit: <input type="checkbox" name="autologin" checked="true" /></td></tr><tr align="center"><td colspan="2"><input type="submit" class="mainoption" name="login" value="Log in" /></td></tr></tbody></table></form>
When I use this code for my page, the background is not allowing the script to show. I believe that it is due to the dark nature of the html page. I am not able to change the background color because everything else on the page is coded.

stackman
Forumember

Posts : 32
Reputation : 0
Language : english

Back to top Go down

Re: Log In Script Problem

Post by kirk on July 19th 2011, 2:26 am

what page is this on?
do you have a link or screen shot of where you are trying to use the code.

info added,

Yeah i would have to see what you have on the page your are trying to use.
There is no where in this code to change the colors of the text, so i can either alter this code and add the color text you want, or i can give you an over all code for the html page that will have various colors you wish for text links,vested links and active links.

But will need to see your page to see what is the best way to go with it.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Log In Script Problem

Post by stackman on July 19th 2011, 3:28 am



Last edited by stackman on July 19th 2011, 3:50 am; edited 2 times in total

stackman
Forumember

Posts : 32
Reputation : 0
Language : english

Back to top Go down

Re: Log In Script Problem

Post by kirk on July 19th 2011, 3:50 am

Yeah i dont think you had the colors set right for the html page/script.
So i just adjusted your script and it should work for you now.
Iworking on my test forum.. but let me know if youhavea problem then we can try a couple more things to getit working Smile

Try this. then if not i have another thing you can try.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>StackOnGames Portal</title>
  <script type="text/javascript"
 src="/A2EB891D63C8/avg_ls_dom.js"></script>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <meta name="GENERATOR" content="MSHTML 8.00.6001.19088">
  <invisible>
  <link rel="stylesheet" type="text/css"
 href="style.css">
  <meta name="GENERATOR" content="MSHTML 8.00.6001.19088">
  </invisible>
</head>
<body bottommargin="0" leftmargin="0" rightmargin="0"
 topmargin="0"
 style="color: rgb(234, 245, 255); background-image: url(http://i434.photobucket.com/albums/qq62/stackman/background-1.jpg);">
<table border="0" cellpadding="0" cellspacing="0"
 height="94" width="100%">
  <tbody>
    <tr valign="top">
<!-- the LOGO is below, edit blanklogo.jpg / or .psd and save as a different
name to create a logo. Then change the src="" below to the new file name --><td
 height="94" width="246"><img alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Untitled-1-1.jpg"
 border="0" height="94" width="246"></td>
<!-- END OF LOGO ----------------------------------------------------------><td
 height="94" width="368"><img alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/2-2.png"
 border="0" height="94" width="368"></td>
      <td
 background="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/topbar1bg.jpg"
 height="94" width="100%"></td>
    </tr>
  </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0"
 height="91" width="100%">
  <tbody>
    <tr valign="top">
      <td height="91" width="613"><img alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/2maincolorarea.jpg"
 border="0" height="91" width="613"></td>
      <td
 background="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/2maincolorarea_bg.jpg"
 height="91" width="100%"></td>
    </tr>
  </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0"
 height="33" width="100%">
  <tbody>
    <tr valign="top">
<!-- IMPORTANT.. edit blankbutton1.jpg or .psd and save as a different
name to create the FIRST button on this menu. Then change the src="" below to the new file name.
The blankbutton.jpg is a different graphic and shouldn't be edited for placement here --><td
 height="33" width="246"><a href=""><img
 alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/button1.jpg"
 border="0" height="33" width="207"></a></td>
<!-- end of first button code --><td height="33"
 width="368"><img alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/3buttonareabg.jpg"
 border="0" height="33" width="427"></td>
      <td
 background="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/3buttonareabg.jpg"
 height="33" width="100%"></td>
    </tr>
  </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0"
 width="100%">
  <tbody>
    <tr valign="top">
      <td width="207"><!-- the rest of the menu buttons go below, edit blankbutton.jpg / or .psd and save as a different
name to create a new button. Then change the src="" below to the new file name --><a
 href="http://stackman.forumotion.net/forum"><img alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/button4.jpg"
 border="0" height="33" width="207"></a><br>
      <a href="http://stackman.forumotion.net/h4-about-us-page"><img
 alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/button2.jpg"
 border="0" height="33" width="207"></a><br>
      <a href="http://stackman.forumotion.net/h5-contact-us"><img
 alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/button7.jpg"
 border="0" height="33" width="207"></a><br>
      <a href="http://stackman.forumotion.net/h6-our-staff"><img
 alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/our_st10.png"
 border="0" height="33" width="207"></a><br>
      <a href="http://stackman.forumotion.net/h7-log-on"><img
 alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/login10.png"
 border="0" height="33" width="207"></a><br>
      <a href="http://stackman.forumotion.net/feed/?f=5"><img
 style="z-index: 0; top: 417px; left: 307px;" alt=""
 src="http://i434.photobucket.com/albums/qq62/stackman/Forum%20Portal/button5.jpg"
 border="0" height="33" width="207"></a><br>
<!-- end of button menu --><img src="/empty.psd"
 border="0" height="0" hspace="0" width="0"><!-- you can add other text/images for the left side menu below this comment but not after the </td> --></td>
      <td width="20"></td>
      <td width="100%">
      <table border="0" cellpadding="10"
 cellspacing="0" width="100%">
        <tbody>
          <tr valign="top">
            <td><!------------------------>
            <table border="0" cellpadding="3"
 cellspacing="0">
              <tbody>
                <tr>
                  <td align="right" width="45%">
Username:</td>
                  <td><input name="username" size="25"
 maxlength="40" type="text"></td>
                </tr>
                <tr>
                  <td align="right">Password:</td>
                  <td><input name="password" size="25"
 maxlength="32" type="password"></td>
                </tr>
                <tr align="center">
                  <td colspan="2">Log me on automatically
each visit: <input name="autologin" checked="true"
 type="checkbox"></td>
                </tr>
                <tr align="center">
                  <td colspan="2"><input
 class="mainoption" name="login" value="Log in"
 type="submit"></td>
                </tr>
              </tbody>
            </table>
            <table border="0" cellpadding="2"
 cellspacing="2" width="100%">
              <tbody>
                <tr valign="top">
                  <td width="49%">
                  <h3></h3>
                  </td>
                  <td width="1%"></td>
                  <td width="50%">
                  <p></p>
                  </td>
                </tr>
              </tbody>
            </table>
            <p></p>
            <p></p>
            <p></p>
            <p></p>
            <p></p>
            <p></p>
            <p></p>
            <a ="">&lt; p&gt;
            <p><br>
</p>
            <p></p>
            <p></p>
            <p></p>
            <p><br>
</p>
            <center><font size="1">Powered by <a
 href="http://www.forumotion.com" target="_blank">forumotion.com</a>
            </font></center>
<!----></a></td>
          </tr>
        </tbody>
      </table>
      </td>
      <td width="20"></td>
    </tr>
  </tbody>
</table>
</body>
</html>
 

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Log In Script Problem

Post by stackman on July 19th 2011, 3:50 am

I got it working. Thanks!

stackman
Forumember

Posts : 32
Reputation : 0
Language : english

Back to top Go down

Re: Log In Script Problem

Post by kirk on July 19th 2011, 3:53 am

@stackman wrote:I got it working. Thanks!

oh i just took out the Grey borders and left the padding,
so check that out if you like it better without the gray border around the login box.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

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