FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » custom_tags limited in length?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
custom_tags limited in length? [message #15317] Wed, 10 December 2003 06:12 Go to next message
AutoHost is currently offline  AutoHost   United States
Messages: 99
Registered: October 2002
Karma: 0
Member
FUDforum v2.3.5
The table _users has field custom_tags as type 'text'

The table _custom_tags has that field set as type 'char(255)'

Table _custom_tags is what the admin interface uses to display/delete/enter custom tags.

(although custom tags manually entered into a user's custom_tag field in _users table also work, but probably cannot delete them using admin interface).

I'm having trouble in that my custom tags are starting to go over 255 characters (using HTML table and several img src tags that are a little long).

Can I safely change the field type from char(255) to text in table _custom_tags? Naturally I'd have to update /forum/sql/mysql/fud_custom_tags.tbl to reflect that change also if I did change the field type.

How does the above process work in v2.6.x?


Ron Miller
Stars! AutoHost

[Updated on: Wed, 10 December 2003 06:13]

Report message to a moderator

Re: custom_tags limited in length? [message #15321 is a reply to message #15317] Wed, 10 December 2003 15:18 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The custom_status field in the users table is TEXT because it may need to store any number of custom tags. The individual custom tags are limited to 255 characters. You can if you like change the column defintion inside the custom_tags table to use TEXT to allow for longer tags.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: wont copy changed pmsg.tmpl
Next Topic: Message Preview issue with RC 10
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 13:01:40 GMT 2024

Total time taken to generate the page: 0.02939 seconds