Skip to content

codiiv/chatteradmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Forum Package - Chatter

Installation

Quick Note: This is package builds upon the thedevdojo/chatter Laravel forum package. Therefore, make sure you install it and configure it as needed. https://github.com/thedevdojo/chatter#installation

Also, this package is tested on Laravel 5.7 so far. It could work with 5.6 and 5.5, but I haven't done the necessary tests

  1. Include the package in your project

    composer require "codiiv/chatteradmin"
    
  2. Add the service provider to your config/app.php providers array:

    If you're installing on Laravel 5.5+ skip this step

    'providers' = [
        // ...
        Codiiv\Chatter\ChatterServiceProvider::class,
        // ...
    ]
    
    
  3. Publish the Vendor Assets files by running:

    php artisan vendor:publish --provider="Codiiv\Chatter\ChatterServiceProvider"
    
  4. Now that we have published a few new files to our application we need to reload them with the following command:

    composer dump-autoload
    
  5. Run Your migrations:

    NB: It is important to run the migrations so that you can set the super admin and other future features. This migration will create two additional tables on top of the ones created by the main thedevdojo/chatter

    php artisan migrate
    

    Quick tip: Make sure that you've created a database and added your database credentials in your .env file.

  6. Lastly, CONFIGURE SUPER ADMIN account.

    You can do this two ways

    A) Run this command php artisan chatter:superadmin someemail@somedomain.tld replacing someemail@somedomain.tld by the email of the user you want to set as super admin. Note that you can only have one super admin.

    IN a future version, we will add ability to have multiple admins, but the super admin role will remain one user

    OR

    B) - Once you have run php artisan migrate , look for the table *chatter_options and add a row with the following column values:

      option_name   >>  master_admin  
      option_value  >>  USER ID for the super admin
      autoload      >> 1
      created_at    >> 2018-11-13 00:50:12  (or whatever)
      updated_at    >> 2018-11-13 00:50:12  (or whatever)
    
    

Now, visit your site.com/chatteradmin and you should see your new forum admin once logged in!

Upgrading

Coming soon

Screenshots

About

This is an package that provides admin support for the devdojo/chatter Forum package for Laravel

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors