The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi guys and gals,
I am wondering if you can use vBulletin code in a nav. Such as: PHP Code:
Cheers, Marc |
#2
|
|||
|
|||
![]()
What do you mean by "use vBulletin code in a nav?" If you mean a plugin, then no, that code you posted would need to be PHPized, i.e., this:
Code:
<if condition="$show[member]"> <td class="vbseo_vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> Code:
if ($show['member']) { echo '<td class="vbseo_vbmenu_control"><a href="usercp.php' . $vbulletin->session->vars['sessionurl_q'] . '">' . $vbphrase[user_cp] . '</a></td>'; } |
#3
|
|||
|
|||
![]()
That's pretty crap - I was looking to clean up all the templates into plugins. However, that would take far, far too long.
Thanks anyway. |
#4
|
|||
|
|||
![]()
That wouldn't really be a cleanup... unless i'm misunderstanding.
|
#5
|
|||
|
|||
![]()
It would, because it is organising them into an easy to find way... Saves cluttered templates. Also, at the same time, I would be removing nested tables.
|
#6
|
||||
|
||||
![]()
Having that many plugins (especially big ones) will create a lot overhead and thus will increase the load on your server. So not really a cleanup per-se, and the edits are not going to be easier to find, trust me.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|