前言介紹
- 這款 WordPress 外掛「WP4Labs」是 2011-04-15 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2011-04-19,距離現在已有 5128 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.1.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
paflow |
外掛標籤
內容簡介
使用 WordPress 3.1 - 舊版本將會造成問題。
WP4Labs 是一個小型外掛,提供一些功能來管理實驗室或科學團體。我設計了它用於兩個生物實驗室的網站。這不是我的第一個 WP 外掛,但這是我想要發布的第一個。我在不同伺服器上的四到五個 WP 安裝中進行了測試,看來都沒有問題。
它提供以下幾個部分:
- 一個進階用戶檔案,包含一些學術生涯日期的欄位
- 與此相關的是與 ariw.org 世界科學機構數據庫的連接,使查找特定機構及其 URL 更輕鬆
- 管理學術團體中用戶的可能性,例如校友、後博士、主持人等(可自定義)
- 本地化頭像功能,用戶仍可使用 Gravatar(也許有一天我要把它拿出來做成自己的外掛)
- 一個名為「project」的文章類型,可以將用戶連接到(科學)團體。只有具有 P.I. 狀態(作為組長)的用戶才能添加或刪除用戶。
建立了一個好的後端整合,我還提供了一些範例模板,讓您了解如何將提供的功能整合到您的主題中。
使用方法
為模板建立以下模板:
archive-biofoo_project.php - 這提供現有項目的概述。
single-biofoo_project.php - 查看單個項目。
您還可以編輯您的 author.php 以顯示額外資訊。
外掛包含一些有用的函數,可以構建這些模板:
= get_biofoo();
將從 get_userinfo(而不是 get_users!)或類似函數中取得索引,以獲取先進的個人資料。
例如:
$user->ba_degree or $user->ma_degree) or $user->phd_degree) : ?>
$user->ba_degree) : ?>B.A.ba_degree; ?>
$user->ma_degree) : ?>M.A.ma_degree; ?>
$user->phd_degree) : ?>Ph.D.phd_degree; ?>
echo_project_members(, , )
顯示(或返回)項目的所有成員:
INT 或 STRING
類型為 biofoo_project 的文章的 ID。您可以使用字符串「all」來獲取博客的所有使用者,而不是使用文章 ID。
STRING
預設值:盒子。
知道以下樣式:
-「longlist」-> 所有成員相互下方,帶有頭像和學術信息。
-「盒子」-> 盒子和
-「文字」-> 所有成員的名稱都在一行中,可以單擊鏈接。
-「返回」-> 不會顯示任何內容,但會返回該項目的成員數組。
BOOLEAN
預設值:true
如果設為 false,則不會顯示處於校友等被動用戶組中的用戶。
the_boss()
顯示項目的主要成員(P.I.s)。
function list_users_projects()
顯示用戶所屬的項目列表。
更新日誌
1.5
- 將文件和文件夾改名為 wp4labs。
原文外掛簡介
Use WordPress 3.1 – Older Versions will cause trouble
WP4Labs is a small Plugin, wich provides some functions to manange a lab or a scientific group. I designed it for the websites of two Biolabs. It’s far away from being my first WP-Plugin, but it’s the first one I want to publish. I tested it in four or five WP-installtions on dofferent servers, and it seems to all OK.
It provides the following parts:
– An advanced User Profile, containing some fields for academic career dates
– in connection with that a connection to the ariw.org-database of scientific institutions wordl wide, to make it easer finding a specific institution and it’s URL
– the possibility to manage users in academic groups, such as Alumni, Post-Doc, P.I. and such (customizable)
– a local-avatar function which maintains the possibility for users to use a Gravatar (maybe someday I should take this one out and make a own plugin out of it)
– a post-type called ‘project’, to which you can connect users to (scientific) groups. Only users with P.I.-status (for being leader of the group) can add or remove users.
A nice backend integration is built, I also ship some example templates to learn, how to integrate the provided functions to your theme.
Usage
For your template, build the following templates:
archive-biofoo_project.php – This gives an overview of the existing projects.
single-biofoo_project.php – Watch a single project.
Also you can edit your author.php to display the additional information.
The plugin contains some useful functions building these templates:
= get_biofoo();
Throw a from get_userinfo (not get_users!) or such into it, to get the advanced profile information.
Example:
ba_degree or $user->ma_degree) or $user->phd_degree) : ?>
ba_degree) : ?>B.A.ba_degree; ?>
ma_degree) : ?>M.A.ma_degree; ?>
phd_degree) : ?>Ph.D.phd_degree; ?>
echo_project_members(, , )
Displays (or returns) alls members of a project:
INT or STRING
The Id of a post with type biofoo_project. Instead of a post_id you may use the string keyword ‘all’ to get all users of the blog.
STRING
Default: boxes.
Knows the following styles:
* ‘longlist’ -> All members below each other with avatar and academic information.
* ‘boxes’ -> Boxes with
* ‘text’ -> The names of all members in a line as clickable links.
* ‘return’ -> Displays nothing but returns an array with the members of the project.
BOOLEAN
Default: true
If set to false, users, which are in passive user groups like alumni are not displayed.
the_boss()
Displays the leading members (P.I.s) of a project.
function list_users_projects()
Displays a list of projects, a user is member of.
Update Log
1.5
* Renamed file and folder to wp4labs.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP4Labs」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
User Switching 》這個外掛可讓您輕鬆在 WordPress 中點擊按鈕即可快速切換使用者帳戶。您會立即登出並切換成所需使用者。這對於測試環境、協助 WooCommerce 網站上的客戶或任...。
Simple Local Avatars 》若目前使用者擁有媒體權限,此外掛會在使用者資料中增加頭像上傳欄位,並像Gravatar一樣在使用時產生所需的大小。簡單輕量化的工具。, 只需編輯使用者資料,...。
User Profile Picture 》使用 WordPress 標準媒體上傳工具,為用戶設置或刪除自定義個人資料圖像。, 查看文件和範例, , 使用者必須擁有上傳圖像的功能(通常是作者角色或更高)。您可...。
Co-Authors Plus 》透過搜尋即時輸入框,將多個作者分配給文章、頁面和自訂文章類型。共同編寫的文章將顯示在共同作者的存檔頁面和其餐單中。共同作者可以編輯他們所關聯的文章...。
New User Approve 》「New User Approve 外掛」可以自動化您的 WordPress 網站上的使用者註冊流程。, 通常在 WordPress 網站上,使用者註冊流程非常簡單。當新使用者註冊後,他們...。
Import Users from CSV 》這個外掛允許您從上傳的 CSV 檔案中匯入使用者,會新增使用者的基本資訊、元資料欄位和使用者角色。, 您還可以選擇通知新使用者並在使用者登錄時顯示密碼提示...。
Basic User Avatars 》在前端頁面和編輯個人資料畫面上添加頭像上傳欄位,讓使用者可以上傳自定義個人頭像。, WordPress 社群和會員網站使用此外掛作為輕量級解決方案提供自定義的...。
WP Post Author – Boost Your Blog's Engagement with Author Box, Social Links, Co-Authors, Guest Authors, Post Rating System, and Custom User Registration Form Builder 》age/post using the plugin. Users can log in to your website using this block., Widgets, The WP Post Author plugin comes with two widgets, Author Bo...。
Password Strength Settings for WooCommerce 》透過強制使用更強的密碼和更嚴格的強度要求,幫助保護您的 WooCommerce 網站。, 這個外掛程式有什麼功能?, WooCommerce 內置了一個密碼強度計,強制使用者使...。
Starbox – the Author Box for Humans 》is plugin., , With Starbox, you'll have a beautiful Author Box that will help your readers connect with the humans behind your content. Plus, you'l...。
Posts 2 Posts 》此外掛允許您在任何類型的文章、頁面或自訂文章之間建立多對多的關係。以下是一些使用範例:, , 手動編輯有關聯的文章清單, 文章系列, 產品與零售商之間的關...。
View Admin As 》最終的使用者切換器和角色管理員, 此外掛程式將在管理列中新增一個選單項目,您可以透過它在 WordPress 後台中切換視角。, 無需登入其他使用者帳號,您便可以...。
Recently Registered 》此外掛會為使用者列表新增一個可排序的欄位,顯示他們註冊的日期和時間。, 主要適用於單站台(因為單站台中完全沒有這方面的顯示)。在多站台網路中,它會為...。
Export User Data 》一個可以匯出 WordPress 使用者資料和元數據的外掛。, 包括匯出使用者身分、註冊日期範圍、使用者元選項和兩種匯出格式的選項。, 此外掛程式設計用來匯出儲存...。
Simple Membership Custom Messages 》這個外掛可以讓你客製化會員外掛輸出的內容保護訊息。, 你可以為不同種類的保護訊息指定自訂的訊息內容。, 這個外掛需要安裝 Simple Membership Plugin。, 安...。