Difference between revisions of "ForumIntegration"
Line 3: | Line 3: | ||
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. |
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: |
+ | ==Still to do:== |
*Populate people_forums with information for current forum accounts |
*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 |
*Make autologin automatically create a forum account for people without an entry in people_forums, and add a row to it |
||
Line 10: | Line 10: | ||
*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. |
*Determine what session / cookie settings are required for phpBB login and set it from the filmsoc website. |
||
− | **I had a quick look at that, they are a abit esoteric as phpBB uses its own session table and logic, and it is difficult to include phpBB files in the website without breaking our things. The autologin system should be almost as seamless. |
+ | **I had a quick look at that, they are a abit esoteric as phpBB uses its own session table and logic, and it is difficult to include phpBB files in the website without breaking our things. The autologin system should be almost as seamless. mattrix |
*Automatic phpBB account creation from website login creation. |
*Automatic phpBB account creation from website login creation. |
||
Line 20: | Line 20: | ||
Decide on a policy for transfering people who have different usernames or passwords |
Decide on a policy for transfering people who have different usernames or passwords |
||
+ | *I'm inclined to say let people keep their different usernames - see my email. mattrix |
||
− | |||
Decide on a policy for people who would like to keep different passwords |
Decide on a policy for people who would like to keep different passwords |
||
+ | *Forum passwords should become irrelevant as there won't be any way to log in to the forums directly. mattrix |
||
− | |||
[[Category:ToDo]] |
[[Category:ToDo]] |
Revision as of 17:53, 13 October 2006
I've created a table in filmsoc called people_forums that links pid of our system to column in web_users with 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.
- I had a quick look at that, they are a abit esoteric as phpBB uses its own session table and logic, and it is difficult to include phpBB files in the website without breaking our things. The autologin system should be almost as seamless. mattrix
- 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
Decide on a policy for transfering people who have different usernames or passwords
- I'm inclined to say let people keep their different usernames - see my email. mattrix
Decide on a policy for people who would like to keep different passwords
- Forum passwords should become irrelevant as there won't be any way to log in to the forums directly. mattrix