Jump to content

Global Ajax Quick Search


Marcher Technologies

Recommended Posts

Global Ajax Quick Search


This Hook extends the global quick search to provide an AJAX-powered modal display of search results as you type or submit. 
Includes AJAX pagination, application and content type switch.
 
One purchase per installation. You must purchase multiple copies if needing the modification for multiple sites.
Live Demo


Link to comment
Share on other sites

  • Replies 54
  • Created
  • Last Reply

Uses IPSSearch, thus will use Sphinx if you use that.and the application currently searched supports sphinx.

No Idea, why it is listed as it is with just 3.4, will check.

Please do post here if you ever get the time to check this on 3.3.4. I'm really interested in this hook, it looks brilliant.

Link to comment
Share on other sites

I found the "one install per purchase" policy a little iffy, especially since you must know that this is a completely unenforceable policy, but this hook is awesome enough that I have no problem paying for a per-site license. It works really well.

I'll be purchasing a second copy of the hook for my development forum tomorrow. Though honestly the policy just made me paranoid of their being some type of callback hidden in the code, being that I'm very concerned about privacy when it comes to these things. I feel relieved that I didn't find any such thing after doing a quick search, I hope I didn't just miss anything.

I didn't even notice the content switch in the demo, or the fact that you can navigate through pages within the search box with nearly perfect template integration. Everything just looks and functions flawlessly.

Overall this is an excellent hook. I love it.

Link to comment
Share on other sites

@Marcher Technologies : i'm thinking about something like that with results before your text like "found XXX results for the term "test" and maybe an icon in order to alert users they can choose between differents categories. My community, like many others, is not pretty good to understand implicit function :)

capturedecran1505131646.png

Link to comment
Share on other sites

I found the "one install per purchase" policy a little iffy, especially since you must know that this is a completely unenforceable policy, but this hook is awesome enough that I have no problem paying for a per-site license. It works really well.

I'll be purchasing a second copy of the hook for my development forum tomorrow. Though honestly the policy just made me paranoid of their being some type of callback hidden in the code, being that I'm very concerned about privacy when it comes to these things. I feel relieved that I didn't find any such thing after doing a quick search, I hope I didn't just miss anything.

I am fully aware of that, and no, I never have, and won't waste my time writing callbacks into good clean code. ;)

@Marcher Technologies : i'm thinking about something like that with results before your text like "found XXX results for the term "test" and maybe an icon in order to alert users they can choose between differents categories. My community, like many others, is not pretty good to understand implicit function :smile:

capturedecran1505131646.png

:smile: Agreed, adding.

Link to comment
Share on other sites

I just purchased and installed this. It appears that the popup totally replaces the ability to access the search results page?

It is meant as a quick search. If you need the full results page you should be using the advanced search cog, this is by design, though I am looking at making it submit to the full results anyway if cmd or ctrl is held on submit.

Link to comment
Share on other sites

The template when searching in IP.Downloads is a little glitchy.

shot-2013-05-17_01-09-12.jpg

Not just with the <h3> tag element, but it's a little cluttered in general. I'm not sure what all can be done to override the styling to tidy it up a bit without wrecking the actual full search page, but you know more than I do.

Link to comment
Share on other sites

The template when searching in IP.Downloads is a little glitchy.

shot-2013-05-17_01-09-12.jpg

Not just with the <h3> tag element, but it's a little cluttered in general. I'm not sure what all can be done to override the styling to tidy it up a bit without wrecking the actual full search page, but you know more than I do.

Interesting.

I specifically replace all h3 with h2 for that very reason, seems I need a preg not a replace..... and apparently more app-spec css >.< I get the feeling It would kill someone to use consistent styling in search.

That data on the right is going to cause that scrunch effect, and I specifically hide last poster info and stats column for this reason.... seems Downloads is not using the standard classes for that.

Link to comment
Share on other sites

The template when searching in IP.Downloads is a little glitchy.

shot-2013-05-17_01-09-12.jpg

Not just with the <h3> tag element, but it's a little cluttered in general. I'm not sure what all can be done to override the styling to tidy it up a bit without wrecking the actual full search page, but you know more than I do.

kirito.

