RT LiveSearch (Ajax Search)
RT LiveSearch is a plugin which utilizes native MyBB search functionality and provides result via ajax. Very light and highly customizable plugin for your search queries.
Project Details
RT LiveSearch
Is a plugin which utilizes native MyBB search functionality and provides result via ajax. Very light and highly customizable plugin for your search queries.
#Dependencies
#Features
#Installation
#Update
#Removal
#How-to: Add custom search box
This is a minimal configuration needed for form to fire up ajax
You can replace
#Feature request
Open a new idea by clicking here
Is a plugin which utilizes native MyBB search functionality and provides result via ajax. Very light and highly customizable plugin for your search queries.
#Dependencies
- MyBB 1.8.x
- https://github.com/frostschutz/MyBB-PluginLibrary (>= 13)
- PHP >= 8.0
#Features
- Ajax search with native MyBB search function.
- ZERO additional database queries!
- KeyPress search: Bind key (default "S") on your keyboard to open search popup modal at any time while not typing.
- CustomAjaxSearch: Attach ajax search on any HTML form you wish! Ref: https://github.com/RevertIT/mybb-rt_live...search-box
- Detailed search statistics:
- Provides a graph with detailed data for search queries on the forum
- Total ajax/normal search queries
- Total ajax search queries
- Total normal search queries
- Search type graphs (Threads / Posts)
- Total ajax/normal search types (24 hrs)
- Total ajax search types (24 hrs)
- Total normal search types (24 hrs)
- Search stats by users (See which users use search function the most and how many queries)
- Total ajax/normal search queries by users (24 hrs)
- Total ajax search queries by users (24 hrs)
- Total normal search queries by users (24 hrs)
- Most searched keywords
- Most searched keywords via ajax/normal search queries (24 hrs)
- Most searched keywords via ajax search queries (24 hrs)
- Most searched keywords via normal search queries (24 hrs)
- Provides a graph with detailed data for search queries on the forum
- Search history:
- View all search history data from user
- Sort your search via username, and from selected forum
- View all search history data from user
- Replace/Revert MyBB quick search with ajax search via settings.
- Organized templates
- Easy to use configuration and settings.
#Installation
- Copy the directories from the plugin inside your root MyBB installation.
- Settings for the plugin are located in the "Plugin Settings" tab.
/admin/index.php?module=config-settings
#Update
- Deactivate the plugin.
- Replace the plugin files with the new files.
- Activate the plugin again.
#Removal
- Uninstall the plugin from your plugin manager.
- Optional: Delete all the RT LiveSearch plugin files from your MyBB folder.
#How-to: Add custom search box
This is a minimal configuration needed for form to fire up ajax
You can replace
custom_ajax*
with any other class<div class="custom_ajax">
<form action="search.php" class="custom_ajax_form">
<input name="keywords" type="text" class="textbox custom_ajax_keywords" />
<!-- START hidden input form fields -->
<input name="action" type="hidden" value="do_search" />
<input name="ext" type="hidden" value="rt_livesearch" />
<input name="ajax" type="hidden" value="1" />
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
<input name="showresults" type="hidden" value="threads" />
<input type="hidden" name="postthread" value="1" />
<input type="text" style="display: none;" />
<!-- END Hidden input form fields -->
<!-- START Show ajax results/errors container -->
<div class="custom_ajax_container" style="display: none; position: absolute"></div>
<!-- END Show ajax results/errors container -->
</form>
</div>
<script>LiveSearch.searchInput('.custom_ajax', {$mybb->settings['rt_livesearch_keypress_timeout']});</script>
#Feature request
Open a new idea by clicking here
Previews
- Author
- RevertIT
- Collaborators
- None
- Version
- 1.8
- Submitted
- 2023-04-08, 09:16 PM
- Last Updated
- 2024-02-12, 11:43 PM
- Bug Tracking
- External
- MyBB Versions
- 1.8.x