內容簡介
當 WordPress 中建立、編輯或刪除使用者時,forma.lms 會相對建立、編輯或刪除對應的使用者。
當使用者登入 WordPress 後,他可以透過訪問自動產生的 SSO 頁面直接進入 forma.lms。
您可以將 SSO 頁面新增至功能表或使用提供的短碼讓使用者輕鬆進入該頁面並且進行 forma.lms SSO。
額外功能可透過 FLC 擴充套件使用。
相容於 forma.lms 1.x 系列 (1.3 或以上) 及 2.0 或以上版本。
教學指南
需求
PHP 版本需為 7.0 或以上。
PHP cURL 模組。
WordPress 4.0 或更高版本。
forma.lms 1.3 或更高版本。
短碼
[flc_sso_permalink /] 取得 SSO 頁面永久連結
[flc_sso_link target=’_self’][/flc_sso_link] 取得連結到 SSO 頁面的 HTML <a> 標籤。您可以為 <a> 標籤設定 ‘target’ 屬性 (‘_self’ 為預設),且如果短碼內容為空,將使用 SSO 頁面名稱作為內容。
外掛標籤
開發者團隊
原文外掛簡介
When a user is created, edited or deleted on WordPress, a corresponding user is created, edited or deleted on forma.lms.
After the user logs in to WordPress, he can directly enter forma.lms by visiting the automatically generated SSO page.
You can add the SSO page to a menu or use the provided shortcodes to make the users easily access it and SSO on forma.lms.
Addictional features available with FLC add-ons.
Compatible with forma.lms versions: 1.x (1.3 or greater), 2.x, 3.x, 4.x
Tutorial
Requirements
PHP version 7.4 or greater (tested up PHP 8.2).
PHP cURL module.
WordPress 4.0 or higher.
forma.lms 1.3 or higher.
Shortcodes
[flc_sso_permalink /] get SSO page permalink
[flc_sso_link target=’_self’][/flc_sso_link] get an HTML tag linking to the SSO page. A ‘target’ attribute can be specified for the target (‘_self’ is the default). The content of the shortcode will be the content of the tag (if empty, the name of the SSO page will be used).
