內容簡介
總結:這個外掛提供 FamTree 區塊,展示配置的家族樹。視覺化是在虛擬 3D 場景中使用 ThreeJS 創建的,可以使用滑鼠或鍵盤進行導覽。可配置區塊以可視化創辦人的家族,此功能在區塊設置中可進行動態切換。支持多個家庭,並且可以在 famtree 選項頁面上進行配置。
1. 外掛提供了什麼區塊?
FamTree Block,展示已配置的家族樹。
2. 用什麼創建視覺化?
使用 ThreeJS 在虛擬 3D 場景中創建。
3. 如何進行導覽?
可使用滑鼠或鍵盤進行導覽。
4. 什麼提供了對家族樹上某個人的訪問?
選擇樹節點可提供對該人的元信息訪問。
5. 外掛是否支持多個家族?
是的,支持多個家族並可在 famtree 選項頁面上進行配置。
6. 如何實現訪問限制?
通過其他可用的 WordPress 外掛來實現。
7. 創建了哪個特定的使用者角色?
famtree,具有自定義能力來讀取和編輯保存的家族樹。
8. 如何配置家族樹關係和人員?
透過 famtree 選項頁面添加到管理面板中進行配置。
9. 儲存的資料存儲在哪裡?
在使用的數據庫的專用插件表中。
10. 只有誰可以在已發佈的頁面上看到家族樹?
只有已登入並具有 famtree 讀取訪問權限的使用者可以看到。
外掛標籤
開發者團隊
原文外掛簡介
The plugin provides the FamTree Block showing configured family trees. The visualization is created in a virtual 3d scene using ThreeJS
and can be navigated using a mouse or keyboard.
Selecting a tree node (a person of the family tree) provides access to meta information for this person if configured.
A block can be configured to visualize the configured family of a founder, this can be switched on run time if configured in the block settings.
Multiple families are supported and can be configured on the FamTree options page.
The source code of the plugin can be found on the related github page.
Configuration
The block itself does not support access restrictions,
this can be achieved by using one of the several WordPress plugins available.
The plugin creates a dedicated user role called ‘famtree’ with custom capabilities to read and write saved family trees.
The administrator role is also expanded to include these capabilities.
A FamTree options page has been added to the admin panel to configure family trees relationships and persons.
These data is stored in dedicated plugin tables of the database used.
All block instances use the stored informations to visualize the desired family trees.
by default, only logged in users with famtree read access can see the family trees on a pubished page.
The plugin can be configured to give every sites visitor access to the stored data.
