Support Forum
you will have to add it yourself...
so in your group view template file spGroupView.php, where you output the avatar, right next to it, just do something like:
if ($spThisForum->unread > 0) { # output your icon }
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
you will have to add it yourself...so in your group view template file spGroupView.php, where you output the avatar, right next to it, just do something like:
<br />
if ($spThisForum->unread > 0) { # output your icon }<br />
I'm sorry, I am having a dumb moment. Can you elaborate on this?
sorry, since you made a code change to output the avatar instead, assumed you were comfortable coding...
can you post the code you changed to display the avatar instead of icon? we can then show you how to add an icon display next to it.. assuming that is what you want from my understanding...
Visit Cruise Talk Central and Mr Papa's World
scratch that... reading a bit further back in topic and looking at what you linked to, was confused by your use of group break... which indicated to me group view... but you are on forum view...
so the change was in spForumView.php... and you would output the code I gave you right after where you inserted the spAvatar function...
Visit Cruise Talk Central and Mr Papa's World
so after
sp_UserAvatar('tagClass=spRowIcon spLeft&context=user', $spThisTopic->first_user_id);
do something like:
if ($spThisTopic->unread > 0) { echo '<img src="http//xxxxxx" />'; }
where xxxxx would be the image to display if unread posts in the topic...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)