vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - vB Google Adsense for Search plus Integration (https://vborg.vbsupport.ru/showthread.php?t=180277)

jlew24asu 07-15-2008 11:46 AM

edit

jlew24asu 07-15-2008 11:47 AM

Quote:

Originally Posted by davidw (Post 1570942)
How big, what size, location, etc. did you have in mind?

same size as it is now. just below the navbar. :):cool: :up:

davidw 07-15-2008 12:28 PM

Do you just want a small search box with a go button? Also, do you want it any specific location? (left side/right side?)

jlew24asu 07-15-2008 01:38 PM

Quote:

Originally Posted by davidw (Post 1575886)
Do you just want a small search box with a go button? Also, do you want it any specific location? (left side/right side?)

small search box with go button, yes. I believe it should say google search inside the box. left side will work.

:up:

davidw 07-15-2008 02:32 PM

let me see what I can do (when I get a chance).

djbaxter 07-15-2008 02:37 PM

Quote:

I've done an overhaul on this and you will need to resetup your adsense for search account for this to work. If you aren't happy with that, please use the 3.6 version of this, which works fine for 3.7 from what I've been told.

When you resetup your adsense, you will get a new pub ID - this one includes your previous pub and tacks on your GALT (which is set up when you resetup your adsense account).

Example: partner-pub-0123456789012345:lnucfbm5dtp

You will need this for step 3. If you do not have this, you will see an error.
I'm not sure I understand this. First, why is this required? Second, how do I do it, since I have an existing AdSense publisher account and don't want to have to change it for all my sites.

davidw 07-15-2008 03:46 PM

If your account looks similar to the example - then no worries :)
Example: partner-pub-0123456789012345:lnucfbm5dtp

If you need to do that, just go log into your Google adsense account - adsense for search it should prompt you.

The reason why it is required is because if you do not have the extended information (after the colon : ) then you will get a Bad Request error message from Google. This is only for the latest version - if yours works fine, then don't worry about it.

davidw 07-15-2008 06:44 PM

Quote:

Originally Posted by jlew24asu (Post 1575946)
small search box with go button, yes. I believe it should say google search inside the box. left side will work.

:up:

I've got a prototype working - but for some reason it is NOT showing the Google wording inside as it should. Try this one out and let me know - put $google_anywhere where you want it. I've got it working on my forumhome (left side). It is possible it is because the script is already being called in the navbar - that I've not tested.

jlew24asu 07-15-2008 07:02 PM

nice, thanks. I'll try it out. do I need to remove the original?

where exactly do I put $google_anywhere

find...

add below/after....

davidw 07-15-2008 07:25 PM

No, just import and overwrite.

You can put it where you like.

I added mine to my forumhome template just below the <!-- Main --> area.


All times are GMT. The time now is 01:09 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.01239 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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