denngarr/smf-bridge
Composer 安装命令:
composer require denngarr/smf-bridge
包简介
This plugin uses the SeAT users with APIs to create SMF users and auto-login to the forums.
README 文档
README
This plugin is for Seat-2.x. It's purpose is to provide a user/authentication bridge between SeAT and Simple Machines Forum (SMF). The integration is done via cookies and direct database access as the SMF API uses globals everywhere, and .. just .. no.
If you have issues with this, you can contact me on Eve as Denngarr B'tarn, or on email as 'denngarr@cripplecreekcorp.com'
Quick Installation:
(Under the assumption you have an instance of Simple Machine Forum already installed and working)
In your SeAT home directory, edit the .env file and add the following:
SMF_CONNECTION=mysql
SMF_HOST=127.0.0.1
SMF_PORT=3306
SMF_DATABASE=<name of the SMF database>
SMF_USERNAME=<username to the SMF database>
SMF_PASSWORD=<password to the SMF database>
SMF_PREFIX=smf_
SMF_SETTINGS_PATH=<The full directory path to SMF Forum installation>
Change the above settings to meet your environment.
Next, in your seat directory (By default: /var/www/seat), type the following:
php artisan down
composer require denngarr/smf-bridge
After a successful installation, you can include the actual plugin by editing config/app.php and adding the following after:
/*
* Package Service Providers...
*/
add
Denngarr\Seat\SmfBridge\SmfBridgeServiceProvider::class
and save the file. Now you're ready to tell SeAT how to use the plugin:
php artisan vendor:publish --force
And now, when you log into 'Seat', you should see a 'Forum' link on the left.
Caveats:
- Do not use this as the 'admin' user. Use an actual Eve user via SSO is best.
- If you use the 'admin' user, change the username to your username
- There is an extra command called 'seat-ext:update:users'. This will create roles for each corp and join each user to their respective roles based on APIs
Remove reauthentication for Admin control (auth is all handled by SeAT now)
Log directly into SMF as 'admin' and go to: Admin->Configuration->Security and Moderation->General Check 'Disable adminstration security' Click 'Save'
Now, go into Members->Membergroups: Click on 'Administrator' Add your additional users that will act as Admins on the Forum. It may only be yourself.
Good luck, and Happy Hunting!! o7
denngarr/smf-bridge 适用场景与选型建议
denngarr/smf-bridge 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 25 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 11 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 denngarr/smf-bridge 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 denngarr/smf-bridge 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2017-11-03