Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Jan 2010, 20:37
MmS1 MmS1 is offline
 
Join Date: Nov 2008
hide banned user from online now

hello all
Is there any way to prevent banned user to show on online now

Reply With Quote
  #2  
Old 26 Jan 2010, 21:30
mokujin's Avatar
mokujin mokujin is offline
 
Join Date: Nov 2005
Real name: Đạt
add a new plugin forumhome_loggedinuser_query
add this PHP code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(not tried yet )
Reply With Quote
  #3  
Old 28 Jan 2010, 13:44
MmS1 MmS1 is offline
 
Join Date: Nov 2008
sorry but not working
Reply With Quote
  #4  
Old 28 Jan 2010, 16:50
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
When you banned the user, did you do so by moving them to the Banned Usergroup as the Primary Group? Did you make sure to turn the plugin ON? And you selected the correct hook location?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 14 Nov 2011, 05:29
tisaigon tisaigon is offline
 
Join Date: Sep 2010
i hided banned members but don't show guest users, help me please, tks

74 members and 0 guests

--------------- Added 14 Nov 2011 at 15:17 ---------------

anyone help me?
Reply With Quote
  #6  
Old 17 Nov 2011, 07:07
tisaigon tisaigon is offline
 
Join Date: Sep 2010
please help me
Reply With Quote
  #7  
Old 17 Nov 2011, 18:30
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You haven't posted any information about what you have done and what you want so it's very hard to help you.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #8  
Old 22 Nov 2011, 14:32
tisaigon tisaigon is offline
 
Join Date: Sep 2010
i had
add a new plugin forumhome_loggedinuser_query
add this PHP code:
PHP Code:
$hook_query_where .= " AND usergroupid <> 8";

and i hided banned user from user online now don't show guest users in total

74 members and 0 guests
(must more than 0 guests)
Reply With Quote
  #9  
Old 22 Nov 2011, 19:27
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
If you disable that plugin, are guests then shown?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #10  
Old 23 Nov 2011, 19:53
tisaigon tisaigon is offline
 
Join Date: Sep 2010
Originally Posted by Lynne View Post
If you disable that plugin, are guests then shown?
yes, when i disable that plugin, guests shown, i tested in vbb 4.0.4 and vbb 4.1.7 are same,
can you help me?
Reply With Quote
  #11  
Old 08 Dec 2011, 12:11
tisaigon tisaigon is offline
 
Join Date: Sep 2010
please help me.
Reply With Quote
  #12  
Old 08 Dec 2011, 17:55
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Try something like this instead.

forumhome_loggedinuser

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will still have the banned member counted in the loggedin stats though. Not sure where you want them listed.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 12:25.

Layout Options | Width: Wide Color: