Results 1 to 6 of 6
Thread: how to remove an user's avatar?
-
30-12-2009, 17:39 #1
-= TeamSpeak User =-
- Join Date
- Mar 2006
- Location
- Chile
- Posts
- 19
how to remove an user's avatar?
I found some users in my server using sexual oriented or offensive avatars but I couldnt find a way to remove the avatar from those users without degrading them to another user group or removing the avatar permissions form their group.
Is there any way to remove the avatar on user basis?
Thanks.
-
30-12-2009, 20:01 #2
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 7
I could not find any possibility...
But I think, if somebody is using an sexual avatar, he should not have an higher server client rank then guest.
And the guest rank cant set an avatar in die first adjustment.
so, don´t give people like this higher ranks.
-
31-12-2009, 00:31 #3
-= TeamSpeak User =-
- Join Date
- Mar 2006
- Location
- Chile
- Posts
- 19
Well, ppl some times just dont know the limit and degrading them is a solution for the avatar issue, but for my administration becomes a problem since some of them are channel admins .. anyway, removing the avatar for a single user is still a good feature that could be packed into ts.
-
31-12-2009, 09:20 #4
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Europe
- Posts
- 184
You can do it with root access to your server. Take a look into the files/virtualserver_X/internal directory. The avatars are stored there. However, you have to check them visually as there is no human-readable connection between the file name and the user that uses this file.
-
31-12-2009, 16:39 #5
-= TeamSpeak User =-
- Join Date
- Mar 2006
- Location
- Chile
- Posts
- 19
-
02-01-2010, 06:10 #6
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2
Hopefully there will be a feature allowing you to remove avatars...
Until then, you could use the Query-Interface to determine the filename or (if you are using linux) this:
(It's really bad code, i know...
)
compile once withCode:#include <stdio.h> #include <stdlib.h> #include <string.h> int b(char a) { const char* base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; int b = 0; /* b=abs(-*base64 + *strchr(base64, a)); */ while(b < 64) { if (base64[b] == a) return b; b++; } return 0; } int main(void) { int i,o,p=0; char uniqueID[200]; char base16[6]; fgets(uniqueID, 200, stdin); while(i=0, p=0, o < strlen(uniqueID)-4) { i=b(uniqueID[o+3]) | (b(uniqueID[o+2])<<6) | (b(uniqueID[o+1])<<12) | (b(uniqueID[o])<<18); if(uniqueID[o+3] == '=') { if(uniqueID[o+2] == '=') { base16[3] = 0; p++; i>>=4; } if ((i & 255) == 0) { base16[4] = 0; p++; i>>=4; } base16[5] = 0; p++; i>>=4; } while(p < 6) { base16[5-p] = ('a'+(i&15)); i >>= 4; p++; } //fputs(base16, stdout); p=0; while (p<6) { putchar(base16[p]); p++; } o+=4; } putchar('\n'); }
You can use this line to delete the file:Code:gcc -o avatarname
Paste the uniqueID of a user afterwards.Code:rm -i *$(./avatarname)
This application converts the base64 representation of the uniqueid into a custom base16 one.
Last edited by ~Obbi/; 02-01-2010 at 06:55.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Resolved] Failed to remove existing local avatar copy
By FDCP_NEO (NL) in forum Client SupportReplies: 17Last Post: 23-03-2011, 09:06 -
MySQL startup error: SQL files not found
By winetown in forum [TeamSpeak 2] Server SupportReplies: 6Last Post: 05-06-2008, 07:43 -
Mail wieder: TS2-Server unter Debian 3.1 Sarge3 startet (außer als root) nicht.
By shibboleth in forum [TeamSpeak 2] Server SupportReplies: 7Last Post: 06-10-2006, 12:27 -
Removing Voice rights from Anonymous users
By macarthur in forum [TeamSpeak 2] Server SupportReplies: 8Last Post: 16-03-2005, 05:31 -
Kann Server nur als Root starten, will ich aber nicht
By NiBurhe in forum [TeamSpeak 2] Server SupportReplies: 9Last Post: 14-07-2004, 08:29


Reply With Quote
