ForumIntegration
Revision as of 15:37, 13 October 2006 by 137.205.21.12 (talk)
I've created a table in filmsoc called people_forums that links pid of our system to the user_id in phpBB.
I've created a page on the main website called autologin that looks up the correct user_id, and then redirects to another page called autologin in the forums. This then logs the specified user_id into the forums using a phpBB function called session_begin. A cyptographic token is used to prevent unauthorized use of autologin.
Still to do:
- Populate people_forums with information for current forum accounts
- Make autologin automatically create a forum account for people without an entry in people_forums, and add a row to it
- Allow autologin to redirect to any forum page, not just the start page (for next part)
- Redirect any login or register page requests on the forums to http://www.filmsoc.warwick.ac.uk/index.php?page=autologin
Would be nice:
- Make look of forums closer to rest of website