2014-03-13, 08:56 AM
2014-03-13, 04:22 PM
(2014-03-13, 08:56 AM)wallet Wrote: [ -> ]i am currently running MyBB 1.6.9
Start by upgrading your forum software to MyBB 1.6.12
2014-03-13, 09:57 PM
it's very nice .. can add editor to this plugin ?? and smiles ??
Thanks
Thanks
2014-03-13, 11:27 PM
2014-03-14, 12:51 AM
Check http://docs.mybb.com/Upgrading.html
It is unlikely you'll lose anything, but always make a backup of all your files and the database in case something goes wrong.
It is unlikely you'll lose anything, but always make a backup of all your files and the database in case something goes wrong.
2014-03-14, 08:40 PM
Had a play with plugin and here's my result:
I have another problem:
When I add
I have another problem:
When I add
UPDATE settings SET title="Send Notice To Post Author",
description="Send a a private message to the author of the edited post." WHERE name="modnotice_pm";
UPDATE settinggroups SET title="ModNotice Plus" WHERE name="modnotice";
to the SQL, it says this:SQL query:
UPDATE settings SET title = "Send Notice To Post Author",
description = "Send a a private message to the author of the edited post." WHERE name = "modnotice_pm";
MySQL said: Documentation
#1146 - Table 'u266046464_tqs.settings' doesn't exist
2014-07-09, 01:29 PM
On the mod site is it bad version
in zip 1.5.5
in link 1.3 http://mods.mybb.com/view/modnotice-1-3
pleas fix this
in zip 1.5.5
in link 1.3 http://mods.mybb.com/view/modnotice-1-3
pleas fix this
2014-08-28, 04:50 PM
is it possible to make 2 things: first one, create a post that ONLY containts the Modmessage? would be great.
and 2nd: is it possible to move the Modnotice to the top of the post?
and 2nd: is it possible to move the Modnotice to the top of the post?
2014-10-24, 02:06 PM
any word on 1.8(.1) compatibility?
2014-10-26, 09:40 PM
Reply to my own question, tried to see if i could get it working myself;
changed compatibility line, check, installs, puts global templates in fine.
One template it inserts needs to be modified.
postbit_moderator_edit needs to be changed from
to
^that is for the default/global theme, some other themes you'll have to make add a postbit_moderator_edit template in your current themes template set different class for the button, etc, you get the gist though.
The new template works for the popup button, and it directs to a moderate page but when actually submitting a moderation edit I get this.
and when trying to preview the moderation i get this
So looking at inc/datahandlers/moderate.php on line 386 I see
aaaaaand i lost myself and gave up for now
changed compatibility line, check, installs, puts global templates in fine.
One template it inserts needs to be modified.
postbit_moderator_edit needs to be changed from
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}" /></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div>
<div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div>
<div class="popup_item_container"><a href="modnotice.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_post_moderate}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("edit_post_{$post['pid']}");
}
// -->
</script>
to
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}" title="{$lang->postbit_edit}" class="postbit_edit"><span>{$lang->postbit_button_edit}</span></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;">
<div class="popup_item_container"><a href="javascript:;" class="popup_item quick_edit_button" id="quick_edit_post_{$post['pid']}">{$lang->postbit_quick_edit}</a></div>
<div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div>
<div class="popup_item_container"><a href="modnotice.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_post_moderate}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
$("#edit_post_{$post['pid']}").popupMenu();
}
// -->
</script>
^that is for the default/global theme, some other themes you'll have to make add a postbit_moderator_edit template in your current themes template set different class for the button, etc, you get the gist though.
The new template works for the popup button, and it directs to a moderate page but when actually submitting a moderation edit I get this.
( ! ) Fatal error: Call to undefined method pluginSystem::run_hooks_by_ref() in C:\wamp\www\inc\datahandlers\moderate.php on line 386
Call Stack
# Time Memory Function Location
1 0.0010 392072 {main}( ) ..\modnotice.php:0
2 0.0840 8966952 PostDataHandler->validate_post( ) ..\modnotice.php:201
and when trying to preview the moderation i get this
( ! ) Fatal error: Call to undefined method pluginSystem::run_hooks_by_ref() in C:\wamp\www\inc\datahandlers\moderate.php on line 386
Call Stack
# Time Memory Function Location
1 0.0020 392424 {main}( ) ..\modnotice.php:0
2 0.1010 8977208 PostDataHandler->validate_post( ) ..\modnotice.php:448
So looking at inc/datahandlers/moderate.php on line 386 I see
$plugins->run_hooks_by_ref("datahandler_moderate_validate_post", $this);
aaaaaand i lost myself and gave up for now