Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
MEGA SEARCH v1.0 (navbar, WOL, CMPS & search.php) Details »
MEGA SEARCH v1.0 (navbar, WOL, CMPS & search.php)
Mod Version: 1.00, by yoyoyoyo (Member) yoyoyoyo is offline
Developer Last Online: Sep 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.8 Rating: (0 vote - 0 average) Installs: 4
Released: 05 Aug 2005 Last Update: Never Downloads: 11
Not Supported Template Edits Additional Files  

MEGA SEARCH v.1.0
by yoyoyoyo

NEW PHRASES: up to 4 (depending on which options you choose)
TEMPLATES TO EDIT: up to 3
NEW TEMPLATE: 1 (if you add the CMPS module)
NEW FILES: 2 (search.cgi, mega.jpg)

This hack gives you a new MEGAsearch engine on your site, that can access dozens or hundreds of other search engines (as many or as few as you want). The search engine opens the results in a new window, keeping your visitors on your site! You can even easily add your own sites to the search!

The search engine can be placed in the navbar, on the search page, below the "Who's Online" box on your forum home, and also in a VBadvanced CMPS module, or all of the above (or any combination you see fit). (SEE SCREENSHOTS)

Included in the megasearch are the following sites:
Google
Ask Jeeves
Dogpile
Galaxy
Altavista
Yahoo
Lycos
Metacrawler
Wikipedia
weather.com
clipart.com
eBay
Internet Movie Database
The Smoking Gun
AlltheWeb
About
AOL
GoPile
Netscape
Teoma
CompuServe
Mamma
DMOZ
HotBot
MSN
Looksmart
Dictionary.com
Thesaurus.com
Creative Commons
mininova bittorrent search
BBC News
CNN News
Disinfopedia
National Public Radio
Big Cartoon Database
CultureBuffs
Beer in the Evening
MemoryAlpha
Ticketmaster
Comingsoon.net
Kids-In-Mind.com
GameSpy
FilePlanet
UFOpsi
Webtender
recipesource
AllRecipes.com
Foodnetwork.com
Abbreviationz.com
Fark.com
googlism.com
Wired News
G4 Tech TV
Blogdex
Blog Search Engine
wtc7.net
Centers for Disease Control
Snopes.com Urban Legends
CPAN Perl Archive
download.com
Internet Archives: Movies
Internet Archives: Text
Internet Archives: Audio
Internet Archives: Software
Internic WHOIS Search
subgenius.com
vbulletin.org

...AND YOU CAN ADD YOUR OWN!

REQUIREMENTS: Perl 4.0 or better installed on a web server. Contact your server administrator if you are unsure (most servers are running version 5.8.X, so this should not be a problem if your server offers cgi access). If you do not have perl installed then read a little further below about perlsp.

INSTALLATION
(more detailed install info is in the zip file and in the first post of this thread)

1) Create 4 new phrases as indicated in the install instructions

2) Upload 'mega.jpg' to your forum/images/misc folder.

3) Edit the .cgi file: Open search.cgi and replace "www.yoursite.com" with the URL of your site. Edit the top of the script to point to perl. Save & Upload search.php to your CGI-BIN folder on your server, and CHMOD to 755.

4) Edit the templates 'navbar,' 'FORUMHOME,' and 'search_forums' (depending on which searches you want to appear) as indicated in the install instructions.

5) Create a new template called 'adv_portal_megasearch' (without the quotes), with the contents of the megasearch_cmps.txt file and activate it.

6) That's it! PLEASE CLICK INSTALL IF YOU FIND THIS USEFUL!

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	screen1.jpg
Views:	244
Size:	116.9 KB
ID:	32960   Click image for larger version

Name:	screen2.jpg
Views:	178
Size:	66.4 KB
ID:	32961   Click image for larger version

Name:	screen3.jpg
Views:	192
Size:	89.6 KB
ID:	32962   Click image for larger version

Name:	screen4.jpg
Views:	247
Size:	104.9 KB
ID:	32963  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
End-User Options Search Social Groups Link On Navbar Search Mosh vBulletin 3.7 Add-ons 16 08 Jan 2009 05:22
End-User Options Search Tags Link On Navbar Search Mosh vBulletin 3.7 Add-ons 22 26 Mar 2008 05:34
Boolean Search in Search Drop-Down Menu Option in Navbar Neutral Singh vBulletin 3.5 Template Modifications 9 03 Jul 2007 20:58

Comments
  #2  
Old 05 Aug 2005, 21:46
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
REQUIREMENTS: Perl running on your server, and a cgi-bin folder and vbulletin 3.0.X

INSTALLATION


1) Create new GLOBAL phrases:
Go to your ADMIN CP -> LANGUAGES & PHRASES -> PHRASE MANAGER -> ADD NEW PHRASE and create these phrases:

FIRST PHRASE:
Phrase Type:GLOBAL
varname: megasearch
text:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

SECOND PHRASE:
Type: GLOBAL
Varname: megasearch_title
text:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

THIRD PHRASE:
(NOTE: You only need to add this phrase if you want to have the search appear in the navbar)
Type: GLOBAL
Varname: megasearch_navbar
text:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

FOURTH PHRASE:
(NOTE: You only need to add this phrase if you want to have the search appear as a module in your VBadvanced CMPS)
Type: GLOBAL
Varname: megasearch_cmps
text:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2) Upload 'mega.jpg' to your forum/images/misc folder (you only need to upload the picture if you are going to add a search area below the "Who's Online" box). You can substitute any picture you see fit, just make sure it fits in the area defined (30x30)

