![]() |
Quote:
Code:
<input type="text" name="q" size="{$vboptions['google_box_width']}" /> |
Quote:
|
When you go to the adsense choices, do you see this? AdSense for Search Improved!? If so, click on that and go from there - it will tie in to your existing account.
|
Great Mod!
Works perfect:up: thanks cmedic101 |
Version 1.6 has been released. Details have been given on the changes to those who have clicked install.
|
Hi this dont work on my forum, could it be the fact our "search" button is called "search for solution"?
if so what do i need to change on the script to get it working cheers |
For one thing you have errors on your searchresults.php, which most likely means the path on the chdir is incorrect. Do the search locations show up correctly elsewhere (navbar/search.php)? Also, do you have the full URL in the admincp?
|
installed! instructions are good, though they do say that your ID should start with PUB....
I pasted the entire ID starting with partner- and it works fine. |
Yeah, that's right - It does start with partner (I have partner-pub in the instructions above but will need to edit the other instructions).
Thanks! |
thanks for the support! now if only we could get that in the advertisement management plug-in thread....:(
|
No problem - I'm considering working on Adsense for Content in the future.
|
it doesn't work....
how do I "resetup" my account?? I don't understand. the pub number + the code you say, online appears in the adsense for search code, but not in the account-settings... It doesn't show the pages i set up in my adsense and, when i do a search, shows this error: Quote:
|
If you are seeing something like this: partner-pub-0123456789012345:lnucfbm5dtp
your account is already under the new setup. This whole code you need for the admincp options. If you are not seeing the whole code (including the parts in red) then your account is based on the old style. Please ensure you have set up the chdir in the searchresults.php file and that the admincp options point directly to that file (you can usually open the searchresults.php page and then copy and paste the URL into the admincp options). |
Thanks David,
This looks great. Is it possible to get it to highlight the searched text in the posts similar to the default search? "&highlight=seach phrase" |
Honestly I'm not sure as you are using Google, rather than vBulletin for the search engine on this. I cannot say no as I am not 100% sure.
|
Great Mod. Can the color of the search results (changing the white background) be altered?
Thanks! Marcos |
am I doing something wrong? I just get a blank page when I do a search. and is it showing up in the correct spot?
https://vborg.vbsupport.ru/external/2008/07/81.jpg |
Quote:
Quote:
|
Quote:
|
You never have to edit the search.php page - its the searchresults.php page. That page has a line that says chdir('/path/to/your/forums/'); - this should be edited to match yours - such as /home/www/site/forums/ (whatever yours is).
|
Quote:
I'm getting confused by the example here.. Step 1: Edit chdir('/path/to/your/forums/'); in searchresults.php - put the correct value then upload to your forum's root. Example: http://www.yoursite.com/searchresults.php I entered the full UNIX path in chdir. do I add the site like your example? (http://www.chicagophotoshop.com/foru...rchresults.php) ? |
Quote:
Quote:
./search/ and in the admincp: ./search/ the file is in the folder: www.mysite.com/search but i get the FORBIDDEN ERROR. Quote:
|
Quote:
It needs to be more like /your/server/www/forums/ The forums root example is where to upload the file to. Quote:
The admincp path should be http://www.yoursite.com/forums/searchresults.php (something like that). |
not working yet.
searchresults.php is in www.mysite.com/gsearch/searchresults.php in the file chmod, i put www.buforo.com/gsearch/ in the admincp: http://www.buforo.com/gsearch/searchresults.php not working!! please help. |
The location of where you put the searchresults.php file is not a problem and the admincp location is good too. However, the chdir in the searchresults.php file should be something like
/usr/var/home/www/ not www.buforo.com/gsearch/ You may need to ask your site host for this information. When you get that info, it should work fine. |
I still couldn't solve the problem:
this is the error: Quote:
this is the searchresult.php file: Quote:
this is the admincp config: http://img79.imageshack.us/img79/7320/partnerfz3.jpg where am I failing?? |
I think I fixed some problems. I found the path.
Now my searchresults.php file seems like this: Quote:
but, the error now is the following: Quote:
|
the chdir is to your forums, not to your search (that way you can use your vbulletin's functions).
Try using this: chdir('/www/buforo.com/htdocs/'); |
Quote:
this is the entire line... chdir(/editforprivacy/www/misc/chicagophotoshop/public_html/forums/) am I missing something in between the (...) ?? |
Quote:
yes!!! now it works..!! thanks a lot for your help.... now I'm proud of clicking on INSTALLED.. a $$$ question: what about AdSense?? does this hack work showing payed advertisments of Google??? I've made some searchings, and it never shows "Sponsored Links" ... |
Quote:
chdir('/editforprivacy/www/misc/chicagophotoshop/public_html/forums/'); Quote:
|
Quote:
|
Now all you have to do is put your full partner-pub number in the admincp options. This is what gives you the layout for the iframe results. :)
|
It Works!!!!!
THANK YOU DAVID |
since I'm on a roll, is there a way I can add this outside of my navbar. maybe under it, in plain view?
|
$google_siteadsearch is already set up for something like that - you can put that most places. You can also take the contents of that template and plug them wherever you need to and modify them where appropriate if need be.
|
Quote:
:erm: |
How big, what size, location, etc. did you have in mind?
|
I get this error from Google on my searchresults in the iframe:
Quote:
|
Example: partner-pub-0123456789012345:lnucfbm5dtp
Something like this is what you need in your admincp options. |
All times are GMT. The time now is 11:52 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:
|