vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Expand the limits on Forum Description (https://vborg.vbsupport.ru/showthread.php?t=53218)

Cyricx 05-22-2003 04:35 AM

Expand the limits on Forum Description
 
There's some html coding and such I'm wanting to use in my forum description areas but alas when doing some of them tey exceed the 250 character limit.

I'm guessing it's a mysql query I need to run to increase the varchar for the description column on the forum table.

I've tried -

alter table forum.description varchar(500);

but it won't accept the syntax when it sees varchar =/

Anyone have any ideas on the syntax I'll need? =/

Thanks in advance!

Cyricx 05-22-2003 11:56 AM

NM, figured out a work around using templates. :)

Black Vivi 05-22-2003 03:39 PM

i kno u found anuther way, but just thought id let u kno varchar's maxlength is 255
ud have to chnage it to smalltext, tinytext or mediumtext

Cyricx 05-23-2003 01:27 AM

Ah kewl, thanks for the info :).

Was wondering if that could have been part of the problem. :)

locatha 07-20-2003 09:56 PM

Could you or someone explain how i could change the limit in the descriptions to something longer, i wish to use some HTML in there, just basic color codes and the like, but the 255 character limit makes that difficult. But if someone could give me some step and step instructions on how to do it, that would be great. Thanks.

duboisi 12-19-2003 01:04 AM

Someone please update this, if you know any way to expand the limits on the forum description, it would be quite helpful to me at this moment.

Thanks!

g-force2k2 12-19-2003 10:44 AM

Just run this query if you have MySQL Version 3.22.16a OR better
PHP Code:

ALTER TABLE forum MODIFY description MEDIUMTEXT NOT NULL 

OR run this query.
PHP Code:

ALTER TABLE forum CHANGE description description MEDIUMTEXT NOT NULL 

Regards,
g-force2k2

duboisi 01-02-2004 05:11 AM

I don't know how to do this. I realize that its probably pretty simple to run a query, but unfortunately, I've never learned this.

It seems quick and easy, can someone possible give instructions or help me out?

Happy New Year BTW!

g-force2k2 01-02-2004 03:55 PM

You can run the query via phpmyadmin or you can download FireFly's hack that allows you to run queries via admncp.

Regards,
g-force2k2

ashley53680 01-04-2004 08:19 PM

I was coming here to ask the very same thing...

Where is firefly's hack? (sorry I couldn't find it)

duboisi 01-04-2004 09:51 PM

It was actually very easy for me to run that query in my host's php control panel, worked great!

Thanks!

ashley53680 01-05-2004 12:34 AM

okay I found that I could also run the query on my control panel... I *think* I found what I need to edit, but how do you edit it?

ashley53680 01-05-2004 12:47 AM

nevermind, I got it!

I switched it to blob instead of the other choices.. is that okay too??


All times are GMT. The time now is 02:52 AM.

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.00999 seconds
  • Memory Usage 1,730KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete