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)
$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.
Integrate your website using phpBB3 to create login/registration.
3 posts • Page 1 of 1