The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
well its kinda straght forward.
If a user is banned (short or long) there buddies are removed. That is what I was looking for. |
#4
|
|||
|
|||
bump?
|
#5
|
|||
|
|||
bump
|
#6
|
|||
|
|||
bump...
(sounds like the begining of house music...) |
#7
|
|||
|
|||
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... |
#8
|
|||
|
|||
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:
Hope you can help |
#9
|
|||
|
|||
Well... might as well...
bump |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|