vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to keep Admins from showing in "who viewed"? (https://vborg.vbsupport.ru/showthread.php?t=301291)

Frosti 08-17-2013 10:57 AM

How to keep Admins from showing in "who viewed"?
 
4.2.0, stock... The stock "who viewed this thread"
I love the "who has viewed this thread". but I see there are no settings for who does and who does not show up.

As an Admin, I'd love to surf an area incognito without always showing up in the "who read...."

Any setting for this? Or I just surf Invisible all the time?

Any code I could add somewhere to hide Admins from showing up?

--------------- Added [DATE]1376763154[/DATE] at [TIME]1376763154[/TIME] ---------------

I guess never mind!!!

I think this already is an ADMIN only feature anyway!!!


I didn't realize that

ForceHSS 08-18-2013 12:11 AM

Members can see it if it has been set for them to see it

Frosti 08-18-2013 10:29 PM

Quote:

Originally Posted by ForceHSS (Post 2439448)
Members can see it if it has been set for them to see it

By usergroup setting right? not by any general setting.

ForceHSS 08-18-2013 11:06 PM

admincp/options/Thread Display Options (showthread)

Change the below for each group.
admincp/Usergroups/Usergroup Manager/Forum Viewing Permissions/Can View Who Read a Thread = No

New Joe 08-19-2013 01:56 AM

And per User Group Can View Who Read a Thread

Frosti 08-19-2013 11:03 AM

OK, THNX guys... now I fully see where all the settings are.

SO, now I'll re-ask my original Q:

can I change some coding somewhere to not allow ADMINS to show up in that list?

That does not seem to be a specific setting and vbull.com said for me to come here for the coding.

RickyH 08-24-2013 12:09 PM

sounds like you may need to use an if statement to display the usergroups in an array. I'm not a brilliant PHP coder, but something around this may suffice:

https://vborg.vbsupport.ru/showthread.php?t=246016

In lehmann's terms;

- Find all users in table users
- Select users with display group id's of (other usergroups excluding admin)
- If user has usergroup ID of admin do not show
- else show them


All times are GMT. The time now is 12:58 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.01083 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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