vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Add-On Releases - Google/Adsense Site Search Navbar Integration (https://vborg.vbsupport.ru/showthread.php?t=128274)

Eagle Creek 02-12-2007 11:31 PM

What does this have to do with google adsense? I mean? It's just a google search performed on your site, isn't it?

davidw 02-13-2007 12:09 AM

You could look at it that way, however, you have both options - search your site OR search the web with your adsense information. Adsense does not have to be a box with ads in it. This is called Adsense for Search.

Here's an overview: https://www.google.com/adsense/ws-overview

Eagle Creek 02-13-2007 02:06 AM

Aah, now I get it ;).
I thought of the box with ads yes :D.

And where do I find the GELT?

davidw 02-13-2007 12:29 PM

the GALT, from what I understand is how the results display on your page. Much like properties of <td> and <div> tags, it appears to define the properties. It is displayed initially when you sign up for the adsense code. For example, here is mine
PHP Code:

GALT:#9A2C06;GL:1;DIV:#33FFFF;VLC:D03500;AH:center;BGC:99CCFF;LBGC:CCE5F9;ALC:440066;LC:440066;T:336699;GFNT:223472;GIMP:223472;FORID:1; 

broken down, it looks like this:
PHP Code:

GALT:#9A2C06;
GL:1;DIV:#33FFFF;
VLC:D03500;
AH:center;
BGC:99CCFF;
LBGC:CCE5F9;
ALC:440066;
LC:440066;
T:336699;
GFNT:223472;
GIMP:223472;
FORID:1

I just went to https://www.google.com/adsense/search-settings, played around with the colors, etc., and it produced new code for me including new information for that line
PHP Code:

GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:250;L:http://www.christianboards.org/images/logo.gif;S:http://www.christianboards.org;FORID:1 


Eagle Creek 02-14-2007 12:46 AM

Aah... So I really do need an adsense account?

davidw 02-14-2007 02:17 AM

Yes, to make money off the searches (you need the pub-#). Of course, you could always use mine :P

RedGTiVR6 02-16-2007 11:28 AM

What if making money off of the searches isn't necessarially a concern?

If I just wanted a google search feature for the forum. Is that possible with this mod or do I need to look elsewhere?

Eagle Creek 02-16-2007 12:24 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1183796)
What if making money off of the searches isn't necessarially a concern?

If I just wanted a google search feature for the forum. Is that possible with this mod or do I need to look elsewhere?

Exactly..

davidw 02-16-2007 12:31 PM

This works either way :) If you just wanted to search the site rather than search the web, you could remove the ability to search the web. (the radio button).

Edit:

Find:
PHP Code:

<form action="http://www.google.com/custom" type="hidden" method=GET name="search"><td class="thead">Search Site Google</td

Replace with:
PHP Code:

<form action="http://www.google.com/custom" type="hidden" method=GET name="search"><td class="thead">Search Site</td

Then

Find and Remove:
PHP Code:

<input name="sitesearch" type="radio" value=""><a href="http://www.google.com/search"><img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></A

This should work, although I've not tested it.

RedGTiVR6 02-16-2007 01:24 PM

So then this would just allow a google style search on the site it's self. No need to have an ad sense account?

If so, this would probably end up working much better. We're finding that the search feature that's built in doesn't work very well.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01253 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete