跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Comblock Login

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

Comblock Login

由 wp-comblock 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

Comblock Login is a professional and secure frontend authentication system designed to provide a seamless user experience outside the WordPress admin area. Unlike standard login plugins, Comblock allows you to transform your site into a multi-level portal through dynamic Custom Dashboards assigned to specific user roles.

The standout feature of this plugin is the Global Logout (Logout from all devices): an advanced security mechanism that enables users to terminate all active sessions across all devices with a single click, ensuring total protection if credentials are compromised. Every aspect of the login process is fortified with Nonce verification (anti-CSRF) and rigorous data sanitization, utilizing native WordPress core functions for maximum reliability.

With Comblock Login, you can:
* Create multiple private areas by assigning each dashboard to specific user roles (RBAC).
* Manage the entire user journey through dynamic shortcodes (Login, Logout, User Info).
* Protect data privacy by filtering which metadata to display via developer-friendly hooks.
* Monitor site security through integrated logging of access errors and permission violations.

This plugin doesn’t just hide the backend; it creates a secure, tailored ecosystem for your members, ensuring a smooth transition between public content and private dashboards.

Features

  1. Global Session Control: A high-end security feature allowing users to perform a simultaneous logout from all devices, instantly terminating every active session.
  2. Multi-Dashboard Management: Create unlimited and dynamic restricted areas (based on Custom Post Types) by assigning granular permissions based on user roles.
  3. Secure Frontend Login: A complete authentication system integrated directly into your site’s layout via shortcodes, removing the need for users to access /wp-login.php.
  4. Smart Redirect & Access Control: Intelligent management of post-login redirects and automatic content protection, with immediate redirection for unauthorized users.
  5. Bulletproof Security: Advanced protection featuring Nonce (CSRF) verification, input sanitization, and authentication through the secure wp_signon() native function.
  6. Extensible User Info: A dedicated shortcode to display profile data, featuring developer hooks (PHP filters) to customize which meta fields are shown or hidden.
  7. Security Error Logging: Integrated monitoring system that records login errors and permission breaches for total security oversight.

Usage

  • Use the shortcode [comblock_login] to display the login form. You can insert this shortcode into any page or post.
    Simple example (only required attribute):
    [comblock_login dashboard-post-id="8"]
    Complete example (with all optional attributes):
    [comblock_login id="subscriber-login" class="subscriber-form-login" dashboard-post-id="8" privacy-page-id="2"]
    Where:

    • dashboard-post-id is mandatory and represents the ID of a Dashboard post type created in the back office.
    • id, class, and privacy-page-id are optional, where privacy-page-id refers to the privacy policy page ID.
  • Use the shortcode [comblock_logout] only within the dashboard post type to display the logout link.
    Simple example (without optional attributes):
    [comblock_logout]
    Complete example (with optional attributes):
    [comblock_logout id="logout-link" class="btn-logout"]

  • Use the shortcode [comblock_disconnection] within the dashboard post type to display the disconnection link.
    Simple example:
    [comblock_disconnection]
    Complete example:
    [comblock_disconnection id="disconn-link" class="btn-disconnect"]

  • Use the shortcode [comblock_user_info] within the dashboard post type to display user information.
    Complete example:
    [comblock_user_info title="Profile Details" fields="display_name,user_email,billing_phone"]

    The fields attribute accepts comma-separated user meta keys. For security, you can control which fields are accessible using the following PHP filters:

    • comblock_login_user_ban_fields: Add keys to this blacklist to prevent them from being displayed, even if requested in the shortcode.
    • comblock_login_user_info_allowed_fields: Use this whitelist to explicitly permit custom meta keys (like WooCommerce or ACF fields).

    Example: How to allow a custom field
    Add this to your functions.php:
    add_filter(‘comblock_login_user_info_allowed_fields’, function($allowed) {
    $allowed[] = ‘billing_phone’;
    return $allowed;
    });

    These hooks enable developers to customize which user data can be displayed via the shortcode while maintaining control over security and privacy.

Security

The plugin implements the following security mechanisms:

  • Nonce verification for all critical login and logout actions to protect against CSRF.
  • Sanitization of input from login forms to prevent injection.
  • Authentication via WordPress’ secure wp_signon() function.
  • Strict session cookie management with SSL support.
  • Granular control of access permissions based on user roles defined for each dashboard.
  • Complete destruction of user sessions upon logout from all devices.

螢幕擷圖

  • Login form with shortcode
  • Editing Front-end dashboard with role-controlled access
  • Page with user information and logout option from all devices

安裝方式

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin via the ‘Plugins’ menu in WordPress.
  3. Configure the dashboards, the user roles that can access them, and the login page to which users will be redirected.
  4. Insert the shortcodes into pages or posts to display the login, logout, etc. forms.

常見問題集

What happens if a user tries to access a dashboard without the correct role?

The plugin automatically checks permissions. If a user lacks the required role or is not logged in, they will be redirected to the login page configured in the settings, and the unauthorized attempt will be recorded in the security logs.

Can I use this plugin alongside other membership plugins?

Yes. Comblock Login works independently using native WordPress roles and sessions. It is designed to be lightweight and won’t conflict with plugins like WooCommerce or MemberPress.

Does the “Logout from all devices” feature affect other users?

No. It only terminates sessions for the currently logged-in user who clicks the button. It is a per-user security feature.

How can I customize the look of the login form?

The login form is generated with standard HTML classes. You can easily style it using your theme’s CSS or by passing a custom class through the class attribute in the shortcode: [comblock_login class="my-custom-form"].

Are custom meta fields from ACF or WooCommerce supported?

Yes, but for security reasons, they must be explicitly allowed using the comblock_login_user_info_allowed_fields PHP filter. Please refer to the “Usage” section for a code example.

Does the plugin support SSL/HTTPS?

Absolutely. The plugin uses secure session cookie management and follows WordPress best practices for SSL-encrypted connections.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Comblock Login〉的開發相關工作。

參與者
  • wp-comblock

將〈Comblock Login〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.0

  • Initial version with login, logout, multiple dashboards, and integrated security management.

中繼資料

  • 版本 1.0.0
  • 最後更新 3 個月前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.8 或更新版本
  • 已測試相容的 WordPress 版本 6.8.5
  • PHP 版本需求 8.3 或更新版本
  • 語言
    English (US)
  • 標籤
    custom dashboardfrontend loginsecure loginuser management
  • 進階檢視

評分

這個項目尚無任何評論記錄。

Your review

查看全部使用者評論

參與者

  • wp-comblock

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.