Notifications
Clear all

wpForo 1.x.x [Solved] Disable online/offline members status

10 Posts
3 Users
5 Reactions
1,863 Views
Posts: 201
 fawp
Topic starter
(@fawp)
Reputable Member
Joined: 5 years ago

Hi support

 

I followed the advice given in this thread to disable members being shown online/offline but it does not work for me.

 

I have added the code below to "Custom CSS Code:" in the Styles menu

#wpforo #wpforo-wrap .wpfl-4 .wpf-parent-post .wpf-right .wpf-content-head-top .wpf-author-name i {
   display: none;
}

 

Then I cleared all caches, went on main page and pressed CTRL+F5 twice, but the dot is still showing?

I have also checked that the code is included in colors.css.

 

Can you advise? I'm on wpForo 1.9.7

 

Thanks

9 Replies
Tutrix
Posts: 1496
(@tutrix)
Noble Member
Joined: 5 years ago

@fawp

 

online

.wpfcl-8 {
display: none;
}

offline

.wpfcl-0 {
display: none;
}
8 Replies
 fawp
(@fawp)
Joined: 5 years ago

Reputable Member
Posts: 201

@tutrix yes it works! Thank you so much 👍

 fawp
(@fawp)
Joined: 5 years ago

Reputable Member
Posts: 201

Hi @tutrix 

 

I had not realized: by using the CSS code above, if you have Font Awesome icons on your forum front page they will disappear (attached pic of which icons I'm talking about).

 

To retain the icons on the forum frontpage I tried the following CSS code

.wpfsx .wpfcl-8 {
display: none;
}

.wpfsx .wpfcl-0 {
display: none;
}

This code does retain the icons on your frontpage, however it does not allow both the offline and the online icon to be switched off together, meaning it will only work if I use the code separately.

 

So if I use

.wpfsx .wpfcl-8 {
display: none;
}

 I will retain Font Awesome icons on frontpage, get rid of online icons, but not offline icons.

 

If I use

.wpfsx .wpfcl-0 {
display: none;
}

I will retain Font Awesome icons on frontpage, get rid of offline icons, but not online icons.

 

But if I use the combined code, both the offline and online icons will show up, meaning, the combined code won't achieve the objective.

 

Are you able to reproduce the above?

 

Thanks

Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

Hi @fawp,

Please give us your forum URL.

 fawp
(@fawp)
Joined: 5 years ago

Reputable Member
Posts: 201

@chris I am working on a localhost.

Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@fawp,

Try this codes

.wpfsx .wpfcl-0 {
display: none !important;
}

.wpfsx .wpfcl-8 {
display: none !important;
}
 fawp
(@fawp)
Joined: 5 years ago

Reputable Member
Posts: 201

Hi @chris 

 

Thanks, I had already tried adding the !important bit to the code above, it did not make a difference unfortunately.

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1496

@fawp 

try this code

#wpforo #wpforo-wrap .wpfsx.wpfcl-0 {
   display: none !important;
}

#wpforo #wpforo-wrap .wpfsx.wpfcl-8 {
   display: none !important;
}
 fawp
(@fawp)
Joined: 5 years ago

Reputable Member
Posts: 201

@tutrix with this code the forum FAW icons are still in place and you can't see either online or offline icons being displayed next to users in the forum.

 

I think this works. Many thanks for your help as always 👍