Change default for posts to Descending order?

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Locked
phptemp
Registered User
Posts: 8
Joined: Tue Feb 03, 2009 11:05 pm

Change default for posts to Descending order?

Post by phptemp »

Is there a way to make the default setup so that the most recent posts are on top of the page on a phpbb3 forum? Each user can change
it at the bottom of the forum page, but when you post a reply it goes back to showing the most recent post on the last page at the bottom.
Maybe I'm missing something in the admin area but I can't find how to change it.... is there a mod for that that can be easily done?
thanks,
bolverk
I've been banned
Posts: 280
Joined: Mon Feb 02, 2009 5:39 pm

Re: Change default for posts to Descending order?

Post by bolverk »

UCP -> Board preferences -> Edit Display Options -> Display topic order & Display post order are user configurable.
phptemp
Registered User
Posts: 8
Joined: Tue Feb 03, 2009 11:05 pm

Re: Change default for posts to Descending order?

Post by phptemp »

Thanks a million... that works, but is there a way to change it so that it's set up to descending by default? That works much better for the type of forum I'm doing and I'd rather not have to explain how to do it to everyone who logs in......
phptemp
Registered User
Posts: 8
Joined: Tue Feb 03, 2009 11:05 pm

Re: Change default for posts to Descending order?

Post by phptemp »

Anyone heard of a mod to make this the default setting?
User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: Change default for posts to Descending order?

Post by Brf »

Try this:
in functions_user.php, look for

Code: Select all

'user_options'		=> 895,
after that put

Code: Select all

'user_post_sortby_dir'                 => 'd', 
phptemp
Registered User
Posts: 8
Joined: Tue Feb 03, 2009 11:05 pm

Re: Change default for posts to Descending order?

Post by phptemp »

thanks, but where do I find functions_user.php? Can I make that edit with a text editor?
User avatar
A_Jelly_Doughnut
Registered User
Posts: 1780
Joined: Wed Jun 04, 2003 4:23 pm

Re: Change default for posts to Descending order?

Post by A_Jelly_Doughnut »

It is in your phpBB's includes/ directory.

You can edit with a text editor. Note that a text editor and a word processor are two different things. Popular text editors are Notepad++ and PSPad. :)
A_Jelly_Doughnut
phptemp
Registered User
Posts: 8
Joined: Tue Feb 03, 2009 11:05 pm

Re: Change default for posts to Descending order?

Post by phptemp »

I tried the Mod you suggested but it didn't change the default order to descending, any thoughts?
thanks.. here's what you said;
Try this:
in functions_user.php, look for

Code: Select all
'user_options' => 895,


after that put

Code: Select all
'user_post_sortby_dir' => 'd',
User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: Change default for posts to Descending order?

Post by Brf »

Did you register a new user and see what their default was?
phptemp
Registered User
Posts: 8
Joined: Tue Feb 03, 2009 11:05 pm

Re: Change default for posts to Descending order?

Post by phptemp »

It's working now, thanks for your support on this Mod.....
Locked