1

Topic: [Solved] Increase Topic subject character limit

Is there a way to increase the character limit on Topic Subjects?

Re: [Solved] Increase Topic subject character limit

you need to go to
post.php

change maxlength

                        <span class="fld-input"><input id="fld<?php echo $forum_page['fld_count'] ?>" type="text" name="req_subject" value="<?php if (isset($_POST['req_subject'])) echo forum_htmlencode($subject); ?>" size="70" maxlength="70" /></span>
                

3

Re: [Solved] Increase Topic subject character limit

Correct! I also had to change this line to avoid it giving me an error:

else if (utf8_strlen($subject) > 70)
            $errors[] = $lang_post['Too long subject'];

I also made the same changes to edit.php. Everything looks great. Thank you, KeyDog!

Re: [Solved] Increase Topic subject character limit

EricB wrote:

Correct! I also had to change this line to avoid it giving me an error:

else if (utf8_strlen($subject) > 70)
            $errors[] = $lang_post['Too long subject'];

yes forgot that ... yw