View Full Version : Integration with vBulletin - vB Google Adsense for Search plus Integration
davidw
03-01-2009, 10:00 PM
This is no longer supported - however I will be working on a 4.0 compatible version of this.
This is the same version as 3.7 as I've had a few reports that it works just fine in 3.8. Plus, I have it running on 3.8 with no issues.
Step 1:
You may have to resetup your adsense. If you do, 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). I used www.christianboards.org and www.google.com (so it would search my site and the web - you can choose only your site, or any location that is web-accessible for results)
Example: partner-pub-0123456789012345:lnucfbm5dtp
If your partner-pub ID does not look like the example, you will see an error.
Also, keep in mind, all sites you put into the box for the adsense (one per line) will be integrated into the search and the search results.
Step 2:
Edit your searchresults.php file.
Find:
chdir('/path/to/your/forums/');
Put your correct value.
Example: chdir('/var/www/vhosts/yoursite.com/forums/');
Step 3:
Upload this file your forum's root. An example of your forum's root is below.
Example: http://www.yoursite.com/forums/searchresults.php
Step 4:
Install the product
Go to Admincp => Plugins & Products => Manage Products => [Add/Import Product] => Browse for product-davidw_vb_google_search.xml => Import
Step 5:
Configure your Admincp options
Go to Admincp => vBullitin Options => vBulletin Options => Find vB Google Search (Adsense) then click [Edit Settings]
Edit your new Partner-pub ID (the one you just had reset up - see example in red above), Google box width, iframe widthfor your results (I use 800 in the screenshot, but you can change this based on your needs), and the full URL to your searchresults.php.
NOTE! If you do not enter these in, you will see errors.
Step 6: Optional
Edit 1 template:
Admincp => Styles & Templates => Style Manager => Edit Templates (on your style) => Search Templates => search_forums => under $navbar, add $google_siteadsearch
Step 7: Optional (for vBAdvanced 3.x only)
vBa CMPS => Default Settings => Main Options => Portal Output Global Variables
Add these variables:
template_hook
google_navadsearch
homeurl
=> Save
vBa CMPS => Edit Modules => Search Forums => Select Action => Copy Module
Main Options
Module Title Google Search site / Forums
Template To Include search_google
Module Wrapper Template Options
Form Code Replace default code with <form action="http://www.yoursite.com/forums/searchresults.php" type="hidden" name="search" target="_blank">
Click Save
Edit locations where you want to set this active to.
The3rdNipple
03-01-2009, 11:12 PM
-Edit-
Reserved for mod?
Brandon Sheley
03-01-2009, 11:13 PM
Nice mod, I've wanted to integrate the google search in one of my forums
thanks
-Brandon
The3rdNipple
03-01-2009, 11:29 PM
Good Job!
Can you make it so that it disables the default search and you must use Search With Google?
davidw
03-01-2009, 11:32 PM
-Edit-
Reserved for mod?
I don't do that. :) I have reservations about reserving the first post but I won't get into that.
Good Job!
Can you make it so that it disables the default search and you must use Search With Google?You could always do a template edit and remove the code that controls it. If you are unsure of which, let me know.
veenuisthebest
03-02-2009, 01:18 AM
Hii..
Just wanted to know if its okay to display adsense for search in the Search popup box as in your 3rd screenshot.
No Google ad or Google search box may be displayed in a pop-up, pop-under, or in an email.
I remember digitalpoint forums used to have this sometime back, but they have removed it now from the popup box.
davidw
03-02-2009, 11:05 AM
Screenshot 3 is a drop-down box - it is part of the navigation system. A pop-up or pop-under is free-floating and can usually be disassociated with the current browser (will create a new instance of a browser page). Prior to creating this modificaiton, I checked the Program Policies to ensure this would comply.
Neal-UK
03-08-2009, 12:59 PM
Working great, thankyou.
Neal-UK
03-09-2009, 11:37 AM
Just one thing, my search box for vBadvanced cmps is a little wide knocking my forums out a little, how can I adjust the size?
davidw
03-09-2009, 12:17 PM
You can adjust that in the admincp options.
ecihanuysal
03-24-2009, 07:19 AM
installed..
but when i tried to search some words which include special characters "?,?,ğ,Ğ,İ,?,?,ş,Ş,?,?", i had an error without reason description.
Can you solve it please ;)
davidw
03-30-2009, 11:09 AM
This is something I'll have to investigate. I just got back. Give me a little bit. I believe it has to do with ISO encoding but let me see.
Jasem
03-30-2009, 12:51 PM
Good work, thank you!
Installed
karel1985
03-30-2009, 05:56 PM
Step 7: Optional (for vBAdvanced 3.x only)
vBa CMPS => Default Settings => Main Options => Portal Output Global Variables
Add these variables:
template_hook
google_navadsearch
homeurl
=> Save
vBa CMPS => Edit Modules => Search Forums => Select Action => Copy Module
Main Options
Module Title Google Search site / Forums
Template To Include search_google
Module Wrapper Template Options
Form Code Replace default code with
Code:
<form action="http://www.yoursite.com/forums/searchresults.php" type="hidden" name="search" target="_blank">
Click Save
Is it possible to change the width of the search box? Its strech my column out...
davidw
03-30-2009, 07:40 PM
Your admincp options should give you that ability.
universosymbian
03-31-2009, 05:37 AM
I have an error in the logs
[Tue Mar 31 04:01:36 2009] [error] [client 66.249.66.40] PHP Warning: chdir() [<a href='function.chdir'>function.chdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /var/www/vhosts/universosymbian.org owned by uid 0 in /var/www/vhosts/universosymbian.org/httpdocs/searchresults.php on line 8
how can I fix this error?
davidw
03-31-2009, 10:39 AM
You may not be able to fix that error, however, your host can. I would forward that error to your host and they can make a change on the server to accommodate this script or fix a possible issue (misconfiguration if safe mode is correctly set) as it appears you have safe mode on.
thetgc
04-08-2009, 11:29 PM
I there :)
I did everything as said in the intructions apart from step 6 and i get a page with the following:
Bad Request
Your client has issued a malformed or illegal request.
What could be the problem?
Thanks :)
EDIT: Doesnt matter... fixed it...
You should put more info in the Google Pub ID in the AdminCP... It says to put this: (you must start it with pub- and then your number)
but really it should say this
(you must start it with partner-pub- and then your number)
davidw
04-08-2009, 11:46 PM
I thought I had fixed that - but anyways, I've uploaded the correct one. I fixed the rest of it previously.
1.7's version will contain Google anywhere - which is a handy feature.
aryshi
04-09-2009, 01:16 AM
nice job davidw
i have somthing that when i search with other language like arabic its give no result , is theresomthing that i need to do ?
davidw
04-09-2009, 01:34 AM
As I've only used this in English, I am unsure.
One hypothesis is to only search one or the other and to change that possibly is to do this:
Find each template one value that looks like this:
<input type="hidden"
Add below:
<input type="hidden" name="hl" value="en">
change en to whichever language code you wish.
Multiple languages I am unsure about, but this is the closest I suspect would work.
I installed it correctly but i can't see google search anywhere?!
KURTZ
04-09-2009, 08:45 AM
just upgraded, thanks david
davidw
04-09-2009, 11:15 AM
just upgraded, thanks davidNo problem - in about a week or two I will have 1.7 released with a few new features.
I installed it correctly but i can't see google search anywhere?!
Are you referring to the search boxes or the searchresults.php file? If you are referring to the former, are you using your navigation in the header?
smooth-c
04-20-2009, 01:32 PM
Bad Request
Your client has issued a malformed or illegal request.
I get this same error and i've entered the google publication id both ways, with and without the -
Could someone help? Thanks!
davidw
04-20-2009, 02:46 PM
Does yours look like this:
Example: partner-pub-0123456789012345:lnucfbm5dtp
smooth-c
04-20-2009, 06:40 PM
Just looks like this;
Publisher ID: pub-8796421228273350
What do I need to do in order to get it looking like your example? I'm not very learned in this field as i'm a beginner at this stage so a short guide would do wonders!
Thank you!
davidw
04-20-2009, 08:17 PM
log into your adsense account http://www.google.com/adsense and click on Adsense setup tab. Then, click on AdSense for Search Improved! Walk through the steps and at the end, you will see your new partner-pub ID.
Don't forget to click Install.
smooth-c
04-21-2009, 03:24 PM
Thank you very much! :)
davidw
04-21-2009, 04:08 PM
Don't forget to click install :)
smooth-c
04-22-2009, 12:34 AM
Installed and nominated! :)
Sworm
05-01-2009, 07:46 PM
Hi,
is very necessary to resetup the adsense?
I'm not expert and i'm using vb 3.8.2 with google adsense integrated, and i don't have idea how can i do for reset my adsense :(
I can not use this great hack without reset my google adsense?
davidw
05-01-2009, 08:05 PM
It is only necessary if your partner pub does not look like the example in the post at the top in red. If it looks different (does NOT start with partner) or does not end with a random alpha numeric character set, it will need to be reset. This (https://vborg.vbsupport.ru/showpost.php?p=1795476&postcount=28) is how to set it up.
Sworm
05-01-2009, 08:15 PM
Thanks David, i've need of this great hack :)
amerelgen
05-01-2009, 10:02 PM
I do not understand this: chdir ( '/ path / to / your / forums /');
This http://www.youruname.com/forums
How to paste ?
davidw
05-01-2009, 10:14 PM
/path/to/your/forums/ is how your server views the location to your site. You may need to ask your host for this information. In some cases it is displayed as /var/www/vhosts/yoursite.com/httpdocs/forums/
amerelgen
05-01-2009, 10:48 PM
/var/www/vhosts/yoursite.com/httpdocs/forums/
Can I change: yoursite.com only
Link to my forum
davidw
05-01-2009, 11:42 PM
I don't know what you server path will be - only you or your host would know. I cannot tell by visiting your site unless you have an error message.
You could upload searchresults.php file unconfigured and see if it generates any error messages. If so, it may be possible that it could show you your server path within that error message (but remember in the case used in the script, you need to add the / on the end if it is not there like in the example.
amerelgen
05-02-2009, 02:26 AM
How do I know the web server host
davidw
05-02-2009, 02:54 AM
Let me ask you something. Is searchresults.php going to go at the root of your site?
For example. yoursite.com/searchresults.php
If so, you can add // before the line, or delete that line altogether - save and upload.
amerelgen
05-02-2009, 03:42 AM
Let me ask you something. Is searchresults.php going to go at the root of your site?
For example. yoursite.com/searchresults.php
If so, you can add // before the line, or delete that line altogether - save and upload.
How to install AppServ ?
amerelgen
05-02-2009, 12:50 PM
Does not show search results
This image search results
https://vborg.vbsupport.ru/external/2009/05/163.jpg
davidw
05-02-2009, 07:48 PM
How to install AppServ ?
I am not sure what AppServ is, so I wouldn't know how to install it.
Does not show search results
This image search results
https://vborg.vbsupport.ru/attachment.php?attachmentid=98595&stc=1&d=1241272197
Can you PM me info where I can view this?
kronnos
05-11-2009, 03:56 PM
For some reason i cant edit the search_forum template. When i click save and reload, it just takes me to a black page with the Vb copyright notice on it and that all. All other template changes work.
davidw
05-11-2009, 04:36 PM
Looks like you are not the only person who is having this issue:
http://www.vbulletin.com/forum/showthread.php?t=308007
Are you able to revert back?
nomoreturn
05-16-2009, 08:14 AM
hello installed but got this error
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/m****/public_html/searchresults.php on line 8
my site on main domain www.mysite.com how can i change this
chdir('/path/to/your/forums/');
i change it like chdir('/var/www/vhosts/mysite.com/');
please let me know if i'm doing wrong if so please corect me thanks
davidw
05-16-2009, 10:51 AM
If you uploaded your searchresults.php file to your forum root, such as www.mysite.com/searchresults.php and your error message is this:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/m****/public_html/searchresults.php on line 8
then the data you enter in the chdir('/path/to/your/forums/'); would be
chdir('/home/m****/public_html/');
(of course you would want all the information there)
and not
chdir('/var/www/vhosts/mysite.com/');
The second one - /var/www/vhosts/mysite.com/ was an example.
Hope that helps
nomoreturn
05-19-2009, 07:03 AM
If you uploaded your searchresults.php file to your forum root, such as www.mysite.com/searchresults.php and your error message is this:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/m****/public_html/searchresults.php on line 8
then the data you enter in the chdir('/path/to/your/forums/'); would be
chdir('/home/m****/public_html/');
(of course you would want all the information there)
and not
chdir('/var/www/vhosts/mysite.com/');
The second one - /var/www/vhosts/mysite.com/ was an example.
Hope that helps
Thanks for reply i did it as u said chdir('/home/m****/public_html/'); but still the same thing
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/mast**/public_html/searchresults.php on line 8
i attach pics so please have a look
davidw
05-19-2009, 11:01 AM
If you are using it at the root, you can safely put // in front of that line
So
chdir('/home/m****/public_html/');
becomes
// chdir('/home/m****/public_html/');
You get a bad request due to not having the full partner-pub in there. See example in red under step one.
nomoreturn
05-19-2009, 09:47 PM
Thanks davidw its working now thanks alot
davidw
05-19-2009, 10:57 PM
no problem
0 Seo 0
05-20-2009, 02:03 AM
this is very interest mod you made A+ We need mod like this keep up good works guys.
davidw
05-20-2009, 09:41 AM
Don't forget to click install
Bravo
05-21-2009, 12:12 AM
Has anyone gotten a email from google about using this?
because the vbadvanced and search page search box dont have the google branding on them? as the 1st screenshot and 4th screenshot show?
dchoi
06-11-2009, 08:52 PM
I just upgraded to this one from the previous version and I can't log into the forums anymore. When I try to log in, it leads me to:
http://www.mysite.com/forums/searchresults.php?cx=partner-pub-####################&cof=FORID:9&q=&sa=Go&vb_login_username=name&vb_login_password=password&s=&securitytoken=guest&do=login&vb_login_md5password=&vb_login_md5password_utf=
and it says "Page Not Found".
I've deleted the plugin and it still does that. Can anyone please help me out?
davidw
06-11-2009, 11:15 PM
Those tricky search bars can be tricky ;) I replied back :)
dchoi
06-11-2009, 11:29 PM
Thanks David!
Yes, my problem was that my search bar was interfering w/ the log in process. Once I took that out, I was able to log in again.
Ok, so I installed this earlier today, and I've been tinkering with it for a bit, but I'm still getting some rather unfortunate results.
First, it's not returning much for usable results. When searching for terms that should return pages of results, I can often get very few or even none. Not sure what's up with that.
Second, the results page comes up without session info, containing a login box, where it should be saying, "Welcome, so-and-so". One can either navigate from there and end up with a nasty cookie error, or one can go back, but that takes two clicks to even get off the page.
Third, neither the new search module nor the Google box in the Advanced Search contain a watermark, while the pop-up search panel does contain the watermark. Not a huge deal, but probably an indication that something is amiss.
In looking at the code that Google supplies, I noted that
<input type="hidden" name="ie" value="ISO-8859-1" />
was omitted from the mod. Was this intentional?
Also, there is no mention of which search option to use in the Google Search configuration (can be set during initial setup or adjusted later). Since the mod is expecting to display the results on the originating site, I went ahead and set it that way, and then specified http://mysite.com/forum/searchresults.php. After trying the other two settings, I get the same results.
I'm running vB 3.8.2 and vBa 3.2.0. Any ideas?
davidw
06-12-2009, 02:30 PM
1) I've seen different results on different sites. Some sites produce 0 results while some sites produce thousands if not in the hundreds of thousands of results. I can't tell you how this is figured, but I suspect it is due to an indexed search rather than a direct search.
2) If you are missing navigation information, then there is something conflicting with this modification as I have yet to see this happen.
3) The watermark is due to a javascript issue with Google. During my testing I noted that when I had removed one or more of the boxes, the watermark showed up where it previously did not show.
4) This is not intentional that it is left out. This code in this modification is based on everything supplied to me at the time the modification was created. During the time it was created and now, I am more than positive that at least one or two, if not more changes have been made to the code.
5) I am not sure what you mean by search option? If you are referring to the old code (your site or Google - to choose where you want to search), that code has been changed by Google. You might be able to manipulate your PUB ID (remove partner- and the :###### parts) and use an older version of this mod (3.6 I think) to get that result.
mattonline
06-19-2009, 06:41 PM
Hello, im having difficulty with this also
are we supposed to change the URL's to output the search results to searchresult.php ?
and is this interfering with googles TOS - there isn't any branding on the search bar
davidw
06-19-2009, 06:57 PM
The branding is out of my control. I have tested it and when I only display it in one specific location it shows up there, but more locations, it only displays in one location, sometimes in the navbar, sometimes elsewhere.
The URL for the searchresults.php file is supposed to go in the admincp options.
mattonline
06-20-2009, 11:04 AM
I know but on my forum the search is only going to the built in vbulletin search, and not searchresults.php
davidw
06-20-2009, 02:29 PM
can you pm me a link to what is going on and an account to test with?
panus
07-04-2009, 10:43 AM
after tried to install for a week , finally it's working now!
Thanks.
installed.
dreck
07-04-2009, 03:56 PM
Great hack! thanks!
I do have a question. My page with the search results has 2 other google ads displayed. One below the navbar & the other in the footer.
When the results are displayed sometimes it will display 2 other ads. Will I run into any problems running 4 ads? Or should I disable the ads after navbar & in footer?
And how can I disable these ads only on this page?
Thanks, dreck
davidw
07-06-2009, 11:04 AM
Typically, those ads are provided by Google, based on your placement preferences set up when you set up your adsense. I don't see how you can disable them.
Unless... you are referring to the ads displayed via vBulletin's built in adsense system. I don't see an issue with them personally as long as you aren't forcing the ads on the users (making them click) and as long as they aren't in a pop-up or pop-under they should be ok. The only way to effectively disable them is to replicate the navbar and footer and remove the ad code in there. You can disable them other ways such as using if conditionals (styleid - put the adsense in a certain style for example).
dreck
07-07-2009, 06:29 PM
OK. I would think it would be ok. I am just not sure. I did not want to violate googles TOS. It clearly states only 3 ads units per page.
is the partner-pub id the whole thing or just the bit in bold?
partner-pub-0123456789012345:lnucfbm5dtp
dreck
07-09-2009, 01:54 AM
whole thing
45wheelgun
07-12-2009, 01:52 AM
David,
This is the best hack yet. I clicked Install and I nominated:up:
nhlchuck68
07-24-2009, 11:58 PM
Can you tell me where I can edit the search drop down menu after installed? I want it to look like the search drop down found here.....
http://forums.digitalpoint.com/
Can you tell me where I can edit the search drop down menu after installed? I want it to look like the search drop down found here.....
http://forums.digitalpoint.com/
I would like that too !
SuperGLS
08-24-2009, 09:43 PM
What do you mean when you say "resetup your adsense." What steps do I have to go through in order to do that with Google? Thanks in advance.
iguano
08-25-2009, 06:48 PM
sorry for my English, I have version 3.8.4 of vbulletin, I installed everything and followed step by step guide but I have this error
Google
Error
Bad Request
Your client has issued a malformed or illegal request.
I entered the field Google Partner-Pub ID: partner-pub-57645265793XXXXX
This is the link in the address bar: http://www.art17.it/forum/searchresults.php?cx=partner-pub-57645265793XXXXX&cof=FORID%3A9&q=prova&sa=Go
thanks for any help
:)
SorentoUltimate
08-28-2009, 12:56 AM
Very Good AddOn, thanks
can u help me a litle?
in your screenshot inside the textbox at search you have the logo and say Custom Search
In mine logo and custom search don't apear
See Attachments !!!
Giorgos
SuperGLS
08-28-2009, 07:54 PM
Sorento, I think that is an option within Google Adsense itself, although I don't know how the mod works.
davidw
08-29-2009, 12:13 AM
What do you mean when you say "resetup your adsense." What steps do I have to go through in order to do that with Google? Thanks in advance.
If your pub key doesn't look like this: partner-pub-0123456789012345:lnucfbm5dtp
Then see this: https://vborg.vbsupport.ru/showpost.php?p=1795476&postcount=28
sorry for my English, I have version 3.8.4 of vbulletin, I installed everything and followed step by step guide but I have this error
I entered the field Google Partner-Pub ID: partner-pub-57645265793XXXXX
This is the link in the address bar: http://www.art17.it/forum/searchresults.php?cx=partner-pub-57645265793XXXXX&cof=FORID%3A9&q=prova&sa=Go
thanks for any help
:)
Does your pub key look like this: partner-pub-57645265793XXXXX
or does it look like this: partner-pub-57645265793XXXXX:lnucfbm5dtp
Very Good AddOn, thanks
can u help me a litle?
in your screenshot inside the textbox at search you have the logo and say Custom Search
In mine logo and custom search don't apear
See Attachments !!!
Giorgos
Logo and custom search will only appear in one search box as far as I know. If your site shows more than one, it will only show in one. Unless someone can show me a site that displays in more than one, I am convinced it appears one time (one box). However, due to the nature of the navigation bar, it may be limited to once-per-page.
SorentoUltimate
08-29-2009, 08:37 AM
Logo and custom search will only appear in one search box as far as I know. If your site shows more than one, it will only show in one. Unless someone can show me a site that displays in more than one, I am convinced it appears one time (one box). However, due to the nature of the navigation bar, it may be limited to once-per-page.
i didn't know that, and i try and try and try ..... now clear !!!!
SuperGLS
08-31-2009, 01:00 PM
Thanks David!
Easy install and working great on 3.8.4 so far.
Marked as installed.
Greek76
09-11-2009, 11:48 PM
Installed and works great! Thanks
FitgirlWorld
10-17-2009, 07:17 AM
thanks for a great mod!
INSTALLED!!
nohuhu
11-02-2009, 01:11 PM
David,
thank you for this great mod. i have a little feature request, though: can you add a usergroup permission for it? i'd like to limit its usage for different usergroups. if it had different permissions for navbar menu drop-down and site search page, that would be just splendid.
also, you've mentioned version 1.7 but i can only download 1.6. was 1.7 released yet?
davidw
11-09-2009, 11:00 AM
1.7 hasn't been released. Usergroups shouldn't be a problem but something I haven't had time to work on.
CrashPush
11-12-2009, 12:19 AM
Bravo! This is an excellent mod. Just what I was looking for. It worked right away. Thank you. :)
bp323
11-20-2009, 09:43 PM
with enough tinkering around i actually got this functioning!!! Thanks. hopefully it increases my adsense revenue
jl255
12-10-2009, 03:06 AM
Can you tell me where I can edit the search drop down menu after installed? I want it to look like the search drop down found here.....
http://forums.digitalpoint.com/
great mod, but i wld really like what DP has done too. any clues how to get there?
jl255
12-10-2009, 03:18 AM
how can i move the google search bar up to BEFORE the vb search bar?
bp323
12-10-2009, 03:53 AM
def, don't like this. adsense shows queires but gives zero compensation to me 4 them
davidw
12-10-2009, 11:14 PM
@jl255 - I don't have access to that forum (non member) so I cannot view what you see. If you don't mind, take a screenshot of what you are referring to.
In order to move the google search, you have to not use the plugin hook. You have to manually edit it, which has been described a couple times (at least once openly in the previous editions and one is completely made that way). Try this: https://vborg.vbsupport.ru/showpost.php?p=1624969&postcount=169
jl255
12-11-2009, 12:03 AM
@jl255 - I don't have access to that forum (non member) so I cannot view what you see. If you don't mind, take a screenshot of what you are referring to.
In order to move the google search, you have to not use the plugin hook. You have to manually edit it, which has been described a couple times (at least once openly in the previous editions and one is completely made that way). Try this: https://vborg.vbsupport.ru/showpost.php?p=1624969&postcount=169
awesome, tks... didn't see that.
for the screenshots
davidw
12-11-2009, 10:45 AM
That makes sense - I had actually tried working on that at one point. I may revisit that again.
kailew
12-13-2009, 09:03 PM
Hi,
great mod ... but I still have some problems with german special chars like "รถ" ... it doesn't work with these chars ... any idea?
Kai
davidw
12-15-2009, 12:26 AM
Here's one idea: https://vborg.vbsupport.ru/showpost.php?p=1787023&postcount=21
Or, if that doesn't work, you could always try the Replacement Variable Manager /admincp/replacement.php?do=modify
imedic
12-30-2009, 07:43 PM
Installed and works great! Thanks
However I have to watch because results bring additional google ads on the page thus showing 4 blocks on forum.
I need to fix it some how. Fix it. I removed the rest of ads when showing google search results (as I can only remove all ads on specific pages)
imedic
12-31-2009, 07:27 AM
I have noticed that results of google search bring up only thread title results and not results of search inside a thread.
I have tested with a specific word from a topic and i have no results.
All results are from threads page and not from messages.
Can this be changed? It is a google problem of indexing the forum (i have vbseo)?
What can be?
AdamCap
01-01-2010, 12:15 AM
No Google search box appears on the advanced search page for me...is that right? I can only use google search when I click the search drop down box.
apaydin2148
01-01-2010, 01:24 PM
log into your adsense account http://www.google.com/adsense and click on Adsense setup tab. Then, click on AdSense for Search Improved! Walk through the steps and at the end, you will see your new partner-pub ID.
Don't forget to click Install.
Where will i see new partner-pub ID. I can't see like this "partner-pub-0123456789012345:lnucfbm5dtp." ":lnucfbm5dtp" is missing. Any idea?
imedic
01-01-2010, 07:30 PM
After you make with google tutorial the advanced search unit , at the end it will give you the code you need to insert. From there you just take the partner-pub... code.
Last figures after : are arround 4-5 numbers / letters.
karel1985
01-02-2010, 12:42 PM
Does it still works on vb4?
davidw
01-10-2010, 08:51 PM
Currently I would assume not, that is, unless someone has it working on 4.0. Due to time and other issues, I am not supporting non-4.0 modifications. I will however, work on 4.0 modifications, in due time.
sNator
03-03-2010, 10:36 AM
Hi,
great mod ... but I still have some problems with german special chars like "?" ... it doesn't work with these chars ... any idea?
Kai
Add <input type="hidden" name="ie" value="ISO-8859-1" /> to
google_navadsearch and google_sitesearch just after
<input type="hidden" name="cof" value="FORID:9" />
sNator
03-03-2010, 10:40 AM
I'am not able integrate searchresults.php with CMPS. Not the search module but the wrapper thing.
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 42
Warning: Invalid argument supplied for foreach() in [path]/includes/init.php(298) : eval()'d code on line 96
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_top.php on line 622
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 622
Someone else asked fot this in the 3.7 version thread but I could not find the answer of how to do it.
Goomzee
02-28-2011, 07:01 AM
why i am getting this error
Your client has issued a malformed or illegal request.
Edgespeeder06
03-26-2011, 01:11 AM
what am I doing wrong? I can't get the chdir to work for results http://www.njstangers.org/forums/searchresults.php?siteurl=www.njstangers.org%2Ffor um%2Findex.php&cx=pub-2865326464492960%3A44rld79pru4&cof=FORID%3A9&q=&sa=Go
Wonksta
08-25-2011, 12:40 AM
Great Mod.
Anyone know how to make it so that the Drop Down Search for Custom Google Search Appears to Guests? At the moment as a guest, the search link in Navbar takes me to default vB search. . .
prandah
10-18-2011, 07:22 AM
how if i dont have google accout?
Deafmute
08-03-2012, 11:17 AM
nice shoot
Gadget_Guy
11-30-2012, 12:06 AM
Hi,
Sorry to bring this back from the dead... but I just added this to my forums as I needed to get rid of the built in search.
How can I modify the Search pull down to only show this option to use?
D.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.