Online Lesson Booking system (OLB) was made in order to equip a web site with the reservation-form and scheduler for one-to-one online lesson.
Teacher (author) sets up a timetable using a scheduler, and member (subscriber) makes a reservation by clicking timetable.
Teacher and a member are informed by e-mail in the case of reservation and cancellation.
- 管理画面を開き「プラグイン：新規追加」にて “Online Lesson Booking” で検索します
- “/wp-content/plugins/” ディレクトリに、”online-lesson-booking-system” フォルダをアップロードします
- Open the admin-page, search in keyword “Online Lesson Booking” from “Add new” page in “Plugins” menu.
- Click “Install now”.
- Activate plug-in after install-package is downloaded.
- Some special pages are already created automatically, when the plug-in was activated.
- Add widgets “Members only” and “Teachers only” and “Admins only” to the widget-area.
- Donwload plugin file and unzip it.
- Upload “online-lesson-booking-system” folder to the “/wp-content/plugins/” directory
- Activate the plugin through the “Plugins” menu in WordPress
Plugin set up
Plugin set up:
- Open the WordPress admin panel, and go to the plugin option page “OLBsystem”.
- Menu “OLBsystem > General” is setup about reservation and a timetable.
- Menu “OLBsystem > Special pages” is setup of the name (slug) of a page indispensable to a system.
- Menu “OLBsystem > Mail” is Edit of the text of notice mail.
- Some special pages are already created, when the plug-in was activated.
Edit the schedule of teacher
- 各講師の紹介記事を投稿し、ショートコード [olb_weekly_schedule id=”xx”] を挿入します
- “id” は講師のユーザーIDです。IDは、管理画面のユーザー一覧で確認できます
Scheduler for Teacher:
- Add some users as teacher. Teacher’s role is “author”.
- Log in as a teacher. Access the “editschedule” page and set a schedule.
- Make the information of each teacher as “post” (ex. with “teacher” category, etc.), and insert short cord [olb_weekly_schedule id=”xx”].
- “id” is ID number of each teacher. ID number is confirmed with a list of users in admin-page.
- 会員は自らユーザー登録をします。会員はSkype IDを入力します
- Ver 0.4.0以降では「チケット制」を使うことができます
- Check the item of the “membership” (anyone can register) in the admin page of WordPress.
- A “new user’s default role” is “subscriber”.
- Members perform new user’s registration themselves. Member must set item “Skype ID”.
- Administrator update the item “term of validity” of member’s profile. (ex. after checking the payment from a member, etc.)
- “Ticket system” can be chosen from version 0.4.0.
How is reservation information saved?
An original table is created in a database, and it saves there.
Is a member controlling function included?
Not include. Please use the “membership” which is a standard function of WordPress, or compensate with other plug-in.
Contributors & Developers
“Online Lesson Booking” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fixed the “Notice” displayed when adding widgets.
- Fixed an issue where the admin couldn’t canceled “pretending”.
- Fixed cURL timeout issue.
- Fixed a warning in “Ticket logs” page.
- Fixed a vulnerability issue.
- The deprecated function “create_function” is deleted.
- ‘Screen_icon’ on the admin-page has been deleted. And fixed some PHP ‘Notice’.
- The action of saveRoomURL is executed not only when “post” is published but also on “page” too.
- The short code can be used in the OLB widgets (Member only, Teacher only, Administrator only).
- Fixed a bug in which “teacher” attribute is released when importing posts for teacher with CSV.
- Fixed a bug where “teacher” attribute is released.
- “olb_can_cancellation” filter added.
- Fixed some notices and warnings displayed in “WP_DEBUG” mode.
- Several variables available for notification have been added.
- The bug by which the rest of a free lesson will be the negative value was corrected.
- Option which send reservation notifications to also administrator was added.
- Fixed a bug in the calendar.
( About the problem that occured when that will be specified the start day of the week )
- Domain Path of locale folder was changed “/languages”.
- The accessing to the cancellation URL for member by teacher is recirected to that for the teacher.
- Bug fix in “canReport()” and “report()”.
- Bug fix.
- “front.js” is loaded with the “jQuery” by the “wp_enqueue_script()”.
- Action hook “parse_request” was changed to “template_redirect”.
- Correction of the bug in which reservation fails in WordPress 4.4.
- The property “Teacher” is possible to set in a “Add New User” page.
If “Teacher” property was checked, “Role” is changed to “Author” automatically.
(It is so even in a “User Edit” page.)
- Bug fix caused by abolition of “WPLANG”.
- An incomplete file in Version 0.7.0 was complemented.
- The option which invalidates a judgement of “Term of validity” was added into the plugin option page “OLBsystem:General”.
- The time format of the “Reservation form (ja)/(en)” and the “Cancellation form (ja)/(en)” were corrected from “00:00:00” to “00:00”.
e.g. “2015-05-30 14:30”
- When the user opened a page which needs login, the user is returned to the page just after the login.
- The word in timetable which indicates the reservation state (‘Open’, ‘closed’, etc.) were changed to gettext.
Those can be translated.
- Small change in HTML. Some classes were added.
- The contents of a “Cancellation form for teacher” page and schedule list were changed a little.
- A detail of reservation which cancellation request already closed were linked in schedule list.
- Some filters were added.
- The mail address format of the reservation notice for the user was changed to “email@example.com” from “User <firstname.lastname@example.org>”.
Because a send error on wp_mail() occurs in several servers.
- Record sorting of the “member’s schedule” was corrected to an ascending order of time. (from descending order.)
- The default “width” of some tables (timetable, calendar, etc.) in “front.css” were changed.
- The bug of the notice mail of “reservation/cancellation” was corrected.
- The bug in the deadline time calculation which receives reservation and cancellation was corrected.
- The variable which can be used in the notice mail of reservation was added.
“%USER_TERM%” is the member’s term of validity.
“%USER_TERM_REM%” is the remaining days of a member’s term of validity.
“%USER_TICKETS%” is the number of tickets which the member owns.
- The update process of a teacher’s profile item “website” was improved.
The item will be updated by “bulk action (edit post) “, also by “Import”.
- Profile edit by a teacher was changed a little.
- Change of the term of validity by an administrator was changed a little.
- New information feed from “olbsys.com” was added.
- The bug in the case of the profile edit and display by teacher user was corrected.
- The filter hooks was added. Those are the receiver’s addresses of the notice e-mail of reservation (or cancellation).
- Malfunction was solved when used together with “Events Manager” etc.
(The malfunction is 404 errors when the subpage below an “Events” page is accessed, for example.)
- Small bug fix.
“Calendar” short code was added. On “Daily Schedule” pages, the date can be chosen from a calendar.
The type of a calendar is two kinds. They are “monthly” or “weekly”.
» About Daily schedule (ja)/(en).
- The message in a “Ticket-logs” was changed partially.
- Bug fix
- With the output of Short-code in contents, a translation file (.mo file) is read according to the value of current locale information (get_locale()).
(For example, in the cases of multilingualization etc.)
However, the translation files which are attached at present are only Japanese and English. Sorry.
- Bug fix
- Bug fix
- Bug fix
- The display style of “Ticket logs” was changed.
- Also when the “Term of validity” is extended, it is displayed on “Ticket logs”.
- Bug fix
- The limit of the number of reservation per month can be specified.
- “Ticket system” can be chosen. It is the system of giving each member tickets and making a reservation by consuming ticket. If tickets run short, the member has to purchase.
- Administrator can see the page which they use pretending to be a member or a teacher.
- Some special pages were added and changed.
- Some short-code were added.
- Bug fix
- “Members info” page was added one of special page
- Table structure and processing were changed
- “Admin only” widget was added
- Bug fix
- Small bug fix
- first release.