drupalninja/social

Twitter style social features for Drupal.

Installs: 8

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:drupal-module

dev-main 2022-10-07 03:05 UTC

This package is auto-updated.

Last update: 2024-04-07 06:13:25 UTC


README

This composer feature configures user profile pages to act like user timelines, similar to Twitter and other social media applications.

Read full tutorial: https://medium.com/@drupalninja/create-a-twitter-style-application-in-drupal-8207e4aaef96

Key Features

  • User timeline with short posts
  • User mentions
  • Threads
  • Likes
  • Follow user posts
  • Drush command for creating test users
  • Easy to customize

Quick start

  1. Install CKEditor libraries for mentions

    Follow CKEditor README instructions to install required libraries https://git.drupalcode.org/project/ckeditor_mentions/-/blob/8.x-2.x/README.md

  2. Install the Social feature module

    composer require 'drupalninja/social:1.x-dev'
  3. Enable Social feature

    drush en -y social
  4. Place Timeline block

    If you are not using the Olivero theme then you will need to place the Timeline block using either Block layout or Layout builder onto the user page.

  5. Create test users with comments

    Included in this feature is a drush command that will generate test users and comments.

    drush sdu

Customizing

  • Views: liked_posts and posts_timeline can be customized
  • "Posts" comment type can be customized