i don't found any option in permission.HaioPaio wrote: Thu Jun 17, 2021 1:39 pm By setting the permission to do so. The standard moderator roles have that permission set to yes by default.
yes, the are enable to edit posts.HaioPaio wrote: Thu Jun 17, 2021 5:06 pm Please check at ACP/Permissions/Permission Masks/View global moderation permissions/look up user
enter user name, View Permissions
Check if under the tab "Post actions" for " can edit posts" is set to yes.
If not, click on the circle arrow symbol to track down the settings.
Code: Select all
// let admins and attachment owner to follow
$own_attachment = ($auth->acl_get('a_attach') || $attachment['poster_id'] == $user->data['user_id']) ? true : false;
if (!$own_attachment) {
echo 'W3ERROR_NO PERMISSION'; exit;
}
Code: Select all
<div id="w3rPopup" class="w3rPopupContainer text-center inputbox" style="display:none">
<table class="w3wrapTABC">
<tr><td class="w3wrapTDC">
<div class="w3divContainer">
<div class="w3divCont"><strong>{{ lang('W3POPUP_TEXTEXPLAIN') }}</strong></div>
<div class="w3divimg"><img id="w3-img-rotate" src="" onclick="w3rotateByDeg(this);" /></div>
<div class="w3divCont"><button class="w3divCont button" type="submit" id="w3btn" onclick="w3sendThis(document.getElementById('w3-img-rotate'));">{{ lang('W3POPUP_BUTTONTEXT') }}</button></div>
</div>
</td></tr></table>
</div>
white-space: nowrap;
into the CSS like this Code: Select all
.attach-row > td{ white-space: nowrap; }
Just one last thing when this mod is enabled my moderators keep getting logged out and have to keep logging in.axe70 wrote: Sun Jan 23, 2022 4:13 pm I will give a look into code in short soon, because last night, i've take a fast re-look to the logic on it, and i detected almost 3 4 things that need to be surely adjusted.