MyBB Community Forums

Full Version: Prefix thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

I have no problem with "Prefix thread" but it's just a question.
Is it possible to set the option "No prefix" last in the list and put prefix that I created on top?

Or how i can remove the option "No prefix" to leave than those I created?

Sorry for my English, I'm french.

++
Xav
Hello,

You can change the order of the list, simply go to your database - find the table called: 'mybb_threadprefixes' - in this you will find all the prefixes you have made, find the column called 'pid', in this column at the moment values are displayed as '1,2,3,4,5 (etc...)' change each value minus 1 interger - e.g. '0,1,2,3,4 (... and so on...)'

If you need any help, please reply - it's quite tricky to explain in words!
Open ./admin/modules/config/thread_prefixes.php file and find;
$query = $db->simple_select('threadprefixes', 'pid, prefix', "", array('order_by' => 'prefix'));

and replace it to;
$query = $db->simple_select('threadprefixes', 'pid, prefix', "", array('order_by' => 'pid'));