MyBB Community Forums

Full Version: Postbit edit, not working.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Oke mybb i have a serious problem with my website, no one can edit their own posts, not even me.

this is my code below, did i something wrong?


<a class="postbit" href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="images/king/eraser_pencil.png" alt="{$lang->postbit_edit}" 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>

Can someone help me out?
While you trying to click edit, it doesnt work on my new theme.
that template code belongs to MyBB 1.6.x - you have to modify it for MyBB 1.8.x
upgrading guidance Wrote:Visit your Admin Control Panel, then go to Templates & Style > Templates > Find Updated Templates. This will show you a list of all the templates that have changed during the upgrade.

You can either revert these templates to their default - meaning all the changes you've made to it will be removed - or you can see a Diff Report which will show you exactly what's changed. If you have a custom theme installed, it is probably best that you look at the Diff Report and apply the changes you need.
so i can not even click on a button to complete the theme so it updates automatic from 1.6 to 1.8

Cause i dont understand how to edit it, its postbit_edit and in 1.8 i see postbit_editby, so dont know how to update that.
can someone maybe help i only need to fix the edit file that's it. I dont understand from you what i need to do.