MyBB Community Forums

Full Version: Sorting Sticky Threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using MyBB to create a bunch of information. Using a thread for the info is working out great and I'm just adding a sticky to them in the discussion areas. In many cases the sticky info needs to be in order. I have been searching all over and cant find anything on doing this.

So the big question is, does anyone know how to get these in a set order or is there a mod/plugin that can be used to do it?
This is not possible without a plugin and there is nor a plugin for this AFAIK.
What you could try is using XThreads and the FAQ plugin by RateU. I am not sure if it sorts though.

http://mybbhacks.zingaburga.com/showthread.php?tid=1242
Well after many hours of searching and plugins I finally came up with a solution.

I got to thinking about the database and thread entries. I took a peek using PHPMyAdmin and found the time stamp of each post under dateline (All threads were listed under mybb_posts). The time is presented in Unix Time so I found a converter and changed the post time of the threads I wanted to order with each trailing post 1 second before the one I wanted above it.

Example:

Thread 1 1398727035
Thread 2 1398727034
Thread 3 1398727033

After refreshing the page, BOOM! they were all in order at the top of the page.

I also found out how to remove the last edited by time stamp from original posts. Sneaky I know!

Here's the Unix Time Converter I used. Hope this will prove helpful for anyone else wanting to find a solution to this!

http://www.onlineconversion.com/unix_time.htm
There is plugin by ZingaBurga from MyBBHacks that allows you to edit the post's author and time.
I would love something like that. I briefly looked at it and it seems ZingaBurga stopped supporting it back in 1.4. Untested in 1.6.