Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
2.5k views
in Plugins by

Despite I dislike facebook, i have to try it in an experimental forum...

After setting up the login in the admin panel, i registered with one of my fake accounts which has a long name.

The name is: Tina Goldfish-Stone

What q2a registered is: Tina Goldfish-Ston

q2a truncated the name to 18 chars!

Is this a bug?

Q2A version: 1.6.2
by
I checked  qa_users the "handle" field (which holds the username) is varchar(18), that's why the name gets cut!
by
@gidgreen: Can I allow longer user names, e.g. varchar(30). Why have you specified 18 chars?

1 Answer

0 votes
by

If you want to make this longer you can set QA_DB_MAX_HANDLE_LENGTH in qa-config.php to override the value in qa-db-maxima.php and then ALTER TABLE in the database accordingly. You can also search the source code to see where else QA_DB_MAX_HANDLE_LENGTH is used.

...