MyBB Community Forums

Full Version: Possible to have threads ordered by post date and not reply/bump
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
show by thread date Lightbulb  instead of show by reply date Sad

Sorry by i did a few queries on search and got no answer Huh

I am thinking on setting up a forum on a new server but all i've been seing is mybb's ordered by reply
what makes old stuff come to the top thread list

this is a no solution for what i am thinking/needing.

Probably you will even laugh on how simple this is, but i would prefer to know from you before installing.

Thanks in advance
Sofia

I am even ok if it means to get a plugin/add-on

the platform it's perfect for me from icon customization to structure it's just the ordering that won't work because it will make less usable.... pls help

Sort by creation time but by default with no option to change
... is this doable
Blush

please?! Heart

I am sorry if people think i am being lazy…

I've searched https://docs.mybb.com/1.6/Admin-CP-Forum-Management/
and it says:
Options: Board Default, Thread Subject, Last Post Time, Thread Starter, Thread Creation Time, Thread Rating, Number of Replies, Number of Views "

The question is if i can on default define by Thread starter only (and all others are disabled) Huh

TIA
default sorting options are available at the Settings of forum in forum management section.
they can be set for each forum while creating or editing a forum

[forum management (MyBB 1.6.x)]

Quote:Default Sort By
What should the threads be sorted by, by default?
Options: Board Default, Thread Subject, Last Post Time, Thread Starter,
Thread Creation Time, Thread Rating, Number of Replies, Number of Views

Default Sort Order
What should the default sort order be in this forum?
Options: Board Default, Ascending (A-Z, 0-9), Descending (Z-A, 9-0)

basically a user can select the topics sort order.
default sort order option is available through user control panel
and threads listing also has the sorting options.

Edit: user control panel doesn't has the default sort order option

those sort options available for user can be removed by editing the templates.

[templates guidance]

I'd suggest to request someone experienced to do it for you (hire or ask for volunteer help)
Can you suggest please any area here or any outside link where i can find that someone please
suggested link => Requests, Services & Jobs
A number of persons have posted their services (both paid & free). you can contact anyone.

however it is not a complex task.
if you can wait for sometime then someone might post required suggestions here
forum admin panel >> Templates & Style >> Templates >> [your theme templates]
>> forumdisplay_threadlist

find and remove code like below (which should be after {$threads})

<tr>
 <td class="tfoot" align="right" colspan="{$colspan}">
 <form action="forumdisplay.php" method="get">
 <input type="hidden" name="fid" value="{$fid}" />
 <select name="sortby">
 <option value="subject"{$sortsel['subject']}>{$lang->sort_by_subject}</option>
 <option value="lastpost"{$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
 <option value="starter"{$sortsel['starter']}>{$lang->sort_by_starter}</option>
 <option value="started"{$sortsel['started']}>{$lang->sort_by_started}</option>
 {$ratingsort}
 <option value="replies"{$sortsel['replies']}>{$lang->sort_by_replies}</option>
 <option value="views"{$sortsel['views']}>{$lang->sort_by_views}</option>
 </select>
 <select name="order">
 <option value="asc"{$ordersel['asc']}>{$lang->sort_order_asc}</option>
 <option value="desc"{$ordersel['desc']}>{$lang->sort_order_desc}</option>
 </select>
 <select name="datecut">
 <option value="1"{$datecutsel['1']}>{$lang->datelimit_1day}</option>
 <option value="5"{$datecutsel['5']}>{$lang->datelimit_5days}</option>
 <option value="10"{$datecutsel['10']}>{$lang->datelimit_10days}</option>
 <option value="20"{$datecutsel['20']}>{$lang->datelimit_20days}</option>
 <option value="50"{$datecutsel['50']}>{$lang->datelimit_50days}</option>
 <option value="75"{$datecutsel['75']}>{$lang->datelimit_75days}</option>
 <option value="100"{$datecutsel['100']}>{$lang->datelimit_100days}</option>
 <option value="365"{$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
 <option value="9999"{$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
 </select>
 {$prefixselect}
 {$gobutton}
 </form>
 </td>
 </tr>

Edit: instead of removing all that code, you may try changing <tr> to <tr style="display: none;">

[templates guidance]
All i can is LOVELY

thanks so much for your help
I will install and do a test run if i see it's a way to big task for me or not
if it is I will go there and get some help to do it.

Heart Sofia