BirdOPrey5
08-06-2010, 12:17 AM
In the template forumhome_forumbit_level1_nopost this is the code that loads the status icon for each forum:
<img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
Now I'm trying to figure out how to call these from the navbar template. I was hoping I'd see some way of passing it a forumid and getting the right icon back- basically I need it to return the 'right' icon, such as the forum has new posts and is open, has no new posts and is open, has new posts but is locked (closed), or has no new posts and is locked.
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.
<img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
Now I'm trying to figure out how to call these from the navbar template. I was hoping I'd see some way of passing it a forumid and getting the right icon back- basically I need it to return the 'right' icon, such as the forum has new posts and is open, has no new posts and is open, has new posts but is locked (closed), or has no new posts and is locked.
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.