OK Lynne, I went a step further and hid the edit button in postbit in all the forums that use a form to generate threads. If I allow OP to edit his/her post, they will see the output of the form and really confuse them & they could mess it all up... But using the code below to hide the edit button also stops Admin & moderators the ability to edit the OP and all other post as well.
Code:
<if condition="in_array($forumid, array(X,Y,Z))">
I have searched vbulletin conditionals but can't find a way to allow the edit button on on those forums to be seen by admin & moderators....
Any ideas?
This is postbit_legacy template, edit.gif section with the conditional added to hide the edit button.
Added quote brackets for better viewing.
Quote:
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<if condition="!in_array($forum['forumid'], array(137,138,141,142,143))"><a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if></if>
|
Thank you