Thanks.
Quote:
Will it have the checkbox for the sig checked if you have a sig in the message already?
|
Thats a good idea. I fixed it so that the sig checkbox will only show up if the person has a sig, and it will be checked by default. I updated the first post to include this.
For those who have already installed:
In your showthread_quickedit template find:
Code:
<input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />Sig
Replace it with:
Code:
<if condition="$bbuserinfo['signature']">
<label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />Sig</label>
</if>
Quote:
Also, wouldn't it be wise to have this enabled for Admins on all the messages, too?
|
Well, since the message text would be loaded twice for all posts, I figure its best to only show the Quick Edit option to the post author.
But if anyone wants the quick edit option availible to admins on all posts, just find this section of code (from the hack instructions):
Code:
if ($post['userid'] == $bbuserinfo['userid'])
And replace it with this:
Code:
if (($bbuserinfo['usergroupid'] ==6) or ($post['userid'] == $bbuserinfo['userid']))