Notifications
Clear all

wpForo 1.x.x Last registered members

12 Posts
3 Users
1 Likes
372 Views
alice79b
Posts: 80
Topic starter
(@alice79b)
Estimable Member
Joined: 10 months ago

Hi,

I need to hide "last registered member" at the bottom of the forum, for every kind of usergroup and/or for some specific usergroup. But for privacy reasons I would really like to be able to hide at all.

Even if I hide the statistics, it doesn't disappear as it's in a different block. Could you tell me how can I do it, please? 

Thank you,

A.

11 Replies
Robert
Posts: 9912
Admin
(@robert)
Support Team
Joined: 7 years ago

Try this custom CSS code. Put it in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea. Save, delete all caches:

.wpf-stat-other > span:nth-child(2) {
display: none !important;
}
Reply
2 Replies
alice79b
(@alice79b)
Joined: 10 months ago

Estimable Member
Posts: 80

@robert thanks, but tt doesn't seem to work 🙁

Reply
Tutrix
(@tutrix)
Joined: 3 years ago

Noble Member
Posts: 825

@alice79b 

the code works fine
give us a link to your forum so we can check why it does't work for you

Reply
alice79b
Posts: 80
Topic starter
(@alice79b)
Estimable Member
Joined: 10 months ago

Actually, If i log in with a role with standard access, I see the last member registered as same role with standard access. If I'm a guest, I see another member as last member (with no access). If I log in as a member who has no access I see "anonymous" as last member registered.

I would like to hide it always, and of course mainly from guest, but from kind of member as well.

Thank you again!

 

Reply
6 Replies
Tutrix
(@tutrix)
Joined: 3 years ago

Noble Member
Posts: 825

@alice79b 

the code removes the last registered member regardless of the user role

https://www.screencast.com/t/NyoNSa6K54z

Reply
alice79b
(@alice79b)
Joined: 10 months ago

Estimable Member
Posts: 80

@tutrix it doesn't work for me
How can I share with you the link privately?

Reply
Tutrix
(@tutrix)
Joined: 3 years ago

Noble Member
Posts: 825

@alice79b 

You can use my contact form

or wait for an answer from Robert and share him the link via email

Reply
alice79b
(@alice79b)
Joined: 10 months ago

Estimable Member
Posts: 80

@tutrix ok thanks

Reply
Tutrix
(@tutrix)
Joined: 3 years ago

Noble Member
Posts: 825

@alice79b 

You must have an empty forum with no posts, so the last post is not displayed
therefore the last registered member is not at the second place ...child(2)

try

.wpf-stat-other > span:nth-child(1) {
display: none !important;
}
Reply
alice79b
(@alice79b)
Joined: 10 months ago

Estimable Member
Posts: 80

@tutrix thank you! It works now! 🙂

Reply
Tutrix
Posts: 825
(@tutrix)
Noble Member
Joined: 3 years ago

@alice79b

if you still have problems with it, you can remove this line from the footer.php

<span><i class="fas fa-user-plus"></i> <?php wpforo_phrase('Our newest member') ?>: <?php wpforo_member_link($stat['newest_member']); ?></span>

wpforo > wpf-themes > classic > footer.php

best way to do this > Documentation Theme Customization

 

Reply