denngarr/smf-bridge 问题修复 & 功能扩展

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

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

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

统计信息

  • 总下载量: 25
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2017-11-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固