Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Длина имени  (Read 2742 times)

0 Members and 1 Guest are viewing this topic.

MISHA

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 262
Длина имени
« on: January 04, 2011, 02:47:05 pm »

Народ как увеличить максимальную длину имени/ника ?
Logged
Что бы Ктулху не воскрес, подпишись на RSS

Makc666

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Русский (Windows)
    • Makc's home page
Re: Длина имени
« Reply #1 on: January 08, 2011, 03:03:23 am »

Народ как увеличить максимальную длину имени/ника ?

Code: [Select]
ALTER TABLE `cpg15x_users` CHANGE `user_name` `user_name` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';
Другими словами в базе данных в таблице `cpg15x_users` изменить длину поля `user_name` с 25 на 50.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.