Codoforum related discussions
Integrated Login

I'm trying to integrate Forum login to our main site login. Goal is to allow users to sync Forum to main site. If while logged in to main site in Settings, if the user is detected as logged in to the Forum, they are presented option (checkbox) to sync to Forum. Once synced, when they login to main site, they are then automatically logged in to the forum. I thought it was simple as creating a Session ID which is added to the codo_sessions database table sid column (although not populating session_data column since not sure how to construct), and creating the two cookies: PHPSESSID which contains the same Session ID, and userid which contains the User Forum ID. Not working. Hints or suggestions?

I'm trying to integrate Forum login to our main site login. Goal is to allow users to sync Forum to main site. If while logged in to main site in Settings, if the user is detected as logged in to the Forum, they are presented option (checkbox) to sync to Forum. Once synced, when they login to main site, they are then automatically logged in to the forum. I thought it was simple as creating a Session ID which is added to the codo_sessions database table sid column (although not populating session_data column since not sure how to construct), and creating the two cookies: PHPSESSID which contains the same Session ID, and userid which contains the User Forum ID. Not working. Hints or suggestions?
98
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft