Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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 7.0

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

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

Question Kunena Search Minimum/Maximum Character length

  • C0n
  • C0n's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Only the strongest will survive
More
14 years 2 months ago - 14 years 2 months ago #119164 by C0n
components/com_kunena/lib/Kunena.search.class.php
Code:
if (JString::strlen ( $q ) > 5)

Just change the "> 1" to what ever the minimum number of characters you want to be allowed for searching.


To add a cap to the maximum number of characters you wish to use
Code:
if (JString::strlen ( $q ) > 5) $do_search = TRUE; if (JString::strlen ( $q ) > 30) $do_search = FALSE;
Last edit: 14 years 2 months ago by C0n.

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

Time to create page: 0.224 seconds