vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Prevent pending members from showing up in who's online (https://vborg.vbsupport.ru/showthread.php?t=156010)

SteveC 08-23-2007 03:30 AM

Prevent pending members from showing up in who's online
 
Is there a way to restrict who's online to only approved members? I have a closed, members-only board, but every time someone tries to register, they show up under who's online and my members freak out and want to know who the unauthorized user is. Is there a way to restrict who who's online listing to only show members of certain usergroups?

yotsume 08-03-2009 04:09 AM

Oh I need one better.... I need pending members to not be able to login. When they login they need to be redirected to a message which says their account activation is pending. An Adim will be reviewing their account soon.... Anything like this?

nirvana43 08-03-2009 10:29 AM

Quote:

Originally Posted by yotsume (Post 1860514)
Oh I need one better.... I need pending members to not be able to login. When they login they need to be redirected to a message which says their account activation is pending. An Adim will be reviewing their account soon.... Anything like this?

You can do this by logging in to vbulletin admincp and edit usergroup permissions for Not Activated. :)

yotsume 08-03-2009 10:32 AM

Quote:

Originally Posted by nirvana43 (Post 1860631)
You can do this by logging in to vbulletin admincp and edit usergroup permissions for Not Activated. :)

NO YOU CANT! For what I am talking about you can not stop a new member from logging in and seeing the PM stats once they have confirmed their email address. Before an admin accepts them they can login even though they have not been activated yet. It is a small flaw in VB. A mod will have to be made to prevent it....

Paul M 08-03-2009 10:51 AM

The fact it doesnt do exactly as you require doesnt make it a flaw. :)

yotsume 08-03-2009 11:03 AM

OK maybe now a "Flaw" but the code is ticking me off thats for sure. I am trying to get CYB to alter one of his mods for enhancing the PM line. That will allow us all to have it so when a none accepted but email activated members logs in instead of seeing the PM Stats line they will see a blinking red "Your account is Pending Activation". That way they cant get to any UserCp links and receive stop messages they dont need to be seeing yet. :up:

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

Quote:

Originally Posted by Paul M (Post 1860639)
The fact it doesnt do exactly as you require doesnt make it a flaw. :)

In the meantime do you know of a quick fix code edit I can do to hide that line but show to selected user group IDs.

I have tried to add this line in various places:
Code:

<if condition="is_member_of($bbuserinfo, 6, 7, 2, 5)">
I just cant get that one line to hide. :(

I was able to hide correctly the UserCP menu on the navbar this way.

Any help?


All times are GMT. The time now is 11:45 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.01047 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (3)bbcode_quote_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