1.8.28 • Published 4 years ago

@factor/plugin-forum v1.8.28

Weekly downloads
52
License
MIT
Repository
github
Last release
4 years ago

Overview

Factor forum is a powerful forum solution for your factor app.

This plugin comes with essential elements to run an efficient and professional community.

Features

  • Standard forum features: topics and replies
  • Pin and lock topic threads
  • Notification and subscribing to forum topics
  • Add and sort by category and tag taxonomies
  • High performance posting and real-time replies

Getting Started

To install and start using the forum, just add the package to dependencies:

npm add  @factor/plugin-forum

Customization

The customization system for this plugin is based on the standard factor-settings.js API that is provided by Factor. Just add values in your app's settings file to change the values. You can reference the settings file in this project for a list of available configuration options.

// app factor-settings.js
export default {
  forum: {
    indexRoute: "/my-forum-index-route",
    postRoute: "/my-forum-post-base-route",
    limit: 6,
  },
}

CSS Variables

This plugin makes use of a few CSS variables to enhance appearance. To change or setup these variables just add them to your factor-styles.less file.

The variables used are:

.factor-app {
  // The background color of your app
  --color-bg: #ffffff;
  // Background contrast color (highlights, etc.)
  --color-bg-contrast: #f7f7f7;
  // The primary color of your application
  --color-primary: #0496ff;
  // The standard text color in your app
  --color-text: #000000;
}

Overriding Components

It's possible and easy to override many of the components in the forum. This can be useful if the standard setting based customization just isn't enough.

To do this, first copy the original component from the plugin into you app.

Then reference where it is added as a setting in your factor-settings:

// Forum factor-settings.js
export default {
  forum: {
    components: {
      topicReply: () => import("./topic-reply.vue"),
    },
  },
}

And then simply add the overriding version of the component from your app:

// Your app factor-settings.js
export default {
  forum: {
    components: {
      topicReply: () => import("./my-forum/topic-reply.vue"),
    },
  },
}
1.8.28

4 years ago

1.8.22

4 years ago

1.8.15

4 years ago

1.8.12

5 years ago

1.8.11

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.10

5 years ago

1.7.9

5 years ago

1.7.8

5 years ago

1.7.2

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.3

5 years ago

1.6.0

5 years ago

1.5.26

5 years ago

1.5.24

5 years ago

1.5.21

5 years ago

1.5.18

5 years ago

1.5.17

5 years ago

1.5.16

5 years ago

1.5.14

5 years ago

1.5.12

5 years ago

1.5.8

5 years ago

1.5.7

5 years ago

1.5.6

5 years ago

1.5.4

5 years ago

1.5.0

5 years ago

1.4.11

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.2

5 years ago

1.4.0

5 years ago

1.3.12

5 years ago

1.3.11

5 years ago

1.3.10

5 years ago

1.3.8

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.3

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.10

5 years ago

1.2.5

5 years ago

1.2.2

5 years ago

1.2.0

5 years ago

1.2.1

5 years ago

1.1.42

5 years ago