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

Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Solved Hack K 3.0 to change the default date-range in the search feature

More
10 years 8 months ago - 10 years 8 months ago #1 by korri78
Hi,

In search field "Find Posts from menu" has "A year ago" setting by default.
How can I change the default setting to "Any Date"?

I knew how to do it when I used Kunena 1.7 but can't find it in Kunena 3.0.

Attachments:
Last edit: 10 years 8 months ago by korri78.

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

More
10 years 8 months ago #2 by korri78
can somebody answer for it?

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

More
10 years 8 months ago #3 by 810
Hi change components\com_kunena\models\search.php line 49
Code:
$value = JRequest::getString ( 'searchdate', 365 );

to
Code:
$value = JRequest::getString ( 'searchdate', 'all' );
The following user(s) said Thank You: Jiminimonka

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

More
10 years 7 months ago #4 by korri78
It works perfectly!
Thank you, 810.

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

More
8 years 9 months ago - 8 years 7 months ago #5 by Kotsolis
With Kunena version 4.0 what is the line that we have to edit?

Also.

Can you solve this so that it is set as default in all future versions?

Let me simplify this to you.
The difference on this is simple:
A)A user searches for a topic ex. of a video game or a game movie, the setting is set to "One year old topics", he doesn't see it, he sees no result, he leaves our forum or he opens a new topic for a topic that is already open!

or

B)A user searches for a topic ex. of a video game or a game movie, the setting is set to "Any Date" and he sees 15 results, 6 from 2013, 4 from 2012 etc. He replies to those old topics by asking questions.

You chose A. Switch to B. This happens to all forum components in the world. It's not something new. Iam a Forum Admin since 1997.

Cheers.
Last edit: 8 years 7 months ago by Kotsolis.

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

More
8 years 9 months ago - 8 years 7 months ago #6 by Kotsolis
Hello, someone respond to me here!

Is this line that I have to edit?

'replyless' => 0, 'replylimit' => 0, 'searchdate' => 'all', 'beforeafter' => 'after', 'sortby' => 'lastpost',



It doesn't work like this.


My configuration.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-08-2014' at line 1 SQL=SHOW FULL FIELDS FROM jos_kunena_messages29-08-2014

This message contains confidential information

Database collation check:

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 128M | Max file upload: 2M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : whiteboard | author: Opensource | version: 2.6 | creationdate: Unknown

Kunena default template details : Blue Eagle | author: Kunena Team | version: 4.0.0-BETA1 | creationdate: 2015-04-12

Kunena version detailed: Kunena 4.0.0-BETA1 | 2015-04-12 [ Blue Dawn ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: Jomsocial 3.2.1.4

Third-party SEF components: None

Plugins: Search - Kunena Search 3.0.1 | JomSocial - My Kunena Forum Menu 2.0.3 | JomSocial - My Kunena Forum Posts 2.0.3 | JomSocial - Kunena Groups 2.0.3

Modules: Kunena Latest 3.0.1 | Kunena Search 3.0.1

Last edit: 8 years 7 months ago by Kotsolis.

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

More
8 years 9 months ago #7 by 810
You have still Beta1, that's isn't supported.

So you need to update.

But there is an option for that, on kunena config - frontend

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

More
8 years 9 months ago - 8 years 7 months ago #8 by Kotsolis

810 wrote: You have still Beta1, that's isn't supported.

So you need to update.

But there is an option for that, on kunena config - frontend



Ok the option in the Configuration solved it. Sorry, my mistake.

But please put in "Any Date" for all the next versions. Even here, in this forum, if someone has a very simple question and he doesn't find an answer within 12 months of posts he will start re-posting the same question.

Do you want to be spammed by the same questions every year?
So please change it in the next version. All forums in the world have the "Any date search" by default!

Thanks.
Last edit: 8 years 7 months ago by Kotsolis.

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

Time to create page: 0.442 seconds