rainlab/userplus-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rainlab/userplus-plugin

最新稳定版本:v2.0.2

Composer 安装命令:

composer require rainlab/userplus-plugin

包简介

User plus plugin for October CMS

README 文档

README

This plugin extends the User plugin with extra profile fields and features.

  • Adds the following extra fields to a user: company, phone, address_line1, address_line2, city, zip, state_id, country_id.
  • Adds an Address Book to store multiple addresses for a user.
  • A user can belong to a Country and/or State, sourced from the Location plugin.

View this plugin on the October CMS marketplace:

Address Book Component

The addressBook component is used to manage multiple addresses for a user. Enable or disable the address book using the System → User Settings → Profile page.

To see an example of the usage, we recommend installing this plugin with the RainLab.Vanilla theme.

Notifications Component

The notifications component is used to display notifications assigned to the user, it allows them to mark notifications as read. It is best to add this component to the layout, the component will render the popover in a hidden state.

{% component 'notifications' %}

The link to display notifications can be anywhere, and should have the data-notifications-toggle attribute to trigger the popover.

<button
    type="button"
    class="btn btn-default"
    data-notifications-toggle>
    View Notifications
</button>

You may also display a counter with the notifications.hasUnread check.

{% if notifications.hasUnread %}
    <span class="counter">{{ notifications.unreadCount }}</span>
{% endif %}

License

This plugin is an official extension of the October CMS platform and is free to use if you have a platform license. See EULA license for more details.

统计信息

  • 总下载量: 7.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 8
  • Forks: 23
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2016-07-16