Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Search The Internet v1.0 (Major Engines) Details »»
Search The Internet v1.0 (Major Engines)
Version: 1.00, by tHE DSS tHE DSS is offline
Developer Last Online: Oct 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-09-2002 Last Update: Never Installs: 66
 
No support by the author.

Search The Internet Hack - (Copyright 2002+), tHE DSS
V1.0 (10th August 2002)

Additional code (enhanced by tHE DSS) used from Freddie's Quick Stats Hack at https://vborg.vbsupport.ru/showthrea...threadid=37193


As with anything of this nature, I will not be held responsible for any damage that may be caused during installation of this hack, or in the future during usage of this hack. Although steps have been taken to ensure a smooth installation, and smooth usage, you install and use this hack entirely at your own risk.

// #######################
// #######################

This hack gives your visitors an excellent quick and easy way of finding information on the Internet, without having to leave your site.

5 search engines are included at the moment (google, yahoo, alta vista, excite & lycos). A search "bar" is present on every page on your forum site, in the footer by default - your visitors simply type in a search, select the engine to search on (from a drop down box), and that's that.

A new window will open up, with the seach results displayed.

It gets even better, because this hack can optionally keep search logs on who is searching what from where, and when. A great help for webmasters interested in their visitors wants and needs.

Webmasters can quickly track down information from the search logs via the vB AdminCP. In-fact, webmasters can control the logs completely, from the AdminCP.

It gets better yet, as this hack is so easy to install.

// #######################
// #######################

I will no doubt be adding features to this hack as and when I get a spare half hour - the "upgrades" will simply entail uploading a replacement file (no vB scripts will need replacing).

Cheers.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 08-11-2002, 09:00 PM
tzlvazrael tzlvazrael is offline
 
Join Date: Apr 2002
Location: Las Vegas
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stoopid question...

Anyway to get this to show up in the header rather than the footer???

I tried putting the $search_the_internet in the header template, right after <!-- /content area table --> but it did not show up in the header...

Thanks
Reply With Quote
  #43  
Old 08-11-2002, 09:37 PM
tHE DSS's Avatar
tHE DSS tHE DSS is offline
 
Join Date: Jun 2002
Location: UK
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your 'header' template, you need to look for this :

<!-- content table -->

The :

<!-- /content area table -->

... which you speak of, should be in your footer, so you don't want the '$search_the_internet' in your footer, if you want it in your header.

So, find this line in your 'header' template : <!-- content table -->

... and then above that, place : $search_the_internet

You are going to need to also change where your 'global.php' script "calls in" the 'search_the_internet' template.

Open up your 'global.php', and find the bit from this hack that you've place in it, as displayed below :

PHP Code:
// parse tHE DSS, Search The Internet template (global)
eval("\$search_the_internet = \"".gettemplate('search_the_internet')."\";"); 
... CUT that out, and place it above this :

PHP Code:
eval("\$headinclude = \"".gettemplate('headinclude')."\";");
eval(
"\$header .= \"".gettemplate('header')."\";"); 
Then save your 'global.php' file, and that will do it.

As long as you do have the $search_the_internet variable inside your 'header' template, this will work to get the search bar in your header, rather than your footer.
Reply With Quote
  #44  
Old 08-11-2002, 09:44 PM
tzlvazrael tzlvazrael is offline
 
Join Date: Apr 2002
Location: Las Vegas
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charm...

Thanks a million.....
Reply With Quote
  #45  
Old 08-11-2002, 10:00 PM
mauisun mauisun is offline
 
Join Date: Jul 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added this hack, added 6 new search sites to it and everything worked perfectly. thanks alot for a great hack!
...mauisun
Reply With Quote
  #46  
Old 08-11-2002, 11:02 PM
tHE DSS's Avatar
tHE DSS tHE DSS is offline
 
Join Date: Jun 2002
Location: UK
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All more than welcome. :Wink:
Reply With Quote
  #47  
Old 08-12-2002, 01:18 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tHE DSS-

Hi! I want this show on my main page, not the forums. Anyway to get this to work? I had it in the footer of my forums, but I have sinced moved it to my main page. It obviously won't work there, I get a websearch.php not found.
Reply With Quote
  #48  
Old 08-12-2002, 01:23 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

never mind.
Reply With Quote
  #49  
Old 08-12-2002, 06:04 AM
tHE DSS's Avatar
tHE DSS tHE DSS is offline
 
Join Date: Jun 2002
Location: UK
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just an issue with file paths..... but, you sussed it already.
Reply With Quote
  #50  
Old 08-12-2002, 06:28 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I moved it to the front page, right side. Looks good. Great job, appreciate it.
Reply With Quote
  #51  
Old 08-12-2002, 08:51 AM
w596 w596 is offline
 
Join Date: Jul 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice tHE DSS

It makes a great addition to the welcome panel.

Thanks
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06778 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete