Change new reply 'title' to 'readonly'
This modification is in the archives.
Hello.
This is to make the 'title' field UNEDITABLE in new replies so only the title from the thread is used. In the 'newreply' template, Find this code: Code:
<td class="smallfont" colspan="3">$vbphrase[title]: Code:
<font class="smallfont">(uneditable since replying)</font> Find this code: Code:
<input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /> Modify to: Code:
<input type="text" class="bginput_title" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" readonly="readonly" /> class="bginput_title" can be changed to whatever class of attributes you want to have for the BACKGROUND COLOR of the input text field. Since the 'readonly' attribute is used, the data for this field is still sent to the server. Have fun! EDIT: CHANGED in 'Modify to:' from 'readonly' to readonly="readonly" for compliance. The original version works, but should be compliant... Download This modification is archived and cannot be downloaded. |
Similar Mods
Mini Mods Can not change the title in reply 1.0 | vBulletin 3.7 Template Modifications |