The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Category / Section Variables?
Looking to do some if statements for categories and sections in the navbar template.
Wondering if $sectionid and $categoryid would work? Don't ask me where I got them I just pulled them out of thin air using $forumid from 3.x --------------- Added [DATE]1262806170[/DATE] at [TIME]1262806170[/TIME] --------------- Well I've tried {$sectionid} and {$categoryid} neither worked. Anyone have any suggestions at all? |
#2
|
|||
|
|||
I have also tried $sectionid with no result. Did you find a solution on how to get the section id ?
|
#3
|
||||
|
||||
You'll need to look at the code and also the tables. Very often they use the same variable name as the field in the table. You also need to see if the variable is even available for use in certain templates - like header/navbar/footer are rendered at the beginning of the pages, so most page variables aren't available yet.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|