![]() |
Is there another google search mod for the latest vB?
|
I've been using it. I have had no problem.
|
4.0.4 isnt becoming :(
|
I am using 4.04 and I followed SemperFideles instructions very carefully.
When I do a site search, it displays a the search page and I can see the google adsense on the top and to the right, but it does not display any of the search results. The page says: " Your search - autos - did not match any documents. Suggestions: Make sure all words are spelled correctly. Try different keywords. Try more general keywords." It seems that I am almost there, but I can't get any results to come up. Does anybody have any ideas? Thanks in advance! |
Quote:
Quote:
Search Mod is the same for 4.0.3 and 4.0.4. When you upgrade you have to replace the form code in the navbar template. The form code is really "version agnostic". The only thing that might change in the future is the format for creating a custom page but, for now, it's working fine. |
Just an idea, but i would like to have 2 checkboxes above or below the searchbox where u can select the search at google or in forum. Is that also possible?
|
As a follow up to my previous post, the google search mod works if I specify another URL of a totally different website of mine when I set up the google adsense code.
But when I revert back to my site's URL, it won't search my site. My site is new and it is not yet indexed in google. Could this be the reason why google won't find search results for my site, because it is not indexed by google? I just submitted my sitemap to google in hopes that this mod will work when google indexes my site. Thank you..... Quote:
|
Quote:
|
Quote:
|
|
1 Attachment(s)
Never mind--I figured this out and fixed it..Thanks
another issue though--is there any way to get some padding? I know this is a google issue but it there a work around? It is the left side that is just crammed right up to the edge... Thanks |
Installed , VB 4.0.4
thank you so much ..! |
I have everything working properly but I am having trouble with the Search Box
Whenever I type in text, it isn't visible in the box. I know its there because I highlight it and I can see it. I think it may be because my default text on my site is white. Is there any way I can change the text color just for the search box? |
For some reason when I run the search from the main page it takes me to the results page and offers nothing but if I search again on the search page the results come up.
Both URLs are the exact same am I getting a script conflict or what? |
i dont have google adsense and credit card
what can i do? |
Does anyone have this working with 406 version, It doesnt work with me and I gt this message
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/lan/public_html/domain name/google.php on line 29 Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lan/public_html/domain name/google.php on line 29 |
Works fine with 4.0.6 (and 4.0.7).
Your error looks like you put the wrong path in your template. |
Looks like a great mod, but I can't find most of those code lines in the navbar template (v 4.0.7)
EDIT: Also my Google code doesn't have these lines: Code:
<input type="hidden" name="cx" value="partner-pub-xxxxxxxxxxxxxxxxxxxxxxx" /> Code:
<div id="cse" style="width: 100%;">Loading</div> |
Same here! Please can you update this for 4.0.7
The code lines you give to find are no longer in there. Thanks! |
Gents,
Look at post #36: https://vborg.vbsupport.ru/showpost....5&postcount=36 It can't be explained any more simply. |
Thank you, I already did all that, but the code in the navbar is the problem. I need to know exactly which code to replace with the google code??
Thanks again! |
Quote:
Code:
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search"> Code:
<form action="http://www.puritanboard.com/google.php" id="cse-search-box"> |
Man!! Thank you so much works perfectly on the vbulletin default skin.
Only have a problem on my default skin, when you type something into the search box, you cannot see it. Obviously because the font is set to white. Is there something I can do about that? Thanks again!! |
Quote:
|
Quote:
Don't know if there is a way to only change the font color for search box though. |
For some reasons, When I click search, It logged me out and shows results from other sites.
Google watermark is showing up in the navbar - - - 406 what should be the problem ? |
I can't duplicate your problem. I assume we're talking about creativex.net/forums.
When I look at the two dark themes, the search box is black and I cannot read the Google Custom Search in either dark theme but when I click on the search box it is a black background with white text. I can read it fine. There's nothing in this mod that is changing font colors, you'll have to go into the Style Variables for each skin to mess with how that looks if you don't like white text on a black background for your search field. |
Because I did not do the google integration on those themes. I cannot for the problem I mentioned.
|
I guess I'm completely lost as to what your question is. If you only implemented it in the Vbulletin Default style then it is working as it should. It shows the Google Custom Search until you click on it and start typing black letters on a white background. It's supposed to do that.
If you integrate it with the other styles then it will work there too. Go look at how it works on my site on my dark themes. There's nothing to change in any of the code. The font colors are not changed by this theme change. |
Now I am lost also. Because when I implement it on my dark skins, then the moment I type something in the search box, the font is obviously white, and you cannot see what you are typing.
Thanks for all your effort here mate. I really appreciate it. I would even pay you to get this figured out! EDIT: You have the exact same issue on your BP-Brown skin. Just type something into the search field. |
OK, hold on, I was just able to duplicate the problem on a dark skin. Am in Hawaii on business but will try to tackle this later today.
|
OK great! Thanks!
|
OK, I think I found it. This is a change to a CSS template and I can't guarantee this won't make other areas look differently than they did.
1. Go to Style Manager. 2. Select the Style 3. Select Edit Templates 4. Under CSS templates edit the additional.css template 5. Search for: Code:
.textbox, textarea, select { 7. Set the following values under the ".textbox, textarea, select {" line as follows: background-color: #fff; color: #000; Save and reload. It should fix the problem. |
Thank you so much mate! That did it. I just changed the background color to a light gray, because it changes some other fields to white also. But that is something small. It works, and brings money in. That is important.
Thanks again for all your trouble and effort. |
Man, o man! Would you perhaps be willing to help me to get this to work on my latest skin I purchased? It works on all my other skins, but this new one is a nightmare. The search box is bigger, and it uses a button also.
Also my GOOGLE page (Template you gave) is completely messed up in this skin. Please help. |
|
I need some help on the edits since my custom template for vb 4.3 is different from the edits I need to make.
Code:
<div id="navbar" class="navbar"> Thanks, |
I think this should work (replace siteurl.com with yours, make sure you made a google.php file, and use your google code as opposed the the X's):
Replace Code:
<form action="search.php?do=process" method="post"> Code:
<form action="http://www.siteurl.com/google.php" id="cse-search-box"> |
Is there a demo or better screenshot? Thanks!
|
I have added this modification on my members request and it's working fine however it's not displaying any search result..I always gets:
Quote:
my search site URL in google adsense is: www.pakgamers.com/forums and search results page URL is: http://www.pakgamers.com/forums/google.php |
All times are GMT. The time now is 03:02 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:
|