RevBlueJeans Posted May 13, 2008 Share Posted May 13, 2008 Long title... I am wanting to make a simple login script for my site. I would like to make it so that when you login on the site you are logged into the forum and vice versa. I also want the script to check the user's group and if the user is in a certain group give them access to another part of the site, while blocking it from everyone else. I use phpBB as my forum and my host DOES have php and mysql enabled... of course since I'm running a forum lol. Can you guys point me in the right direction? I know no php at all. I really shouldn't be doing this lol but I'm the only one on the team that's willing to do it and my webmaster has recently graduated so he's taking a break. Thank You, -Taylor Quote Link to comment Share on other sites More sharing options...
revraz Posted May 13, 2008 Share Posted May 13, 2008 The first thing you'll need to do is learn PHP. Can you guys point me in the right direction? I know no php at all. Quote Link to comment Share on other sites More sharing options...
peranha Posted May 13, 2008 Share Posted May 13, 2008 Since you are using a PHPBB forum, they may be able to help on their forum, since they will know it the best as they built it. Or you can ask in the 3rd party board of this forum, someone there may be able to help as well. Quote Link to comment Share on other sites More sharing options...
Loldongs Posted May 14, 2008 Share Posted May 14, 2008 Well all you need to do is query the table called users or members i cant really remember what PHPBB uses but the passwords are encrypted in just md5 so its really easy to do Quote Link to comment Share on other sites More sharing options...
DarkWater Posted May 14, 2008 Share Posted May 14, 2008 Since I <3 phpBB (no, really), I have a bit of knowledge with it. You need to look at the code that sets the login session variables and such and basically just emulate it on your home page. I'd REALLY learn PHP if I were you. Quote Link to comment Share on other sites More sharing options...
Loldongs Posted May 14, 2008 Share Posted May 14, 2008 Im sure there are heaps of premade php scripts out there you can use to do this but i would seriously learn php first http://www.php.net/manual/en/index.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.