Giter Site home page Giter Site logo

sama34 / ougc-display-message-in-forum-display Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 34 KB

Display the thread message inside the forum display thread listing.

Home Page: https://ougc.network

License: GNU General Public License v3.0

PHP 100.00%

ougc-display-message-in-forum-display's Introduction

Project logo

OUGC Display Message In Forum Display

Status GitHub Issues GitHub Pull Requests License


Display the thread message inside the forum display thread listing.

๐Ÿ“œ Table of Contents

๐Ÿš€ About

This user-friendly plugin allows thread messages to appear directly in the forum display, offering a convenient preview without entering individual threads. Administrators have the flexibility to showcase attachments, either partially or in full, alongside the thread messages. With customizable settings, admins can select specific forums to activate this feature and choose whether to display attachments or solely the thread message.

Go up to Table of Contents

๐Ÿ“ Getting Started

The following information will assist you into getting a copy of this plugin up and running on your forum.

Dependencies

A setup that meets the following requirements is necessary to use this plugin.

File structure

 .
 โ”œโ”€โ”€ inc
 โ”‚ โ”œโ”€โ”€ plugins
 โ”‚ โ”‚ โ”œโ”€โ”€ ougc
 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ DisplayMessageInForumDisplay
 โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Hooks
 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Admin.php
 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Forum.php
 โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ settings.json
 โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Admin.php
 โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Core.php
 โ”‚ โ”‚ โ”œโ”€โ”€ ougc_dmifd.php
 โ”‚ โ”œโ”€โ”€ languages
 โ”‚ โ”‚ โ”œโ”€โ”€ espanol
 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ admin
 โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ougc_dmifd.lang.php
 โ”‚ โ”‚ โ”œโ”€โ”€ english
 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ admin
 โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ougc_dmifd.lang.php

Installing

Follow the next steps in order to install a copy of this plugin on your forum.

  1. Download the latest package from the MyBB Extend site or from the repository releases.
  2. Upload the contents of the Upload folder to your MyBB root directory.
  3. Browse to Configuration ยป Plugins and install this plugin by clicking Install & Activate.

Updating

Follow the next steps in order to update your copy of this plugin.

  1. Browse to Configuration ยป Plugins and deactivate this plugin by clicking Deactivate.
  2. Follow step 1 and 2 from the Install section.
  3. Browse to Configuration ยป Plugins and activate this plugin by clicking Activate.

Template Modifications

To display the thread message or attachments it is required that you edit the forumdisplay_thread template for each of your themes.

  1. Open the forumdisplay_thread template for editing.
  2. Add {$thread['message']} wherever you want the message to be displayed.
  3. Add {$thread['attachmentlist']} to display all attachments.
  4. Add {$thread['thumblist']} to display only the thumb list.
  5. Add {$thread['imagelist']} to display only the image list.
  6. Save the template.

Go up to Table of Contents

๐Ÿ›  Settings

Below you can find a description of the plugin settings.

Global Settings

  • Enabled Forums select
    • Select the forums where this feature should be enabled in.
  • Display Attachments yesNo Default: no
    • Enable to display the thread attachments along the message.

Go up to Table of Contents

๐Ÿ“– Usage

This plugin has no additional configurations; after activating make sure to modify the global settings in order to get this plugin working.

Go up to Table of Contents

โ› Built Using

Go up to Table of Contents

โœ๏ธ Authors

See also the list of contributors who participated in this project.

Go up to Table of Contents

๐ŸŽ‰ Acknowledgements

Go up to Table of Contents

๐ŸŽˆ Support & Feedback

This is free development and any contribution is welcome. Get support or leave feedback at the official MyBB Community.

Thanks for downloading and using our plugins!

Go up to Table of Contents

ougc-display-message-in-forum-display's People

Contributors

sama34 avatar

Watchers

James Cloos avatar  avatar

ougc-display-message-in-forum-display's Issues

Add template variable automatically.

Is your feature request related to a problem? Please describe.
The plugin currently doesn't add any template variable. To make it easier for administrators the plugin should add the variable automatically.

Describe the solution you'd like
The modified templates should be forumdisplay_thread_deleted and forumdisplay_thread.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.