The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Editing the Breadcrumbs and navbit
I would like to edit one of my skins, and change the navbit from:
[Forum Home] > [Category] > [Forum Name] to just starting with the category, like: [Category] > [Forum Name] This is a subsection on my forums for a particular userset, and has its own custom skin. The header image already links to the category, but a lot of users will still click on the [Forum] link. I have included 2 screenshots to give an idea of what i am talking about. in the navbar_links template is the following code: Code:
<vb:if condition="$show['breadcrumb']"> <li class="navbit"><a href="{vb:raw nav_url}">{vb:raw nav_title}</a></li> <vb:else /> <li class="navbit lastnavbit"><span>{vb:raw nav_title}</span></li> </vb:if> Code:
<!-- BEGIN TEMPLATE: navbar_link --> <li class="navbit"><a href="forum.php">Forum</a></li> <!-- END TEMPLATE: navbar_link --><!-- BEGIN TEMPLATE: navbar_link --> <li class="navbit"><a href="forumdisplay.php?83-Blazing-Steel">Blazing Steel</a></li> <!-- END TEMPLATE: navbar_link --><!-- BEGIN TEMPLATE: navbar_link --> <li class="navbit lastnavbit"><a href="forumdisplay.php?82-General-Discussions">General Discussions</a></li> <!-- END TEMPLATE: navbar_link --> |
#2
|
||||
|
||||
You could just write a quick plugin:
Hook Location - navbits PHP Code: PHP Code:
|
#3
|
|||
|
|||
I've been looking for a way to do this for ages - thanks Lynne!
Is there a way to remove the category link too? I just want: site name/homepage link - section name/link - thread name/link |
#4
|
||||
|
||||
I'm not sure exactly what you want, but the code to look at is in the function construct_navbits in functions.php
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|