PHP Tutorials: phpBB Login Integration (Part 1)


22 thoughts on “PHP Tutorials: phpBB Login Integration (Part 1)

  1. Hi, I've tried following this tutorial and everything seem to work great but phpbb_check_hash command appears to be obsolete with the 3.1.x versions of PhpBB

    Does anyone know how to adjust the code to work with the newer phpbb versions?

  2. Very cool tutorial. I have one suggestion for you all.

    Add a new line:

    define('IN_PHPBB', true);

    at the begiining of login.php script, and you will not have to comment /phpBB/includes/functions.php first lines.


  3. I have 3 php scripts that I need to combine registration/login. One is Smarty-based script, the other is CodeIgniter based frame work, and the other is just ordinary php script. Any ideas of how I can achieve this? Thanks much.

  4. While this is a good tutorial for some purposes, people who use these instructions should be very aware that they are opening up a large security hole by following the directions to comment out the check for IN_PHPBB. Rather, the way you should handle this is just define IN_PHPBB in your file. There are other issues, but regardless this is a well done video.

  5. It should be mentioned that at 09:55 the proper approach would be to leave the file intact, and just do the following in the file before you require the functions.php

    define('IN_PHPBB', TRUE);

    that way phpbbs security is intact and you even utilise it in your script, neat!

  6. @ludmil1 This tutorial only helps you tu use the phpbb user database to authenticicate users on your site. I'm workong on the same as you (probably), and after you do everything like in this tutor (actually it's perfect), you will have to manage your site to use the same coockies and session id's as the phpbb uses, and that's the next step i think :)

Leave A Comment

Your email address will not be published. Required fields are marked *