Assign a group if you click on a specific channel

Norvik

Retired Staff
Contributor
Joined
Jul 18, 2015
Messages
635
Reaction score
588
Points
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
Joined
Apr 5, 2016
Messages
2
Reaction score
0
Points
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
Joined
Jul 18, 2015
Messages
635
Reaction score
588
Points
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
Joined
Sep 2, 2015
Messages
27
Reaction score
49
Points
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
Joined
Jul 18, 2015
Messages
635
Reaction score
588
Points
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
Joined
Feb 11, 2016
Messages
77
Reaction score
5
Points
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
Joined
Jul 18, 2015
Messages
635
Reaction score
588
Points
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
Joined
Feb 11, 2016
Messages
77
Reaction score
5
Points
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
Joined
Oct 2, 2015
Messages
343
Reaction score
270
Points
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.
 

FlO0

Restricted
Joined
Jan 28, 2016
Messages
42
Reaction score
7
Points
43
Please I want a video tutorial as soon as .
 

tagKnife

Well-Known Member
Joined
Oct 2, 2015
Messages
343
Reaction score
270
Points
146
@Ridicc I sent you a pull request


want to test it, Join ts.mxgaming.com and then register on http://forum.mxgaming.com/

Make sure your name is the same as your registered username (can be case-insensitive), click the link and you should get member.
 

denka

Restricted
Joined
Apr 26, 2015
Messages
224
Reaction score
62
Points
106
is there a way for ipboard? :D
 

tagKnife

Well-Known Member
Joined
Oct 2, 2015
Messages
343
Reaction score
270
Points
146
Yeah, But i dont have a IPB setup to dev on sooo....
 
Joined
Dec 19, 2015
Messages
114
Reaction score
15
Points
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
Joined
May 7, 2016
Messages
34
Reaction score
1
Points
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
Joined
Jul 18, 2015
Messages
635
Reaction score
588
Points
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