Requirement:
XThreads
Last Updated: 7 October 2012
This idea based on the MyBB Ideas section. When viewing the section, I think we can use XThreads to create a similar system for our forum. But we will try to make it for more general purpose.
Here is a simple example to do that:
Create or edit a forum with these settings:
- Template Prefix: xtsug_
- Show first post on every showthread page: Yes
- Settings Overrides:
- Setting: Showthread Options -> Post Layout
Value: horizontal
- Custom WOL Text:
- Forum Display:
- New Thread:
- New Reply:
- Show Thread:
Maybe we can disable the img and video tag and the post icons here (optional).
Create a Custom Thread Fields with these settings:
AdminCP -> Configuration -> Custom Thread Fields
- Title: Status
- Key: xtsug_status
- Applicable Forums: 'select our suggestion forum.'
- Input Field Type: Option Buttons
- Values List:
- Editable by / Required Field?: Administrators
- Allow Filtering: Yes
- Blank Replacement Value and Display Format:
This status can be used to set whether a suggestion already implemented, or already confirmed and in progress to be implemented, or rejected (we don't want to implement it). This status can be used for a very simple bug report.
Create new templates in Global Template:
AdminCP -> Templates & Style -> Templates -> Global Templates
- xtsug_forumdisplay_thread
- xtsug_forumdisplay_threadlist
- xtsug_forumdisplay_threadlist_rating
- xtsug_forumdisplay_thread_rating
- xtsug_postbit
- xtsug_postbit_first
- xtsug_postbit_first_posturl
- xtsug_postbit_posturl
- xtsug_showthread
- xtsug_showthread_noreplies
- xtsug_showthread_ratethread
Additional Info:
- For displaying the suggestion preview in threadlist, like the screenshot, we need to install the Thread Tooltip Preview plugin.
- There are two optional images needed: images/rate.jpg and images/comment.jpg.
- I don't have many idea, so, I just use a similar layout there. But it is depends on our themes though. So, just modify it as our needs.
- The templates above based on MyBB 1.6 template.
Screenshots:
Threadlist - Showthread
Live Demo:
http://www.14.mynie.co.cc/forumdisplay.php?fid=18
Please tell me if I do something wrong. I'm still learning
Change Logs: 05 February 2011