![]() |
Glad you like.
|
[QUOTE=davidw;1619390]Originally Posted by dtv100
any way to move google search on top of forum search ? also those ads that show in page result are ours of someone else? thanks for this addon . I'm using the hook, but I can probably make a manual template. Those ads are from google - they are part of the adsense as I don't have a way to disable them. QUOTE] hope you get better soon and when you do please I would love to have a manual template that way google search is on top and my members use it more often make my site load lower . thanks again for reply . |
It will probably be towards this weekend - but shouldn't be too hard. I might even have time tomorrow if it is slow.
|
Quote:
|
Quote:
|
Quote:
One last question, is this legal, and perfectly ok with google? |
Yes, this is perfectly legal. All I did was use google's code and modified it for integration with vBulletin. Everything goes through Google (it is set up that way). This modification only alters how it is displayed.
|
Quote:
|
Find this in your navbar template:
Code:
<if condition="$show['popups']"> Code:
<tr> |
thank you so much .
|
No problem.
|
Quote:
Code:
vB Google Search - Navbar global_setup_complete if you dont you'll end up with two google search windows |
For members whom are getting search errors when it comes to this part of the instructions:
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 In order to get the new adsense code as above you need to do the following within your adsense account to get hold of the new partner code. Do the following: 1) Login to adsense 2) Click Adsense setup 3) Click "AdSense for Search" and pick what options you need and continue clicking next. 4) At the end you will get "Submit and get code" 5) Click the submit button and look at the code. Within the code displayed you will get your new full partner adsense code that needs to be inputed within the "vB Google Search (Adsense)" under vbullletin options. Hope this helps. Regards. |
|
Anyway to make this search your site? I mean it seems to be searching google and not the site it is on? Or would that stop from making anything in adsense? Just curious?
|
When you set it up, you choose where you want it to search. You can default it to Google, or you can list a set of sites (including Google). If your search terms are relevant, depending on how strong of the search terms, they will show up closer to front/top of the list - as long as your site is in the list.
|
great, installd and it works!!
|
Thanks
|
Is this still working for everyone? I installed it, added my new partner-pub-xxxxx:xxxx id, and verified in Google Analystics that searchresults.php is receiving traffic, but AdSense is showing no impressions or clicks...
Does it matter that none of my other adsense ads have "partner-" before the "pub"? please help. |
Also, the "FORID: X" in the code AdSense tells me to add to the side is different from the "FORID: X" displayed for the search when I view the vbulletin page source. Does that matter?
|
What you need to have entered in your admincp is this:
partner-pub-0123456789012345:lnucfbm5dtp but it looking like yours. I just checked my Adsense (for search) page with Google, and surprisingly, I actually made money (which I usually don't. Quote:
|
Thank you. Do you know if it matters whether the X in FORID: X is the same in the code your plugin produces vs the code Google Adsense for Search provides? I copied the code you provided for how to put the adsense search above the default forum search, which may be why my X is different?
|
You should be able to ignore that. That is why there is there is
lnucfbm5dtp at the end of partner-pub-0123456789012345:lnucfbm5dtp The old style used that. |
Can something be done to have a different search results page for each style?
I have many styles in my board and I'd like to have the search results page showing accordly in each of them... Is it possible? thanks |
Is this not working for each style? The way google's search itself is displayed is static, whereas the style the results are displayed in is dynamic to your style of your site. As far as the display page itself it should change depending on whatever style the user is using. As far as the results go, unfortunately I can only see one instance of a style - and that is based on your adsense setup. That is the part located here:
partner-pub-0123456789012345:lnucfbm5dtp I hope that helps. |
But I want to know if it's possible to have a different pub number for each style. i don't want my page to appear as in the third attachtment, with the search background in white and all that, I want it to fit my style, and I can only do that in the adsense setup as you said.
So, could it be possible to do it but changing templates, puting the pub code in templates? Something like in your other mod, in the 3.6. It would be like a mixture of both |
Can you show me an example of this? If you are using the old style pub number this will not work (this is based on the new pub number - as per example).
|
Well, I have a skin that is like attachment nr 1, dark blue, and I configured my adsense search results to look like that to fit my style.
But then, when I changed skin It looks like att. nr2, horrible. So, I'd like to know if there could be the posibility of changing the pub ID for each style, so I can have style nr1 like the first attachment and style nr 2 like in att. nr3 (here I have changed the pub code to look as I want, but style nr 1 would be messed up)... |
The style itself is changing; the results themselves are a direct result of your pub code. They aren't part of your style but are actually in an iframe. That information is derived from google and the display is generated by the pub code. As far as I know you can only have one variant of the pub code - the most current one.
It might be possible to "trick" Google, by using several different pub codes by going to google.com/adsense and getting all the different variations that you want and then using those, but two things you have to think of... 1) This is displaying in an iframe so an iframe's results are going to be independent regardless of what style you are using and which condition applies 2) That it could be against Google's ToS. While an if condition (if style = x) might work, there is no guarantee. |
Is it possible to move the "Search Site / Google" box above "Search Forums" in the search dropdown?
I'd like to make it more likely that members and visitors use the google search. -Raymond |
Hi
Nice mod ... but I just downloaded, installed and get to run. But in the configuration of the Google PUB ID still stays the text "starting with pub-" which isn't correct, as you already mentioned here in the thread. Perhaps you want to correct it. But the main thing: I get 99% of my revenue from google. If I would be banned because something of http://www.google.com/coop/docs/cse/...ml?gl=CH&hl=de wouldn't be correct, it would be a catastrophy. First, I wanted to ask, if you did notice all the rules of google. But then I saw, that you didn't. The search field in the advanced search doesn't show the google picture which is absolutely needed, as I think. There are possibly other things. It would be great, if you could check this. And last: users of this google search box have to write something in their board rules (privacy). You could note that too. ;) Marcel |
On your statement about the rules, your link points to rules for Google Custom Search. This modification is for Google Adsense for Search. Google Custom Search is a different type of search, of which I do not use (although another member has created a modification for: https://vborg.vbsupport.ru/showthread.php?t=162072 ).
Secondly, javascript images displayed (if any) within the search boxes come from Google, not supplied in this modification. To add to that, all images displayed within boxes will show up depending on the javascript you have running on your site. Certain styles will prevent the image from displaying as well as certain javascript running on websites - this has already previously been addressed. In order to use this modification, you MUST use the full partner-pub-0123456789012345:lnucfbm5dtp number. If you do not have it, then either A) you are using the wrong pub number 1) the pub number you are using is outdated 2) the pub number you are using is for a different Google search/application B) you need to set up/reset your pub number by going to http://www.google.com/adsense On your last statement - it is assumed that anything that you type in through this modification has the same level of privacy as if you went directly to Google. |
Quote:
|
Quote:
|
Quote:
Also: I see the google-image (custom search) in the navbar search. But there is no google-image in the advanced search. Everything is running fine, so it can't be something with my browser ... |
Quote:
Quote:
For the image: https://vborg.vbsupport.ru/showpost....&postcount=144 https://vborg.vbsupport.ru/showpost....&postcount=145 |
Quote:
Found on https://www.google.com/adsense/account-settings under Property Information. starts with pub- (you must start it with pub- and then your number). Besides: I had to change the templates like google_navadsearch to insert the following: <input type="hidden" name="ie" value="ISO-8859-1" /> Without it, some words with swiss special characters couldn't be searched. Perhaps you want to make this choosable too. |
Wierd - see my attached image (partner-pub)
|
Quote:
|
I can absolutely understand ;)
At this point you have a posting at least, that informs about that :) I don't understand what you mean with post 198 ... |
All times are GMT. The time now is 04:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|