denngarr / smf-bridge
This plugin uses the SeAT users with APIs to create SMF users and auto-login to the forums.
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Type:seat-plugin
Requires
- eveseat/eveapi: ^2.0
- eveseat/services: ^2.0
- eveseat/web: ^2.0
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