vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=263440

Use Google Custom Search In Navbar - Step By Step
by rajubd
11 May 2011 00:46

2 Attachment(s)
This mod will replace vb search in navbar with google custom search.. you can still use advance search from navbar. google search provide much better result when you try to search word under 4 letters..

1. First download google.php upload in your forum root
2. Go to your AdminCP Go to Styles & Templates -> Style Manager
select Style then click Create New Template rename Template to GOOGLE
Paste this code in google Template :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Then Open Navigation / Breadcrumb Templates Click Collapse button click navbar Template find <div id="globalsearch" class="globalsearch"> and <ul class="navbar_advanced_search"> remove all code between this with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note : Replace http://www.mobilephonetalk.com with your won website name
Replace partner-pub-8038994048300561:7c8fy7cujxg with your won adsense code...

RobbieZ 11 May 2011 12:52

Nice work.

Doesnt work on a closed forum where you have to log in to view the site as google cant access this!

rajubd 13 May 2011 03:15

Quote:

Originally Posted by RobbieZ (Post 2194366)
Nice work.

Doesnt work on a closed forum where you have to log in to view the site as google cant access this!

Yes but you can use advanced or forum search..

obmob 03 Jun 2011 17:40

Works really nice, the template makes it even better. :)

rajubd 06 Jun 2011 22:28

Quote:

Originally Posted by obmob (Post 2203105)
Works really nice, the template makes it even better. :)

Thanks...

Vaira 09 Jun 2011 18:59

I got global search results, but not for the website specific only.

Did I miss something?
I have removed the partner-pub-xxxxxxx:xxxxxx-xxxxxx line completely since I don't have a ad sense account

Thanks.

Vaira 10 Jun 2011 13:10

OK I did some research....
This method is made to work with adsense only and is spread all over the net.

You simply cannot remove the line.

For non adsense users just go for that:
http://www.vbulletin.org/forum/showt...=241563&page=3

Ichigo88 11 Jun 2011 20:34

4.1.3 not work -.-

rajubd 11 Jun 2011 20:52

I am using it in my site with 4.1.3 ... try again

rajubd 11 Jun 2011 20:54

Quote:

Originally Posted by Vaira (Post 2205796)
OK I did some research....
This method is made to work with adsense only and is spread all over the net.

You simply cannot remove the line.

For non adsense users just go for that:
http://www.vbulletin.org/forum/showt...=241563&page=3

I didn't test it for non AdSense users thanks for info...

temsamane 12 Jun 2011 23:28

i tried the script, but it doesnt give me search results.

look at: http://www.rkempo.nl/forums/forum.php

help me with this issue please

rajubd 12 Jun 2011 23:41

describe what you did?

Vaira 13 Jun 2011 01:57

Quote:

Originally Posted by rajubd (Post 2206354)
I didn't test it for non AdSense users thanks for info...

You're welcome.
We are thinking about of getting an adsense account, and if not the other solution is right.
Thanks for your mod. :);)

BlueCheri 13 Jun 2011 11:28

Hi very nice, installed.

Getting following error;

400. That’s an error.
Your client has issued a malformed or illegal request. That’s all we know.


Using 4.1.2 version, Can you help me on this?

Thanx in advance.

temsamane 13 Jun 2011 19:33

this is my navbar code. where do i have to place the second code? i dont see globalsearch


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 04:51.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.