vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Add Google adsense search to your navbar dropdown (https://vborg.vbsupport.ru/showthread.php?t=103222)

hydrazug 08-08-2006 06:02 PM

I emailed google asking them as I've heard you're not supposed to touch their code that you copy paste:

"Thanks for taking the time to clarify AdSense program policies with us. I
understand that you have altered the layout of the search boxes on
http://scatteredgenius.com/cmps_index.php and http://evilzug.com/stuff/ in
order to fit the page, however as you mentioned, these modifications are
against our policies. Please change the boxes back to their original form.

While we understand the importance of maintaining the quality of your site
and your site's user experience, modification of the AdSense for search
code is a violation of the AdSense program policies. We appreciate your
cooperation and understanding in this matter."

Gotta be careful!

For what it's worth, I pulled the search boxes I put up because they didn't fit into my layouts; I've not found a way to fit them in again/yet.

GoTTi 08-10-2006 04:31 AM

got this working for 3.6?

wildo69 08-13-2006 06:29 AM

not sure why, but when i use this in vb 3.6 (RC3) when i enter a search phrase and press enter (or click search) is runs the vb search.php and not the google search. it used to work fine in 3.5

any ideas?

GoTTi 08-14-2006 03:00 PM

i cant get it to show in 3.6

mattyk72 08-17-2006 01:04 AM

Quote:

Originally Posted by wildo69
not sure why, but when i use this in vb 3.6 (RC3) when i enter a search phrase and press enter (or click search) is runs the vb search.php and not the google search. it used to work fine in 3.5

any ideas?

I'm having the same problem. Any fixes yet?

ericgtr 08-17-2006 02:45 AM

This was written for 3.5.x judging from the posts in here it's not working in 3.6, I will work on an update and bump this when I have something.

GoTTi 08-21-2006 05:10 PM

hows the 3.6 version coming?

ericgtr 08-21-2006 05:30 PM

I just tested it with 3.6 and it works the same. The only thing is in order to make it fit you will have to either tweak the vB code or the Google code due to the size of the input box. Keep in mind that Google's TOS states that you cannot change their code, what you do is up to you on that one. Maybe I will look at changing the default search size to match up, this would be a better alternative.

GoTTi 08-22-2006 09:43 AM

hmm when i tested it i got nothing that worked.

the search for google came up, but it would only search as if it was part of the forum.

GoTTi 09-02-2006 04:22 PM

got a fix on this yet?


All times are GMT. The time now is 11:56 PM.

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.01093 seconds
  • Memory Usage 1,734KB
  • 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
  • (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