Author Topic: new user fields size  (Read 4913 times)

0 Members and 1 Guest are viewing this topic.

Offline Bomba

  • Full Member
  • ***
  • Posts: 202
    • View Profile
new user fields size
« on: June 29, 2003, 04:44:38 PM »
hello,

i had a new user field to the profile, wich is something like a little personal presentation of the user, and i would like to let this field have more than 255 characters, cause i can't get this bigger than (varchar 255).

is it possible?
thanks

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
new user fields size
« Reply #1 on: June 29, 2003, 06:49:49 PM »
This is not possible, 255 is the max length for 'varchar'. Use type 'text' instead.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Bomba

  • Full Member
  • ***
  • Posts: 202
    • View Profile
new user fields size
« Reply #2 on: June 30, 2003, 11:59:53 PM »
and in dp_field_definitions.php should i put "textarea", cause i currently have that new field as "text", than in 4images_user it's varchar255

should i change it to textarea and than to "text" in db?
thanks

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
new user fields size
« Reply #3 on: July 01, 2003, 10:25:55 AM »
yes
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search