- only topic starter can give and edit the subject in first post
- the subject field is readonly on all other post
posting.php
find
- Code: Select all
// Start assigning vars for main posting page ...
$template->assign_vars(array(
after add
- Code: Select all
'S_NO_SUBJECT_CHANGE' => ($post_id != $post_data['topic_first_post_id']) ? true : false,
open
styles/prosilver/template/posting_editor.html
find
- Code: Select all
<input type="text" name="subject" id="subject"
replace with
- Code: Select all
<input <!-- IF S_NO_SUBJECT_CHANGE -->readonly="readonly"<!-- ENDIF --> type="text" name="subject" id="subject"
this code is tested