Difference between revisions of "ForumIntegration"

From Warwick Student Cinema
Jump to: navigation, search
Line 9: Line 9:
 
*Redirect any login or register page requests on the forums to http://www.filmsoc.warwick.ac.uk/index.php?page=autologin
 
*Redirect any login or register page requests on the forums to http://www.filmsoc.warwick.ac.uk/index.php?page=autologin
 
Login & register links should be removed from phpBB and be provided solely through the website.
 
Login & register links should be removed from phpBB and be provided solely through the website.
  +
Determine what session / cookie settings are required for phpBB login and set it from the filmsoc website.
 
*Automatic phpBB account creation from website login creation.
 
*Automatic phpBB account creation from website login creation.
   

Revision as of 17:25, 13 October 2006

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
Login & register links should be removed from phpBB and be provided solely through the website.
Determine what session / cookie settings are required for phpBB login and set it from the filmsoc website.
  • Automatic phpBB account creation from website login creation.

Would be nice:

  • Make look of forums closer to rest of website

Whould be nice, but particularly difficult:

  • Make phpBB use the same user ids as the filmsoc website login