BUTTON for "Using FreeNAS .7? Use These Forums Instead"

Status
Not open for further replies.

HolyK

Ninja Turtle
Moderator
Joined
May 26, 2011
Messages
653
Hello,

that message in menu bar is a bit ugly. Since there is no "support" from vB side to add new buttons to the navbar, it can be done via simple script:

Admin CP -> Plugins & Products -> Plugin Manager -> [Add New Plugin] (at the bottom of the page)

Product: vBulletin
Hook Location: process_templates_complete
Title: <anything you want>
Execution Order: 5

Plugin PHP Code:
$template_hook['navtab_middle'] .= '<li><a class="navtab" href="http://sourceforge.net/apps/phpbb/freenas/index.php">FreeNAS 7</a></li>' ;

It will be put between "Forum" and "What's New". If you want put it after the What's new, just use navtab_end in the script.

Save, reload ... BAM! ;)

Holy
 
J

James

Guest
Thanks!! We've been hunting for a while for a better solution.
 

HolyK

Ninja Turtle
Moderator
Joined
May 26, 2011
Messages
653
Glad i can help :D
 
Status
Not open for further replies.
Top