Wayne Luke
05-25-2009, 04:08 PM
Now this is what I am waiting for...
First go into your style manager and look at your header and navbar templates. Got them in your mind now?
Now you're a new user and you want to add a link to your navbar... Where do you add the code?
Now this is the header and navbar for vBulletin 4:
<div id="header">
<div><a href="forumhome.php" id="logo-image"><img src="images/logo.png" alt="" /></a></div>
<div id="toplinks">
<a href="#">Kier</a>
<a href="#">Settings</a>
<a href="#">Log-out</a>
</div>
<hr />
</div>
<div id="navbar">
<ul id="navtabs" class="floatcontainer">
<li><a class="navtab" href="#">Site</a></li>
<li class="selected"><a class="navtab" href="#">Forum</a>
<ul class="floatcontainer">
<li><a href="#">User CP</a></li>
<li><a href="#">New Posts</a></li>a
<li><a href="#">Today's Posts</a></li>
<li><a href="#">Mark all Forums Read</a></li>
<li><a href="#">Subscribed Threads</a></li>
<li><a href="#">Private Messages</a></li>
</ul>
</li>
<li><a class="navtab" href="#">Blog</a></li>
<li><a class="navtab" href="#">Projects</a></li>
<li><a class="navtab" href="#">Calendar</a></li>
</ul>
</div>
<div id="breadcrumb">
<ul class="floatcontainer">
<li class="navbit"><a href="#" name="top">My Site</a></li>
<li class="navbit"><a href="#">Forums</a></li>
<li class="navbit"><a href="#">General</a></li>
<li class="navbit"><a href="#">Off-Topic Stuff</a></li>
<li class="navbit"><a href="#">The Forumdisplay Example Forum</a></li>
</ul>
<hr />
</div>
http://images.vbulletin.com/blog-content/kier/40-style-firstlook/hnbt.png
Personally, I prefer the code above to what is in the navbar and header templates now. What is that you are saying? You don't like tabs and want dropdown menus? Okay... just go edit the CSS and voila, you are done. Want new backgrounds, go edit the CSS and in a couple lines your done. Want to assign little Icons to the links? Yeah, you guessed it, go edit the CSS.
The power and the freedom will be yours. No more worrying whether you need 5 or 6 table cells in a row. No more worrying about tables opened 5 templates ago and closed in yet other templates.
That is what I am looking forward to. If this was the only improvement in vBulletin 4, I would be happy.
First go into your style manager and look at your header and navbar templates. Got them in your mind now?
Now you're a new user and you want to add a link to your navbar... Where do you add the code?
Now this is the header and navbar for vBulletin 4:
<div id="header">
<div><a href="forumhome.php" id="logo-image"><img src="images/logo.png" alt="" /></a></div>
<div id="toplinks">
<a href="#">Kier</a>
<a href="#">Settings</a>
<a href="#">Log-out</a>
</div>
<hr />
</div>
<div id="navbar">
<ul id="navtabs" class="floatcontainer">
<li><a class="navtab" href="#">Site</a></li>
<li class="selected"><a class="navtab" href="#">Forum</a>
<ul class="floatcontainer">
<li><a href="#">User CP</a></li>
<li><a href="#">New Posts</a></li>a
<li><a href="#">Today's Posts</a></li>
<li><a href="#">Mark all Forums Read</a></li>
<li><a href="#">Subscribed Threads</a></li>
<li><a href="#">Private Messages</a></li>
</ul>
</li>
<li><a class="navtab" href="#">Blog</a></li>
<li><a class="navtab" href="#">Projects</a></li>
<li><a class="navtab" href="#">Calendar</a></li>
</ul>
</div>
<div id="breadcrumb">
<ul class="floatcontainer">
<li class="navbit"><a href="#" name="top">My Site</a></li>
<li class="navbit"><a href="#">Forums</a></li>
<li class="navbit"><a href="#">General</a></li>
<li class="navbit"><a href="#">Off-Topic Stuff</a></li>
<li class="navbit"><a href="#">The Forumdisplay Example Forum</a></li>
</ul>
<hr />
</div>
http://images.vbulletin.com/blog-content/kier/40-style-firstlook/hnbt.png
Personally, I prefer the code above to what is in the navbar and header templates now. What is that you are saying? You don't like tabs and want dropdown menus? Okay... just go edit the CSS and voila, you are done. Want new backgrounds, go edit the CSS and in a couple lines your done. Want to assign little Icons to the links? Yeah, you guessed it, go edit the CSS.
The power and the freedom will be yours. No more worrying whether you need 5 or 6 table cells in a row. No more worrying about tables opened 5 templates ago and closed in yet other templates.
That is what I am looking forward to. If this was the only improvement in vBulletin 4, I would be happy.