![]() |
|
|
Mod Options |
Replace search with Google Custom Search Details »»
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
Replace search with Google Custom Search
Developer Last Online: May 2013
This mod assumes you have an adsense account and are using Google Custom Search.
You want to make sure your results page is named something other than the vb default search.php, this leaves the vb option open to those who click "advanced search" Open your template navbar find
replace with the form line of the google supplied code example:
find
replace with the first 3 hidden input types in your google code example:
find
replace with
find
replace with
find
add this after
Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| MARCO1 Google Custom Search | MARCO1 | vBulletin 3.8 Add-ons | 37 | 11 Jan 2012 17:31 |
|
#166
|
||||
|
||||
|
Very useful mod.
You can use conditional to make present the google search to unregistered/not logged users and the native vb search to logged users. No members have liked this post.
|
|
#167
|
|||
|
|||
|
Anyone have a guide for a custom template mod? I am not able to get the header information and style to look right. The custom search page works, it's just broken the style.
No members have liked this post.
|
|
#168
|
|||
|
|||
|
How do I rename the search.php without messing up any other code that references search.php?
No members have liked this post.
|
|
#169
|
|||
|
|||
|
I have this working on vB 4.1.8 and wonder if anyone has found out how to prevent it from showing adds above the search results. I would like to show them on the right side only because with the way it is currently set, it is extremely hard to differentiate between what is an add and what isn't.
Google has been crawling my site for over a year now so it has had time to index it pretty well, however when I search for common terms used on my site www.boatinghowto.com , it only shows one maybe two results, any ideas? thanks No members have liked this post.
|
|
#170
|
|||
|
|||
|
Thanks, works beautifully, especially with the additions on page 3.
No members have liked this post.
|
|
#171
|
|||
|
|||
|
just installed on 4.1.11 and works well.
__________________
Mudbog.net No members have liked this post.
|
|
#172
|
|||
|
|||
|
This still works with vB 4.2. The specific details on page 3 were really helpful. The only small change I had to make is Google Custom Search now has new code.
So on Semper's instruction on page 3 of this thread (Step 4), I had to replace the partner-pub id code with my search engine's "Search Engine Unique ID" which can be found in the Control Panel of your Google Custom Search account. Should look something like xxxxxxxxxxxxxxxxx:xxxxxxxx Then I had to click "Make Money" in the left column of the Google Custom Search Control panel and sync my AdSense account to my Google Custom Search account. The Search Engine Unique ID has now replaced the partnerpub ID. But the partner-pub still works if you're using it. No members have liked this post.
|
|
#173
|
||||
|
||||
|
It doesn't works for me -> here is my navbar code:
every search activity ends with 400. That’s an error. Your client has issued a malformed or illegal request. That’s all we know. No members have liked this post.
|
||||
|
#174
|
||||
|
||||
|
Originally Posted by insidegames
Exact same problem! HELP!
No members have liked this post.
|
||||
|
#175
|
|||
|
|||
|
Does this show using an iframe within the site template? Or open in a new window?
No members have liked this post.
|
|
#176
|
|||
|
|||
|
Originally Posted by Winter Sonata
Thank you! Thank you! Thank you!!!
After hour and a half of trying to figure out why I'm getting a blank page, Sonata saves me from pulling out my hair. ![]() Also, thanks to OP for the mod. Very much appreciated. ![]() techbytes No members have liked this post.
|
|
#177
|
||||||||||||||||||||
|
||||||||||||||||||||
|
There is an update for this with the latest (v2) version of google custom search. I really like the google cse in vbulletin. It's much faster and with some styling in the css even the Google cse v2 will work in vbulletin 4.2
This short instruction will help if you use a two-page CSE as shown in the documentation at Multiple search boxes and results sections. Already mentioned here: 1. Create the google.php file as mentioned on page 3 in this thread. 2. Create the GOOGLE template as mentioned on page 3 in this thread. Now the new stuff. 1. headinclude template copy the script-snippet at the bottom of your headinclude template.
This will "enable" the searchform and searchresults in general in your forum. 2. navbar template Display the search form in the navigation Search for <form action="search.php .... comment the normal search form
Enter the new google search form under the global search div.
Now you have the search form in your forum and yes, styling will follow. but first edit the 3. GOOGLE Template Should look like this:
Not the long and old version mentioned in this thread. Only the <gcse:search></gcse:search> is used to display the search results and the search bar. If you only want to show the search results you can use <gcse:searchresults-only></gcse:searchresults-only> 4. additional.css template The search form will look broken at first. You should modify at least the following styles:
The following members like this post: Spika
|
||||||||||||||||||||
|
#178
|
||||
|
||||
|
Originally Posted by svensonsan
Works Perfect!!
Thank you very much! ![]() ![]() ![]() No members have liked this post.
|
|
#179
|
|||
|
|||
|
installed and works good for VB4.2
Installed and works for my forum, check the link to see.
![]() http://www.railtransit-cbtc.com/CBTC...ity/forum.php? No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 11:16.









