Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Reverse Post Order Solution

More
14 years 9 months ago - 14 years 9 months ago #1 by DarkSlash
Ok... there's no single way to change ALL users's order in Kunena... how about if we try this until the development team gives us a solution:

1) Create a trigger in mysql wich every time that a row is inserted on the user table, the ordering field is set to 0 instead of 1.

2) Find the file and code where the INSERT of the user is done and modify it by replacing ordering = 1 to ordering = 0.

Anyone can help with this? I use Community Builder and I don't know how it does Kunena to get every new registered user...

EDIT: is one OR another, not both ;)
Last edit: 14 years 9 months ago by DarkSlash.

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #2 by xillibit
Hello,

do you want change the order in the userlist ? or do you want change the order of posts ?

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #3 by DarkSlash
Order of the posts... like the title of this post says ;)

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #4 by xillibit
There is an parameter nammed default_sort placed in components/com_kunena/lib/config.class.php but when I change this, there is no effect. In the Kunena config panel, there is no way to change this.

The only way to change this is to modified the file components/com_kunena/template/dafault_ex/view.php at line 168 replace:
Code:
$ordering = ($fbConfig->default_sort == 'desc' ? 'desc' : 'asc'); // Just to make sure only valid options make it

by this
Code:
$ordering ='desc';

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #5 by DarkSlash
Cool! It works! But for getting FPFR (First Posted First Readed) configuracion you have to set ordering to 'asc' instead of 'desc'!
It works perfectly! Thank you, xillibit! You found the solution that many Kunena users where looking for! :)

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #6 by xillibit
You are welcome, I will try do add this possibility in the kunena config panel .

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #7 by DarkSlash
That will be cool. Until that, this is a great solution! :)

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #8 by xillibit

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
13 years 2 days ago #9 by harykopar
How to set the reverse order of displaying messages (posts) in Kunena 1.6?

In /administrator/components/com_kunena/libraries/tables/kunenauser.php find:
var $ordering = null;
and fix in:
var $ordering = 1;
Visitors and new users will see the reverse order, and have already registered you must change the option in the settings in backend.

(i'm don't speak english - google translator :P)

Pozdrawiam,
Harykopar

Please Log in or Create an account to join the conversation.

More
13 years 1 day ago #10 by xillibit
You can change order in your profile

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

Time to create page: 0.382 seconds