vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   make whole usergroup "invisible" (https://vborg.vbsupport.ru/showthread.php?t=296031)

vivapotenza 03-12-2013 06:12 PM

make whole usergroup "invisible"
 
Hi Guys,

How can I make an entire usergroup show up as "invisible"?

Basically I want to make my "users awaiting email confirmation" show as invisible so that normal members cannot see them logged on (as when spammers make it through its annoying seeing usernames like "3hd83ffj2bwf" across the bottom of the forum in our users active in 24 hours section). Is there any simple way to do this?

Thanks for your help.

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

anyone? I thought this would be fairly simple, although admittedly, beyond me :o

vivapotenza 03-15-2013 04:16 PM

nobody offer any help?

vivapotenza 03-19-2013 09:44 PM

anybody? with the knowledge base in here, someone must be able to point me in the right direction?

vivapotenza 03-25-2013 09:54 PM

still not any further forward with this im afraid. not getting much luck finding information on how to go about this.

kh99 03-25-2013 10:19 PM

I'm doing this off the top of my head and haven't tested it, but: create a plugin using hook forumhome_loggedinuser_query and this code:
Code:

$hook_query_where .= " AND user.usergroupid != 3 ";

Then create another plugin using hook location forumhome_whovisited_prelist and this code:

Code:

$cutoff .= " AND usergroupid != 3 ";

vivapotenza 03-29-2013 12:48 PM

Hi Kh99,

thanks for the information. I have now installed both these plugins. Ill let them run for a while and see if they make any difference. thanks very much for the help! :D


All times are GMT. The time now is 08:28 AM.

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.01194 seconds
  • Memory Usage 1,713KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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