![]() |
Confirmed working on 4.2 as per SemperFideles instructions:
http://www.supermotoforum.co.uk/ Thanks for the help! |
Managed to get this working with two issues:
- it breaks my header style - logo not showing up, forumhome sidebar shows on the bottom of the page, and it shows a large blank space below the results. |
Thanks first for the great effort and trying to share the good stuff...
I believe there is something missing here, which is google.php connection to the search box. I tested your way, but not really working as I expected. It opens new page on google search while actually we want the search to be taking place in the forum itself using the google.php... what I did is the following: 1- created google.php "or whatever you like to call it" 2- created a template for google search as mentioned earlier. 3- placed google script in headeinclude template from my google custom search similar to this one: Code:
<script> Code:
<form action Code:
<form method="get" action="http://www.YOUR VB LINK.com/google.php" target="_blank" class="navbar_search"> 5- Last step, I added <gcse:search></gcse:search> in my google.php custom page... Save the whole work and check it out... I tested it and works perfect. Thanks, and good luck. :) Quote:
|
Quote:
It works fine for my site although i had to make a couple of style mods. My one question is: I have linked my CSE to my Adsense Account, but the ads are not displaying in the search results page, although adsense is working perfectly on my actual site. Is this an adsense problem, or is there something I still need to do? |
I have no idea how that should work, sorry about that, mate
|
The mod is working great on VB 4.2
However I have an issue. It is working ONLY on the custom theme and not on the default theme. Any idea how do I fix this? Thanks |
I followed the instructions but doesn't work (eMesitis.gr vB4.2.2).
Unfortunately I get a blank page. I would appreciate any help.:) 1) I created a new Template called "GOOGLE": PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
See mostly is happens when your running site on folder of root server..
In Google.php file uncomment below line Quote:
|
Thanks mate but it didn't work.
I found my forum path using the following php: PHP Code:
After that I followed your instructions and uncomment the path line in google.php: PHP Code:
In google.php there are three lines: PHP Code:
Should I change the 'test' on the first line? |
try to create only test.php there were some tutorials here see you have blank page on that too . If you have same problem on test.php then tell your host to fix permissions on your account
cause the problem you would be getting is 500 internal server error which would be either permission or path error |
All times are GMT. The time now is 04:09 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:
|