phpBB3 Login Integration

Integrate your website using phpBB3 to create login/registration.
Post Reply
User avatar
mike
Site Admin
Posts: 52
Joined: Tue Jun 25, 2019 6:08 pm
Location: Southern USA
Contact:

phpBB3 Login Integration

Post by mike » Thu Aug 15, 2019 3:33 am

I've had people asking me how I made the login/registration feature on my website. Here's how it's done.

I have added a .zip file that contains the three files.

- index.php (just for an example)
- login.php (copy/paste the include statement from index.php)
- style.css (I pulled this from my main CSS)

I wrote these as I was creating the feature and have not edited the CSS for this post so you may have to do some editing.

Here are some of the contents of login.php (important stuff)

define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH :'./community/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

In the ROOT PATH where you see ../community change this to point to your forum and anywhere you see "community" in this file change it to yours.

When you get everything done it should look like the one on my site.
Attachments
Login.zip
(3.83 KiB) Downloaded 538 times

User avatar
mccloud
Posts: 4
Joined: Thu Jul 04, 2019 12:40 am

Re: phpBB3 Login Integration

Post by mccloud » Sat Aug 17, 2019 1:26 am

Hey Mike (long time :) ) thank u for adding this I am gonna to experiment with it. I don't have bb3 installed but I am going to now. :geek:

User avatar
mike
Site Admin
Posts: 52
Joined: Tue Jun 25, 2019 6:08 pm
Location: Southern USA
Contact:

Re: phpBB3 Login Integration

Post by mike » Sat Aug 17, 2019 1:40 am

Yea it has Mac, what like a month? Thanks for using one of my creations! ;)

Post Reply