Hi, I'm just starting to work on my website after about half a year, and I can't remember how I had something setup. I have PhpBB setup and I'm trying to make an external login. I figured out how to do this on http://www.the-yeah-gang.com, but on http://www.the-yeah-gang.com/inside.html you can see it with an image as a submit button. (unusable form) I'm trying to make it so you can use an image as a submit button but it won't work. When I use a regular submit button it works, but with an image as the submit button it doesn't. What could be the cause of this, maybe something in the PhpBB scripts? Any help appreciated.
External PhpBB Login w/ Image Submit
| heady233 wrote: |
| Hi, I'm just starting to work on my website after about half a year, and I can't remember how I had something setup. I have PhpBB setup and I'm trying to make an external login. I figured out how to do this on http://www.the-yeah-gang.com, but on http://www.the-yeah-gang.com/inside.html you can see it with an image as a submit button. (unusable form) I'm trying to make it so you can use an image as a submit button but it won't work. When I use a regular submit button it works, but with an image as the submit button it doesn't. What could be the cause of this, maybe something in the PhpBB scripts? Any help appreciated. |
there is some major differences, shown below:
http://www.the-yeah-gang.com/ .....
| Code: |
| <table width="240" border="0" cellpadding="0" cellspacing="0">
<tr> <td> <img src="i/a45.jpg" width="158" height="42"></td> <td> <input type="hidden" name="redirect" value="" /><input type="image" name="login" class="mainoption" value="Log in" border="0" src="i/a46.jpg" width="82" height="42" /><input type="submit" name="login" class="mainoption" ></td> </tr> </table> |
http://www.the-yeah-gang.com/inside.html ....
| Code: |
| <table width="240" border="0" cellpadding="0" cellspacing="0">
<tr> <td> <img src="i/a45.jpg" width="158" height="42"></td> <td> <input type="image" border="0" src="i/a46.jpg" width="82" height="42"></td> </tr> </table> |
| wumingsden wrote: | ||||||
there is some major differences, shown below: http://www.the-yeah-gang.com/ .....
http://www.the-yeah-gang.com/inside.html ....
|
I guess I wasn't clear enough. The index.html page is the one I've been messing around with and it works without an image as a submit. The inside.html page is the one my template came with when I got it (It hasn't been changed.) Sorry for any confusion.
Hmmm, now I'm confused. I thought you wanted to know why the following message appeared:
Maybe I was wrong?
I see both images present, but only one of the submits work properly. The inside.html login brings the above message. The difference in the code like the submit function maybe the cause.
| Quote: |
| The requested method POST is not allowed for the URL /inside.html |
Maybe I was wrong?
I see both images present, but only one of the submits work properly. The inside.html login brings the above message. The difference in the code like the submit function maybe the cause.
I guess I was confusing. When I have everything setup without an image as a submit button you can type your username and password in the boxes and then press the Log In button which will take you to my forums index page. The problem is that when I substitute the Log In button with an image and type my username and password in the boxes and then press the Log In button it takes me to the forums login page where I have to type my username & password all over again. The reason I mentioned the inside.html page was because it was not changed and the index page looks confusing and wierd. The inside page has nothing setup on the form part.
| heady233 wrote: |
| I guess I was confusing. When I have everything setup without an image as a submit button you can type your username and password in the boxes and then press the Log In button which will take you to my forums index page. The problem is that when I substitute the Log In button with an image and type my username and password in the boxes and then press the Log In button it takes me to the forums login page where I have to type my username & password all over again. The reason I mentioned the inside.html page was because it was not changed and the index page looks confusing and wierd. The inside page has nothing setup on the form part. |
Oooo, I think now I understand. You want it to work a little like this: http://mezmorizing.net/tester
Username: demo
Password: demo
I think the problem maybe the browser you are using. I think this because the thing I created above works fine in IE (signed in fine) but not in FF (takes me to login page).
Edit: hmmm, well this feature did work a few seconds ago
| wumingsden wrote: | ||
Oooo, I think now I understand. You want it to work a little like this: http://mezmorizing.net/tester Username: demo Password: demo I think the problem maybe the browser you are using. I think this because the thing I created above works fine in IE (signed in fine) but not in FF (takes me to login page). Edit: hmmm, well this feature did work a few seconds ago |
Kind of like this, but I want the button that says Log In to be an image. (http://www.codetoad.com/html/buttons/image_submit_button.asp)
When I use this it doesn't work. I need it to.
P.S. The username and password are test not demo.
Try adding this in your login page
You can now add the image which acts as a submit button
| Code: |
|
<input type="hidden" name="login" value="submit"> |
You can now add the image which acts as a submit button
| Code: |
|
<input type="image"src="images/login.gif" name="login" > |
