![]() |
just installed on 4.1.11 and works well.
|
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. |
It doesn't works for me -> here is my navbar code:
Code:
<div id="navbar" class="navbar"> 400. That’s an error. Your client has issued a malformed or illegal request. That’s all we know. |
Quote:
|
Does this show using an iframe within the site template? Or open in a new window?
|
Quote:
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. :up: techbytes |
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. Code:
<!-- google cse --> 2. navbar template Display the search form in the navigation Search for <form action="search.php .... comment the normal search form Code:
<vb:comment><form action Code:
<div id="globalsearch" class="globalsearch"> but first edit the 3. GOOGLE Template Should look like this: Code:
<div class="blockrow"> 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: Code:
input.gsc-input { |
Quote:
Thank you very much! :D:D:D |
Installed and works for my forum, check the link to see.:)
http://www.railtransit-cbtc.com/CBTC...ity/forum.php? |
SemperFideles's instructions on the 3rd page worked for my 4.2 forum. Thanks SemperFideles!!!
|
All times are GMT. The time now is 09:47 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:
|