I need a link.... that *looks* like the ipb stock, but it's not.... if it was my css would be hiding the right column. :tongue: fixed the h3 issue in a better manner, but that right side is not jiving with what I know the code to be and see In development. 0.o

I see. the </h3> getting replaced but not the opening tag is breaking the html in whole. uploading the update fixing this now.

Link to comment
Share on other sites

File Updated.

The template when searching in IP.Downloads is a little glitchy.

Not just with the <h3> tag element, but it's a little cluttered in general. I'm not sure what all can be done to override the styling to tidy it up a bit without wrecking the actual full search page, but you know more than I do.

This should be resolved with 1.0.1. If not on your custom skin set, I need to see it occurring, PM me.

@Marcher Technologies : i'm thinking about something like that with results before your text like "found XXX results for the term "test" and maybe an icon in order to alert users they can choose between differents categories. My community, like many others, is not pretty good to understand implicit function :smile:

Added in 1.0.1. :smile:

Link to comment
Share on other sites

This should be resolved with 1.0.1. If not on your custom skin set, I need to see it occurring, PM me.

It doesn't have the background any more, it's another hook I have that's causing the other issues. I can't expect you to do anything about that, I'll see about patching it to display better myself, thanks!

(For some reason I was thinking you made the Screenshots hook, so you would recognize it. Sorry)

Link to comment
Share on other sites

When searching in IP.Downloads (and possibly other non-forum apps), if the search returns multiple pages of results, trying to navigate to the next page seems to return search results for the Forums app, not the app you were originally searching in.

Link to comment
Share on other sites

  • 2 weeks later...

It is meant as a quick search. If you need the full results page you should be using the advanced search cog, this is by design, though I am looking at making it submit to the full results anyway if cmd or ctrl is held on submit.

Okay, thanks. I'm not sure if it's possible or not, but it would be great if it could display the results in a drop down like Google does it. IP Boards popups are not tablet/phone friendly.

Link to comment
Share on other sites

Okay, thanks. I'm not sure if it's possible or not, but it would be great if it could display the results in a drop down like Google does it. IP Boards popups are not tablet/phone friendly.

1 ) Google replaces the entire page content, it does not present result sets in a drop-down.

I highly doubt you want me replacing the main page content.

2 ) I will see what I can do, but I do not understand your response, I use popups from my iPad fine, if they can't parse js, the search functions as normal anyway.

Link to comment
Share on other sites

2 ) I will see what I can do, but I do not understand your response, I use popups from my iPad fine, if they can't parse js, the search functions as normal anyway.

I think he means more so on smartphones or even smaller tablets. The pop-ups are a pain to use. The reason being if they're initiated while you're zoomed in (which you usually automatically zoom in when inputting data into a form field), you can't just zoom back out to view the pop-up. It won't let you.

I don't really consider it relevant to the development of this hook though. Should just use the mobile template for searching, it's easier.

Maybe adding a setting for allowing form submission would be an idea though?

Even though I'm fine with it as is. I like how it currently functions.

Link to comment
Share on other sites

Yes, that's what I'm saying.

However, I'd add there's a large population of 4.5"+ high resolution phones on the market now, and user's do not like being forced to use the mobile theme. They prefer the full desktop experience combined with pinch to zoom. In fact, most Android browsers allow the user to override a forced mobile version by configuring the browser to work in desktop mode (changes user agent). In that scenario they might show up at my site, click the link (in the header) to sign in, and the first thing they are presented with is a popup login box that's impossible to interact with. In that case I hard coded a link to the actual login page and removed the Google logon link from your sign on hook, because it does the same thing.

Anyway, this isn't a fault of your hook. I was just wondering if there was a way to present it differently so I could use it in our forums that happen to be smartphone/Android related.

Link to comment
Share on other sites

In gallery if you type something into the box that results in no results then the popup ends up being too low. Then if you backspace and redo what you typed it will populate the popup with the results but you can't scroll down low enough to get to the next page of results.

You can see it on your demo. Go in the gallery and type in "asdf" and wait for the popup to come. Then delete the "asdf" and type in "svelt". You can't see the bottom of the popup where the pagination would be.

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...