vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Hide Online Status of Usergroups/Users (https://vborg.vbsupport.ru/showthread.php?t=322543)

MarkFL 05-04-2016 09:00 PM

Hide Online Status of Usergroups/Users
 
1 Attachment(s)
Overview:

This product will give you complete control over who knows who is online. You can select usergroups and users whose online status is hidden from everyone, except members of usergroups and individual users from whom you decide no one will be hidden. When a user's online status is hidden, those from whom it is hidden will never see them shown as online in the "Currently Active Users" section of "What's Going On?" (WGO) or on the "Who's Online" page, or on their profile page or in their postbits.

A hidden user will show up in the list of recent visitors in the WGO section, however, their cited time of last activity will be either their last visit time, or time of last post/PM/VM...whichever is the most recent, so as to arouse the least suspicion. This same time of last activity will be shown on their profile page as well.

You can also define "Troublesome Users" which are dual sets of users, the first set which is hidden from the second, and if you enable the reciprocity for this setting, the second set will also be hidden from the first. You may define as many dual sets of troublesome users as you want.

Also, you can set whether hidden users are hidden from themselves. If you wish to make it less obvious to users that their online status is being hidden then set this to "No" and if you want hidden users to see that they are hidden, set this to "Yes."

The users you set as those from whom no online status is hidden will see everyone's true online status, regardless of the other settings.

Updates:

Version 1.1:
  • Added option to show hidden users as guests.

Version 1.2:
  • Hidden users shown as guests now moved to the end of the guest list on Who's Online.

Version 1.3:
  • Fixed reported issue of memberaction dropdown giving away online status.

Version 1.3.1:
  • Added option to turn off online status tooltip from all memberaction dropdown links.

Version 1.3.2:
  • Amended option to turn off online status tooltip from all memberaction dropdown links to include online status indicators in postbits.

Version 1.3.3:
  • Added option to set whether the active usercounts will be adjusted to account for hidden users or not.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

https://vborg.vbsupport.ru/external/2016/05/32.jpg

Support for this product can be found here:

jimnyc 05-05-2016 02:57 PM

If I place my name in the hidden list, will the rest of the moderators still see me, those that have rights to see "Who's online"? I would like for them to see everyone who is online, but still somehow hide myself when I login.

Thanks!

MarkFL 05-05-2016 03:15 PM

Quote:

Originally Posted by jimnyc (Post 2570209)
If I place my name in the hidden list, will the rest of the moderators still see me, those that have rights to see "Who's online"? I would like for them to see everyone who is online, but still somehow hide myself when I login.

Thanks!

If you put your username in the list of hidden users, then only those users you set (either by usergroup or username) as those from which no one is hidden will see you online. :)

jimnyc 05-05-2016 03:26 PM

Quote:

Originally Posted by MarkFL (Post 2570210)
If you put your username in the list of hidden users, then only those users you set (either by usergroup or username) as those from which no one is hidden will see you online. :)

Sweet, thanks. Installed!

MarkFL 05-05-2016 04:01 PM

Update - Version 1.1:
  • Added option to show hidden users as guests.

MarkFL 05-07-2016 06:52 PM

Update - Version 1.2:
  • Hidden users shown as guests now moved to the end of the guest list on Who's Online.

chloe101 05-23-2017 09:29 PM

This works very well but do you know how I can totally remove the popup text that says x is online now (or x is offline now)? I don't even want that to popup. Thanks for another great mod!

MarkFL 05-23-2017 09:41 PM

Quote:

Originally Posted by chloe101 (Post 2586850)
This works very well but do you know how I can totally remove the popup text that says x is online now (or x is offline now)? I don't even want that to popup. Thanks for another great mod!

Yes, I see what you mean...that is certainly a hole in this product, and I will fill that in tonight, and publish an update ASAP. Thank you for alerting me to this. :)

chloe101 05-23-2017 09:57 PM

Thank you! You really rock. Btw, I'd "like" your replies more often if VBulletin would let me.

MarkFL 05-24-2017 12:10 AM

Update - Version 1.3:
  • Fixed reported issue of memberaction dropdown giving away online status.

In Omnibus 05-24-2017 01:00 AM

The only concern I have in using this product is it might make a forum appear inactive to guests. If guests can see who's online then it serves no purpose to block registered usergroups.

I'm sure there's a way around this but I'm not quite sure what it is.

chloe101 05-24-2017 01:17 AM

That was fast! Thank you. Now they all show as offline which is great. Is there any way to turn that useless little hover message off totally?

