Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Navtab Search Box with Options (How-To-Guide)
8thos
Join Date: Aug 2010
Posts: 772

What's up my name's Dre and I'm a Trinidadian-American from NY & FL, a USAF Veteran, work as Tech Support. Major is Film. Goals: Get a bachelor's in something, not sure yet and finish writing some books I started writing in high school. I'm not on vb

Pensacola, FL
by 8thos 8thos is offline 26 Jun 2011

In this guide you will learn how to:
  1. Create search navtab across all skins.
  2. Remove search from navbar.
  3. Disable search box for guests.
  4. Increase rate of accidental ad clicks due to search being right above ads.
  5. Do it in under 2 minutes.







I got the Plugin PHP code by modifying both Forum Display and Group Search.

If you have a lot of traffic and don't want guests slowing down your site, you can disable search for guests.

I created the plugin using Allan's Guide:
http://www.vbulletin.org/forum/showthread.php?t=232579


1. AdminCP/Plugins & Products/Add New Plugin

2. Product: vBulletin

3. Hook Location: process_templates_complete

4. Title: Search

5. Execution Order: 5


Plugin PHP Code:
The code in green is where you can disable search for guests.
The code in red is where you can move the template hook per Allan's guide


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

To remove search from the navbar:

AdminCP/Styles and Templates/ Style Manager / Edit Templates / Navigation and Breadcrumb Templates / navbar

In navbar delete the following code:

[code]To remove search from the navbar:

AdminCP/Styles and Templates/ Style Manager / Edit Templates / Navigation and Breadcrumb Templates / navbar

In navbar delete the following code:


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

Hit save.

You're done.
Attached Images
File Type: jpg searchgone.jpg (85.4 KB, 2104 views)
File Type: jpg searchplugin.jpg (140.6 KB, 864 views)

Last edited by 8thos; 28 Jun 2011 at 06:03..
Views: 4953
Reply With Quote
Comments
  #2  
Old 26 Jun 2011, 19:06
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Created a product for just the plugin: http://www.vbulletin.org/forum/showthread.php?p=2213118.
__________________
www.8thos.com
www.qapla.com

Last edited by 8thos; 06 Jul 2011 at 10:34.
Reply With Quote
  #3  
Old 19 Apr 2012, 21:26
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
That helped alot...thank you
__________________
http://sandstormradio.org
Reply With Quote
  #4  
Old 18 May 2012, 08:41
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Originally Posted by doctorsexy View Post
That helped alot...thank you
Your welcome!
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #5  
Old 22 May 2012, 18:58
jca2112's Avatar
jca2112 jca2112 is offline
 
Join Date: Sep 2007
Question Invalid clicks?

Originally Posted by 8thos View Post
In this guide you will learn how to:

4. Increase rate of accidental ad clicks due to search being right above ads.
It's a violation of Google Adsense (and most any ad network) to intentionally obscure ads and more importantly, encourage any type of invalid ad clicks, directly or indirectly.

Why are you advocating this as a feature when it could get users of your mod/edit banned from their ad network(s)?
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Mini Mods Navbar Search Form/Input Box with Advanced Options Dropdown Chris-777 vBulletin 3.6 Template Modifications 14 05 Aug 2009 23:54
Boolean Search as Default in Advanced Search Options Neutral Singh vBulletin 3.5 Template Modifications 6 12 Apr 2006 07:01



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:16.

Layout Options | Width: Wide Color: