Notifications
Clear all

How to hide the footer stats from guest?

6 Posts
2 Users
0 Reactions
242 Views
Posts: 8
Topic starter
(@theq6699)
Active Member
Joined: 1 month ago

How to hide the footer stats from guest? I run a private forum for wordpress developers. please see image as it shows on any guest preview.

5 Replies
Posts: 8
Topic starter
(@theq6699)
Active Member
Joined: 1 month ago

I'm current using a custom css to hide the footer. 

body:not(.logged-in) #wpforo #wpforo-wrap #wpforo-footer {
display: none !important;
}
Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5483

@theq6699 

You can hide the whole statistic section for guests. You'll just need to navigate to Dashboard > wpForo > Usergroup admin page, edit the usergroup and uncheck the "Can view statistic" Can/Permission.

Reply
Posts: 8
Topic starter
(@theq6699)
Active Member
Joined: 1 month ago

Guest has nothing selected in the userrights and still can see the stats, but for now I just used css to hide it. Till I have time to debug it. 

Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5483

@theq6699 

I’ll keep this topic open. Please let us know if you have any questions during the debugging process.

Reply
Posts: 8
Topic starter
(@theq6699)
Active Member
Joined: 1 month ago

Sofy,

I don't think there is a plugin conflict, but for now I will just use the css trick.

Thanks,

Q

Reply