MarkFL 05-24-2017 01:20 AM

Quote:

Originally Posted by In Omnibus (Post 2586856)
The only concern I have in using this product is it might make a forum appear inactive to guests. If guests can see who's online then it serves no purpose to block registered usergroups.

I'm sure there's a way around this but I'm not quite sure what it is.

Guests cannot see hidden users, nor can they see users who have chosen to be invisible either.

You probably wouldn't want to have a large number of users as hidden with this product. However, there are more indicators of an active community besides the number of users seen to be online at any given moment, such as new threads/posts, etc. :)

This won't hide who has visited within the last 24 hours either.

MarkFL 05-24-2017 01:22 AM

Quote:

Originally Posted by chloe101 (Post 2586857)
That was fast! Thank you. Now they all show as offline which is great. Is there any way to turn that useless little hover message off totally?

Yes, but you'd likely want to do that for everyone, rather than just the users affected by this product, so that no one stands out as being "different."

Do you want me to add an option to turn that off for everyone?

chloe101 05-24-2017 01:40 AM

Yes please! Or just let me know how to do it. My members consider it an invasion of their privacy to have their online status showing so I am trying to turn it off everywhere, zap every trace of it (except for Admins/Mods of course).

MarkFL 05-24-2017 01:52 AM

Quote:

Originally Posted by chloe101 (Post 2586861)
Yes please! Or just let me know how to do it. My members consider it an invasion of their privacy to have their online status showing so I am trying to turn it off everywhere, zap every trace of it (except for Admins/Mods of course).

Update - Version 1.3.1:
  • Added option to turn off online status tooltip from all memberaction dropdown links.

chloe101 05-24-2017 02:45 AM

That was fast! I can't believe how responsive you are. Thank you again.

I feel really dumb asking this but what is the ' online status tooltip' and where are the 'memberaction dropdowns'. I've set your last setting to yes and no but don't see any difference. I can still see the little box that says "x is offline now". I hate to bother you with this but really appreciate your responsiveness.

On edit: I should add that I was looking on the postbit legacy if that helps

MarkFL 05-24-2017 02:56 AM

Quote:

Originally Posted by chloe101 (Post 2586864)
That was fast! I can't believe how responsive you are. Thank you again.

This last change was pretty simple to implement. :)

Quote:

Originally Posted by chloe101 (Post 2586864)
I feel really dumb asking this but what is the ' online status tooltip' and where are the 'memberaction dropdowns'. I've set your last setting to yes and no but don't see any difference. I can still see the little box that says "x is offline now". I hate to bother you with this but really appreciate your responsiveness.

On edit: I should add that I was looking on the postbit legacy if that helps

A tooltip is handled by an HTML element's "alt" and/or "title" attribute. It is the informative popup that you get when you hover your mouse cursor over an element with such attribute(s) defined.

The member action dropdowns are the popup menus that appear when you click a username in certain places, such as the last poster of threads you see on the forum home page, or the username in postbits.

The tooltip on the usernames is what the latest setting will turn off. If you choose to turn off the tooltip, then hovering your mouse cursor over a username with the memberaction dropdown associated with it, there will be no tooltip.

Can you post a screenshot of exactly what it is you want disabled?

MarkFL 05-24-2017 03:28 AM

Okay, I think I know what you're talking about now...

Update - Version 1.3.2:
  • Amended option to turn off online status tooltip from all memberaction dropdown links to include online status indicators in postbits.

chloe101 05-24-2017 03:31 AM

I think what I'm talking about is the tooltip then. Unfortunately, I can't take a screenshot because the minute I hit another key to take the screenshot, the message disappears. I'm currently logged in as a normal user, not an Admin. When I put my cursor over the little gray circle button next to the name, it returns the text "(name) is online" - the same way it works here when you hover over the green online status button next to a user's name.

MarkFL 05-24-2017 03:35 AM

Yeah, I'm certain we're talking about the same thing...with version 1.3.2, you should find when you disable them, that little green/gray indicator is gone. :)

chloe101 05-24-2017 03:45 AM

That's it exactly! Thank you! Every trace of a member's online status is totally gone even on the CMS homepage where the tooltip was showing up in the articles. You just saved me huge headaches because I couldn't find what was controlling that tooltip in the templates. I wish I could send you a box of chocolates!

MarkFL 05-24-2017 03:54 AM

Quote:

