vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Integration with vBulletin - Replace search with Google Custom Search (https://vborg.vbsupport.ru/showthread.php?t=229247)

hydn 04-06-2010 02:31 PM

Quote:

Originally Posted by messi93 (Post 2011191)
Hi , I install the mod and its Ok , but when i going to use it. it say " Bad Request
Your client has issued a malformed or illegal request.

Can you help me please?

Same here. Bump

hydn 04-06-2010 02:55 PM

Quote:

Originally Posted by messi93 (Post 2011191)
Hi , I install the mod and its Ok , but when i going to use it. it say " Bad Request
Your client has issued a malformed or illegal request.

Can you help me please?


I figured it out. You need to add the extra code after your pub#.

This:
Code:

partner-pub-###############
should be this:
Code:

partner-pub-###############:######-####
Marked as installed. Thanks

guvner 04-10-2010 01:12 AM

I've been registered for adsense for search for years, but when I try and create a new custom search form over at https://www.google.com/adsense I keep getting javascript errors on the final page where you save your form and get the code.

I've tried IE, FF & Chrome and they all stall at the last hurdle so I don't know what's going on there.

I almost have this working but cannot find anything to do with the extra code mentioned above - my partner-pub number is a plain 16 digit string with no colon and no extension after it.

Maybe they've changed something so I'll have to try again in a couple of days - hopefully I can finish the process then. :rolleyes:

Winter Sonata 04-10-2010 12:20 PM

Thank you


where shoud I put my adsense code in this code
Code:

<form action="http://www.ahfb2000.com/google.php" id="cse-search-box">
please replace the right place with '' your adsense code''

Winter Sonata 04-15-2010 01:00 AM

please anyone could explain this to me ?

Jabong82 04-16-2010 06:32 AM

Quote:

Originally Posted by Winter Sonata (Post 2018896)
Thank you


where shoud I put my adsense code in this code
Code:

<form action="http://www.ahfb2000.com/google.php" id="cse-search-box">
please replace the right place with '' your adsense code''

You don't place your adsense code anywhere in this snippet. This piece of code that you quoted is basically just the URL to where the "google.php" file is.

So for example, if your website URL is http://www.vbulletin.com

The code would be:

<form action="http://www.vbulletin.com/google.php" id="cse-search-box">

You don't place your "adsense code" in that code you quoted.

baghdad4ever 04-17-2010 04:45 PM

thanks

Winter Sonata 04-18-2010 01:47 PM

I got this error when trying to install as SemperFideles suggest

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/l......./public_html/google.php on line 29

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5/lib/php') in /home/l...../public_html/google.php on line 29

kmohamed 04-20-2010 12:14 AM

great job guys

jacobskinner811 04-22-2010 03:15 AM

I cant get this to work with 4.0.3 any help?


All times are GMT. The time now is 04:58 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.01129 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (3)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