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 |
#32
|
|||
|
|||
Fantastic! And so easy
Q. What is this "TMS system" referred to in previous post? |
#33
|
||||
|
||||
Quote:
|
#34
|
|||
|
|||
Really great mod. Installed! Thanks
|
#35
|
||||
|
||||
Template Modification System
|
#36
|
|||
|
|||
Quote:
EDIT, (just found out by playing with it): To make them one on top of the orginal NavBar, find the following code and place it above it: <!-- nav buttons bar --> <div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px"> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr align="center"> However, I still need: Lastly, when I look at the NavBar area, I can't find "Invite Your Friends" or "ChatBox Full". Where else would I find them so I can kill them off the orginal bar, and place them on the new bar, so it doesn't look so cluttered? So, being a noob, how can I do a search on "ChatBox Full" to find out what section it's in? btw: This is exactly what I needed for my site.... |
#37
|
||||
|
||||
The "Invite your Friends" area is in the styles and templates > Choose your style > Invitation Template. Find the navbar link and copy it, then delete it.
What chatbox are you using? |
#38
|
|||
|
|||
Quote:
When I search through my files (I have attached them below), I cannot find anything with "Invitation Template". I'm going to ACP>Styles & Templates>Style Manager>Andromeda (my style)>using the pull down "Edit Templates">Expand all Template groups. I go into all the Navbar files and do a seach for "Invite Your Friends" or "ChatBox Full" and cannot find anything. But, understand too, I am a Noobie, and I know I'm probably doing something wrong... Is there an easy way of searching for these texts, that will show all instances of all files using them? Here are my Templates.... Thanks again for your help! |
#39
|
|||
|
|||
Here are the remaining 3 files.... Sorry to have so many....
|
#40
|
||||
|
||||
For the CyB Chatbox, go to AdminCP > vB Options > CyB - Chatbox > scroll down to very bottom of that where it says this: "Automatically add link to ChatBox to NavBar". Set it to NO and save. Done.
For the Invitation System go to AdminCP > vB Options > Invitation System Options > "Automatic Link Creation" set to disable and save. Done! Then go to your forum homepage and look at the navbar. It will be taken away. For inserting them into the above navbar, I dont know. The Chatbox uses a hook somewhere that I cant find to add it. Invitation system I will have to search for you. |
#41
|
|||
|
|||
Quote:
Warden-B-, THANK-YOU~!!!!! Dang, I was making it harder than I needed...(Please understand, I'm a noobie) 1. What I did is leave the "ChatBox Full" and the "Invite Your Friends" on, and I right clicked on them to get their properties. Then I added to your program Navbar. 2. Then I went to the Vbulletin Options. For noobs, that's ACP>vbulletin Options>Vbulletin Options>go down to Cyb - Chatbox and click "No" where it says "Automatically add link to ChatBox to NavBar". This will kill it off the orginal Navbar. 3. Do the same thing for the invite. For noobs, that's ACP>vbulletin Options>vbulletin Options>go down to Invitation System Options>"Automatic Link Creation" and select "Disable". 4. Dang it, here I was looking for code somewhere, and all it was was a dang pushbutton for the program.... Anyways, Warden-B-, I just wanted to thank you for getting me on the right track.... |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|