PDA

View Full Version : make whole usergroup "invisible"


vivapotenza
03-12-2013, 06:12 PM
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 1363187764 at 1363187764 ---------------

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:
$hook_query_where .= " AND user.usergroupid != 3 ";


Then create another plugin using hook location forumhome_whovisited_prelist and this 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