bgame-hunter / temars-eve-api

Automatically exported from code.google.com/p/temars-eve-api
0 stars 0 forks source link

TS Nickname too long #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
TEA Version?
1.2.0.130
SMF Version?
2.0 gold

What steps will reproduce the problem?
1. Try to register a name on teamspeak thats longer than 30 characters

What is the expected output? What do you see instead?

Only thing i can think of, is shortening the name as teamspeak only allows 30 
chars for a nick name, but TEA makes allows for a long nick name.

IE R.E 8 - Severine Strawberryblue needs to miss off the last letter, but TEA 
doesnt allow for that.

Please provide any additional information below.

Original issue reported on code.google.com by DTHI.Dem...@gmail.com on 17 Jul 2011 at 5:12

GoogleCodeExporter commented 8 years ago
Name to Reg and Check in TS is now Shortened to 30 if longer

Original comment by tema...@googlemail.com on 18 Jul 2011 at 2:30

GoogleCodeExporter commented 8 years ago
Just tried the update, it now shows the name just as R for that user.

Original comment by DTHI.Dem...@gmail.com on 18 Jul 2011 at 3:27

GoogleCodeExporter commented 8 years ago
Change the added code to ...

                if(strlen($name) > 30)
                {
                        $cut = 30;
                        $name = substr($name, 0, $cut);
                }

And that makes it work.

Original comment by DTHI.Dem...@gmail.com on 18 Jul 2011 at 5:05

GoogleCodeExporter commented 8 years ago
line 846 to 850

Original comment by DTHI.Dem...@gmail.com on 18 Jul 2011 at 5:10

GoogleCodeExporter commented 8 years ago
oops my bad lol fixed

Original comment by tema...@googlemail.com on 18 Jul 2011 at 9:20

GoogleCodeExporter commented 8 years ago

Original comment by tema...@googlemail.com on 14 Aug 2011 at 3:07