Back to vBulletin 3.5 Template Modifications

Change new reply 'title' to 'readonly'
Mod Version: 1.01, by timetunnel

This modification is in the archives.
vB Version: 3.5.0 Rating: (0 vote - 0 average) Installs: 3
Released: 15 Nov 2005 Last Update: 16 Nov 2005 Downloads: 8
Not Supported Template Edits  

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]:
on the same line or below it, add e.g.
Code:
&nbsp;<font class="smallfont">(uneditable since replying)</font>
NEXT, scroll a few lines down and...

Find this code:
Code:
<input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" />
and

Modify to:
Code:
<input type="text" class="bginput_title" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" readonly="readonly" />
where,

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

vblts.ru supports vBulletin®, 2022-2024