[WordPress] 外掛分享: Show Content by User Level

前言介紹

  • 這款 WordPress 外掛「Show Content by User Level」是 2009-09-28 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2009-09-29,距離現在已有 5696 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.5 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

nicholascaporusso |

外掛標籤

role | content | permission | User-level |

內容簡介

此外掛可隱藏頁面(或文章)內特定的部分,讓使用者能夠在其用戶等級高於特定用戶等級時顯示。

因此,如果內容為用戶等級 X 可見:
1. 如果 X >0,未註冊的用戶將無法存取該特定內容。
2. 他們的用戶等級低於 X 的用戶將無法存取該特定內容。
3. 他們的用戶等級等於或高於 X 的用戶將能夠存取特定內容。

若要隱藏特定內容,請使用以下語法封裝隱藏的內容:
[hide {level}] {content} [hide {level}]
其中 {level} 為對應用戶等級的數字,而 {content} 則為您要隱藏的部分。

例如:
[hide 0] 您將始終看到此內容 [hide 0]
[hide 1] 如果您未登錄為訂閱者,您將看不到此內容 [hide 1]
[hide 2] 如果您未登錄為投稿人,您將看不到此內容 [hide 2]
[hide 3] 如果您未登錄為作者,您將看不到此內容 [hide 3]
[hide 4] 如果您未登錄為編輯,您將看不到此內容 [hide 4]
[hide 5] 如果您未登錄為管理員,您將看不到此內容 [hide 5]

組合式範例:
[hide 1] 如果您作為訂閱者 [hide 5] 登錄,您將能夠看到此內容,但是如果您未登錄為管理者 [hide 5],您將看不到此內容 [hide 1]

欲獲得進一步協助,請造訪 http://www.nicholascaporusso.com/showcontent-by-userlevel/

原文外掛簡介

This plug-in hides a specific part of the content of a page (or post) to all users whose user level is below a required user level.
Therefore, if a content is visible to user level X:
1. if X > 0 users who are not registered will not be able to access that specific content;
2. users whose user level is less than X will not be able to access that specific content;
3. users whose user level is equal or greater than X will be able to access that specific content.
To hide a specific content, use the following syntax to encapsulate the hidden content:
[hide {level}] {content} [hide {level}]
where {level} is the NUMBER corresponding to the user level, and {content} is the part of you want to hide.
Example:
[hide 0] You will always see this content [hide 0]
[hide 1] You will not see this if you are not logged as subscriber [hide 1]
[hide 2] You will not see this if you are not logged as contributor [hide 2]
[hide 3] You will not see this if you are not logged as author [hide 3]
[hide 4] You will not see this if you are not logged as editor [hide 4]
[hide 5] You will not see this if you are not logged as administrator [hide 5]
Fancy example:
[hide 1] You will see this if you are logged as subscriber [hide 5], but you will not see this if you are not logged as administrator [hide 5][hide 1]
For further help, please visit http://www.nicholascaporusso.com/showcontent-by-userlevel/

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Show Content by User Level」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Show User Level Content 》這個外掛非常簡單:它會隱藏指定使用者等級以下的所有使用者的內容。, 或者,您可以認為它只向指定使用者等級的使用者顯示內容。, 使用方法非常簡單,使用標...。
  • RegLevel 》在升級到 1.1 版本之前,請先閱讀常見問題解答!, 您可以透過加入特殊連結讓使用者註冊時自動套用特定的使用者等級/角色。, 需要將人員分成多個類別嗎?現在...。

文章
Filter
Mastodon