Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Aug 2009, 22:26
SeanMT SeanMT is offline
 
Join Date: Oct 2002
Real name: Sean Taylor
Condition for Forum Contains Unread Posts?

On my forums I don't use post icons etc... The only annoyance this causes is that on the forum home forums that contain unread posts don't look any different to forums with no new posts.

I would like to style them differently. Is there a simple if statement that would allow me to check if the forum has unread posts?

Thanks
Reply With Quote
  #2  
Old 27 Aug 2009, 23:08
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Check the value of $forum['statusicon'].

"new" = new posts, "old" = no new posts.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #3  
Old 28 Aug 2009, 00:51
SeanMT SeanMT is offline
 
Join Date: Oct 2002
Real name: Sean Taylor
Thanks for the quick response. I will try it out tomorrow.

--------------- Added 28 Aug 2009 at 01:41 ---------------

Worked a treat, thanks a lot!

Last edited by SeanMT; 28 Aug 2009 at 01:41. Reason: Auto-Merged DoublePost
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:59.

Layout Options | Width: Wide Color: