Assign a group if you click on a specific channel

Norvik

Retired Staff
Contributor
Jul 18, 2015
635
588
157
I decided to work on a little script which is able to do the requested stuff from this thread.
So what does it do? It simply assigns you to server groups as soon as you click on a specific channel.
How to use it? Download the script from below, change the settings in the config.php and upload everything to your webspace. Now edit your channeldescription to an image tag which requests the php file.
Code:
[img]http://127.0.0.1/r4p3/R4P3_GroupAssigner/[/img][url=http://127.0.0.1/r4p3/R4P3_GroupAssigner/]Click me in order to get your groups[/url]


Thanks @Multivit4min, I used your getClientIp function :)

Download
VirusTotal - 0 / 55
 
Last edited:

Foggy

Member
Apr 5, 2016
2
0
33
when I try and use the code, I get the same error everytime:
75310e658918e48e8c104c17a30e9215.png


Also in the TeamSpeak, there is an error symbol:
8dc17eee3939935778a1043c41cece1a.png
 

Norvik

Retired Staff
Contributor
Jul 18, 2015
635
588
157
It seems like something you entered in your config.php isn't compatible with the uri format. Please answer the questions is asked in the conversation so I can help you.
 

Multivit4min

Member
Sep 2, 2015
27
49
53
The whole Uri needs to be URL Encoded Probably you have set a Nickname with for example "Group Assigner" but the nickname should be Group%20Assigner

@Ridicc I recommend to use the urlencode() function instead of rawurlencode() since rawurlencode doesnt encode spaces to %20 and this will throw errors inside the Framework when there are spaces ;)
 

Norvik

Retired Staff
Contributor
Jul 18, 2015
635
588
157
I just added the rawurlencode function after he said that he has this issue because I forgot that people could get issues if they use spaces. And I should use rawurlencode since urlencode isn't the right function.
37ac2ef4c0.png
 

MahmouD

Member
Feb 11, 2016
77
5
56
No work !!!
He worked just once and does not want to work, second only upon entry to link a possible solution?

p_973w091.png
 

Norvik

Retired Staff
Contributor
Jul 18, 2015
635
588
157
@MahmouD That's because Teamspeak caches your pictures. There is no way to fix that except of changing the link every time somebody clicked on the channel (This will be possible but it will spam your serverchat) Hit me up if you want that feature to be implemented.
@turki mheiad I'm gonna do a video about this asap, probably today.
 

MahmouD

Member
Feb 11, 2016
77
5
56
I have lip in TeamSpeak this problem the error does not occur, however, the script can you slide I by a former've Login surfer TeamSpeak and I saw the problem and was using the same bot, but by many movements such as Ashabk of rum when activation and so
 

tagKnife

Well-Known Member
Oct 2, 2015
343
270
146
I decided to work on a little script which is able to do the requested stuff from this thread.
So what does it do? It simply assigns you to server groups as soon as you click on a specific channel.
How to use it? Download the script from below, change the settings in the config.php and upload everything to your webspace. Now edit your channeldescription to an image tag which requests the php file.
Code:
[img]http://127.0.0.1/r4p3/R4P3_GroupAssigner/[/img][url=http://127.0.0.1/r4p3/R4P3_GroupAssigner/]Click me in order to get your groups[/url]


Thanks @Multivit4min, I used your getClientIp function :)

Download
VirusTotal - 0 / 55
Nice work, this is an impressive use of teamspeak embedded system, Im going to create a vbulletin plugin version of this that checks if a user is registered. Then I will do apull request.
 
Dec 19, 2015
114
15
53
I decided to work on a little script which is able to do the requested stuff from this thread.
So what does it do? It simply assigns you to server groups as soon as you click on a specific channel.
How to use it? Download the script from below, change the settings in the config.php and upload everything to your webspace. Now edit your channeldescription to an image tag which requests the php file.
Code:
[img]http://127.0.0.1/r4p3/R4P3_GroupAssigner/[/img][url=http://127.0.0.1/r4p3/R4P3_GroupAssigner/]Click me in order to get your groups[/url]


Thanks @Multivit4min, I used your getClientIp function :)

Download
VirusTotal - 0 / 55
Thx man It Work for me from the first time you are amazing
 

hackerpedro

Member
May 7, 2016
34
1
43
I decided to work on a little script which is able to do the requested stuff from this thread.
So what does it do? It simply assigns you to server groups as soon as you click on a specific channel.
How to use it? Download the script from below, change the settings in the config.php and upload everything to your webspace. Now edit your channeldescription to an image tag which requests the php file.
Code:
[img]http://127.0.0.1/r4p3/R4P3_GroupAssigner/[/img][url=http://127.0.0.1/r4p3/R4P3_GroupAssigner/]Click me in order to get your groups[/url]


Thanks @Multivit4min, I used your getClientIp function :)

Download
VirusTotal - 0 / 55

Hello,

your script is very nice! But I'm here to suggest just a few improvements:
  1. A inicial page saying to connect to the server if you are not connected;
  2. Ability to chose either a button or automatic (automatic is already implemented :)) to assign the groups;
  3. A page saying "You have been promoted to [GROUPNAME]";
  4. A page saying what groups you are in once you have already used the script (so users can use the script one time only);
  5. Don't allow some server-groups to use the script (Like a BANNED server-group).

And if I remember something more I'll suggest again,
and again, good work!
 

Norvik

Retired Staff
Contributor
Jul 18, 2015
635
588
157
I'm gonna create a new version which has everything you said above. It could take some time since I'm kinda busy right now but I will do it.
 
Top