Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GTSearch: Google? Custom Search Engine Details »»
GTSearch: Google? Custom Search Engine
Version: 1.00, by Princeton Princeton is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 11-05-2007 Last Update: Never Installs: 388
Auto-Templates
Additional Files  
No support by the author.

Now you can have your very own Google? Custom Search Engine tailored specifically for your web site.

Why GTSearch: Google? Custom Search Engine?
  • Help your visitors find what they're looking for
  • Invite your friends and community to contribute
  • Make money with AdSense for Search
Custom modification brought to you by Joe Velez (aka Princeton vbulletin.org Admin).

1.0.0 VERSION (download GTSEARCH.zip)

This is a "No Template Edits" modifications.

Show your support and click Mark As Installed and Nominate For MOTM.

For continued support and upgrades - support by donating via PayPal.

What is a Custom Search Engine?

A Custom Search Engine is a tailored search experience, built using Google's core search technology, that prioritizes or restricts search results based on websites and pages you specify. Your Custom Search Engine can be tailored to reflect your point of view or area of expertise. With a Custom Search Engine, you can:
  • Apply your website's look and feel to the search results page.
  • Provide search refinements within results pages to make it easier for searchers to find the information they're looking for.
  • Add sites to your search engine's index as you surf the web.
  • Invite friends and trusted users to co-edit and contribute to your search engine.
  • Make money from your Custom Search Engine by participating in Google's AdSense program.
Once you've defined your search engine index, Google will give you a simple piece of code for a search box to place on your site or blog. You'll then have the option to choose various customization options to make the look and feel and functionality of your search engine your own.

Frequently Asked Questions

Q)
What exactly does this modification do?
A) It integrates your CSE with your site - results are on your site not on a Google-hosted page.

Q) Can I run Adsense ads on the same page?
A) No, it's Adsense Google's TOS. To earn money, you will need to associate your CSE with your Adsense account. You can do this by clicking the "Make Money" section of your custom search engine control panel.

Instructions
  1. Upload gtsearch.php file to vbulletin root (same place where global.php file is located)
  2. Install GTSearch: Google? Custom Search Engine product file
  3. Create a Custom Search Engine @ google.com
  4. Want to make money? Follow directions as instructed in the Make Money section of your CSE page.
  5. When completed copy/paste Code to GTSearch: Google? Custom Search Engine vBulletin Options.
  6. Done




Questions about Google? Custom Search Engine?Must Read History:
  • November 6 2007 - GTSearch: Google? Custom Search Engine release
Recently Released Modifications:

Show Your Support

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

Comments
  #62  
Old 11-09-2007, 04:18 AM
testebr testebr is offline
 
Join Date: Jan 2004
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where I can see an live example?
Reply With Quote
  #63  
Old 11-09-2007, 09:22 AM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton View Post
your styles are not up to date .. make sure $template_hook['navbar_search_menu'] exists in your search menu html
I'm confused - I've just checked my templates and this doesn't appear in any template in the default style which is completely unmodified and I'm running a fully patched 3.6.8 version of vBulletin?

(ETA)

Just found it - no idea why but a cut and paste from the post didn't find it ("$template_hook[navbar_search_menu]") - Just checked and it is in my styles.
Reply With Quote
  #64  
Old 11-09-2007, 11:14 AM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Junkie View Post
Princeton, in what template does the conditional "THIS_SCRIPT!='gtsearch'" get put, and where exactly in the template?

I just did this last night. What you will have to do is wrap your adsence code like this

Code:
<if condition="THIS_SCRIPT!='gtsearch'">
<center>
<script type="text/javascript"><!--
google_ad_client = "*********";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_ad_channel = "";
google_color_border = "cdcddc";
google_color_bg = "cdcddc";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</if>

This will make it display on all pages except the search result page (gtsearch). If you are using an ad management plugin you will have to find out how they insert the info into the template and edit at that point to include the <if> statement.
Reply With Quote
  #65  
Old 11-09-2007, 12:03 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Calash. That fixed it for me.
Reply With Quote
  #66  
Old 11-09-2007, 03:43 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
I think it is a good hack, and it is well-written, and I appreciate Princeton sharing it. I don't understand why you are so critical of it.
Apologies = I didn't mean to sound so critical of the hack AND yes - I certainly appreciate it when coders, designers, etc... shares their lovely works with the vB Community

Jacquii.
Reply With Quote
  #67  
Old 11-09-2007, 04:44 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When the search results come up, the "Can't find what you are looking for? Try football or our Advanced Search." phrase shows above the search results. Why does 'Advanced Search' show when that takes the user to the forum search area and doesn't allow for additional web page searching?
Reply With Quote
  #68  
Old 11-10-2007, 01:11 AM
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Location: Amsterdam
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack Princeton. Flawless install and was up and running in 'bout 5 minutes. Thanks so much for sharing this.
Reply With Quote
  #69  
Old 11-10-2007, 09:33 AM
jGas jGas is offline
 
Join Date: May 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that's great!! installed and nominated for motm.. adsense for search never worked on my site..let's see if it works with this wonderful hack!
Reply With Quote
  #70  
Old 11-10-2007, 11:12 AM
jGas jGas is offline
 
Join Date: May 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have disabled the search for guests..is it possibile to enable GTSearch for them? when i'm logged out there isn't the "search" link so guests can't see gtsearch!
Reply With Quote
  #71  
Old 11-10-2007, 04:13 PM
skariko skariko is offline
 
Join Date: Apr 2006
Location: Milano (Italy)
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I follow the instruction but it doesn't shows up on my navbar.

Can I add it manually?
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 11:16 PM.


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.05132 seconds
  • Memory Usage 2,317KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_quote
  • (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
  • (1)pagenav_pagelinkrel
  • (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