[wordpress插件] Page Security & Membership页面安全性和成员资格

wordpress 插件 文章 2020-04-01 16:50 435 0 全屏看文

AI助手支持GPT4.0

评分
78
描述

Page Security & Membership lets YOU decide which users can access which content.

页面安全性和成员资格使您可以决定哪些用户可以访问哪些内容。

Add users to groups, set granular permissions for content, and finally take control of your website!

将用户添加到组中,设置内容的精细权限,最后控制您的网站!

Groups allow you to organize your users how YOU see fit, then use your groups to choose who can access posts, pages, custom content, or entire sections of your website.

组使您可以按照自己的意愿来组织用户,然后使用组来选择谁可以访问帖子,页面,自定义内容或网站的整个部分。

Create an intranet or a members-only area with just a few clicks, or build a subscription based system with automatically expiring memberships.

只需单击几下即可创建Intranet或仅限会员的区域,或构建具有自动过期的会员资格的基于订阅的系统。

You can even create multiple levels

您甚至可以创建多个级别

of security for powerful, granular protection of any sub-section on your site.

安全性,以对站点上的任何子部分进行强大,细致的保护。

PSC is created to be simple, yet powerful – and is designed to integrate seamlessly and intuitively with WordPress.

PSC的创建既简单又强大-旨在与WordPress无缝且直观地集成。

If you know how to use WordPress, you know how to use PSC.

如果您知道如何使用WordPress,就知道如何使用PSC。

Features

功能

    1. Easy to use and integrates seamlessly with WordPress.
    2. 易于使用并与WordPress无缝集成。

    3. Restrict your ENTIRE website (use WordPress as an intranet)!
    4. 限制您的整个网站(使用WordPress作为内部网)!

    5. Restrict categories, tags, or even custom taxonomy terms!
    6. 限制类别,标签,甚至自定义分类术语!

    7. Subscription support!

    8. 订阅支持!

      Set expiration dates for memberships.

    9. 设置会员的有效期。

    10. Create customized “Access Denied” pages!
    11. 创建自定义的“访问被拒绝”页面!

    12. Fully Ajax-loaded!

    13. 完全加载了Ajax!

      All your security updates are saved in real time!

    14. 您所有的安全更新都将实时保存!

    15. A built-in “Registered Users” group allows you to quickly create “registered users only” sections.
    16. 内置的“注册用户”组使您可以快速创建“仅限注册用户”部分。

    17. Fully-documented, contextual help is provided for every PSC feature (via the WordPress ‘Help’ tab)!
    18. 为每个PSC功能(通过WordPress的“帮助”标签)提供了文档全面的上下文帮助!

    19. Use simple, well-documented theme functions to easily automate your group memberships (You could even create an automatic subscription system)!
    20. 使用简单而有据可查的主题功能轻松地自动化您的组成员身份(甚至可以创建一个自动订阅系统)!

    21. Professionally maintained with frequent updates and improvements based on YOUR feedback!
    22. 根据您的反馈专业维护并进行频繁的更新和改进!

    Languages

    语言

      1. English
      2. 英语

      3. Italian (by Tristano Ajmone)
      4. 意大利语(由Tristano Ajmone撰写)

      5. French (by Sparza Benoit)
      6. 法语(由Sparza Benoit撰写)

      Theme Functions

      主题功能

      As of 1.4.x, Page Security is organized in a way that roughly corresponds to MVC guidelines.

      从1.4.x开始,页面安全性的组织方式大致上与MVC准则相对应。

      If you are a developer and want to take to extend any of PSC’s features, it’s usually as easily as calling any of the included static classes.

      如果您是开发人员,并且想扩展PSC的任何功能,通常就像调用任何包含的静态类一样容易。

      Most database-interaction functions can be found in /wp-content/plugins/contexture-page-security/core/queries.php – these are the same ones used by every facet of PSC and should be conveniently exposed to any other

      大多数数据库交互功能可以在/wp-content/plugins/contexture-page-security/core/queries.php中找到–这些与PSC各个方面都使用的功能相同,应该方便地暴露于其他任何功能

      plugins or themes.

      插件或主题。

      Here are just a few examples:

      这里只是几个例子:

      Add a User to a Group

      将用户添加到组

      $result = CTXPS_Queries::add_membership_with_expiration($user_id,$group_id);

      $ result = CTXPS_Queries :: add_membership_with_expiration($ user_id,$ group_id);

      Add a User with Expiration

      添加具有过期时间的用户

      $result = CTXPS_Queries::add_membership_with_expiration($user_id,$group_id,$expiration_date);

      $ result = CTXPS_Queries :: add_membership_with_expiration($ user_id,$ group_id,$ expiration_date);

      Change Membership Expiration

      更改会员资格期限

      $grel_id = get_grel($user_id,$group_id);

      $ grel_id = get_grel($ user_id,$ group_id);

      $result = update_enrollment_grel($grel_id,$expiration_date);

      $ result = update_enrollment_grel($ grel_id,$ expiration_date);

      Get a List of Groups

      获取组列表

      $result = CTXPS_Queries::get_groups();

      $ result = CTXPS_Queries :: get_groups();

      Get Protection Status of Current Page/Post

      获取当前页面/帖子的保护状态

      $result = CTXPS_Queries::check_protection();

      $ result = CTXPS_Queries :: check_protection();

安装步骤

Via WordPress Admin

通过WordPress管理员

    1. From your sites admin, go to Plugins > Add New
    2. 在您的网站管理员中,转到“插件”>“添加新内容”

    3. In the search box, type ‘Page Security by Contexture’ and press enter
    4. 在搜索框中,键入“按上下文的页面安全性”,然后按Enter键。

    5. Locate the entry for ‘Page Security by Contexture’ (there should be only one) and click the ‘Install’ link
    6. 找到“按上下文的页面安全性”条目(应该只有一个),然后单击“安装”链接

    7. When installation is finished, click the ‘Activate’ link
    8. 安装完成后,点击“激活”链接

    Manual Install

    手动安装

      1. Upload contexture-page-security folder to your /wp-content/plugins/ directory
      2. contexture-page-security 文件夹上传到您的 / wp-content / plugins / 目录

      3. Activate the plugin through the ‘Plugins’ menu in WordPress
      4. 通过WordPress中的“插件”菜单激活插件

      5. You’re finished!

      6. 您完成了!

        Start using Contexture Page Security.

      7. 开始使用上下文页面安全性。

下载地址
https://downloads.wordpress.org/plugin/contexture-page-security.1.5.15.zip
-EOF-

AI助手支持GPT4.0