Jump to content

Archived

This topic is now archived and is closed to further replies.

csgcarl

Intergrate a forum?

Recommended Posts

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?

Thanks
Carl

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Hi Thanks for your reply could you maybe expand ok that abit as I dont quite follow you.

Cheers

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 :)

Share this post


Link to post
Share on other sites
Might I suggest SMF? It's free ;-)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.