Kunena 6.3.8 Released

The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

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
  • Only the strongest will survive
More
12 years 11 months ago - 12 years 11 months ago #1 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: 12 years 11 months ago by C0n.

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

Time to create page: 0.349 seconds