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!