Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2007, 03:30 AM
SteveC SteveC is offline
 
Join Date: Mar 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 08-03-2009, 04:09 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 08-03-2009, 10:29 AM
nirvana43's Avatar
nirvana43 nirvana43 is offline
 
Join Date: Oct 2007
Location: Pune, India
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yotsume View Post
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.
Reply With Quote
  #4  
Old 08-03-2009, 10:32 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nirvana43 View Post
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....
Reply With Quote
  #5  
Old 08-03-2009, 10:51 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The fact it doesnt do exactly as you require doesnt make it a flaw.
Reply With Quote
  #6  
Old 08-03-2009, 11:03 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05169 seconds
  • Memory Usage 2,218KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete