Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
@istok Could you please not put your link in the topic content? The spam filter is convinced you are a spammer and is repeatedly telling the system “BAN THAT USER!”
By only using the link field and not gratuitously sharing your link that way, you may be able to convince the spam filter that you just need support.
Thread Starter
istok
(@istok)
I asked me why it ocurres. Thx for explaining. But in second post it is possible I understand.
Plugin Support
Youzify
(@kainelabsteam)
Hi @istok
It might because your remain members never login into your site yet. That’s why they won’t appear on your member page. There’s only 3 ways to solve the count of members issue. Please read this documentation for more details:
https://kainelabs.ticksy.com/article/15097/
Best Regards, KaineLabs Team.
Thread Starter
istok
(@istok)
Sorry I have to ask again.
It is not logic what you wrote.
There are 3 ways to sort. 1 Last Active, 2 Newest Registered and 3 Alphabetically
Fist to show all members 422 (24 pages) but alphabetically should be 1307 (73 pages) all members.
Independent if the logged in or not.
And I am sure all registered was at least one tome logged in.
Plugin Support
Youzify
(@kainelabsteam)
Hello @istok
Have you had a chance to follow the steps outlined in the article? Based on what you described, the issue is usually resolved by following those instructions.
Best Regards, Kainelabs Team.
Thread Starter
istok
(@istok)
Thank you, it works!
I am not so techy with that but it works š
Thx
P.S. Thera only are not sorted by last activity
Is it possible to make newest registered as a default?
Irritated is also that all have green point as they ware online š
Plugin Support
Youzify
(@kainelabsteam)
Hi @istok
I am glad to hear it works. Regarding your requirement, it possible in the Pro version only.
Best Regards, KaineLabs Team.
Thread Starter
istok
(@istok)
Sorry but I have to ask again.
This was a bp-custom file.
<?php
/**
* Include Non Active Users In Members Total Count.
*/
function yzc_include_non_active_members_in_total_members_count( $count ) {
$count = count_users();
return $count['total_users'];
}
add_filter( 'bp_get_total_member_count', 'yzc_include_non_active_members_in_total_members_count');
/*
* Paste in your theme functions.php or in bp-custom.php.
* Load the site in a browser
* Remove from your theme functions.php or bp-custom.php.
*/
function buddypress_add_last_activity() {
$members = get_users( 'fields=ID' );
// $members = get_users( 'fields=ID&role=subscriber' );
foreach ( $members as $user_id ) {
bp_update_user_last_activity( $user_id, bp_core_current_time() );
}
}
add_action('bp_init', 'buddypress_add_last_activity' );
But Last active is just doesn’t work anymore
Even now without bp-custom file there is correct users count.
It shows on standard last active a random order each time.
Last registered and alphabetically is ok
Thread Starter
istok
(@istok)
I also can’t find setting to not show online status with green point bacause it is by all users which is sure wrong
Thread Starter
istok
(@istok)
OK, it seems to work.
Also this green online points are not by each user
Thx a lot!
Plugin Support
Youzify
(@kainelabsteam)
Hi @istok
You can enable or disable online status on Youzify Panel >> General Settings >> Members Directory Settins.
Best Regards, KaineLabs Team.