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
  #162  
Old 02-16-2008, 04:34 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone? Does this work with 3.7?

Regards Jason
Reply With Quote
  #163  
Old 02-17-2008, 04:25 AM
Icy Icy is offline
 
Join Date: Nov 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine for me with 3.7
Reply With Quote
  #164  
Old 02-19-2008, 07:53 AM
toprak toprak is offline
 
Join Date: Dec 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great job no word to say.
Reply With Quote
  #165  
Old 02-21-2008, 09:38 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Icy View Post
Works fine for me with 3.7
thanks for the info
Reply With Quote
  #166  
Old 02-22-2008, 06:43 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still cant fix it so it works like this


The only way i can make it work is either remove the default search pulldown menu and just place a link to gtsearch in the navbar OR place the gtsearch in the header as a box.

Can anyone help me make it like an option in the regular drop down search please? (see image)
Reply With Quote
  #167  
Old 02-22-2008, 07:17 AM
Icy Icy is offline
 
Join Date: Nov 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GuaRRand, please make sure that you have
HTML Code:
		$template_hook[navbar_search_menu]
in your navbar template. If no, then add this.

Search for:
HTML Code:
		</table>
	</div>
	<!-- / header quick search form -->
Add above:
HTML Code:
		$template_hook[navbar_search_menu]
Reply With Quote
  #168  
Old 02-22-2008, 11:54 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, that worked kinda.

Now i have the google search in the pulldown menu. but when i add a searchword in it, it comes back with a default search window and the message "Please specify some words or valid user names to search on. There were no matches for those that you specified."
Reply With Quote
  #169  
Old 02-22-2008, 12:02 PM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW,

i have
Code:
	</table>
                    </form>
	</div>
	<!-- / header quick search form -->
Notice the extra "form" tag there.

When i place the code like so
Code:
$template_hook[navbar_search_menu]
</table>
                    </form>
	</div>
	<!-- / header quick search form -->
It doesnt work

If i place it like so
Code:
</table>
$template_hook[navbar_search_menu]
                    </form>
	</div>
	<!-- / header quick search form -->
It does work, but then its outside the table...

when i delete </form> i get the same problem as stated above...
Reply With Quote
  #170  
Old 02-22-2008, 12:12 PM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hell, this is the whole quick_search part in my navbar

Code:
<if condition="$show['searchbuttons']">
	<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
		<form action="search.php?do=process" method="post">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[search_forums]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<input type="hidden" name="do" value="process" />
				<input type="hidden" name="quicksearch" value="1" />
				<input type="hidden" name="childforums" value="1" />
				<input type="hidden" name="exactname" value="1" />
				<input type="hidden" name="s" value="$session[sessionhash]" />
				<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
			</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
				&nbsp;
				<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
			</td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
		</tr>
$template_hook[navbar_search_menu]
		</table>
</form>
			</div>
	<!-- / header quick search form -->
When i delete the whole <form action="search.php?do=process" method="post"> .....</form> part, googlesearch works, but regular search doesnt :P

I feel like a jojo here
Reply With Quote
  #171  
Old 02-22-2008, 12:18 PM
Icy Icy is offline
 
Join Date: Nov 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It appears that you have edited your navbar template heavily. Try reverting your navbar template & do the custom edit again or try replacing your header quick search form with this

HTML Code:
	<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none" align="$stylevar[left]">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[search_forums]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<form action="search.php?do=process" method="post">

					<input type="hidden" name="do" value="process" />
					<input type="hidden" name="quicksearch" value="1" />
					<input type="hidden" name="childforums" value="1" />
					<input type="hidden" name="exactname" value="1" />
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
					<div style="margin-top:$stylevar[cellpadding]px">
						<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
						&nbsp;
						<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
					</div>					
				</form>
			</td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
		</tr>
		$template_hook[navbar_search_menu]
		</table>
	</div>
	<!-- / header quick search form -->
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 05:29 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.05152 seconds
  • Memory Usage 2,329KB
  • 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
  • (4)bbcode_code
  • (4)bbcode_html
  • (1)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
  • (2)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