Announcement

Collapse
No announcement yet.

Help! Category description length maxed out!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Chris Schreiber
    replied
    You can run that script as is to increase the length for both forum and category descriptions (they are stored in the same table).

    Leave a comment:


  • ForzaGrifo
    started a topic Help! Category description length maxed out!

    Help! Category description length maxed out!

    I did some searching and came up with this thread:


    The field in the database that holds the forum description only allows 250 characters. If you wish to exceed this limit you will have to change the database field type from char to a text type.
    Put this code into a file (modify.php) and run it from your browser.
    <?php
    require("global.php");
    $DB_site->query("ALTER TABLE forum
    CHANGE description description MEDIUMTEXT NOT NULL");
    ?>
    ----------------------------------------------------------------------------

    Will this work for non-posting Category description? I've got several categories where long descriptions are truncated. Just wondering if the above code will also work for category description. Also, a lot of people here suggest using MyPhpAdmin for altering the table. Do I need to use it or can I just run a script like the above modify.php script?


    Thanks.

Related Topics

Collapse

Working...
X