Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Basic php/mysql scheduling system for online tutoring
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
PHP Tutor Scheduler INTRODUCTION This is a very basic scheduling system for an online tutoring website. It is designed to integrate with Groupworld (https://www.groupworld.net), both hosted and enterprise versions, but could easily be modified to support other online tutoring systems. FEATURES - Admin control panel for creating users and sessions. - Automatically tracks login and logout times for users. - Ability to set start/end time for session, which is enforced. - Reminders automatically emailed to users 1 day and 1 hour before session. INSTALLATION  Edit config.php and db.php to your requirements.  Create the database: mysql -u root < tutor_scheduler.sql mysql_setpermission -u root (add a user "groupworld" to database "tutor_scheduler" with extended user privileges)  Create an admin user: mysql -u groupworld use tutor_scheduler insert into user values(null, 'admin', 'A', now(), 'firstname.lastname@example.org', 'password', 'admin', 'user', '', '', '', '', '', '', 101); (replace 'email@example.com' and 'password' with the admin username and password you want to use)  To automatically send out reminders, add a line like this to crontab (use the correct path to the send_reminders.php script): 0,5,10,15,20,25,30,35,40,45,50,55 * * * * nice -19 php /home/tutor_scheduler/admin/send_reminders.php  Log on as admin: https://yourserver.com/tutor_scheduler/ USING THE SYSTEM  Create students and teachers in the admin control panel.  Create sessions for those users in the admin control panel.  Teacher and students log in at the appointed time and are directed to their Groupworld conference room.  After the session has ended, users are automatically logged off. The start time is determined by the time that both users have logged in, and the end time is the start time + the scheduled session length.  Users' login and logout times are stored in the session list. Admin users can log into any session. CUSTOMIZATION See http://www.groupworld.net/api.shtml API parameters can be added to room.php, just before the groupworld.htmlgen call. By default each session is allocated its own Groupworld room, with its own storage space and whiteboard state. To make it so that the whiteboard is not persistent (i.e. that the contents are deleted when all users log off), just set the persistent_whiteboards Groupworld server option to false (/usr/local/groupworld/data/options in the enterprise license, or the "server configuration" page in the hosted control panel).