![]() |
Quote:
|
1 Attachment(s)
Does not show search results
This image search results https://vborg.vbsupport.ru/external/2009/05/163.jpg |
Quote:
Quote:
|
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.
|
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? |
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 |
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 |
1 Attachment(s)
Quote:
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 |
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. |
Thanks davidw its working now thanks alot
|
no problem
|
this is very interest mod you made A+ We need mod like this keep up good works guys.
|
Don't forget to click install
|
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? |
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:
Code:
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= I've deleted the plugin and it still does that. Can anyone please help me out? |
Those tricky search bars can be tricky ;) I replied back :)
|
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 Code:
<input type="hidden" name="ie" value="ISO-8859-1" /> 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? |
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. |
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 |
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. |
I know but on my forum the search is only going to the built in vbulletin search, and not searchresults.php
|
can you pm me a link to what is going on and an account to test with?
|
after tried to install for a week , finally it's working now!
Thanks. installed. |
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 |
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). |
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 |
whole thing
|
David,
This is the best hack yet. I clicked Install and I nominated:up: |
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/ |
Quote:
|
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.
|
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
Quote:
This is the link in the address bar: http://www.art17.it/forum/searchresu...&q=prova&sa=Go thanks for any help :) |
1 Attachment(s)
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 |
Sorento, I think that is an option within Google Adsense itself, although I don't know how the mod works.
|
Quote:
Then see this: https://vborg.vbsupport.ru/showpost....6&postcount=28 Quote:
or does it look like this: partner-pub-57645265793XXXXX:lnucfbm5dtp Quote:
|
Quote:
|
Thanks David!
Easy install and working great on 3.8.4 so far. Marked as installed. |
Installed and works great! Thanks
|
All times are GMT. The time now is 11:31 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:
|