This will show "(1 Connected)" (without the quotes) if one user is viewing the forum, if more than one user is viewing it will always show "(2 Connected)" (without the quotes):
Code: Select all
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><!-- IF forumrow.JHR_FORUM_USER_COUNT --> <span class="users_viewing"><!-- IF forumrow.JHR_FORUM_USER_COUNT eq 1 -->(1 Connected)<!-- ELSE -->(2 Connected)<!-- ENDIF --></span><!-- ENDIF -->
Code: Select all
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><!-- IF forumrow.JHR_FORUM_USER_COUNT --> <span class="users_viewing"><!-- IF forumrow.JHR_FORUM_USER_COUNT eq 1 -->(1 Connected)<!-- ELSE -->({forumrow.JHR_FORUM_USER_COUNT} Connected)<!-- ENDIF --></span><!-- ENDIF -->
Code: Select all
.users_viewing
{
color: orange;
}
Like my previous post in this thread, this is how to do it with prosilver style, and you will need to make the change to all the styles your forum uses, that shows the user viewing count, and that you want to change the color or/and other style of the user viewing text.