Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Body is 442 characters too long.

pedenskipedenski New
edited June 2012 in Vanilla 2.0 - 2.8

how can i increase the capacity of text characters for textbox??

Answers

  • \forum\conf\config.php

    $Configuration['Vanilla']['Comment']['MaxLength'] = '8000';

    ahmedaladdin
  • hi,

    i only have config-defaults.php but not config.php
    also, inside there is no

    $Configuration['Vanilla']['Comment']['MaxLength'] = '8000';

    do i have to put that code, or edit it somewhere?

  • pedenski said:
    hi,

    i only have config-defaults.php but not config.php
    also, inside there is no

    $Configuration['Vanilla']['Comment']['MaxLength'] = '8000';

    do i have to put that code, or edit it somewhere?

    >

    if you do not have config.php - you have set up your installation entirely the wrong way and you should read the documentation, as well as the installation notes.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    UnderDog
  • i followed this http://vanillaforums.org/discussion/19915/deploying-a-new-forum-and-adding-a-theme-for-everyone/p1

    the thing is, ive already set up my forum and is live, is there a way to fix this without causing any downtime or reinstall?

  • I would under that circumstance, copy config-defaults.php and rename it as config.php

    grep is your friend.

    UnderDog
  • if i do what you say, do i just put the code

    $Configuration['Vanilla']['Comment']['MaxLength'] = '8000';

    since, that code wasn't present in the config-defaults.php, if so, where exactly?

  • just put it in config.php, it will be resorted anyway.

    grep is your friend.

    UnderDog
  • It works perfect @johansonlocker. Thanks alot

  • peregrineperegrine MVP
    edited December 2012

    Option for changing comment length - should be in your dashboard under flood control. may be easier to change there - your choice. :)

    yourforum.com/settings/floodcontrol

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.