Display the thread message inside the forum display thread listing.
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.
The following information will assist you into getting a copy of this plugin up and running on your forum.
A setup that meets the following requirements is necessary to use this plugin.
- MyBB >= 1.8
- PHP >= 7.0
- MyBB-PluginLibrary >= 13
.
├── 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
Follow the next steps in order to install a copy of this plugin on your forum.
- Download the latest package from the MyBB Extend site or from the repository releases.
- Upload the contents of the Upload folder to your MyBB root directory.
- Browse to Configuration » Plugins and install this plugin by clicking Install & Activate.
Follow the next steps in order to update your copy of this plugin.
- Browse to Configuration » Plugins and deactivate this plugin by clicking Deactivate.
- Follow step 1 and 2 from the Install section.
- Browse to Configuration » Plugins and activate this plugin by clicking Activate.
To display the thread message or attachments it is required that you edit the forumdisplay_thread
template for each of
your themes.
- Open the
forumdisplay_thread
template for editing. - Add
{$thread['message']}
wherever you want the message to be displayed. - Add
{$thread['attachmentlist']}
to display all attachments. - Add
{$thread['thumblist']}
to display only the thumb list. - Add
{$thread['imagelist']}
to display only the image list. - Save the template.
Below you can find a description of the plugin 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.
This plugin has no additional configurations; after activating make sure to modify the global settings in order to get this plugin working.
- MyBB - Web Framework
- MyBB PluginLibrary - A collection of useful functions for MyBB
- PHP - Server Environment
- @Omar G - Idea & Initial work
See also the list of contributors who participated in this project.
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!