vBulletin Mods

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

Navtab Search Box with Options (How-To-Guide)
by 8thos
26 Jun 2011 06:45

2 Attachment(s)
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.


https://www.vbulletin.org/forum/external/2011/06/16.jpg

http://www.vbulletin.org/forum/attac...1&d=1309067185


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.

8thos 26 Jun 2011 19:06

Created a product for just the plugin: http://www.vbulletin.org/forum/showthread.php?p=2213118.

doctorsexy 19 Apr 2012 21:26

That helped alot...thank you

8thos 18 May 2012 08:41

Quote:

Originally Posted by doctorsexy (Post 2321691)
That helped alot...thank you

Your welcome!

Invalid clicks?
by jca2112
22 May 2012 18:58

Quote:

Originally Posted by 8thos (Post 2212903)
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)?


All times are GMT. The time now is 20:14.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, 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.