MyBB Community Forums

Full Version: ModNotice Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi

Is there a way of letting Admins/Mods create a new post with the ModNotice as well as letting them edit posts with it.

Thanks
Your going to have to ask the person who made it, common sense.
Well yes that's why I posted here and I'm waiting on his reply Smile
Hi Wacky,

sure its possible, but yet not implented.
With a small modification of my plugin you'll be able to create posts including a notice as well.

Greets
Garlant
Can you make this small modification Smile
It would be quite nice to see this! But not high priority, just would make our lifes easier xD.
Thanks.
Please give me some time.
I'm currently stick at work.

Greets
Garlant
Hi Garlant

Have you had any time to work on this?
Hi wacky,

yes I've got some time to work on it.
This modification wasn't that small. So I'd rewrite my plugin.

You can now groups allow to create threads with an modnotice as well Or let them only moderate existing posts.
I added some similar settings to moderator permission in forum mangement, too.
If you create a new thread (or moderate a post) you will now see the modnotice in preview post.

Here are my instructions:
1.) Create a Databasebackup
2.) Deactivate the Plugin Modnotice
3.) Remove the following files form your webspace:
  • boardroot/modnotice.php
  • boardroot/inc/datahandlers/moderate.php
  • boardroot/inc/languages/.../datahandler_moderate.lang.php
4.) Extract & Upload all new Files from the attached archive
5.) Open the following file with an php-editor:
/admin/modules/forum/management.php
Search:
	$form_container->output_row($lang->moderator_permissions, "", "<div class=\"forum_settings_bit\">".implode("</div><div class=\"forum_settings_bit\">", $moderator_permissions)."</div>");
Before add:
	// NEW HOOK :-/
	$plugins->run_hooks("admin_forum_management_editmod_formular");
Close, Save & Upload the edited file!
6.) Call modnotice_upgrade.php in your browser (eg.: www. yourdomain.tld/boardfolder/modnotice_upgrade.php
7.) Activate now the plugin "Modnotice"
8.) Add this to your global stylesheet:
.modnotice {
background: #ADCBE7;
padding: 8px;
margin: auto auto;
border: 1px solid #0F5C8E;
color: #000000;
font-size: 12px;
}
9.) Please Report Bugs via PM!
10.) Thas all Big Grin
i'd tried this beta version of yours it works fine now with admin post edit.. Smile thanks.. whenever i found bugs again, ill report on you.. hope this will release a final version soon..
Pages: 1 2