Allow moderators to choose what threads to display in the portal.
An essential tool empowering forum moderators with enhanced control over thread visibility in the portal landing page. This intuitive plugin allows specific moderator groups to easily mark threads for display in the portal. Users benefit from a 'read more' tag that links to the complete full thread to continue reading and participate in the discussion. Additionally, you will have the option to send private messages or MyAlerts notifications to thread authors, informing them about their thread's status on the portal. With added functionality to filter portal threads by forum and custom moderation tools, this plugin ensures efficient and effective thread management for a dynamic forum experience.
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
- PluginLibrary for MyBB >= 13
- MyAlerts >= 2.0.4 (Optional)
.
├── inc
│ ├── plugins
│ │ ├── ougc
│ │ │ ├── ShowInPortal
│ │ │ │ ├── Hooks
│ │ │ │ │ ├── Admin.php
│ │ │ │ │ ├── Forum.php
│ │ │ │ ├── Templates
│ │ │ │ │ ├── editPost.html
│ │ │ │ │ ├── newReply.html
│ │ │ │ │ ├── newThread.html
│ │ │ │ │ ├── quickReply.html
│ │ │ │ ├── settings.json
│ │ │ │ ├── Admin.php
│ │ │ │ ├── Core.php
│ │ ├── ougc_showinportal.php
│ ├── languages
│ │ ├── espanol
│ │ │ ├── admin
│ │ │ │ ├── ougc_showinportal.lang.php
│ │ │ ├── ougc_showinportal.lang.php
│ │ ├── english
│ │ │ ├── admin
│ │ │ │ ├── ougc_showinportal.lang.php
│ │ │ ├── ougc_showinportal.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.
If you are updating to 1.8.36 from any previous version:
- After following the above steps, make sure to review your settings and templates as they were updated for this version.
To display the moderation option it is required that you edit the following templates for each of your themes.
- Open the
editpost_postoptions
template for editing. - Add
<!--OUGC_SHOWINPORTAL-->
after{$signature}
. - Save the template.
- Open the
newreply_modoptions
template for editing. - Add
<!--OUGC_SHOWINPORTAL-->
after{$stickoption}
. - Save the template.
- Open the
newthread_postoptions
template for editing. - Add
<!--OUGC_SHOWINPORTAL-->
after{$disablesmilies}
. - Save the template.
- Open the
showthread_quickreply
template for editing. - Add
<!--OUGC_SHOWINPORTAL-->
after{$closeoption}
. - Save the template.
Below you can find a description of the plugin settings.
- Allowed Groups
select
- Select the groups allowed to use this feature.
- Enabled Forums
select
- Select the forums where this feature should be enabled in.
- Enable Read More Tag
yesNo
Default:yes
- Enable users using a tag to cut portal messages.
- Read More Tag String
text
Default:[!--more--]
- Insert the string used to build the read more feature.
- Send PM Notification
yesNo
Default:no
- Send a PM to authors when moderators add or remove their threads from the portal.
- Send MyAlerts Notification
yesNo
Default:no
- Send an alert to authors when moderators add or remove their threads from the portal.
- Enable Forum Filtering
yesNo
Default:no
- Enable this to allow portal threads to be filtered by forum. Query parameter is
forumID
, example:./portal.php?forumID=2
.
- Enable this to allow portal threads to be filtered by forum. Query parameter is
It is possible to change the status of threads using custom moderation tools. For this follow the next steps.
- Go to the Administrator Control Panel, add a new custom moderation tool from Home » Moderator Tools » Add New Thread Tool.
- Fill down the form, go down below to the Show in Portal row under the Thread Moderation table.
- Select one of the presented options.
- No Change Default
- Show Adds threads to the portal.
- Hide Removes threads from the portal.
- Toggle Toggles the status of threads.
Forum display thread list and Search results page
You will now be able to change or toggle the status of multiple threads using the Inline Thread Moderation dropdown menu.
Show thread page
You will now be able to change or toggle the status of a threads using the Moderation Options dropdown menu.
- 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!