vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Maximum custom field Input (https://vborg.vbsupport.ru/showthread.php?t=57821)

corsacrazy 10-12-2003 07:01 PM

Maximum custom field Input
 
- maximum 250

that takes the biscuit how can i increase to unlimeted?

assassingod 10-12-2003 07:10 PM

I don't believe you can. MySQL can only have a maximum of 255 chars. (Can't confirm though)

corsacrazy 10-12-2003 07:16 PM

thats BS Grrrrrrrr spent ages modifying the custom fields made a custom &action = page to edit the details with custom fields has taken ages now i find out i cant get passed 250 !!!!!!!!!!!

filburt1 10-12-2003 07:20 PM

Change the type of the column to TEXT. VARCHAR is limited to 255 characters.

corsacrazy 10-12-2003 07:24 PM

and extra 5 wont make much of a difference but thanks for the hint

corsacrazy 10-12-2003 07:26 PM

can i not just change the value via php my admin ?

corsacrazy 10-12-2003 07:27 PM

UPDATE `profilefield` SET `maxlength` = 'XXXXX' WHERE `profilefieldid` = '8' LIMIT 1 ;

corsacrazy 10-12-2003 07:31 PM

nope ^ didnt work (

assassingod 10-12-2003 07:32 PM

What filburt1 was saying was that the current type WAS VARCHAR (actually, its CHAR, but that doesnt matter:p) which is 255.


Run this query:
[SQL]
ALTER TABLE profilefield CHANGE description description TEXT NOT NULL
[/SQL]

corsacrazy 10-12-2003 07:36 PM

will this enable me to hav profile fields that are of unlimeted value ?


All times are GMT. The time now is 11:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01114 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete