IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
2 Pages V   1 2 >  
Reply to this topicStart new topic

How To Put A Phpbb Login Box On Your Main Site.

, Code and .php included!!!


GM-University
no avatar
Super Member
*********
Group: Members
Posts: 287
Joined: 23-February 05
Member No.: 3,945



Post #1 post Apr 17 2005, 07:58 PM
I have included my coded file with this...
Ok here is the code.
CODE

//
//Create login area, replace the phpBB2 in /phpBB2/login.php with your forum's //directory
//
<form action="/phpBB2/login.php" method="post" target="_top">

<table width="25%" cellspacing="2" cellpadding="2" border="0" align="center">
 <tr>
<td align="left" class="nav"><a href="/phpBB2/index.php" class="nav">Prank Place Forum Index</a></td>

 </tr>
</table>

<table width="25%" 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">&nbsp;</td>
   </tr>
   <tr>
  <td width="11%" align="right"><span class="gen">Username:</span></td>
  <td>
    <input type="text" class="post" name="username" size="25" maxlength="40" value="" />
  </td>
   </tr>

   <tr>
  <td align="right"><span class="gen">Password:</span></td>
  <td>
    <input type="password" class="post" name="password" size="25" maxlength="32" />
  </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>

</form>


You can test this out on my site, here> http://www.prankplace.cjb.net/Untitled-2.php
If you like my little guide shout it on my forums shoutbox at the bottom of the page.
tongue.gif

Edit: Fixed incorrect link. -Spectre

[note=snlildude87]By GM's wishes, the password and username have been removed. If you want to test it, you will have to register. Sorry, but that's what you get when other abuse privileges. smile.gif[/note]

This post has been edited by snlildude87: Apr 26 2005, 12:37 AM
Go to the top of the page
+Quote Post
GM-University
no avatar
Super Member
*********
Group: Members
Posts: 287
Joined: 23-February 05
Member No.: 3,945



Post #2 post Apr 17 2005, 09:33 PM
The link in the first post is incorect, the correct link would be http://www.prankplace.cjb.net/Untitled-2.php
Sorry. unsure.gif
Go to the top of the page
+Quote Post
GM-University
no avatar
Super Member
*********
Group: Members
Posts: 287
Joined: 23-February 05
Member No.: 3,945



Post #3 post Apr 18 2005, 12:46 AM
Ooh, who where the people who tested it out?
Go to the top of the page
+Quote Post
Phi
no avatar
Member [Level 2]
*****
Group: Members
Posts: 79
Joined: 17-April 05
From: Memphis , TN
Member No.: 5,808



Post #4 post Apr 18 2005, 12:55 AM
nice tutorial GM , im going to try it out soon as i can . im going to try and write some tutorials too. this tutorial was very helpful i was looking for something like this in a long time. im glad i came here

-Phi
Go to the top of the page
+Quote Post
GM-University
no avatar
Super Member
*********
Group: Members
Posts: 287
Joined: 23-February 05
Member No.: 3,945



Post #5 post Apr 18 2005, 01:11 AM
QUOTE(Phi @ Apr 17 2005, 07:55 PM)
nice tutorial GM , im going to try it out soon as i can . im going to try and write some tutorials too. this tutorial was very helpful i was looking for something like this in a long time. im glad i came here

-Phi
[right][snapback]130814[/snapback][/right]


Here is an example for a login box to Trap17 that I want to put in my custonm title...
CODE
<form action="http://www.trap17.com/forums/index.php?amp;act=Login&amp;CODE=01" method="post" name="LOGIN" onsubmit="return ValidateForm()">
<div class="borderwrap">
 <div class="maintitle"></div>
  <div class="errorwrap"></div>
 <table width="60" cellspacing="1">
  <tr>
   <td width="60" height="74" valign="top">
    <fieldset>

     <legend><b>Log In:</b></legend>
     <table width="60" cellspacing="1">
      <tr>
        <td width="60"><b> Username:</b></td>
       <td width="60"><input type="text" size="25" maxlength="64" name="UserName" class="forminput" /></td>       </tr>
      <tr>
       <td width="60"><b> Password:</b></td>
       <td width="60"><input type="password" size="25" name="PassWord" class="forminput" /></td>

      </tr>
    </table>
    </fieldset>
    </td>
   <td width="60" valign="top">
    <fieldset>
     <legend><b>Options</b></legend>
     <table width="60" cellspacing="1">

      <tr>
       <td width="60"><input type="checkbox" name="CookieDate" value="1" checked="checked" /></td>
       <td width="60"><b>Remember </b></td>
      </tr>
      <tr>
       <td width="60"><input type="checkbox" name="Privacy" value="1" /></td>
       <td width="60"><b> Invisible</b></td>

      </tr>
     </table>
    </fieldset>
   </td>
  </tr>
  <tr>
    <td class="formbuttonrow" colspan="2"><input class="button" type="submit" name="submit" value="Log me in" />
     <a href="http://www.trap17.com/forums/how-put-phpbb-login-box-main-site-t20439.html">Click here</a> to learn how to do this!
     <input type="hidden" name="referer" /></td>
  </tr>
  <tr>

   <td class="catend" colspan="2"><!-- no content --></td>
  </tr>
 </table>
