×
Kunena 5.1.18 Released (30 Jun 2020)

The Kunena team has announce the arrival of Kunena 5.1.18 [K 5.1.18] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.

× 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
10 years 7 months ago #11 by xillibit
You have two choices, use this hack for set the post ordering for all users or in my profile->look and layout and set the post ordering.

You don't need hack, the changes are already applied in the files in the archive, just put these files in your FTP and replace the older files.

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

For Kunena 1.5.7, you need to use this :

File Attachment:

File Name: hack_post_...ring.zip
File Size:50 KB

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

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

More
10 years 7 months ago #12 by Roo
I REALLY appreciate your help. Many thanks. I Have followed your instructions (I think!) but when I try to get into the Kunena admin back end I get:

"Parse error: syntax error, unexpected T_STRING in /home2/onesevsi/public_html/upthewestend/administrator/components/com_kunena/language/kunena.english.php on line 35"

Which is strange because line 35 appears to be "define('_KUNENA_JS_ACTIVITYSTREAM_CREATE_MSG1', 'created a new topic');" which I haven't changed.

Any ideas?

Below is a snippet showing everything from the code I added to the offending line 35. I really appreciate your help.


//Hack to reverse order of posts by default see www.kunena.com/forum/114-hacks/20886-pos...it=10&start=10#34344


DEFINE('_COM_A_POSTORDER', 'Define the posts order');
DEFINE('_COM_A_POSTORDER_DESC', 'Define the posts order in two modes : ascending or descending.')


// 1.5.7

define('_KUNENA_JS_ACTIVITYSTREAM_CREATE_MSG1', 'created a new topic');

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

More
10 years 7 months ago #13 by xillibit
I have forgot a coma, this is correct :
DEFINE('_COM_A_POSTORDER', 'Define the posts order');
DEFINE('_COM_A_POSTORDER_DESC', 'Define the posts order in two modes : ascending or descending.');

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
10 years 7 months ago - 10 years 7 months ago #14 by Roo
OK. I figured that out. Missing semi-colon. My fault. Error fixed

Nearly there...

So now in the Kunena configuration I get the "Define the posts order" but there are no options to select.



What have I missed? Thanks.
Attachments:
Last edit: 10 years 7 months ago by Roo.

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

More
10 years 7 months ago #15 by Roo
Any suggestions re: the above post? Sorry to be dense. Am trying my best! Thx.

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

More
10 years 7 months ago #16 by xillibit
I have forgot a bit of code, now it's fixed :

File Attachment:

File Name: hack_post_...1209.zip
File Size:50 KB

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

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

More
10 years 7 months ago #17 by Roo
Brilliant! That seems to all work perfectly. Many, many thanks.

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

More
10 years 7 months ago #18 by julianjordan
Thanks a lot!! I wanted to inverse the order too and just by following this thread I was able to make the adjustments and now it is working

Thanks for your help

Julian

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

More
10 years 3 months ago #19 by fbuonarota
Hi,

is it possible to have the same hacks for Kunena 1.5.9 version? Please :(

It is most important for me!

Thanks in advance!!!

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

More
10 years 3 months ago #20 by xillibit
I have done a version for Kunena 1.5.9 :

File Attachment:

File Name: hack_post_...g_K1.zip
File Size:51 KB

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

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.131 seconds