![]() |
Any way to access "Status Icons" from the Navbar template?
In the template forumhome_forumbit_level1_nopost this is the code that loads the status icon for each forum:
Code:
<img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> Each of my forums has a custom status icon that is specified by the [imageprefix]... But off hand I'm not seeing anyway of getting this data into the navbar... any ideas? Basically I currently have a secondary navbar with an icon for every forum... right now it's hard coded to use the 'forum open, no new posts' icon for each but I really want to display the correct status icon for each so users can see immediately if there are new posts or not without actually visiting the forum. |
There's a bunch of code that goes into figuring out what statusicon is shown. Take a look in the functions_forumlist.php file and you should find it. You would need to grab some of this code in order to display the statusicon.
|
Thanks, I'll see what I can make of it.
|
All times are GMT. The time now is 12:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|