- Reason: This article should describe the new Thread Prefixes section in MyBB 1.6.
Contents |
Thread prefixes are used to describe or define some important things for the specified forums and for the specified usergroups.
Go to: ACP > Configurations > Thread Prefixes > Click on "Add New Thread Prefix" tab > and made a thread prefix using the following options:
- Prefix - Its an option which show thread prefix on thread prefix option list on new thread pages and edit post pages.
- Display Style - This is how the prefix will appear next to thread subjects. You may enter HTML markup here or simply use the same as the plain text version above.
- Available in forums - If you wish to show that prefix in all forums then select "All Forums" option, otherwise, if you want to show in selective forums then select "Select forums" and then select the forums you wish to add that prefix in.
- Available to groups - Similarly, If you wish to show that prefix to all usergroups then select "All groups" option, otherwise, if you want to show to selective usergroups then select "Select groups" and then select the usergroups you wish usergroups to show that prefix.
Press "Save Thread Prefix" button.
Yes, you may use tags to colorize your prefixes, like this;
<span style="color: #FFFF00; font-weight: bold; font-size: 11px;">YOUR_PREFIX</span>
Yes, by using the following core file edit, you can change the their order from Prefix ID to their Prefix Name.
Open ./inc/class_datacache.php file and find;
$query = $db->simple_select("threadprefixes", "*", "", array("order_by" => "pid"));
and replace it to;
$query = $db->simple_select("threadprefixes", "*", "", array("order_by" => "prefix"));
If you want to make an specific thread prefix as Mandatory while creating new thread (By mandatory it means that the selected prefix will be auto select and showed on the Prefix dropdown menu box), then open ./newthread.php and around line # 755 find;
$mybb->input['threadprefix'] = 0;
and change 0 to the Prefix ID number you wish to use it as a mandatory.
Page created by Yaldaram.
Home | Dashboard - Preferences - Version Check - MyBB Credits |
Configuration | Settings - Banning - Custom Profile Fields - Smilies - Word Filters - MyCode - Languages - Post Icons - Help Documents - Plugins - Attachment Types - Moderator Tools - Spiders/Bots - Calendars - Warning System - Thread Prefixes |
Forums & Posts | Forum Management - Forum Announcements - Moderation Queue - Attachments |
Users & Groups | Users - Groups - User Titles - Banning - Admin Permissions - Mass Mail - Group Promotions |
Templates & Style | Themes - Templates |