×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

×

Please Read This First:


This category is only for discussing add-on software products for K 3.0 that were obtained on the download page . Topics about other products obtained from other sources will be deleted.

Other add-ons that were developed by the Kunena team - but no longer maintained - are available on an "as is" basis. People who use these products do so at their own risk.

This category is for the community to share their experiences and to develop their own solutions to problems that they may encounter. Please note that the adminstrators and team moderators are not obligated to reply to topics in this category.

Solved Change the default search option in version 3.0.1?

More
6 years 11 months ago #1 by smkamin
I am trying to change the 'Find Posts from' search option in v3.0.1. I have seen the posts on how to do this in much earlier version, but I am not able to find the file mentioned to make the change. ("you need to edit the code in file lib/kunena.search.class.php in line 50 (defaults).")

Any help is appreciated.

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

More
6 years 11 months ago - 6 years 11 months ago #2 by smkamin
Found my answer - it took a bit more digging in the forum, but it is the same as for v2.0+

www.kunena.org/forum/K-2-0-General-Quest...ptions-on-kunena-2-0
Last edit: 6 years 11 months ago by smkamin.
The following user(s) said Thank You: Taz_1999

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

More
6 years 2 months ago - 6 years 2 months ago #3 by Taz_1999
It is the same on latest version, 3.0.5.

Open this file: /components/com_kunena/models/search.php

Around line 57:

Change this:
$value = JRequest::getString ( 'searchdate', 365);

to
$value = JRequest::getString ( 'searchdate', 'all' );

What I find really strange is that this thing is applied to BOTH a searchbox in a module and the settings under the tab "Advanced search". Why would you do that?

Also, would that be an excellent addition to the userinterface to be able to set this in one of three places? Plugin, module or Kunena settings?
Last edit: 6 years 2 months ago by Taz_1999.

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.115 seconds