The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Easy Navbar Links Details »» | |||||||||||||||||||||||||||||
Description:
This template edit displays quick and easy links to your navigation. Installation Time: Less than 1 minute I got the inspiration from "yoyoyoyo" who made a similar mod for 3.6.8. Although his might work fine for this also, I decided to alter it a bit and cleaned up some code. I did PM yoyoyoyo to use a variation of his hack but, since he has not been online since September 2008, I can't get a response. Since yoyoyoyo came up with this type of template edit, all the credit goes to him. Here is the mod from yoyoyoyo for version 3.6.8: https://vborg.vbsupport.ru/showthread.php?t=160642 Template Edit: Styles and Templates > Style Manager > Your Style > Navigation / Breadcrumb Templates > Navbar: In the Navbar find: Code:
<!-- breadcrumb, login, pm info --> Code:
<!-- Navbar Links --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> <tr align="center"> <td class="vbmenu_control"><a href="http://url.com">Your Title</a></td> <td class="vbmenu_control"><a href="http://url.com">Your Title</a></td> <td class="vbmenu_control"><a href="http://url.com">Your Title</a></td> <td class="vbmenu_control"><a href="http://url.com">Your Title</a></td> <td class="vbmenu_control"><a href="http://url.com">Your Title</a></td> <td class="vbmenu_control"><a href="http://url.com">Your Title</a></td> </tr> </table> </div> <!-- / Navbar Links --> Done! OPTIONAL: If you want to show a link only to members use this: Code:
<if condition="$show['member']"> <td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td> </if> Code:
<if condition="$show['member']"> <td class="vbmenu_control"><a href="http://url.com">Member Link Title Goes Here</a></td> <else /> <td class="vbmenu_control"><a href="http://url.com">Guest Link Title Goes Here</a></td> </if> Code:
<td class="vbmenu_control"><a href="http://url.com" target="_blank">Link Title Goes Here</a></td> Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> <td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td> </if> Of Course you want to change the URL's to your site URL and direct the link to any site or feature you want for your site. Any problems, let me know. Make sure if you use this template edit to CLICK INSTALL. Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
Perrier Sophie |
Comments |
#82
|
||||
|
||||
Quote:
I have uninstalled this mod here. If you want help doing what I have done in my screenshot please PM me. It is not my intention to detract from the developer of this mod. So if you have questions for me please do not post them in this thread. EDIT: I just saw that you fixed your issue as I was posting this. It is my wish to come up with a way to have both the top and bottom row navbars both editable from withing the AdminCP without the use of template edits to create the menus. The only strong point of template driven menus is you can simply backup the template and your menus to file. |
#83
|
|||
|
|||
Quote:
read above post i got it working |
#84
|
|||
|
|||
thank you
|
#85
|
|||
|
|||
Thank you..
perfect! |
#86
|
|||
|
|||
Thank you.
|
#87
|
||||
|
||||
Very nice, yotsume.
|
#88
|
|||
|
|||
Thanks
|
#89
|
|||
|
|||
I installed this this way and for some rason the links are not alligned properly.
<!-- Navbar Links --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> <tr align = "center" > <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?p=494101#post494101">Advertise</a></td></if> <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/forumdisplay.php?f=168">Please Visit Our Sponsors Here</a></td></if> <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?t=75674">Make a Donation Here</a></td></if> </tr> </table> </div> <!-- / Navbar Links --> |
#90
|
|||
|
|||
Awesome!!!
I have installed this mod, working great. Had to modify the border-top-width:0px for border-bottom-width:0px to make the borders fit exactly, not big deal. Now, I need some help creating a linked button. I want to create 2 buttons with custom searches, for user specific (authenticated) and I don't now how to create or code the variable user. I do understand how to show the buttons for users and hide for guests, but simpy I can find a way to create the next variable for USER: this is what I am trying to accomplish: (I need to know what to put on searchuser variable to make it work for any authenticated use) forum _root/search.php?do=process&showposts=0&exactname=1&sear chuser=[variable?] (when authenticated replaced by user name or #, example johnsmith) I've been searching for threads on this but no success and I've seen implemented on other forums. Help please |
#91
|
||||
|
||||
Can you post an example to what you are trying to tell me from another site that does have this? I think I may know what you are trying to say, but I need an illustration to be sure.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|