Btw…what happens if someone belongs to a role that for which the feature isn’t disabled chose to turn off the feature so his visits won’t be tracked and then lose that role so that the feature gets disabled. Will his visits still not be tracked then because he chosed to opt-out from the feature while he was able to? Or is the opt-out option conditions with whether the user have a role for which the feature isn’t disabled?
No that doesn’t work. If a user has another role beside the VIP role then the feature is disabled. Also we don’t want mutual as we want to track the visits from the non-VIP-members as well even though they should not be able to see visitors themselves. VIP users are the only ones that should see visitors. But all visitors should count except visits from VIP users that has chosen to turn off the feature.
Well I can’t get it to work. If you set Yes in the setting “Show inside header meta?” then it isn’t displayed in the header at all.
We are using Buddyboss theme on Buddyboss platform.
Btw you might want to fix some deprecated functions as well if you update the plugin.
Deprecated: The bb_user_status function is deprecated since version 1.8.9! Use bb_current_user_status instead.
Deprecated: The function buddyboss_theme_followers_count is outdated since version 1.8.7! Use bb_get_followers_count() instead.
I have now realized that it actually can work as desired if we just can give the users without vip a role and then just disable the feature for users with that role. We don’t have that role today, but we might be able to apply that and then this wouldn’t be a problem.