MyBB Community Forums

Full Version: ModNotice Plus Messed up Postbit Edit Button, where code to fix?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently installed ModNotice Plus MyBB mod which is an AWESOME helpful mod for moderation, but it's jacked up the look of my edit button somehow..
I went digging through my templates and found in postbit template under <!--postbit buttons--> a {$post['button_edit']} code but don't know where to find the codes being used for "button_edit"... how can I fix that wacky formatting the plugin used for my edit button?

Here's what it looks like now:
[Image: attachment.php?aid=26727]
It's supposed to look like the other buttons that surround it.

Edit:
here's the link to the plugin:
http://mods.mybb.com/view/modnotice-1-3
The template is "postbit_edit". If its in green color, revert back to default.
Hi Yaldaram,
I was in postbit_edit earlier before I posted but wasn't sure because:
<a class="button" href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}" title="{$lang->postbit_edit}">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>
<script type="text/javascript">
// <!--
	if(use_xmlhttprequest == "1")
	{
		new PopupMenu("edit_post_{$post['pid']}");
	}
// -->
</script>

The moderator edit option the plugin installs is a simple url not a javascript like quick edit eg: http://www.MyBB.com/forums/modnotice.php?pid=(pid here) (obviously this is a fake url for explaining purposes)

So this plugin is doing something really funky to postbit_edit because I don't see any ModNotice related code in it.. maybe someone can correct me?
Still having an issue with this... it's not a post bit coding issue..
It does not do anything to your old edit button youre looking at.

What you see in your posts is actualy not old edit button which was postbit_edit
but its new edit button which is here :
Home » Template Sets » Global Templates : postbit_moderator_edit