|
Author |
Message |
Kdawg
Senior WebHelper
![Senior WebHelper Senior WebHelper](images/rank_3.gif)
![](images/avatars/gallery/computers/php.gif)
Joined: 21 Apr 2003
Posts: 153
|
Posted:
Sat May 17, 2003 5:21 pm (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Is it possible to log into phpBB forums from and outside page, like the login at the bottom of the forum index but a different page? |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Kdawg Find all posts by Kdawg](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Daniel
Team Member
![](images/rank_6.gif)
![](http://www.4webhelp.net/forums/images/daniel_avatar.php)
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Sat May 17, 2003 6:19 pm (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Yes, it is, simply copy the code from the form at the bottom of the forum index . If you wish you can also have it redirect to a different page after you have logged in (default is the forum index). |
________________________________
![Image Image](http://www.4webhelp.net/images/daniel_sig.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Daniel Find all posts by Daniel](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Kdawg
Senior WebHelper
![Senior WebHelper Senior WebHelper](images/rank_3.gif)
![](images/avatars/gallery/computers/php.gif)
Joined: 21 Apr 2003
Posts: 153
|
Posted:
Sat May 17, 2003 7:39 pm (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Ok this is the code from the bottom of the page and it works fine
Code: | <form action="http://xboxtreme.com/forum/login.php" method="post" target="_top">
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" class="nav"><a href="index.php" class="nav">XboXtreme.com Forum Index</a></td>
</tr>
</table>
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th height="25" class="thHead" nowrap="nowrap">Please enter your username and password to log in.</th>
</tr>
<tr>
<td class="row1"><table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr>
<td colspan="2" align="center"> </td>
</tr>
<tr>
<td width="45%" align="right"><span class="gen">Username:</span></td>
<td>
<input type="text" name="username" size="25" maxlength="40" value="" />
</td>
</tr>
<tr>
<td align="right"><span class="gen">Password:</span></td>
<td>
<input type="password" name="password" size="25" maxlength="25" />
</td>
</tr>
<tr align="center">
<td colspan="2"><span class="gen">Log me on automatically each visit: <input type="checkbox" name="autologin" /></span></td>
</tr>
<tr align="center">
<td colspan="2"><input type="hidden" name="redirect" value="" /><input type="submit" name="login" class="mainoption" value="Log in" /></td>
</tr>
<tr align="center">
<td colspan="2"><span class="gensmall"><a href="profile.php?mode=sendpassword" class="gensmall">I forgot my password</a></span></td>
</tr>
</table></td>
</tr>
</table>
<input type="hidden" name="redirect" value="" /> </form> |
This is the code in the outside page and it doesnt work, it just takes you to the login page.
Code: | <TABLE cellSpacing=0 cellPadding=0 width=206 border=0>
<form action="http://xboxtreme.com/forum/login.php" method="post" target="_top">
<TBODY>
<TR>
<TD colSpan=4><IMG height=12
src="XboXtreme_com_files/search_01.gif"
width=206></TD></TR>
<TR height=18>
<TD height=18><IMG height=18
src="XboXtreme_com_files/search_02.gif"
width=10></TD>
<TD bgColor=white colSpan=2 height=18><input type="textbox"
name="username" style="height: 16px; border: 0px; font-size: 10px"></TD>
<TD height=18><IMG height=18
src="XboXtreme_com_files/search_04.gif"
width=10></TD></TR>
<TR>
<TD colSpan=4><IMG height=22
src="XboXtreme_com_files/search_05.gif"
width=206></TD></TR>
<TR height=18>
<TD height=18><IMG height=18
src="XboXtreme_com_files/search_06.gif"
width=10></TD>
<TD bgColor=white colSpan=2 height=18><input type="password"
name="password" style="height: 16px; border: 0px; font-size: 10px"></TD>
<TD height=18><IMG height=18
src="XboXtreme_com_files/search_08.gif"
width=10></TD></TR>
<TR>
<TD colSpan=4><IMG height=6
src="XboXtreme_com_files/search_09.gif"
width=206></TD></TR>
<TR>
<TD><IMG height=18
src="XboXtreme_com_files/search_10.gif"
width=10></TD>
<TD><IMG height=18
src="XboXtreme_com_files/search_11.gif"
width=114></TD>
<TD><input type="hidden" name="redirect" value="" /><input type =
"image" height=18 src="XboXtreme_com_files/butt_login.gif" width=72 border=0></TD><input
type="hidden" name="redirect" value="" /></form>
<TD><IMG height=18
src="XboXtreme_com_files/search_13.gif"
width=10></TD></TR>
<TR>
<TD><IMG height=14
src="XboXtreme_com_files/search_14.gif"
width=10></TD>
<TD><IMG height=14
src="XboXtreme_com_files/search_15.gif"
width=114></TD>
<TD><IMG height=14
src="XboXtreme_com_files/search_16.gif"
width=72></TD>
<TD><IMG height=14
src="XboXtreme_com_files/search_17.gif"
width=10></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD width=207></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top align=middle width=548 height="100%"> |
Can anyone find a mistake I made in the second code? |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Kdawg Find all posts by Kdawg](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Daniel
Team Member
![](images/rank_6.gif)
![](http://www.4webhelp.net/forums/images/daniel_avatar.php)
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Sat May 17, 2003 7:43 pm (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
What is Code: | input type="textbox" | That should be |
________________________________
![Image Image](http://www.4webhelp.net/images/daniel_sig.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Daniel Find all posts by Daniel](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Kdawg
Senior WebHelper
![Senior WebHelper Senior WebHelper](images/rank_3.gif)
![](images/avatars/gallery/computers/php.gif)
Joined: 21 Apr 2003
Posts: 153
|
Posted:
Sat May 17, 2003 7:58 pm (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
I changed that and it still doesnt work right ![Crying or Very sad](/forums/images/smilies/icon_cry.gif) |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Kdawg Find all posts by Kdawg](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Daniel
Team Member
![](images/rank_6.gif)
![](http://www.4webhelp.net/forums/images/daniel_avatar.php)
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Sun May 18, 2003 7:45 am (21 years, 1 month ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
It's your submit image then. Try replacing this:
Code: | input type ="image" height=18 src="XboXtreme_com_files/butt_login.gif" width=72 border=0> | with this:
Code: | input type ="image" height="18" src="XboXtreme_com_files/butt_login.gif" width="72" border="0" name="login" value"Log in" /> |
|
________________________________
![Image Image](http://www.4webhelp.net/images/daniel_sig.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Daniel Find all posts by Daniel](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.138004 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |