Jump to content

Who's Online" in sidebar display fix

Featured Replies

Posted
  • Administrators

When "Who's Online" block is moved to the sidebar it doesn't display info indicated by red circle below:

IPB4.png.305ce7c6a2fdb463d974d5a4b38d264f.png

To fix this go ACP>Customizations>Themes>your_skin>edit

Click on "Templates" tab.

Go public_html>core>front>widgets>whosOnline

Replace "whosOnline" code with this:

<h3 class='ipsType_reset ipsWidget_title'>
	{lang="block_whosOnline"}
</h3>
<div class='ipsWidget_inner {{if $orientation == 'vertical'}}ipsPad{{endif}}'>
   <p class='ipsType_reset ipsType_medium ipsType_light'>
    <span class='ipsType_light ipsType_unbold ipsType_medium'>{lang="block_whos_online_info_members" pluralize="$memberCount"}, {lang="block_whos_online_info_anonymous" pluralize="$anonymous"}, {lang="block_whos_online_info_guests" pluralize="$guests"}</span></p>
	  <center><p><span class='ipsType_medium ipsType_light ipsType_unbold'><a href='{url="app=core&module=online&controller=online" seoTemplate="online"}'>{lang="see_full_list"}</a></span>
        </p></center>
	{{if $memberCount}}
		<ul class='ipsList_inline ipsList_csv ipsList_noSpacing'>
			{{foreach $members as $row}}
				<li>{template="userLinkFromData" group="global" app="core" params="$row['member_id'], $row['member_name'], $row['seo_name'], $row['member_group']"}</li>
			{{endforeach}}
		</ul>
		{{if $orientation == 'vertical' and $memberCount > 60}}
			<p class='ipsType_medium ipsType_reset'>
				<a href='{url="app=core&module=online&controller=online" seoTemplate="online"}'>{lang="and_x_others" pluralize="$memberCount - 60"}</a>
			</p>
		{{endif}}
	{{else}}
		<p class='ipsType_reset ipsType_medium ipsType_light'>{lang="whos_online_users_empty"}</p>
	{{endif}}
  </div>

You're done?

Archived

This topic is now archived and is closed to further replies.