Jump to content
WebFlake
  • 0

Who's Online issue


xxxceres

Question

Hello guys, im new here.

I've recently created a forum for FFXIV Brasil por Brazilian people. 
But, i got some issues.

I had IPS 4.2.1 and when i put "Who's Online" in my Forum Index something happened. 

Apparently if you have 2 members online, ok. its fine. But, when its 3 or more its put 1 member per line and crash all the structure of my forum and i really dont know why it happens.

PS. Recently i updated my forum to IPS 4.2.2 WebFlakes

check my script:

 

<h3 class='ipsType_reset ipsWidget_title'>
    {lang="block_whosOnline"}
    {{if $orientation == 'horizontal'}}
        &nbsp;&nbsp;<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>
    {{endif}}
    <span class='ipsType_medium ipsType_light ipsType_unbold ipsType_blendLinks'><a href='{url="app=core&module=online&controller=online" seoTemplate="online"}'>{lang="see_full_list"}</a></span>
</h3>
<div class='ipsWidget_inner ipsPad'>
    {{if $memberCount}}
        <ul class='ipsList_inline ipsList_csv ipsList_noSpacing ipsType_normal'>
            {{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>

 

Check this.

Right.thumb.png.901f80bf3a1fc5a01ed2ecd39501f871.png

when who's online is activated.

Wrong.thumb.png.719e2d51067b1bf83d57252b48232280.png

 

 



I had tried so many times, but, nothing happen.

Please, if you could help me :3

Edited by xxxceres
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

One of those users has been assigned to a group that hasn't had its html tags finished.

AdminCP > Members > Groups > desired group > check prefix and suffix

Example:

If the prefix is - <span style="color:red">, the suffix should be </span>, etc.

  • Support Team - September 9th, 2017 - June 8, 2018
  • Junior Moderator - December 14th 2018 - November 16th, 2019
  • Designer - November 16th, 2019 - June 5th, 2020
  • Moderator - June 5th, 2020 - August 28th, 2020
Link to comment
Share on other sites

  • 0
10 minutes ago, Setup said:

One of those users has been assigned to a group that hasn't had its html tags finished.

AdminCP > Members > Groups > desired group > check prefix and suffix

Example:

If the prefix is - <span style="color:red">, the suffix should be </span>, etc.

Fixed both issues :)

Really thanks @Setup and @Morpheus :blush:

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...