onyxhub

Customer
When hovering over a members name in the who's online sidebar box, you get the status update as planned, but if someone doesn't have a status update it breaks it.

See below.

How it looks before hover:
Screen Shot 2013-09-01 at 03.24.31.png
Status update as planned:
Screen Shot 2013-09-01 at 03.24.42.png
Hover over member with no status (note the name V1d30 Guy moved into the place the status was meant to be)
Screen Shot 2013-09-01 at 03.24.53.png
After you've moved away from hovering over someone with no status (Note Missing v1d30 Guy):
Screen Shot 2013-09-01 at 03.25.02.png
 
This will likely be fixed in our next update, probably when XF 1.2.2 is out I would say which should be quite soon. There are other improvements to work on also so we really cant just release a patch version.
 
Sigh, I will do it myself then.

Try this go to sidebar_online_users

Replace this:

Code:
               <xen:if is="{$user.user_id}">

                   <a href="{xen:link members, $user}"
                   class="username{xen:if '!{$user.visible}', ' invisible'} {xen:if {$user.followed}, ' followed'} <xen:if is="@xenBase_sidebarStatus_tooltip">Tooltip" title="{xen:helper bodyText, $user.status}"<xen:else />" </xen:if>>{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
               <xen:else />
                 {xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
               </xen:if>

With this:

Code:
              <xen:if is="{$user.user_id}">

                   <a href="{xen:link members, $user}"
                   class="username{xen:if '!{$user.visible}', ' invisible'} {xen:if {$user.followed}, ' followed'} <xen:if is="@xenBase_sidebarStatus_tooltip"><xen:if is="{$user.status}">Tooltip" title="{xen:helper bodyText, $user.status}"<xen:else />" </xen:if></xen:if>>{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
               <xen:else />
                 {xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
               </xen:if>
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.

Back