MyBB Community Forums

Full Version: ModNotice Plus 1.5.5
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
You can disable sending of PM in admin configuration.
One problem if a moderator moderates the first post thread can not change, choose a prefix - if forum has prefixes
Can you add this to plugin ?
but the way good job
I upload version 1.5.4 - see the first post.
Plus pro Vás

Work fine Smile

==========================

Edit next bug

Look screen on attach

Maybe remove poll options or fix this ?
To fix this edit template editpost_moderate and before </table> add {$pollbox} and and stated below remove {$pollbox}

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_post}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$post_errors}
{$attacherror}
<form action="modnotice.php?pid={$pid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->edit_post}</strong></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->subject}</strong></td>
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" width="235" valign="top"><strong>{$lang->your_message}:</strong><br /><div style="text-align: center;">{$smilieinserter}</div></td>
<td class="trow2">
<textarea name="message" id="message" rows="20" cols="70" tabindex="3">{$message}</textarea>
{$codebuttons}
</td>
</tr>
<tr>
<td class="trow2" valign="top">
{$lang->moderator_message}<br />
<label><input type="checkbox" class="checkbox" name="remove" value="yes" tabindex="6" {$optionschecked['remove']} /> {$lang->moderator_message_remove}</label>{$send_pm}
</td>
<td class="trow2">
<textarea name="modnotice" id="modnotice" rows="4" cols="70" tabindex="3">{$modnotice}</textarea>
</td>
</tr>
{$pollbox}
</table>
{$attachbox}
<br />
<div align="center">
<input type="submit" class="button" name="submit" value="{$lang->update_post}" tabindex="3" />
<input type="submit" class="button" name="moderate_previewpost" value="{$lang->preview_post}" tabindex="4" /></div>
<input type="hidden" name="action" value="mod_do_editpost" />
<input type="hidden" name="pid" value="{$pid}" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
</form>
{$footer}
</body>
</html>
I upload version 1.5.5 with fixed poll options - see the first post.
Hey, how can I edit the title of the mod notice, i.e. it says "<username> edited 17:11 today" bla bla bla. Can I change that to "Admin notice from <username>"?
See here, step 4.

http://community.mybb.com/thread-104136.html

You have to set your own css style.
.modnotice {
    background: #ADCBE7;
    padding: 8px;
    margin: auto auto;
    border: 1px solid #0F5C8E;
    color: #000000;
    font-size: 12px;
} 

On your global.css on styles our style...
Where Is step 4?

Wait, don't worry, how do I edit the title. IE

<name> edited Today 07:07 PM this post because:
inc\languages\english\modnotice.lang.php

$l['postbit_post_moderator_message'] = "<strong>%s edited %s %s this post because:</strong>";
Pages: 1 2 3 4 5 6 7 8 9 10