Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 05-03-2005, 12:46 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Buddies in Banned user group are removed from all member's lists

Once a member on vb is on the banned list they still show up on buddy lists which makes no sense.

Anyone out there knows how to auto remove all banned members from user buddylists?

Thank you.
Reply With Quote
  #2  
Old 05-03-2005, 01:36 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you want them removed for good or just based on the ban! I mean if you ban someone for a day or week then I would just remove them from the users list for that time period, if it's a bye bye for good ban then just remove them from everyone! The second type 'forever' would be a best for the admin option, the other for the forum, because you can just add IF() or something to the query to not return any users in the ban!

If someone else does not look at it, I will when I have a chance to view the code. I am not near any vB code moment or I would tell you how to add it to the admin functions for the forever ban and also add it to the functions for a temp ban! In fact I think I already have this done, when I break for lunch I will check!

Sonia
Reply With Quote
  #3  
Old 05-03-2005, 04:39 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well its kinda straght forward.
If a user is banned (short or long)
there buddies are removed.
That is what I was looking for.
Reply With Quote
  #4  
Old 05-06-2005, 11:48 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump?
Reply With Quote
  #5  
Old 05-11-2005, 11:23 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #6  
Old 05-14-2005, 12:06 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump...

(sounds like the begining of house music...)
Reply With Quote
  #7  
Old 05-22-2005, 10:17 AM
nexialys
Guest
 
Posts: n/a
Default

cool, some great beat...

i would help, but my license is off...

btw i can help a bit, telling what to do with this.

1- for each listing, like memberslist and buddies, where there is SELECT ... FROM " .TABLEPREFIX. "user, you need to merge (LEFT_JOIN) with the usergroup table and filter if the member are in the banned group... if yes, not display, simply...

2- if you need something more efficient, you can also make a UPDATE of the buddylist by removing the person from everyone's list when he goes BANNED, but the problem is when he comes back... can't add it back...
Reply With Quote
  #8  
Old 05-22-2005, 02:06 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what hap to the lic?
maybe we can talk outside of vb nothing going on here really anyway... (of course only love for 4 members who know who they are)

Quote:
Originally Posted by why-not
In fact I think I already have this done, when I break for lunch I will check!


Sonia
In my book if you got banned in the first place that is your problem getting back your friends list so I dont care if I decide to unban them they have to re get friends.

Hope you can help
Reply With Quote
  #9  
Old 06-04-2005, 12:46 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well... might as well...
bump
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:41 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.04240 seconds
  • Memory Usage 2,223KB
  • Queries Executed 11 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_onlinestatus
  • (9)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_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