The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hey how do i fix the navbits for my modification? i mean now it is
Forum Name >> Modification >> subpage for Modification and i want it to be like this instead Modification >> subpage for modification or when you are on the main page of the modification it is just Modification instead of Forum Name >> Modification i hope you understand what i mean here. |
#2
|
||||
|
||||
![]()
When building the navbits in your modification, you need to add extra "levels". This is just before you call "construct_navbits()".
|
#3
|
|||
|
|||
![]()
have no idea what you mean. im not good in php and thoose stuff so i would need an example of how its should look like.
right now its like this: Code:
// build navbar $navbits = array(); $navbits['index.php' . $vbulletin->session->vars['sessionurl'] . ""] = $vbphrase['jmdp_home']; $navbits[''] = $singlenews['newstitle']; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('JmDPortal_singlenews') . '");'); |
#4
|
||||
|
||||
![]()
To create the navbits like "Forum Name > Modification > Function", this would be the code:
PHP Code:
|
#5
|
|||
|
|||
![]()
think you missunderstood me. i don´t want the first Forum Name it should be removed.
|
#6
|
||||
|
||||
![]()
You can't remove it (well you can, but not without some difficulty).
|
#7
|
|||
|
|||
![]()
what difficultys? because i really don?t want the first to forum because this is for like the startpage.
|
#8
|
|||
|
|||
![]()
Bump
|
#9
|
||||
|
||||
![]()
You will need to hook in to where it creates the navbits (in the construct_navbits() process), and add an extra one in before the Forums link.
|
#10
|
|||
|
|||
![]()
so can someone give code for that?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|