</div>
</form>
Go to the top of the page
+Quote Post
snlildude87
no avatar
Moderator
***************
Group: Members
Posts: 2,325
Joined: 8-March 05
From: Mawson, Antarctica
Member No.: 4,254



Post #6 post Apr 19 2005, 02:03 AM
Yikes! A login box for your custom title??! That's a bit complex, so good luck, GM!

By the way, some JavaScript doesn't work in the custom title such as the "onmouseover"...I tried doing that for my marquee, but it seems to block it for some weird reason.
Go to the top of the page
+Quote Post
GMTech
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 39
Joined: 8-March 05
Member No.: 4,293



Post #7 post Apr 19 2005, 02:07 AM
QUOTE(snlildude87 @ Apr 18 2005, 08:03 PM)
Yikes! A login box for your custom title??! That's a bit complex, so good luck, GM!

By the way, some JavaScript doesn't work in the custom title such as the "onmouseover"...I tried doing that for my marquee, but it seems to block it for some weird reason.
[right][snapback]131263[/snapback][/right]


I can't even seem to find the option to change my custom title, I've checked the whole user control panel, and am unable to find it...
Go to the top of the page
+Quote Post
Dooga
no avatar
Moderator
***********
Group: Members
Posts: 1,346
Joined: 26-December 04
From: Canada
Member No.: 2,940
myCENT:66.95



Post #8 post Apr 26 2005, 02:54 AM
Just go to this link: http://www.trap17.com/forums/edit-profile-info.html and edit the "profile information"
Go to the top of the page
+Quote Post
Hurley
no avatar
Member [Level 1]
****
Group: Members
Posts: 63
Joined: 3-January 05
Member No.: 3,091



Post #9 post Apr 26 2005, 07:04 AM
Nice code man, might use. Also is this for PHP or PHPbb, because I am just not sure..sad.gif (n00b alert..)
Go to the top of the page
+Quote Post
Wikinger38
no avatar
Newbie
*
Group: Members
Posts: 2
Joined: 5-May 05
Member No.: 6,676



Post #10 post May 5 2005, 11:56 PM
QUOTE(Hurley @ Apr 26 2005, 07:04 AM)
Nice code man, might use. Also is this for PHP or PHPbb, because I am just not sure..sad.gif (n00b alert..)
[right][snapback]134468[/snapback][/right]

PHPbb is a Forum, based on Php! huh.gif
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No new   56 ravi 49,674 1st October 2009 - 02:01 PM
Last post by: phpphp
No new 26 templest 31,463 15th June 2009 - 07:12 AM
Last post by: gannimel
No new   26 football123213 28,533 31st October 2009 - 02:05 PM
Last post by: TheDarkHacker
No New Posts 7 A200 1,332 23rd October 2009 - 02:07 PM
Last post by: SpiderVV
No New Posts   9 KooL 11,757 2nd April 2009 - 11:04 AM
Last post by: varalu
No New Posts   6 MSTR 14,869 16th August 2004 - 12:13 PM
Last post by: psp-playstation
No New Posts 4 zip_mc 13,321 22nd September 2009 - 10:26 AM
Last post by: akira550
No New Posts   5 zip_mc 7,619 10th August 2004 - 11:42 AM
Last post by: mmbg
No New Posts 8 psp-playstation 17,118 23rd June 2009 - 08:30 PM
Last post by: iworld200
No New Posts   9 cwalden 2,250 30th December 2008 - 05:03 PM
Last post by: rpgsearcherz
No new   22 CodeName_88 31,829 9th August 2004 - 08:32 PM
Last post by: CodeName_88
No new   14 Angelexi 18,086 23rd October 2009 - 12:50 PM
Last post by: TheDarkHacker
No New Posts   13 Evil Guy 2,957 23rd June 2009 - 08:15 PM
Last post by: iworld200
No New Posts 11 EricDrinkard 21,722 21st November 2004 - 04:34 PM
Last post by: habbohotel
No New Posts   1 contactskn 55 3rd November 2009 - 08:12 PM
Last post by: Nameless_


 



RSS Open Discussion Time is now: 22nd November 2009 - 10:00 AM

Web Hosting Powered by ComputingHost.com.