![]() |
edit
|
Quote:
|
Do you just want a small search box with a go button? Also, do you want it any specific location? (left side/right side?)
|
Quote:
:up: |
let me see what I can do (when I get a chance).
|
Quote:
|
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. |
Quote:
|
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.... |
No, just import and overwrite.
You can put it where you like. I added mine to my forumhome template just below the <!-- Main --> area. |
hmmm. ok that worked. but it doesnt say google search anywhere. (thanks again for the quick response on my requests)
edit: it now says Google custom search in the box. (didnt at first) I like yours better though from your site. you have a custom field above the box that says google search. |
I can't really control the javascript as it comes from Google, but if you are getting it to work - Great!
Quote:
|
Quote:
Quote:
|
can you post a screenshot :) - I can probably help you out either way - if it is on the home page this it is this hack (its the Step 5 above)
|
Quote:
|
No problem :)
|
ok david. I followed the instructions but its not showing up on my CPMS homepage
|
What version of vbadvanced is that?
|
|
Did you disable your current search for the home page and enable the new one you created (set active). The one I see goes to search.php page rather than searchresults.php.
|
Quote:
|
Assuming you have created the module in the last step above, to disable the old,
vBa CMPS => Edit Modules => [Search Forums] Click Go next to Edit Module Under Main Options Active => Set to No Click Save Then go back, and make sure the other Google Search module is set to active. Also, check your Quick Permissions Editor (and look under Modules) - Find your Google Search and make sure everyone you want to be able to view it can. |
ah. ok. done! thanks again. you are very helpful
|
how anyone would not want this on their site is beyond me
|
Thanks :)
Btw, if you want me to look at your CMPS setup, PM me enough info to get me access to the CMPS in the admin and I'll look at it when I get a chance. I may sit down this week and totally rewrite the instructions. |
actually something is wrong. when doing a search it comes up www.yoursite/forums/seachresults.php (etc etc)
did I not edit the php correctly? |
That is an admincp option (last option). Your forum's path.
or That is Module Wrapper Template Options (last step above) Form Code Replace default code with ... (you've got to put your site in there) |
getting closer :) now I get
Not Found The requested URL /asu_forum/searchresults.php was not found on this server. but it is there! |
I have about 7 queries done today, but my Google Adsense Search report shows $0.00.
Is everything alright with the way I setup the custom search? All were from different IPs. Is it a problem if my searchresults.php is hosted in the root folder (www.mafia-mp.com) and my forum is hosted on /forum/ ? The search results show up properly. |
Quote:
http://www. ... /asu_forum/searchresults.php Quote:
|
Quote:
|
Quote:
Second, you don't get paid per query. You get paid when someone clicks on one of the advertising links appearing in the search results. |
Quote:
Here: http://www. ... /searchresults.php not here: http://www. ... /asu_forum/searchresults.php |
Quote:
|
Quote:
|
No problem
|
Thanks david you saved me the time to do it all by myself.
*thumbs up* |
Glad it worked out for you :)
|
davidw, could you tell me how you made it for Google and your own site results to show up. I have tried to modify it in Google Custom Search site, but it shows Google results and my forum results at the end (page 10)
Here's what I tried: Search the entire web but emphasize included sites. In the sites section, I added forum.+++++-mp.com, +++++-mp.com, wiki.+++++-mp.com |
Quote:
|
All times are GMT. The time now is 06:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|