Loading...


bookmark - How To Put A Phpbb Login Box On Your Main Site. Code and .php included!!!

How To Put A Phpbb Login Box On Your Main Site. - Code and .php included!!!

 
 Discussion by GM-University with 20 Replies.
 Last Update: April 4, 2010, 8:19 am
 
bookmark - How To Put A Phpbb Login Box On Your Main Site. Code and .php included!!!  
Quickly Post to How To Put A Phpbb Login Box On Your Main Site. Code and .php included!!! w/o signup Share Info about How To Put A Phpbb Login Box On Your Main Site. Code and .php included!!! using Facebook, Twitter etc. email your friend about How To Put A Phpbb Login Box On Your Main Site. Code and .php included!!! Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

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.
:D

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. :o[/note]

   Sun Apr 17, 2005    Reply         

The link in the first post is incorect, the correct link would be http://www.prankplace.cjb.net/Untitled-2.php
Sorry. :o

   Sun Apr 17, 2005    Reply         

Ooh, who where the people who tested it out?

   Sun Apr 17, 2005    Reply         


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

   Sun Apr 17, 2005    Reply         

[Attachment: #13]

QUOTE (Phi)

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



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>

   Sun Apr 17, 2005    Reply         

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.

   Mon Apr 18, 2005    Reply         


QUOTE (snlildude87)

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.



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...

   Mon Apr 18, 2005    Reply         

Just go to this link: http://www.trap17.com/forums/edit-profile-info.html and edit the "profile information"

   Mon Apr 25, 2005    Reply         

Nice code man, might use. Also is this for PHP or PHPbb, because I am just not sure..:lol: (n00b alert..)

   Tue Apr 26, 2005    Reply         

QUOTE (Hurley)

Nice code man, might use. Also is this for PHP or PHPbb, because I am just not sure..:( (n00b alert..)


PHPbb is a Forum, based on Php! :(

   Thu May 5, 2005    Reply         

hey, is it possible to make it smaller?.like i need it for my site www.clanf58.yurx.com..but how do i make it smaller, sry im really new to this
souljaa

   Tue Aug 29, 2006    Reply         

Nice tut/ code, but where do you insert his code at and also is there anything we need to change to it to fit our sites needs.

   Wed Aug 30, 2006    Reply         

you know you can use Bravenet.com/net it is allot cooler then what this guy has, just gatta sign up(free) and make a search for password gate, it is allot more easyer to create users and passwords, allong with links to each user, so you don't have everyone going to 1 main site, so you should check it out , iff you wanna see what it looks like go to voltahit.741.com and check out what i did to mine

   Thu Sep 21, 2006    Reply         

Bravenet password gateway is just the masking of url and its not a proper login, and its not secure and it does not work with those php login and its very limited... And this is a phpBB login which bravenet never had it and this tutorial is about making your site have a phpBB login...

   Thu Sep 21, 2006    Reply         

interesting code. I was looking for such a thing on my upcoming forum and this would really help. Does it work on IPB or other forums though?

   Fri Sep 22, 2006    Reply         

Anyone know if there is a html form of this script? Thanks in advanced!
-Cosmic

   Sat Nov 4, 2006    Reply         

This IS an HTML version. No php required for this to work.

   Sat Nov 4, 2006    Reply         

hi GM-University,
thanks for this tutorial
i'de like to test this one on my own local webserver
i have a main page written in PHP

http://127.0.0.1
and have also a directory named forums, where i have installed the free forums phpbb
i each it using this url
http://127.0.0.1/forums

thx in advance


Ibn Mousa

   Tue Nov 14, 2006    Reply         

Replying to GM-UniversityReplying to GM-University
My MINOR son searched on how to create a login box on a website and the link on here is for a porn site.
I do not appreciate this at all. If you want to post links like this label it adult content and not on a page like this. That would be on a page for people who are looking for smut like porn, not for creating a login box!

   Wed May 14, 2008    Reply         

login script connection and enter code creation point how toHow To Put A Phpbb Login Box On Your Main Site.

How do I connect the login box I got here to a collection point that collects user names and passwords so that every one who joined my website can log back in ?

In other words how do I create a sign up box and connect it to the login page ? I mean I got the login script here but what good is it without the connection from the sign-up script. The user must pick up his unique code in his email before logging in 

I also need to find a way to generate these unique codes for each user and each user name that only last 30 days max and then must be regenerated by the user. 

More or less is this to complicated ??

-reply by chuck

   Thu Oct 15, 2009    Reply         

Reply to How to put phpbb login boxHow To Put A Phpbb Login Box On Your Main Site.

Dear GM,

Nice post. Actually I was looking for this type of material only.

Only one more help required from your end, I.E. If I use this in my website, the website appearance will be good. But, how do I connect this to my database. That is, I'm not a technical guy, if you can help me setting up a registration box along with login and logout box in my website, through which all the visitors of my site can have personal space for their data OR resume.

My site name is equadrants.Com.

Kindly help. Please reply on equadrants@india.Com

Warm Regards:

Swati Saha

   Sun Apr 4, 2010    Reply         

Quickly Post to How To Put A Phpbb Login Box On Your Main Site. Code and .php included!!! w/o signup Share Info about How To Put A Phpbb Login Box On Your Main Site. Code and .php included!!! using Facebook, Twitter etc. email your friend about How To Put A Phpbb Login Box On Your Main Site. Code and .php included!!! Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

Html Tag For A Code Box

Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they show you a code you can use for javascript and stuff like that. I would like to know the HTML code for those boxes. Thanks in advance for your help. ...more

   21-Aug-2005    Reply         

Php And Mysql Programming

hi everyone! I am making a program using php and mysql...I am a noob on this so i need your help guys...I want to make a simple program that will some values and then store them on a database and then retrieve them...uhmm let me give an example out put of what i need. T ...more

   05-May-2008    Reply         

Codelobster Php Edition

I strongly recommend you to try Codelobster PHP Edition. It's a free PHP IDE, which also can be used like editor for HTML, PHP, CSS, JavaScript files with very useful option Portable. Shortly about basic features: - Highlighting, autocomplete and context hel ...more

   18-Dec-2010    Reply         

Test Your Php Pages W/o Upload/internet complete *working* guide on how to test your php pages   Test Your Php Pages W/o Upload/internet complete *working* guide on how to test your php pages (67) (0) Installing And Connecting To A Ventrilo Server   Installing And Connecting To A Ventrilo Server