Jump to content

Download: Ajax Live Search


Richey

Recommended Posts

Posted

File Name: Ajax Live Search

File Submitter: MrJQuery

File Submitted: 05 Mar 2013

File Category: Hooks and Plugins



ATTENTION: From today on, this hook is free of charge! Because of my job I have no more time to update or support it.

The Ajax Live Search (ALS) is an Ajax/jQuery based instant search system that displays search results live while typing. The search is searching for topic titles. It's placed on your forums home and was tested from 3.3.x to 3.4.x.

DEMO
* Please take a look at the screenshots to see the hook in action.

--------------------------------------------------
FEATURES
* Get search results while typing
* Pagination
* Custom number of results per page
* Customize language
* Hide IPB Search on forum home
* Choose forums to search in
* Choose member groups permission

--------------------------------------------------
INSTALLATION
1. Upload the contents of the "uploads" folder to your root directory
2. Install the hook (als.xml) via Admin CP
3. Go to "System Settings" -> "AL Search" Settings and configure it
4. Done!

--------------------------------------------------
UPDATE
1. Remove the old version (REMOVE -> NOT DISABLE) in the ACP
2. Remove als_search.php and /ajaxlivesearch/ folder from your /public/ folder
3. Install the new version in the ACP
4. Upload the contents of the "upload" folder and overwrite old file(s)

--------------------------------------------------
CSS STYLE EDITING
* CSS Location: /public/ajaxlivesearch/als_style.css

--------------------------------------------------
DE-INSTALLATION
1. Remove the hook in the Admin CP
2. Delete als_search.php and /ajaxlivesearch/ from the /public/ folder
3. Done!

--------------------------------------------------
SUPPORT
For support please use the support topic or write me a PM.
I will help you as fast as possible.



Click here to download this file

  • Replies 50
  • Created
  • Last Reply
Posted

I am sorry,

there was a little bug ... I fixed it!

Please deinstall the hook and download / install the new version.

If it works - please let me know!

Regards.

Posted

there we go it all works now yay!! thank you for the quick up date, quick question

could i use this to replace the default ipboard search? ( the one up in the header and say a pop window pops up with a search results )

thank you!

Posted

I'm wondering if it only searches for topic titles only or does it also search for key words inside of the topic and/or attachment files. I would also like for it to have a feature of using it through out the entire IP.Board, i.e. downloads, galleries, etc..

Ben

Posted

Hi Ben,

like I said, there will be more features soon.
When I am sure that this version is stable, I continue adding features.

Thank you for your opinions.

Regards.

Posted

Thank you very much.

By now the search will be displayed on top of your forum categories.

I will add more display options soon so that you can display it on specific pages - but I don't promise that the hook will have sidebar support :unsure:

Regards.

Posted

Does it work with 3.3.3 ? Someone tested ?

————————————————————

Edit: I took the risk and bought it. It's not working correctly.

Jquery is already included on my board and No matter if I click "include jquery" or not, it doesn't change anything.

The bug: no results are displayed, no matter what you type.

9c8cfe86987707c3cf39a6f8ebfa6cb7.png' al" alt="9c8cfe86987707c3cf39a6f8ebfa6cb7.png">

Posted

Hi Aiven,

Thank you.

have you uploaded the php file to your "public" folder?
And can you tell me (via pm) if you using a prefix in your MySQL database?

Posted

UPDATE: The hook had a problem with Table Prefixes.

Please download the updated version and replace the php file with the new one on your server. Then it should work.

Posted

I like your idea, however your implantation looks a little bit strange to me. Why not prototype and ajax? That would make it even easier for you. So imho the implantation is bad (sorry :P) But overall a good hook and addition for my board. Thanks!

Posted

Hi Edgar,

nice to hear that you like the hook :)

I never used Prototype and IPB 4.0 will finally use jQuery, so I don't see a reason why using Prototype.

Furthermore I am very new to developing IPB hooks, so the implantation will (hopefully) get better in the future ;)

Posted

I really don't know what you are talking about. Maybe you can describe more specific why it is unsafe and how someone could abuse it.

Posted

I really don't know what you are talking about. Maybe you can describe more specific why it is unsafe and how someone could abuse it.

Ok. You defined the searchable topics in the hidden value (Which can be edited by everyone via inspect elements).
People can change which forums they want to see via the live search. Even hidden forums (Think about a forum only for administrators, moderators etc.)
So they can get the topics in the hidden forums. Not a big problem, but what if you include secret information in the topic title?

Hidden input > GET Parameter > Your PHP file > Query.. without any checks.

Posted

You have to submit POST variables to the php file.
There are no GET variables. Did you successfully test what you are Talking about?

And dont get me wrong. I am interessted.

Posted

You have to submit POST variables to the php file.
There are no GET variables. Did you successfully test what you are Talking about?

And dont get me wrong. I am interessted.

Not tested, but i am almost sure. I don't see checks for the forum permissions

I am talking about these forum permissions:

post-299402-0-01756300-1362677813_thumb.

So if they change the hidden value "WHERE forum_id IN ( $forum_ids )" will also be changed.

Hopefully you understand me now :P

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...