Originally Posted by chloe101 (Post 2586870)
That's it exactly! Thank you! Every trace of a member's online status is totally gone even on the CMS homepage where the tooltip was showing up in the articles. You just saved me huge headaches because I couldn't find what was controlling that tooltip in the templates. I wish I could send you a box of chocolates!

Just knowing you have achieved your goal is treat enough for me. :D

chloe101 05-24-2017 04:06 AM

Quote:

Originally Posted by MarkFL (Post 2586871)
Just knowing you have achieved your goal is treat enough for me. :D

You really rock! Here's a virtual box of the finest Belgian chocolates for you :)

MarkFL 05-24-2017 04:07 AM

Quote:

Originally Posted by chloe101 (Post 2586873)
You really rock! Here's a virtual box of the finest Belgian chocolates for you :)

Mmmm...yummy! :cool:

chloe101 06-26-2017 02:28 AM

Hi Mark, It's me again sigh.... (or rather lol). When the mod is activated to hide all users except from admin, it also hides the total number in the What's Going On box under "Currently Active Users". Is there a way to get that number back but still keep the status hidden? I made a template change that already removes the usernames for privacy but I'd dearly love to have the total number showing . Is this possible?

MarkFL 06-26-2017 02:46 AM

Hidden users will be counted among guests in that case I believe.

chloe101 06-26-2017 02:54 AM

Quote:

Originally Posted by MarkFL (Post 2587797)
Hidden users will be counted among guests in that case I believe.

They're not counting as guests because I set "Show Hidden Users As Guests?" to no. And compared the results the Admin gets with my registered user test account- they're totally removed. It would be great if "Show Hidden Users As Guests" is set to no, that the number appear in "currently active users".

I'm asking a lot I know. Chocolates by Fedex?

MarkFL 06-26-2017 03:03 AM

Try setting "Show Hidden Users As Guests?" to Yes...otherwise it sounds like the product is behaving as intended. :)

Another option would be to try disabling the plugin titled "Remove Selected Users From Currently Active Users (WGO)" since you have edited your template to hide the usernames. :)

chloe101 06-26-2017 03:12 AM

Quote:

Originally Posted by MarkFL (Post 2587799)
Try setting "Show Hidden Users As Guests?" to Yes...otherwise it sounds like the product is behaving as intended. :)

Another option would be to try disabling the plugin titled "Remove Selected Users From Currently Active Users (WGO)" since you have edited your template to hide the usernames. :)

Thank you!! Option 2, deactivating the plugin, did the trick. Fedex or DHL?

MarkFL 06-26-2017 03:18 AM

Quote:

Originally Posted by chloe101 (Post 2587800)
Thank you!! Option 2, deactivating the plugin, did the trick.

Cool, glad that did what you wanted. :) I will look into providing an option for hiding the usernames, but leave the counts alone, so you won't have to have a hacked template (I'm not a fan of hacked templates). ;)

Quote:

Originally Posted by chloe101 (Post 2587800)
Fedex or DHL?

Thanks for the kind offer, but it's all part of providing support. :D

chloe101 06-26-2017 03:22 AM

Quote:

Originally Posted by MarkFL (Post 2587801)
Cool, glad that did what you wanted. :) I will look into providing an option for hiding the usernames, but leave the counts alone, so you won't have to have a hacked template (I'm not a fan of hacked templates). ;)



Thanks for the kind offer, but it's all part of providing support. :D

Thank you! I'm not a huge fan of them either and will be so happy to revert mine when you do. Thanks for the terrific support! And products of course :)

MarkFL 06-26-2017 03:36 AM

Update - Version 1.3.3:
  • Added option to set whether the active usercounts will be adjusted to account for hidden users or not.

chloe101 06-26-2017 03:57 AM

1 Attachment(s)
Quote:

Originally Posted by MarkFL (Post 2587804)
Update - Version 1.3.3:
  • Added option to set whether the active usercounts will be adjusted to account for hidden users or not.

Wow you're fast!! Can you explain why every time I try to like your posts, I get the following message? Even if I have liked someone else's already?

MarkFL 06-26-2017 04:04 AM

Quote:

Originally Posted by chloe101 (Post 2587806)
Wow you're fast!! Can you explain why every time I try to like your posts, I get the following message? Even if I have liked someone else's already?

I don't know exactly how it's configured, but I think you have to like several (at least two) other post authors before you can like the same person again. It's meant to encourage the community to "spread the love around." :)

But, please don't worry about it when it happens, you have always let me know that you appreciate my efforts to provide support for my products. :cool:


All times are GMT. The time now is 06:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02775 seconds
  • Memory Usage 1,832KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete