Subject: changing username length from 16

Posted on: 29/11/06 03:40pm
By: kyah

Hello forum.

I am new to geeklog. I am in the process of moving away from SMF forum to geeklog forum.
I would like to change the username length from default 'varchar(16)' to 'varchar(20)'. What other areas in geeklog need changing aside from the database?

Re: changing username length from 16

Posted on: 30/11/06 12:01pm
By: 1000ideen

Just a quick answer for username 40 signs:

The sql command:
ALTER TABLE gl_users CHANGE username username VARCHAR(40) NOT NULL

The thtml to alter:
admin/user/edituser.thtml #19 16 -> 40
users/getpasswordform.thtml #13 16 -> 40
users/registrationform.thtml #13 16 -> 40

I did this with GL 1.4.0 successfully. Of course back up the db before you try!

Geeklog - Forum