Apple style jquery search.
#21
I'd like to see the backend of this mainly to see how much overhead it will require. It would imho seem easy to flood search with this which can be dangerous to those with a large forum. What security and optimization have you built into this?
Reply
#22
(2010-08-20, 08:53 AM)labrocca Wrote: I'd like to see the backend of this mainly to see how much overhead it will require.

I have PM'd you the back end.

(2010-08-20, 08:53 AM)labrocca Wrote: What security and optimization have you built into this?

Atm I dont think any, Still got alot of bugs to sort out.
[Image: premium_mybb_themes-500x100.png]
Latest Theme: MiniColor.
Reply
#23
Well that's going to be the real problem then for just about any ajax search like this. While this is suitable for small forums larger ones are going to be suffering.

Thanks for the PM too.
Reply
#24
(2010-08-20, 06:45 PM)labrocca Wrote: Well that's going to be the real problem then for just about any ajax search like this. While this is suitable for small forums larger ones are going to be suffering.

Thanks for the PM too.

I'll have to put a notice with the download, Would i still have the same problem if i pulled the results from the search page?
[Image: premium_mybb_themes-500x100.png]
Latest Theme: MiniColor.
Reply
#25
That is one smooth search system. You have just made me look at my site, and iv noticed I don't have a search box at all.. only a link to advance search. If this is being released I may consider adding this..
Reply
#26
(2010-08-20, 09:39 PM)Rob1991 Wrote: That is one smooth search system. You have just made me look at my site, and iv noticed I don't have a search box at all.. only a link to advance search. If this is being released I may consider adding this..

It will be released but may take a while as there are alot of bugs in it at the current time.
[Image: premium_mybb_themes-500x100.png]
Latest Theme: MiniColor.
Reply
#27
(2010-08-20, 08:36 PM)Damion Wrote:
(2010-08-20, 06:45 PM)labrocca Wrote: Well that's going to be the real problem then for just about any ajax search like this. While this is suitable for small forums larger ones are going to be suffering.

Thanks for the PM too.

I'll have to put a notice with the download, Would i still have the same problem if i pulled the results from the search page?

Well with ajax search you can't really do search flood control. Sort of defeats the purpose a bit. But you can maybe set it for members only which could help at least take away bot usage.

Oh btw your search would allow all forum posting searches including areas restricted to hidden forums (like staff sections). So I guess using search.php functions would serve you best if you can actually get this to work that way.

Reply
#28
It seems my second edit didn't take for some reason. I was wondering why when you visit jsearch.php without including the proper post headers it redirects to /jsearch/.

And @labrocca, the functions in inc/functions_search.php are a bit overcomplicated for what he needs, it would most likely be easier to check if the forum is accessible without them.

Regards,
Jammerx2
Reply
#29
(2010-08-20, 10:05 PM)labrocca Wrote:
(2010-08-20, 08:36 PM)Damion Wrote:
(2010-08-20, 06:45 PM)labrocca Wrote: Well that's going to be the real problem then for just about any ajax search like this. While this is suitable for small forums larger ones are going to be suffering.

Thanks for the PM too.

I'll have to put a notice with the download, Would i still have the same problem if i pulled the results from the search page?

Well with ajax search you can't really do search flood control. Sort of defeats the purpose a bit. But you can maybe set it for members only which could help at least take away bot usage.

Oh btw your search would allow all forum posting searches including areas restricted to hidden forums (like staff sections). So I guess using search.php functions would serve you best if you can actually get this to work that way.

Yeah that was one of the bugs i'm currently trying to fix.

(2010-08-20, 10:18 PM)Jammerx2 Wrote: It seems my second edit didn't take for some reason. I was wondering why when you visit jsearch.php without including the proper post headers it redirects to /jsearch/.

And @labrocca, the functions in inc/functions_search.php are a bit overcomplicated for what he needs, it would most likely be easier to check if the forum is accessible without them.

Regards,
Jammerx2

I forgot about the redirect, I'll remove it.
And with the way the search.php is layed out i think i could use it to pull in the posts but it wouldn't display part of the post as it does at the moment.
[Image: premium_mybb_themes-500x100.png]
Latest Theme: MiniColor.
Reply
#30
(2010-08-20, 10:39 PM)Damion Wrote:
(2010-08-20, 10:05 PM)labrocca Wrote:
(2010-08-20, 08:36 PM)Damion Wrote:
(2010-08-20, 06:45 PM)labrocca Wrote: Well that's going to be the real problem then for just about any ajax search like this. While this is suitable for small forums larger ones are going to be suffering.

Thanks for the PM too.

I'll have to put a notice with the download, Would i still have the same problem if i pulled the results from the search page?

Well with ajax search you can't really do search flood control. Sort of defeats the purpose a bit. But you can maybe set it for members only which could help at least take away bot usage.

Oh btw your search would allow all forum posting searches including areas restricted to hidden forums (like staff sections). So I guess using search.php functions would serve you best if you can actually get this to work that way.

Yeah that was one of the bugs i'm currently trying to fix.

(2010-08-20, 10:18 PM)Jammerx2 Wrote: It seems my second edit didn't take for some reason. I was wondering why when you visit jsearch.php without including the proper post headers it redirects to /jsearch/.

And @labrocca, the functions in inc/functions_search.php are a bit overcomplicated for what he needs, it would most likely be easier to check if the forum is accessible without them.

Regards,
Jammerx2

I forgot about the redirect, I'll remove it.
And with the way the search.php is layed out i think i could use it to pull in the posts but it wouldn't display part of the post as it does at the moment.

It would probably be easier just to include global.php and check if the user has access.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)