View Full Version : Buddies in Banned user group are removed from all member's lists
T3MEDIA
05-03-2005, 12:46 PM
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.
why-not
05-03-2005, 01:36 PM
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
T3MEDIA
05-03-2005, 04:39 PM
well its kinda straght forward.
If a user is banned (short or long)
there buddies are removed.
That is what I was looking for.
T3MEDIA
05-06-2005, 11:48 AM
bump?
T3MEDIA
05-11-2005, 11:23 PM
bump
T3MEDIA
05-14-2005, 12:06 PM
bump...
(sounds like the begining of house music...)
nexialys
05-22-2005, 10:17 AM
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...
T3MEDIA
05-22-2005, 02:06 PM
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)
In fact I think I already have this done, when I break for lunch I will check!
SoniaIn 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
T3MEDIA
06-04-2005, 12:46 AM
Well... might as well...
bump
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.