內容簡介
這個外掛可以讓你的BuddyPress社群變成私人模式。你可以以兩種方式控制那些部分是開放給已登錄用戶,一種是「限制網站訪問,但允許一些公共頁面」,另一種是「允許網站訪問,但限制一些私人頁面」。此外,這個外掛可以封鎖非登錄用戶的小工具和所有RSS訂閱。
在預設模式下(限制訪問,但允許一些公共頁面),非登錄用戶只能訪問你的主頁面,或者訪問你想公開的某些頁面/區域的列表。已登錄用戶可以完全訪問網站。
如果你在未登錄方訪問私人頁面,你會被重定向到你選擇的登錄頁面(預設為主頁面)。
你可以使用特殊的配置php文件來設置非登錄用戶可訪問的URI,不需要任何數據庫調用。
在另一種模式(允許網站訪問,但限制一些私人頁面)中,未登錄會員可以完全訪問網站,但你可以使一些頁面/區域變為私人,只有已登錄用戶才能查看。這與預設模式相反。
在預設模式下,外掛會阻止所有小工具對非登錄用戶可見。這可以防止在未登錄用戶訪問你的網站時出現可能的私人信息。
你可以更改配置文件以便顯示某些小工具。在另一種模式下,所有小工具都會顯示,但你可以阻止應顯示給會員的小工具。
此外,所有的RSS訂閱都默認被封鎖。
你可能也想更改你的WordPress和BuddyPress設置中的這些設置。
BP設置:隱藏未登錄用戶的管理工具欄?= YES
WP設置:成員資格 - 是否允許任何人註冊?= NO
WP隱私設置:網站可見性=我想阻止搜尋引擎,但允許普通訪客
查看常見問題解答或下載中的示例配置文件以瞭解更多關於配置此外掛的信息。
你可以在此處查看預設模式下此外掛的實際運作示例:http://www.englishpubpool.co.uk/bppc_test/about/
請注意,這個外掛需要PHP 5。
如果你想確保用戶在閒置一段時間後不再保持登錄狀態(出於安全原因),那麼你可以使用這個外掛:
Inactivity Auto Sign Out plugin: https://wordpress.org/extend/plugins/inactivity-auto-sign-out-plugin/
外掛標籤
開發者團隊
原文外掛簡介
This plugin makes your BuddyPress community private. You can control which areas of your site are accessible to logged out users in two ways, “restrict site access, but allow some public pages” or “allow site access, but restrict some private pages”. This plugin also can block widgets from logged out users and block all RSS feeds.
In the default mode (restrict access, but allow some public pages), logged out users only have access to your homepage, or access to a list of pages/areas that you’d like to make public. Logged in members have full site access.
If you visit the community when you’re logged out and you’re visiting a private page, then you’re redirected to a landing page of your choice (defaults to the homepage).
You can set uris that are accessibly to non-logged in users using a special config php file – no database calls are needed.
In the alternative mode (allow site access, but restrict some private pages), logged out members have full site access, but you are able to make some pages/areas of your site private – so only logged in members are able to view them. This is the opposite to the default mode.
In the default mode, the plugin blocks all of your widgets from being visible to logged out users. This stops possible private information from being seen when non-logged in users visit your site.
You can change the config file so that some of your widgets are still displayed. In the alternative mode, all widgets are shown but you’re able to block widgets that should only be displayed to members.
Also, all RSS feeds are blocked by default too.
You might also like to change these setting in your WordPress and BuddyPress settings.
BP Setting: Hide admin bar for logged out users? = YES
WP Setting: Membership – Anyone can register? = NO
WP Privacy Settings: Site Visibility = I would like to block search engines, but allow normal visitors
See the FAQs or the example config file in the download for more information on configuring this plugin.
You can see an example of this plugin working in the default mode here: http://www.englishpubpool.co.uk/bppc_test/about/
Please note, this plugin requires PHP 5.
If you’d like to ensure that users don’t stay logged into your site after a set period of inactivity (for security reasons), then you could use this plugin:
Inactivity Auto Sign Out plugin: https://wordpress.org/extend/plugins/inactivity-auto-sign-out-plugin/
