Kunena 6.4.13 Released

The Kunena team has announce the arrival of Kunena 6.4.13 [6.4.13] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 6.0
Hint: This version is primarily intended to facilitate an upgrade if Joomla was first updated to version 6.1 before Kunena was up to dated.

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question Posts ordering set in kunena admin panel

More
17 years 1 month ago - 17 years 1 month ago #20886 by xillibit
Hello,

I have made a little hack for change directly the post ordering in the kunena config panel, this works only on Kunena 1.5.3. But this need to be adapted if you use an another template that default_ex.

You need to add this, in your administrator/components/com_kunena/language/kunena.yourlanguage.php :
Code:
DEFINE('_COM_A_POSTORDER', 'Define the posts order'); DEFINE('_COM_A_POSTORDER_DESC', 'Define the posts order in two modes : ascending or descending.');

If you don't use the template default_ex, you need just to change this at line 169 :
Code:
$ordering = ($fbConfig->default_sort == 'desc' ? 'desc' : 'asc'); // Just to make sure only valid options make it

by this :
Code:
$ordering = $fbConfig->default_sort;

Attachment Hack_posts_ordering.zip not found


I don't provide support by PM, because this can be useful for someone else.
Last edit: 17 years 1 month ago by xillibit.

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

More
17 years 1 month ago #21231 by alakentu
Hello xillibit

Great little hack, but it does not work, at least I do not work, does not change the order of the hearing of the messages.

Just assume that if I choose to view messages in "asc" should see the first message in a message created and if I choose to see the messages in "desc" set up to the last message and that message is not so original.

Please could you tell me if you need something more than play the files: admin.kunena.php, admin.kunena.html.php, kunena.language.php and view.php?

Thanks in advance for your answers!

Greetings.

KS!
NO hacer Spam | NO esbribas todo en mayúsculas | Sigue las reglas

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

More
17 years 1 month ago - 17 years 3 weeks ago #21293 by xillibit
Hello,

I don't know why but my modifications didn't worked, now I have fixed this.

File Attachment:

File Name: hack_posts...g_k1.zip
File Size:48.96 KB

I don't provide support by PM, because this can be useful for someone else.
Last edit: 17 years 3 weeks ago by xillibit.

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

More
17 years 1 month ago - 17 years 1 month ago #21296 by alakentu
@Xillibit.

Ok, The try and tell you that it works my brother!

EDIT: Perfect brother, great job! Thank you very much.

Greetings.

KS!
NO hacer Spam | NO esbribas todo en mayúsculas | Sigue las reglas
Last edit: 17 years 1 month ago by alakentu.

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

More
17 years 3 weeks ago #24184 by xillibit
Version for kunena 1.5.4 :

Attachment hack_posts_ordering_K1.zip not found


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
17 years 3 weeks ago - 17 years 3 weeks ago #24226 by lavsteph
Hi,

my proposed amendment for an integrate in all languages. ;)

In admin.kunena.php

replace
Code:
$sorting[] = JHTML::_('select.option', 'asc', 'Ascending'); $sorting[] = JHTML::_('select.option', 'desc', 'Descending');
with
Code:
$sorting[] = JHTML::_('select.option', 'asc', _USER_ORDER_DESC); $sorting[] = JHTML::_('select.option', 'desc', _USER_ORDER_ASC);

Manager French translation
Last edit: 17 years 3 weeks ago by lavsteph.

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

Time to create page: 0.237 seconds