3) Open search.cgi and replace "www.yoursite.com" with the URL of your site. Edit the top of the script to point to perl:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This must point to the Perl version on your server. If you don't know it, ask your host. In most cases #!/usr/bin/perl or #!/usr/bin/perl5 works OK. If you do not have Perl installed on your server all is not lost! You can try a file called perlsp that provides an ASP/PHP/JSP like environment for Perl on all servers, dedicated or virtual, with everything that you expect from a web programming environment (and before only knew from PHP or ASP). Save & Upload to your CGI-BIN folder on your server, and CHMOD to 755. If you don't know what CHMOD is or how to do it READ HERE.

4) DO THIS STEP ONLY IF YOU WANT THE MEGASEARCH TO APPEAR ON YOUR FORUMHOME, BELOW THE "WHO'S ONLINE" AREA!

Go to your ADMIN CP -> STYLES & TEMPLATES -> STYLE MANAGER -> EDIT TEMPLATES and click on the "<< >>" button to expand the template groups. Click on the FORUMHOME template to edit it and search for:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

5) DO THIS STEP ONLY IF YOU WANT THE MEGASEARCH TO APPEAR ON YOUR SEARCH.PHP PAGE, BELOW THE SEARCH AREA!

Go to your ADMIN CP -> STYLES & TEMPLATES -> STYLE MANAGER -> EDIT TEMPLATES and click on the "<< >>" button to expand the template groups. Click on the "search_forums" template to edit it and search for:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

6) DO THIS STEP ONLY IF YOU WANT THE MEGASEARCH TO APPEAR ON YOUR NAVBAR!

Go to your ADMIN CP -> STYLES & TEMPLATES -> STYLE MANAGER -> EDIT TEMPLATES and click on the "<< >>" button to expand the template groups. Click on the "navbar" template to edit it and search for:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

7) DO THIS STEP ONLY IF YOU WANT THE MEGASEARCH TO APPEAR AS A MODULE ON YOUR VBADVANCED CMPS!

Create a new template called 'adv_portal_megasearch' (without the quotes), with the following contents:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Go to your ADMIN CP -> VBa CMPS -> ADD MODULE -> TEMPLATE -> and create a CMPS module with the following properties:
Module Title: MegaSearch
Column: Center (I designed the layout to go across the middle, but you can re-design it to fit in a sidebox if you want)
Display Order: Your Choice (last is best)
ACTIVE: YES
Template to include: adv_portal_megasearch (the 'adv_portal_' part is implied, so only enter 'megasearch' in the text box)
Use Module Shell Template: NO

8) That's it! Please click INSTALL if you find this useful!

OPTIONAL: ADD MORE ENGINES TO SEARCH

You can add your own search engines to the end of the list in search.cgi, just before:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Simply add your own search string using this formula:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just replace the name of the website with "The Website" (keeping the quotes) and replace the search string. Replace your search term with '$search' in the string. Then add it to your megasearch phrases inbetween an option tag like this example:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This list and your list in your template do NOT need to be in the same order, just as long as they both reflect the same search engine options.

FIND NEW SEARCH STRINGS

To find new search strings simply go to your favorite site and locate their "search" box, and enter any term, and remember what that term is. Sumbit the search and look in the URL address area of your browser- highlight the url and copy it and paste it to a text editor. Look for the term you searched for and replace it with $search

"CREATE" NEW SEARCH ENGINES

If your favorite site does not have a search engine installed, or if it is not visible in the URL area of your browser after you submit a search then you can easily create your own using the following formula:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Simply replace both instances of www.website.com with the URL to the site you wish to include in the search. NOTE: This does not actually search the site, but rather the pages that are already indexed by GOOGLE (or whichever search engine you choose). You can use any search engine you want to use that allows advanced searches like this, such as Metacrawler, etc..

You can also use the 'more engines.txt' file that is included with this zip file. It has several more search engines listed, and the search variable has already been substituted with $search for you. Simply cut and paste the URL in to your search.cgi following the directions at the top of the script, and also add the name of the engine between <option></option> tags in the search options that are included in the phrases. Be sure to use the exact same spelling, capitalization etc. for the name of the option and also the search engine option on the search.cgi script.

Last edited by yoyoyoyo; 06 Aug 2005 at 15:12.
Reply With Quote
  #3  
Old 06 Aug 2005, 08:23
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
This is perfect for what i was looking for, ill be installing this now, thanks
Reply With Quote
  #4  
Old 06 Aug 2005, 14:44
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Originally Posted by hornstar1337
This is perfect for what i was looking for, ill be installing this now, thanks
I am glad you like it- please remember to click INSTALL if you find this useful

I decided to post more thorough install info in the first post of this thread so folks will not have to download the zip file if they don't want to, so refer to that post (or the text file in the zip) for install info.
Reply With Quote
  #5  
Old 14 Aug 2005, 01:17
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
zip file updated with better instructions
Reply With Quote
  #6  
Old 25 Oct 2005, 17:07
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Big question.

Question... How do I go about having this search them all. I do not want the user to pick an option.

Thanks!
__________________
http://www.t3media.com (Ideas at the speed of thought.)
http://www.sprnch.com social networking!
http://hunterex.com (cellphones super cheap!)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:48.

Layout Options | Width: Wide Color: