My site td-clan.net using phpbb and a clan cms...I need help integrating them both so that they work together and users don't have to register twice.
How to integrate my forum and site login system
On main site have it call upon the member table in the forum database. Usually forum database for the membrs table will have username/password/email fields so you just have to make sure your login system checks those values and sets session on ur website for them.
If I have time I'll write up a code or something.
If I have time I'll write up a code or something.
i think you can make it work this way...
on your clan cms, where you have the login thing add something like this :
this could work ... im not really sure...
on your clan cms, where you have the login thing add something like this :
| Code: |
| <?php
if (isset($_SESSION['username'])) { echo " Welcome <b>". $_SESSION['username'] ."</b> !"; } else { echo "Click <a href=\"forums/login.php\">here<\a> to login"; } |
this could work ... im not really sure...
i already tried to integrate the username and password of other login system which you can also use for the phpbb so what ever your username and password in PHPBB is you can also use for the login system all you need is the same username and then encrypt the password using in MD5 encryption.. ofcourse your login system should connect to your PHPBB database. if you want to allow only adminstrator to login to your login system. just add this condition to your query user_level=1
so that's all. i hope it help!

so that's all. i hope it help!
modify the login script's user detail table to the one correspondin to tht of phpbb....
