csgcarl Posted June 5, 2006 Share Posted June 5, 2006 Hi, Ive searched google every where basicly but can not find this! Basicly I have a site that members can log into and a forum but everytime a member registers they have to signup on forum and site, how can i make it so they register once and it creates an account on site and forum? also so when they log into site it logs them into forum?ThanksCarl Quote Link to comment https://forums.phpfreaks.com/topic/11266-intergrate-a-forum/ Share on other sites More sharing options...
ober Posted June 6, 2006 Share Posted June 6, 2006 You need to use the forum's login table and build sessions like they do (if they use sessions) so it carries over between the two. Quote Link to comment https://forums.phpfreaks.com/topic/11266-intergrate-a-forum/#findComment-42387 Share on other sites More sharing options...
csgcarl Posted June 6, 2006 Author Share Posted June 6, 2006 Hi Thanks for your reply could you maybe expand ok that abit as I dont quite follow you.Cheers Quote Link to comment https://forums.phpfreaks.com/topic/11266-intergrate-a-forum/#findComment-42461 Share on other sites More sharing options...
.josh Posted June 6, 2006 Share Posted June 6, 2006 you have to look at your forum's script and find out what all is inserted into its table when you register (like username, password, register date, etc...) you must then make your site script register the user the same way (inserting the same information into the same table(s)). then you have to look at your forum's login script and see what kind of information is being retrieved and carried in the session, that makes the user "logged in" (such as their username, password, etc..) and create the same session variables on your site's login script, so that when they login on your site, those session variables will be created, so that if they then go to the forum, it will show them as logged in.unfortunately, we cannot get more specific than that, since we don't know which forum script you are using, and we don't know how your own site's script is setup. The best place to look for a solution like this is at the website for your forum (for instance, if you use phpbb then go to their forum), because this is a fairly common question, so I'm pretty sure it's already been addressed by people who use it, or maybe even the owners themselves. Quote Link to comment https://forums.phpfreaks.com/topic/11266-intergrate-a-forum/#findComment-42538 Share on other sites More sharing options...
csgcarl Posted June 6, 2006 Author Share Posted June 6, 2006 Thanks alot for your help I will do what you have said failing that I will get in tuch with them.Im using 'YABB' atm but thinking of maybe using invsion or VB.Cheers For All Your Help :) Quote Link to comment https://forums.phpfreaks.com/topic/11266-intergrate-a-forum/#findComment-42542 Share on other sites More sharing options...
ober Posted June 6, 2006 Share Posted June 6, 2006 Might I suggest SMF? It's free ;-) Quote Link to comment https://forums.phpfreaks.com/topic/11266-intergrate-a-forum/#findComment-42550 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.