定制 vojtasvoboda/oc-userimportexport-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

vojtasvoboda/oc-userimportexport-plugin

最新稳定版本:1.0.5

Composer 安装命令:

composer require vojtasvoboda/oc-userimportexport-plugin

包简介

User import/export plugin for OctoberCMS

README 文档

README

Codacy Scrutinizer Coverage License

Allow import or export Users managed by RainLab.User plugin.

  • create hundreds of accounts in a few clicks
  • CSV columns auto matching, rest columns can be matched drag and drop
  • import avatars from Media folder (see Import avatars section below)

Tested with the last stable OctoberCMS build 349.

Dependencies

Installation

  1. Install plugin VojtaSvoboda.UserImportExport
  2. New menu items Import and Export can be found at User backend management

Import users

  1. Create CSV files
  2. Required column is only email. If username not provided, import use email as username. If password not provided, import use username as password.
  3. Drag and drop CSV to import field. Imported users are automatically activated.

Import avatars

Just create users folder and insert images with name matching username. E.g. image 12905.jpg for user with username 12905, or image vojta.jpg for user with username vojta.

Import on Mac

  1. Create Excel sheet
  2. Save As Windows Comma Separated (it will create CSV with semicolons)
  3. Open CSV in Sublime Text and replace all semicolons by commas

Troubleshooting

Can't import CSV file? Try to save file in CP1250 charset (for example in Sublime Text 2).

Planned features

  • set avatar directory at import page
  • compatibility with RainLab.Location plugin (automagically extend YAML fields with state and country)
  • add Update checkbox, for updating existing records (see RainLab.Blog)
  • add checkbox for avatar image visibility (public/protected)
  • add checkbox for enable user activation

Feel free to send pullrequest!

Contributing

Please send Pull Request to master branch.

License

User import export plugin is open-sourced software licensed under the MIT license same as OctoberCMS platform.

统计信息

  • 总下载量: 823
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-01