PDA

View Full Version : Mini Mods - Yilmaz - Navbar Google Search Box


yilmaz
04-23-2013, 10:00 PM
DESCRIPTION:
Site search box instead of the Google search box.

There is a very simple method for you to do as the picture

https://vborg.vbsupport.ru/external/2013/04/2.jpg

Simply install the attached product and upload google.php to forum root.

Demo: https://www.ozbeceriksizler.net/

----update--
automatically selects the language code bug fixed
English: http://www.yilmaztv.com/?langid=1
Turkish: http://www.yilmaztv.com/?langid=2

KEKforce
04-24-2013, 06:50 PM
Nice Mod. But when I activate my own googlecode it still says in turkish Ozel Arama in the navbar searchbox

Kraxell
04-24-2013, 07:14 PM
Search in temple for "Arama" and delete the words or chance it for your own.

KEKforce
04-24-2013, 07:19 PM
I did. doesn't work... Also changed google.com.tr to www.google.nl (dutch)... nothing

KEKforce
04-24-2013, 07:25 PM
found it... in the XML...

change lang=tr to lang=nl

<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=nl"></script>

Now it is Dutch...

yilmaz
04-24-2013, 08:02 PM
Thanks @KEKforce
automatically selects the language code bug fixed
English: http://www.vbulletin-turko.com/forum.php?langid=6
Germany: http://www.vbulletin-turko.com/forum.php?langid=9
Turkish: http://www.vbulletin-turko.com/forum.php?langid=2

hoangserip
04-25-2013, 09:27 AM
Nice Mod.

autoescala
04-25-2013, 02:48 PM
I install it on 4.2 and dont works..... default search of vbulletin continues active !

postcd
06-21-2013, 09:14 AM
Example search id: partner-pub-0843343258209554:mwbl4l-uams works, but when i enter my id like: partner-pub-007016287615646286030:qstifjrhxue

Google shows 404.

vbulletin 4.2.0

wilsoncombat
11-10-2013, 02:53 PM
Nevermind. Nice mod. Thx!

ahobilam
11-11-2013, 12:59 PM
Installed in 4.2.1
It is not shown in the nav bar!
If we go to google.php manually and try to search with any phrase or word
we are getting only as the reslt:

>>>Sonuç Yok
powered by Özel Arama<<<

efelony
12-31-2013, 01:31 AM
Working 4.2.0 on custom template. I had to manually add code from
<vb:if condition="$vboptions['enablesearches']">
<div class="globalsearchx">
to their closing tage from the template "yilmaz_google_arama_kutusu_sayfa", to my desired location.

Then edit the width in the same template.

dizzynation
12-31-2013, 02:39 AM
404 error when searching. My publisher ID does not look like developers mine looks like "pub-2394723947234342"

ramesh_umk3
12-31-2013, 04:32 AM
i just copy pasted google search code in navbar and its working fine

https://vborg.vbsupport.ru/external/2013/12/2.png

elhobbyt
01-01-2014, 10:35 AM
Just put the search engine Id 011314096281508525846:xxxxxxxxxxx example, without putting partner-pub-

regards

eh69
01-18-2014, 04:19 PM
Add vbulletin css and link to vb advance search in google.php please :)

Charis
04-15-2014, 07:38 AM
Thanks!
***** (five stars)

Nelson58
04-16-2014, 11:46 AM
Where do you get the google.php?

Charis
04-22-2014, 03:36 PM
Where do you get the google.php?
It's inside the zip file.
Copy the file from "upload" folder to the root of your site (forum).

@Yilmaz
I also get αν 404 error ONLY when I search from an URL that contains non English letters.
Check this: http://www.emesitis.gr/showthread.php/50-%CE%9D%CE%AD%CE%BF%CE%B9-%CF%86%CF%8C%CF%81%CE%BF%CE%B9-%CF%83%CF%84%CE%B9%CF%82-%CE%BC%CE%B5%CF%84%CE%B1%CE%B2%CE%B9%CE%B2%CE%AC%C F%83%CE%B5%CE%B9%CF%82-%CE%B1%CE%BA%CE%B9%CE%BD%CE%AE%CF%84%CF%89%CE%BD-%CE%B1%CF%80%CF%8C-01-01-2014?p=59#post59
Does NOT work.

But in this: http://www.emesitis.gr/showthread.php/50 does work.

UTF-8

Emad ELsayed
06-21-2014, 07:00 AM
very nice hack

bengalies
09-02-2014, 06:40 PM
Hello, excellent hack.

How can we change the color of the letter search or the color of the window?

Thank you.

Nelson58
09-04-2014, 11:19 AM
I installed it and nothing appeared.

What do I need to change in the PHP and XML files?

Nelson58
09-04-2014, 01:56 PM
Help please?

Nelson58
09-05-2014, 11:29 AM
Obviously, you cannot just download this and copy it to the root forum directory like it states, because when I did so, nothing happens. You must need to change some code to indicate your template or something. Can someone tell me what that would be that would need to be done?

Nelson58
09-08-2014, 01:35 PM
Obviously, you cannot just download this and copy it to the root forum directory like it states, because when I did so, nothing happens. You must need to change some code to indicate your template or something. Can someone tell me what that would be that would need to be done?

Help?

Nelson58
09-12-2014, 01:37 PM
Yilmaz, can you help, please.

I downloaded and installed in 4.2.2 and nothing at all appears.

Thanks,

Nelson

tini_lam
09-12-2014, 02:33 PM
dont show on custom style..

Nelson58
09-17-2014, 06:46 PM
dont show on custom style..

I am using the default template.

This mod doesn't work.

DeanoUK
02-28-2015, 09:28 AM
It's because it uses an iframe to display the results; google no longer supports iframes:
https://support.google.com/customsearch/answer/2641279?hl=en

To correct this google recommends using the two page or results only settings. You can do this, then get the code and replace the template script at the bottom of the yilmaz_google_arama_kutusu_sayfa template.

Attached is an example replacement product template. You can see it working on http://www.ukcigarforums.com

mapleleaffans
09-03-2015, 09:46 PM
I got this to work on my site as well. I pretty much just edited the yilmaz_google_arama_kutusu_sayfa template like @DeanoUK stated above and works exactly the same on my site as his. I am using Vbulletin 4.2.3: TMLeafsFans.com (http://www.tmleafsfans.com/forum.php)

eh69
12-06-2015, 09:38 AM
Can You explain me what mean: Site search box will show the search box instead of google adsense?
in admin cp?

How change style of search result?

Mellow
04-14-2018, 02:06 PM
I'm having this issue with one of my new styles, not sure where to adjust it.

Mellow
04-15-2018, 05:11 PM
I'm having this issue with one of my new styles, not sure where to adjust it.

Fixed with some additional.css changes.

RichieBoy67
04-16-2018, 12:08 PM
Fixed with some additional.css changes.Like what? I am thinking about adding this.

Mellow
04-16-2018, 06:01 PM
Like what? I am thinking about adding this.

Had to adjust the margin-top:

.globalsearch input.textbox {
background-color: #fff;
color: #000;
margin-top: -2px;
border: 1px solid #555555;
padding: 3px;
-moz-box-shadow: 0 0 2px #1a1a1a;
-webkit-box-shadow: 0 0 2px #1a1a1a;
box-shadow: 0 0 2px #1a1a1a;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 0px;
margin-right: -4px;
}

webnsn
05-03-2021, 03:31 PM
Will it work from 3.8 version?