News:

Wondering if this will always be free?  See why free is better.

Main Menu

increase character limit of topic name ?

Started by meko me, July 28, 2010, 04:23:17 PM

Previous topic - Next topic

meko me

hello is there is a way to increase character limit of topic name? right now it is 80 chracter if i'm not wrong.

xenovanis

"Insanity: doing the same thing over and over again and expecting different results."

Joker™

im not sure but you can look into following codes

themes\default\post.template.php

                        <input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="80" class="input_text" />



sources\post.php

      // Make sure the subject isn't too long - taking into account special characters.
      if ($smcFunc['strlen']($form_subject) > 100)
         $form_subject = $smcFunc['substr']($form_subject, 0, 100);




   // At this point, we want to make sure the subject isn't too long.
   if ($smcFunc['strlen']($_POST['subject']) > 100)
      $_POST['subject'] = $smcFunc['substr']($_POST['subject'], 0, 100);




      // Maximum number of characters.
      if ($smcFunc['strlen']($_POST['subject']) > 100)
         $_POST['subject'] = $smcFunc['substr']($_POST['subject'], 0, 100);


Note : Make Backup of your files before making any sort of edits
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

meko me

thanx joker will try wt u have suggested.

regards
meko

Advertisement: