The purpose of this project is to integrate an SMF installation with an existing site for the purpose of single sign-on/off. Changes to member accounts on the site need to be reflected in SMF and vice versa. Simple Machines Forum v. 1.1.3 (SMF) is installed on the site in its own database. LAMP (Linux/Apache/MySQL 4.1.21-standard /PHP v. 4.4.4)
A single sign-on function removes the need for members to login to both the site and the forum separately. This will require altering code on approximately eight existing pages on the site. Developer will identify the tables/fields in SMF that need to be tied to the main site functions as well as identify values that need to be passed to SMF during the various required processes listed below. Developer will provide written documentation in detail as to page and code modifications, relevant code, and settings that are involved. This documentation is needed to maintain/restore the integration during forum software updates.
1. SMF registration: this has been disabled through the SMF admin interface. The error message “Sorry, registration is currently disabled.“ which is displayed when attempting to register through SMF needs to be modified as follows; “You must be a subscriber in order to post in this forum. Click here (link to be provided) to subscriber now. Click here (link to be provided) to find out more.”
2. Subscribe: This site has an existing subscription process which will need to be amended to create a parallel account with SMF at the same time a new subscriber account is created. Forum access privileges (“Regular members”) and other default settings related to the forum will need to be created at this time.
3. Re-Subscribe: an existing member with expired subscription can re-subscribe at a later date. Re-subscribing updates their SMF account returning to “Regular members” status.
4. Account management (by admins): Altering member account status affects the SMF account status as described above.
5. Account management (by member): members may change their email address on their account management page which would need to be updated in their SMF account as well.
6. Login/logoff: Existing log-in/off functions check and update member account status, track IPs, and a few related settings. These functions need to be modified to update SMF values as well.
7. Automatic log-off: auto log-off performs the same updates as above (login/off). SMF needs to share the “time out” function. If an automatic log-off function is pre-built into SMF then we need only make logging off from the forum also update the main site database tables that monitor logins (as described above).
8. New Mail Alert: This creates a n alert on pages outside the forum when a member receives new mail. An animated gif substitute image is desirable.
General Requirements (as appropriate)
• Code required functions using PHP and other languages as appropriate to the functioning of the site.
• Comment/document code for ease of use in post project management, and provide other documentation as necessary to maintain site and modify key values.
• Modify web pages as necessary.
• Modify MySQL database.