Download the PHP package fof/discussion-templates without Composer

On this page you can find all versions of the php package fof/discussion-templates. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package discussion-templates

FoF Discussion Templates

License Latest Stable Version

A Flarum extension that allows you to create customizable templates for new discussions. Templates can be assigned per tag or set as a default for discussions without tags. Additionally, discussion owners and moderators can set reply templates to guide responses.

Note: This extension is a direct replacement for the abandoned askvortsov/flarum-discussion-templates. Upgrading from the old version is seamless - simply install this new version and your existing templates and settings will be automatically migrated!

Features

Installation

Install with composer:

Setup

Tag Templates

  1. Navigate to the Tags page in your admin panel
  2. Click on a tag you want to add a template to
  3. In the modal, you'll see a "Discussion Template" field
  4. Enter your template using markdown or BBCode formatting
  5. Save the tag

Default Template (No Tags)

  1. Go to the Extensions page in your admin panel
  2. Find "FoF Discussion Templates" and click settings
  3. Enter your default template in the "Template for discussions with no tag" field
  4. You can also enable "Append template when tags change" to update the composer when users modify tags

Reply Templates

For Discussion Owners:

  1. Navigate to one of your discussions
  2. Click the three-dot menu and select "Set Reply Template"
  3. Enter the template you want users to see when replying
  4. Save

For Moderators:

Permissions

Configure permissions in your admin panel under the Permissions page:

Usage

Creating a Discussion

When a user creates a new discussion:

Replying to a Discussion

When a discussion has a reply template set:

Notes

Updating

Links


All versions of discussion-templates with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^2.0.0
flarum/tags Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fof/discussion-templates contains the following files

Loading the files please wait ...