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
Requires
- ckeditor/ajax: ^4.14
- ckeditor/autocomplete: ^4.14
- ckeditor/mentions: ^4.14
- ckeditor/textmatch: ^4.14
- ckeditor/textwatcher: ^4.14
- ckeditor/xml: ^4.14
- drupal/ckeditor_mentions: ^2.0@RC
- drupal/flag: ^4.0@beta
- drupal/maxlength: ^2.0
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
-
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
-
Install the Social feature module
composer require 'drupalninja/social:1.x-dev'
-
Enable Social feature
drush en -y social
-
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.
-
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