The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display a List of forum sections
I'd like to write a simple list of forum section names and links to use as navigation e.g.
<ul> <li><a href="forumdisplay.php?30-section-one">Section One</a></li> <li><a href="forumdisplay.php?31-section-two">Section Two</a></li> </ul> Any advice on how to do that? It would need to take into account which sections a user has permission to see. Thank you |
#2
|
|||
|
|||
Where do you want these links to be shown? If it is in the nav bar, you can do that with the navigation manager in the AdminCp
|
#3
|
|||
|
|||
I'm trying to add a drop down menu with the forum sections to the mobile template.
I think I've got half way there by copying the code from the quick links at the bottom of the desktop: Code:
<ul> <vb:each from="jumpforumbits" value="data"> <vb:if condition="$data['type'] == 'link'"> <li><a href="{vb:link forum, {vb:raw data.forum}}">{vb:raw data.forum.title_clean}</a></li> </vb:if> </vb:each> </ul> |
#4
|
|||
|
|||
Try checking $data['forum']['depth'].
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|