vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Yilmaz - Navbar Google Search Box (https://vborg.vbsupport.ru/showthread.php?t=297548)

yilmaz 04-23-2013 10:00 PM

Yilmaz - Navbar Google Search Box
 
1 Attachment(s)
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

Code:

<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
Code:

<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
Quote:

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

Quote:

Originally Posted by Nelson58 (Post 2493402)
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.ph...14?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

Quote:

Originally Posted by Nelson58 (Post 2513869)
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

Quote:

Originally Posted by tini_lam (Post 2514858)
dont show on custom style..

I am using the default template.

This mod doesn't work.

DeanoUK 02-28-2015 09:28 AM

1 Attachment(s)
It's because it uses an iframe to display the results; google no longer supports iframes:
https://support.google.com/customsea.../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

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

1 Attachment(s)
I'm having this issue with one of my new styles, not sure where to adjust it.

Mellow 04-15-2018 05:11 PM

Quote:

Originally Posted by Mellow (Post 2594160)
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

Quote:

Originally Posted by Mellow (Post 2594180)
Fixed with some additional.css changes.

Like what? I am thinking about adding this.

Mellow 04-16-2018 06:01 PM

Quote:

Originally Posted by RichieBoy67 (Post 2594189)
Like what? I am thinking about adding this.

Had to adjust the margin-top:

PHP Code:

.globalsearch input.textbox {
background-color#fff;
color#000;
margin-top: -2px;
border1px solid #555555;
padding3px;
-
moz-box-shadow0 0 2px #1a1a1a;
-webkit-box-shadow0 0 2px #1a1a1a;
box-shadow0 0 2px #1a1a1a;
-moz-border-radius6px;
-
webkit-border-radius6px;
border-radius0px;
margin-right: -4px;



webnsn 05-03-2021 03:31 PM

Will it work from 3.8 version?


All times are GMT. The time now is 12:09 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
  • Page Generation 0.01251 seconds
  • Memory Usage 1,789KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete