The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MEGA SEARCH v1.0 (navbar, WOL, CMPS & search.php) Details »» | |||||||||||||||||||||||||||
MEGA SEARCH v1.0 (navbar, WOL, CMPS & search.php)
Developer Last Online: Sep 2008
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: 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! Supporters / CoAuthors Show Your Support
|
Comments |
#2
|
||||
|
||||
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: Code:
<form action="../cgi-bin/search.cgi" target="top"> Search terms: <input type="text" name="search" value=""> search engine: <SELECT NAME="engine"> <OPTION>Google</OPTION> <OPTION>Ask Jeeves</OPTION> <OPTION>Dogpile</OPTION> <OPTION>Galaxy</OPTION> <OPTION>Altavista</OPTION> <OPTION>Yahoo</OPTION> <OPTION>Lycos</OPTION> <OPTION>Metacrawler</OPTION> <OPTION>Wikipedia</OPTION> <OPTION>weather.com</OPTION> <OPTION>clipart.com</OPTION> <OPTION>eBay</OPTION> <OPTION>Internet Movie Database</OPTION> <OPTION>The Smoking Gun</OPTION> <OPTION>AlltheWeb</OPTION> <OPTION>About</OPTION> <OPTION>AOL</OPTION> <OPTION>GoPile</OPTION> <OPTION>Netscape</OPTION> <OPTION>Teoma</OPTION> <OPTION>CompuServe</OPTION> <OPTION>Mamma</OPTION> <OPTION>DMOZ</OPTION> <OPTION>HotBot</OPTION> <OPTION>MSN</OPTION> <OPTION>Looksmart</OPTION> <OPTION>Dictionary.com</OPTION> <OPTION>Thesaurus.com</OPTION> <OPTION>Creative Commons</OPTION> <OPTION>mininova bittorrent search</OPTION> <OPTION>BBC News</OPTION> <OPTION>CNN News</OPTION> <OPTION>Disinfopedia</OPTION> <OPTION>National Public Radio</OPTION> <OPTION>Big Cartoon Database</OPTION> <OPTION>CultureBuffs</OPTION> <OPTION>Beer in the Evening</OPTION> <OPTION>MemoryAlpha</OPTION> <OPTION>Ticketmaster</OPTION> <OPTION>Comingsoon.net</OPTION> <OPTION>Kids-In-Mind.com</OPTION> <OPTION>GameSpy</OPTION> <OPTION>FilePlanet</OPTION> <OPTION>UFOpsi</OPTION> <OPTION>Webtender</OPTION> <OPTION>recipesource</OPTION> <OPTION>AllRecipes.com</OPTION> <OPTION>Foodnetwork.com</OPTION> <OPTION>Abbreviationz.com</OPTION> <OPTION>Fark.com</OPTION> <OPTION>googlism.com</OPTION> <OPTION>Wired News</OPTION> <OPTION>G4 Tech TV</OPTION> <OPTION>Blogdex</OPTION> <OPTION>Blog Search Engine</OPTION> <OPTION>wtc7.net</OPTION> <OPTION>Centers for Disease Control</OPTION> <OPTION>Snopes.com Urban Legends</OPTION> <OPTION>CPAN Perl Archive</OPTION> <OPTION>download.com</OPTION> <OPTION>Internet Archives: Movies</OPTION> <OPTION>Internet Archives: Text</OPTION> <OPTION>Internet Archives: Audio</OPTION> <OPTION>Internet Archives: Software</OPTION> <OPTION>Internic WHOIS Search</OPTION> <OPTION>subgenius.com</OPTION> <OPTION>vbulletin.org</OPTION> </SELECT> <input type="submit" value="Search the Web"> </form> Type: GLOBAL Varname: megasearch_title text: Code:
Mega Search (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: Code:
<td class="alt2" valign="top" nowrap="nowrap"> <div class="smallfont"><form action="../cgi-bin/search.cgi" target="top"> Search terms: <input type="text" name="search" value=""><br> search engine: <SELECT NAME="engine"> <OPTION>Google</OPTION> <OPTION>Ask Jeeves</OPTION> <OPTION>Dogpile</OPTION> <OPTION>Galaxy</OPTION> <OPTION>Altavista</OPTION> <OPTION>Yahoo</OPTION> <OPTION>Lycos</OPTION> <OPTION>Metacrawler</OPTION> <OPTION>Wikipedia</OPTION> <OPTION>weather.com</OPTION> <OPTION>clipart.com</OPTION> <OPTION>eBay</OPTION> <OPTION>Internet Movie Database</OPTION> <OPTION>The Smoking Gun</OPTION> <OPTION>AlltheWeb</OPTION> <OPTION>About</OPTION> <OPTION>AOL</OPTION> <OPTION>GoPile</OPTION> <OPTION>Netscape</OPTION> <OPTION>Teoma</OPTION> <OPTION>CompuServe</OPTION> <OPTION>Mamma</OPTION> <OPTION>DMOZ</OPTION> <OPTION>HotBot</OPTION> <OPTION>MSN</OPTION> <OPTION>Looksmart</OPTION> <OPTION>Dictionary.com</OPTION> <OPTION>Thesaurus.com</OPTION> <OPTION>Creative Commons</OPTION> <OPTION>mininova bittorrent search</OPTION> <OPTION>BBC News</OPTION> <OPTION>CNN News</OPTION> <OPTION>Disinfopedia</OPTION> <OPTION>National Public Radio</OPTION> <OPTION>Big Cartoon Database</OPTION> <OPTION>CultureBuffs</OPTION> <OPTION>Beer in the Evening</OPTION> <OPTION>MemoryAlpha</OPTION> <OPTION>Ticketmaster</OPTION> <OPTION>Comingsoon.net</OPTION> <OPTION>Kids-In-Mind.com</OPTION> <OPTION>GameSpy</OPTION> <OPTION>FilePlanet</OPTION> <OPTION>UFOpsi</OPTION> <OPTION>Webtender</OPTION> <OPTION>recipesource</OPTION> <OPTION>AllRecipes.com</OPTION> <OPTION>Foodnetwork.com</OPTION> <OPTION>Abbreviationz.com</OPTION> <OPTION>Fark.com</OPTION> <OPTION>googlism.com</OPTION> <OPTION>Wired News</OPTION> <OPTION>G4 Tech TV</OPTION> <OPTION>Blogdex</OPTION> <OPTION>Blog Search Engine</OPTION> <OPTION>wtc7.net</OPTION> <OPTION>Centers for Disease Control</OPTION> <OPTION>Snopes.com Urban Legends</OPTION> <OPTION>CPAN Perl Archive</OPTION> <OPTION>download.com</OPTION> <OPTION>Internet Archives: Movies</OPTION> <OPTION>Internet Archives: Text</OPTION> <OPTION>Internet Archives: Audio</OPTION> <OPTION>Internet Archives: Software</OPTION> <OPTION>Internic WHOIS Search</OPTION> <OPTION>subgenius.com</OPTION> <OPTION>Ask Jolene: pictures</OPTION> <OPTION>Ask Jolene: movies</OPTION> <OPTION>Booble</OPTION> <OPTION>OnlyBestSex.com</OPTION> <OPTION>vbulletin.org</OPTION> </SELECT> <input type="submit" value="Search the web"> </form></div> </td> (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: Code:
<center><form action="../cgi-bin/search.cgi" target="top"> Search terms: <input type="text" name="search" value=""> search engine: <SELECT NAME="engine"> <OPTION>Google</OPTION> <OPTION>Ask Jeeves</OPTION> <OPTION>Dogpile</OPTION> <OPTION>Galaxy</OPTION> <OPTION>Altavista</OPTION> <OPTION>Yahoo</OPTION> <OPTION>Lycos</OPTION> <OPTION>Metacrawler</OPTION> <OPTION>Wikipedia</OPTION> <OPTION>weather.com</OPTION> <OPTION>clipart.com</OPTION> <OPTION>eBay</OPTION> <OPTION>Internet Movie Database</OPTION> <OPTION>The Smoking Gun</OPTION> <OPTION>AlltheWeb</OPTION> <OPTION>About</OPTION> <OPTION>AOL</OPTION> <OPTION>GoPile</OPTION> <OPTION>Netscape</OPTION> <OPTION>Teoma</OPTION> <OPTION>CompuServe</OPTION> <OPTION>Mamma</OPTION> <OPTION>DMOZ</OPTION> <OPTION>HotBot</OPTION> <OPTION>MSN</OPTION> <OPTION>Looksmart</OPTION> <OPTION>Dictionary.com</OPTION> <OPTION>Thesaurus.com</OPTION> <OPTION>Creative Commons</OPTION> <OPTION>mininova bittorrent search</OPTION> <OPTION>BBC News</OPTION> <OPTION>CNN News</OPTION> <OPTION>Disinfopedia</OPTION> <OPTION>National Public Radio</OPTION> <OPTION>Big Cartoon Database</OPTION> <OPTION>CultureBuffs</OPTION> <OPTION>Beer in the Evening</OPTION> <OPTION>MemoryAlpha</OPTION> <OPTION>Ticketmaster</OPTION> <OPTION>Comingsoon.net</OPTION> <OPTION>Kids-In-Mind.com</OPTION> <OPTION>GameSpy</OPTION> <OPTION>FilePlanet</OPTION> <OPTION>UFOpsi</OPTION> <OPTION>Webtender</OPTION> <OPTION>recipesource</OPTION> <OPTION>AllRecipes.com</OPTION> <OPTION>Foodnetwork.com</OPTION> <OPTION>Abbreviationz.com</OPTION> <OPTION>Fark.com</OPTION> <OPTION>googlism.com</OPTION> <OPTION>Wired News</OPTION> <OPTION>G4 Tech TV</OPTION> <OPTION>Blogdex</OPTION> <OPTION>Blog Search Engine</OPTION> <OPTION>wtc7.net</OPTION> <OPTION>Centers for Disease Control</OPTION> <OPTION>Snopes.com Urban Legends</OPTION> <OPTION>CPAN Perl Archive</OPTION> <OPTION>download.com</OPTION> <OPTION>Internet Archives: Movies</OPTION> <OPTION>Internet Archives: Text</OPTION> <OPTION>Internet Archives: Audio</OPTION> <OPTION>Internet Archives: Software</OPTION> <OPTION>Internic WHOIS Search</OPTION> <OPTION>subgenius.com</OPTION> <OPTION>vbulletin.org</OPTION> </SELECT><BR><BR><CENTER> <input type="submit" value="Search the Web"> </form></CENTER> 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: Code:
#!/usr/bin/perl 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: Code:
<if condition="$show['birthdays']"> Code:
<!-- megasearch --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('megasearch')"><img id="collapseimg_megasearch" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_megasearch].gif" alt="" border="0" /></a> $vbphrase[megasearch_title] </td> </tr> </tbody> <tbody id="collapseobj_megasearch" style="$vbcollapse[collapseobj_megasearch]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/mega.jpg" alt="$vbphrase[megasearch_title]" border="0" /></td> <td class="alt1" width="100%"> <div class="smallfont"> <div>$vbphrase[megasearch]</div> </div> </td> </tr> </tbody> <!-- end megasearch--> 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: Code:
$footer Code:
<br><div align=center>$vbphrase[megasearch]</div><br> 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: Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> </td> Code:
$vbphrase[megasearch_navbar] Create a new template called 'adv_portal_megasearch' (without the quotes), with the following contents: Code:
$vbphrase[megasearch_cmps] 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: Code:
'print "Location: $url\n\n";' Code:
if ($engine eq "The Website") { $url = "http://website.com/search?query=$search"; } Code:
<option>The Website</option> 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: Code:
http://www.google.com/search?q=$search&btnG=Google+It%21&domains=www.website.com&sitesearch=www.website.com 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. |
#3
|
|||
|
|||
This is perfect for what i was looking for, ill be installing this now, thanks
|
#4
|
||||
|
||||
Quote:
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. |
#5
|
||||
|
||||
zip file updated with better instructions
|
#6
|
|||
|
|||
Question... How do I go about having this search them all. I do not want the user to pick an option.
Thanks! |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|