Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
It seems that the sort direction 'ascending' and 'descending' in the forum control panel is swapped. I check the language strings of viewboard.php and it look correct. I run this query to set all my boards to descending:
Code
update ubbt_FORUMS
set FORUM_SORT_FIELD = 'last', FORUM_SORT_DIR = 'des'
If I check the the control panel all forums show 'ascending' sort direction.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Dec 2006
Posts: 184
member
member
Joined: Dec 2006
Posts: 184
Yeah, whole thing seems messed up now since upgrading to 7.5

It takes no notice of your settings in the CP

And no matter how many times I save in forum settings to 'last post', 'descending', it still shows up as 'last post', 'ascending'

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
I can change it in the CP and it take effect. It is a new feature in 7.5 that you be able to set the sorting for each forum. If your settings dont saved take a look at the ubbt_FORUMS table and check for the 2 new fields for the sorting order. Maybe your setup miss it. Do you run the installer while upgrading the forum? It insert 2 needed fields in the table.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This is actually a bug. The field length needs to be a varchar(4).

Thread with fix.

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
is there an easy way to fix it? just change the field in phpMyadmin? Or any sql command from the CP?

/update: I look into it and it is varchar(4):
FORUM_SORT_DIR varchar(4)

Or you mean this?
FORUM_SORT_FIELD varchar(10)
Change to 4?

Last edited by Zarzal; 03/04/2009 4:20 PM.

my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, if it's already 4 then you must have fixed it already from a previous report wink

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
maybe wink but it dont work. Any setting from CP is ignored and change my data to ascending. There must be another bug in it. I change all setting now direct in the table to be sure to set all my forums to last posting descending. If I dont touch the forum settings in the CP all is fine - for now.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 598 guests, and 134 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)