The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Has anyone successfully moved the FAQ and Calendar links to the navtab from the Forum navbar? I've made a plugin and transplanted the code from the navbar template, but it seemed to choke on the variable references.
Here are the lines as they appear in the navbar template: Code:
<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase faq}</a></li> <li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li> Code:
$template_hook['navtab_middle'] .= '<li><a class="navtab" rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase faq}</a></li>'; $template_hook['navtab_middle'] .= '<li><a class="navtab" href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>'; Code:
$template_hook['navtab_middle'] .= '<li><a class="navtab" rel="help" href="faq.php' . {vb:raw session.sessionurl_q} . '">' . {vb:rawphrase faq} . '</a></li>'; $template_hook['navtab_middle'] .= '<li><a class="navtab" href="calendar.php' . {vb:raw session.sessionurl_q} . '">' . {vb:rawphrase calendar} . '</a></li>'; |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|