![]() |
Mine has totally no results at all for all kewords although when I test it in my CSE "My Homepage" I was able to search for something. What makes?
|
Quote:
woot! that's what I wanted to know.. <<< goes to install :) |
UPDATE... I got this to work sort of. I was missing the hook statement in my Navbar.
|
hmm... installed but
1. no link back to default vb search engine 2. opens as new page (not with vbulletin frame) any ideas? |
Probably u didin't add your url at the code area in google's CSE
|
I got the Google Search box to open in the Navbar search... It's using the gtsearch.php page to show the results... but there are never any results.
I've seen others mention this previously, but I've not seen how they fixed it. Any help here? |
The "preview" on the Google CSE site works perfectly, but I get zero results, not even ads in the official results page. The info from Google isn't getting inserted into that page.
I tried CHMODDING that php file. But nothing. I'd really like this to work. |
installed thanks for this great mod
|
Quote:
any ideas on how to fix this? I have checked everything a lot of times, but there is nothing wrong :S |
gtsearch.php is putting in the header and the footer and a line that reads back "Search Results for (search phrase):" but nothing is below it, except the footer. I've looked at everything a hundred times.
If someone could take a look... the forum is www.tdpri.com. Try the search on the menu bar. I'm running 3.6.5 and I'm wondering if this is why the problem. I didn't have the hook defined in my navbar template and had to manually add the hook to get the search box to show. Are there any other issues like this for 3.6.5? |
well I've got the same problem I think, but no one is helping me yet.
|
FOUND THE ANSWER --- SOLVED!!
The code supplied by Google is missing a line and when you add this line to the Search Box code it makes everything work again: Code:
<input type="hidden" name="cof" value="FORID:11" /> By the way FORID is the ad placement and 11 is top and bottom and 10 is top and right. I think 9 is top only but you'd have to test that. I changed mine to FORID:10 and the ads are now Top and Right. I'm not sure why some people need this and some people don't, but this worked. I found the answer in the Google CSE Forum buried deep in the older posts. |
Quote:
Quote:
|
FYI Princeton, because the pics in your instructions here are hosted on YOUR site (which apparently needs a login), and not in the thread itself, it's popping up login requests when you load the page, as well as not displaying said pics (of course).
|
Quote:
|
very good work Princeton
thanks.. edit; i want result see at myself page. when make? |
Very nice and normally useful hack !
I could not make it work properly inside vbulletin. I'm with vb 3.6.5, Created a CSE in Google Paste the codes the gtsearch.php page works ok when it's called directly. :-) (http://www.mysite/forums/gtsearch.php) But the fonction inside the search button in vB does not make any result... "try to be more specific..." and so on. What did I miss ? Thank you |
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=212 |
Thanks for answering
Yes I saw your post and have checked my code this line is here allright and though it does not work... Any other idea ? :confused: |
Installed! Works great on 3.7. Gold.
Thank you very much! |
Hello Joe !
May I hope a little look on my failing issue ? :) I would love to make it work By the way I saw a joomla google custom search module made by a japanese developper that is able to display search results inside any joomla content, in a right column for example , on a metakey or title or content basis. It goes a little bit further and adds no advertisement...It's in a compact ajax block. Would'nt be a good idea to make it worjk the same way in a right column in vB ? Quote:
|
I cant get this to work. The search is there in the drop down menu but when I put a search term in the box and click search, the page basically just reloads, nothing changes and I am right back to the forum index. Any ideas what this might be? I am using 3.7.0
Edit: Nevermind Ive got it figured out now. |
A question please...
How would you do this if you did NOT want the adsence ads...? Thanks |
Quote:
Thank you |
Quote:
|
Quote:
http://www.google.co.uk/enterprise/csbe/ "Turn off ads and customise your search results through an XML feed Custom Search Business Edition turns off Google AdWords advertisements in search results that regularly appear in the free version of the Custom Search Engine. If you wish to significantly change the look and feel of your search engine, you can build your own user interface and integrate an XML feed of search results." |
Hi,
I love this Mod but i don't know how to make it appear in CMS_index (vbadvanced). Look in: www.egiptoforo.com search is "Buscar". I thing that must be something easy :) Thanx |
Hello,
I tried multiple times to make it works but no success yet. If I invoke directly the page http://www.mysite.com/forums/gtsearch.php and then fill the searchform there, everything's fine. I get a good search result page with my adsense Google ads wher I decided to put in (on the right side actually) The results are filtered ok by the parameters I choosed on Google CSE pages. But one thing refuses to work : it is the dam...d searchform in the navbar. It only makes this result : It opens the normal vB searchresult page with: "Please specify some words or valid user names to search on. There were no matches for those that you specified." Why is it so ? Search box code: <form action="http://www.rmysite.com/forums/gtsearch.php" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-xxxxxxxxxxxxxxxxxxxxx" /> <input type="hidden" name="cof" value="FORID:9" /> <input type="text" name="q" size="31" /> <input type="submit" name="sa" value="Rechercher" /> </div> </form> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=fr"></script> Searchresults code <div id="cse-search-results"></div> <script type="text/javascript"> var googleSearchIframeName = "cse-search-results"; var googleSearchFormName = "cse-search-box"; var googleSearchFrameWidth = 600; var googleSearchDomain = "www.google.fr"; var googleSearchPath = "/cse"; </script> <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script> What is wrong ? Thank you |
Quote:
|
Nicely done. Installed on vbulletin 3.7 without any problems.
|
So I bought the paid 'no ad' version..(business edition of Google Custom Search)
Do you think this plug in will work for that as well? Thanks |
using in 3.6.8 Patch Level 2, Kartel Style vB Skinworks with no probs.
guess the hardest part will be how often they can come in to index my site as well as any probs they might have with the bot-check hack installed. tnx Princeton. :) |
Quote:
Got it running! No ads.. Cool! Thanks... |
Quote:
|
Quote:
Martin |
hello Princeton.
we upgraded from 3.6.8 to 3.7 so here's hoping u can make a 3.7 version for this if u have the time. :) |
Princeton, how can we add this search box code only for gtsearch.php file ?
We do not want search box to be displayed across the navbar . |
it works fine for 3.7.2
|
Works perfectly for me in 3.7.2.
This modification is well designed, thank you for sharing it. :up: |
I like to know if this mod work on vBulletin Version 3.7.2 PL1?
Tnx. |
All times are GMT. The time now is 04:08 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:
|