#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
hidden users are vi...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Solved] hidden users are visible in statistics

    Last Post
RSS

AgendaVolo
Posts: 44
 AgendaVolo
Topic starter
November 7, 2021 2:00 pm
(@agendavolo)
Eminent Member
Joined: 6 years ago

I have discussed this before and thought it was solved but it isn't. So either WpForo updates changed something or the solution was not properly addressed.

I have created a users' role with no permission whatsoever, and all my fake users are moved under this role. Plus, my Guests are set to view statistics but NOT members.

So why is it that non-logged in people can see the total number of such hidden users?

 

 userstats.jpg
Topic Tags
member count inactive users
8 Replies
Robert
Posts: 9090
Robert - Twitter
 Robert
Admin
November 7, 2021 4:52 pm
(@robert)
Support Team
Joined: 6 years ago

@agendavolo,

The number of users doesn't check hidden users. You can not reduce that number by putting some users to some usergroup. The users should be inactive to be hidden. The inactive users are the users who have not confirmed their registration by clicking the URL sent to their email.

There is no other ways to remove users from the members count. The members count shows the number of members, it doesn't matter what usergroup they have and who can see them.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
4 Replies
AgendaVolo
 AgendaVolo
(@agendavolo)
Joined: 6 years ago

Eminent Member
Posts: 44
November 7, 2021 5:02 pm
Reply toRobertRobert

@robert that's one further clarification and I thank you for it.

So, in a way I could make them inactive since they are created for database purposes (i.e. each be assigned to their own custom post types) but are not public (i.e. they must not show in the forum or elsewhere), could I? They are not registered in the real sense, it's me who have registered as free users.

In the same manner, once they are made inactive, there's no need to have a "fake users" usergroup... thay can just stay in the "registered" usergroup, right?

Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9090
Robert - Twitter
November 7, 2021 5:08 pm
Reply toAgendaVoloAgendaVolo
Robert
Posted by: @agendavolo

In the same manner, once they are made inactive, there's no need to have a "fake users" usergroup... thay can just stay in the "registered" usergroup, right?

Yes, you don't need any usergroup if you set them inactive. You can do that directly in the database > wp_wpforo_profiles table. Just set "inactive" in the user status field. There is no other way to do this:

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9090
Robert - Twitter
November 7, 2021 5:10 pm
Reply toRobertRobert
AgendaVolo
Robert

After each manipulation in the database, you should go to Dashboard > Forums > Dashboard and click the [Delete all caches] button.

If you have a cache plugin, don't forget to delete that cache as well.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
AgendaVolo
 AgendaVolo
(@agendavolo)
Joined: 6 years ago

Eminent Member
Posts: 44
November 7, 2021 5:13 pm
Reply toRobertRobert
Robert
AgendaVolo
Robert

I noticed I couldn't make them inactive from the backend, so I shall use the database... thanks for the tip 🙃

Reply
AgendaVolo
Posts: 44
 AgendaVolo
Topic starter
November 8, 2021 11:49 am
(@agendavolo)
Eminent Member
Joined: 6 years ago

sorry, just one last help... I'm trying to simulate this query to change users from active to inactive, but it fails:

UPDATE wp_wpforo_profiles SET status='active' WHERE status='inactive';

Can you please tell me the correct query?

Reply
1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9090
Robert - Twitter
November 9, 2021 11:42 am
Reply toAgendaVoloAgendaVolo

@agendavolo,

This SQL changes all inactive users to active. So, all your users are now active. As far as i remember you wanted the vise versa.

Also, make sure the wp_ table prefix is correct.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
AgendaVolo
Posts: 44
 AgendaVolo
Topic starter
November 9, 2021 12:09 pm
(@agendavolo)
Eminent Member
Joined: 6 years ago

...silly me 🤣 it was the other way around, as you confirmed! Thank you!

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Admin can active user? (from inactive)
    3 months ago
  • User Statistics not updating
    7 months ago
  • Not all users could be found in member list
    8 months ago
  • Problem occurring when using with Youzify
    1 year ago
  • Email Issue
    1 year ago
Topic Tags:  member count (2), inactive users (10),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Attachments not showing on forums posts after migration

    By Formicid, 2 days ago

  • New Feature About Plugin Customization and Integration

    By z14165899, 2 days ago

  • WordPress Email sending function wp_mail() doesn't work!

    By feassistant, 3 days ago

  • Import users from IPBoard

    By jesusdlg, 3 days ago

  • Intruder signing in to wpforo without approval

    By plaurits, 3 days ago

  • How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 4 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • spam33
  • editor33
  • menu33
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2195)

Recent Posts

  • RE: Member Reputation with Likes?

    @mpanichi, in wpForo 2.0 you can set Points for One T...

    By Chris, 17 hours ago

  • RE: Hide user roles from Members list

    Hi @mpanichi Edit the needed usergroup and disable/un...

    By Chris, 18 hours ago

  • RE: Description for each topic?

    @chris That's really too bad. I was ready to send you ...

    By Christine, 1 day ago

  • RE: There are versions of wpforo functions that return string?

    Amazing 👍

    By Marco Panichi, 1 day ago

  • RE: About Plugin Customization and Integration

    Hi @z14165899, Please send your request to sales[at]g...

    By Chris, 2 days ago

  • Attachments not showing on forums posts after migration

    Hello I just did a manual migration and the older forum...

    By Formicid, 2 days ago

  • RE: WordPress Email sending function wp_mail() doesn't work!

    @dimalifragis thanks for the enlightenment there. It...

    By feassistant, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,941 Topics
50.3 K Posts
8 Online
48.6 K Members

Latest Post: Member Reputation with Likes? Our newest member: tf88casinovn2 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation