This plugin serves as a template for developers looking to create their own plugins for the Chatter Forums module.
- Adds a example widget to the forum and configuration settings.
- HumHub 1.16.0+
- Chatter Forums module
- Download:
git clone https://github.com/GreenMeteor/example-plugin.git
- Place:
- Extract and place the
example
folder inchatter/plugins/
. - Or Admin Panel > Modules > Chatter Forums > Forum Settings > Plugin Uploads
- Extract and place the
- Settings:
- Admin Panel > Modules > Chatter Forums > Plugin Manager >
Example Plugin
settings.
- Admin Panel > Modules > Chatter Forums > Plugin Manager >
This example plugin displays an example widget on the forums of any Chatter Forums instance that is enabled.
graph TD
A[example] --> B[assets]
A --> C[controllers]
A --> D[models]
A --> E[views]
A --> F[Plugin.php]
A --> G[config.php]
A --> H[plugin.json]
A --> I[README.md]
B -->|"CSS, JS, images"| B1[Static files]
C -->|"Action handlers"| C1[Controller classes]
D -->|"Data structures"| D1[Model classes]
E -->|"Templates"| E1[View files]
F -->|"Main plugin class"| F1[Plugin logic]
G -->|"Configuration"| G1[Plugin settings]
H -->|"Metadata"| H1[Plugin information]
I -->|"Documentation"| I1[Usage instructions]
- Fork the repo.
- Create a branch.
- Commit and push changes.
- Create a pull request.
Visit GitHub Issues.
Licensed under the AGPL-3.0 License. See the LICENSE file.
Developed by Green Meteor.