Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
[How-TO vB 4] Force vB 4 search engine to find all keywords by default
RedFoxy
Join Date: Sep 2007
Posts: 171

Italy
by RedFoxy RedFoxy is offline 05 Jun 2010

Hi all!
By default vBulletin 4 search all keywords but don't force that all keywords must be present, that gives back a really huge result, like if you search "vbulletin plugin search engine modification" you'll find ALL threads that contains one or more words in your search... That's bad for huge forums, and your users will ask for a search engine like vBulletin 3...

The only way for a user to find a topic that have ALL keywords is to add AND between all keywords like "vbulletin AND plugin AND search AND engine AND modification", but not all user have a good skin and know how to use it, they just type words waiting to have the right results...

To change that, I forced my vBulletin 4.0.3pl1 suite (but I suppose that it goes with all versions) find all keywords in every search, if a user want find more result he still can add "OR" between one or more keywords.

I use it without troubles on my website SoftAir Mania with great successful!

To force vBulletin 4 search engine to find all keywords you need to edit a file: vb/search/criteria.php

PAY ATTENTIONS!
You do that modification at your own risk!


Open: vb/search/criteria.php

Search for: (it's about at row 1003)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save & Close.

I hope that you enjoy it!

PS: Sorry for my bad english

Last edited by RedFoxy : 05 Jun 2010 at 17:56.
Views: 3233
Reply With Quote
Comments
  #2  
Old 06 Jun 2010, 16:29
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
I wouldn't do this lol. But thanks for the article
Reply With Quote
  #3  
Old 06 Jun 2010, 22:49
RedFoxy's Avatar
RedFoxy RedFoxy is offline
 
Join Date: Sep 2007
On my forum http://www.softairmania.it it was a great update, a lot of user appreciate it and now they use the search engine more often... Some user told me that to find something on my forum, they prefered to use google and not the internal search engine...
Reply With Quote
  #4  
Old 07 Jun 2010, 20:56
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
I'd rather use Sphinx search
Reply With Quote
  #5  
Old 07 Jun 2010, 21:57
RedFoxy's Avatar
RedFoxy RedFoxy is offline
 
Join Date: Sep 2007
what is it and how is it?
Reply With Quote
  #6  
Old 08 Jun 2010, 17:55
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
Thread on vB.com

Or

http://www.vbulletin.org/forum/showthread.php?t=127868 - The one here.
Reply With Quote
  #7  
Old 09 Jun 2010, 03:06
RedFoxy's Avatar
RedFoxy RedFoxy is offline
 
Join Date: Sep 2007
Already installed and... I've a lot of troubles like last one: http://www.vbulletin.org/forum/showt...60#post2050760
Reply With Quote
  #8  
Old 09 Jun 2010, 11:26
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
http://www.vbulletin.org/forum/showp...93&postcount=2

Reply With Quote
Reply


Similar Article
Article Author Type Replies Last Post
Search Engine Optimized Keywords & Description per Forum Neutral Singh vBulletin 3.8 Add-ons 33 09 May 2012 00:18
Add Search Engine Optimized (SEO) Keywords & Description to each Forum Neutral Singh vBulletin 3.5 Add-ons 63 27 Aug 2010 01:53
Add Search Engine Optimized Keywords & Description to each Forum Neutral Singh vBulletin 3.7 Add-ons 39 09 May 2010 19:40
Add Search Engine Optimized Keywords & Description to each Forum Neutral Singh vBulletin 3.6 Add-ons 28 18 Feb 2008 04:15

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 20:16.

Layout Options | Width: Wide Color: