Current time: 03-20-2010, 03:37 PM Hello There, Guest! (LoginRegister)


Post Reply 
Quick Edit Button Won't Load
01-20-2010, 08:49 AM (This post was last modified: 01-20-2010 08:54 AM by SYST3M4T1C.)
Post: #1
Quick Edit Button Won't Load
I'm not sure why but it has nothing to do with my templates/themes. I went to the default theme MyBB comes with and I still had no luck finding the quick edit button.

Site: http://www.dexterouspro.com/forums/
Find all posts by this user
Quote this message in a reply
01-20-2010, 08:59 AM
Post: #2
RE: Quick Edit Button Won't Load
Test account...??

My Personal Site - Twitter
MyBB Support Team
[Image: lqscs]
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2010, 04:29 PM
Post: #3
RE: Quick Edit Button Won't Load
sent you a pm with the info
Find all posts by this user
Quote this message in a reply
01-20-2010, 04:36 PM (This post was last modified: 01-20-2010 04:36 PM by MattRogowski.)
Post: #4
RE: Quick Edit Button Won't Load
Make sure {$post['button_edit']} is in your postbit and postbit_classic template before {$post['button_quickdelete']}

My Personal Site - Twitter
MyBB Support Team
[Image: lqscs]
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2010, 04:37 PM
Post: #5
RE: Quick Edit Button Won't Load
its right before it
Find all posts by this user
Quote this message in a reply
01-20-2010, 04:38 PM
Post: #6
RE: Quick Edit Button Won't Load
In both templates?? What code is in the postbit_edit template??

My Personal Site - Twitter
MyBB Support Team
[Image: lqscs]
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2010, 04:41 PM (This post was last modified: 01-20-2010 05:05 PM by SYST3M4T1C.)
Post: #7
RE: Quick Edit Button Won't Load
Code:
<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>
<script type="text/javascript">
// <!--
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("edit_post_{$post['pid']}");
    }
// -->
</script>

Thats for the primary template...and I checked and saw I have a postbit_edit.gif in my english folders

I even reverted the default theme that came with MyBB and still didn't get a quick edit button
I think I'm missing other buttons as well...like the delete post one
Ok this is really odd...right after you post...it shows all the buttons...but when you refresh they are gone
Find all posts by this user
Quote this message in a reply
01-21-2010, 12:52 AM
Post: #8
RE: Quick Edit Button Won't Load
Check your usergroup permissions and see if your usergroups have permissions to edit posts.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2010, 01:23 AM
Post: #9
RE: Quick Edit Button Won't Load
yes my group's permissions are fine...I'm allowed to edit my and other people's posts
Find all posts by this user
Quote this message in a reply
01-21-2010, 01:44 AM (This post was last modified: 01-21-2010 01:48 AM by Sephiroth.)
Post: #10
RE: Quick Edit Button Won't Load
Aha, I found the solution to your problem.

Looking at your source, I found the following javascript files included: Probably for that cpu-intensive starry background.

Code:
<script src="http://www.dexterouspro.com/forums/images/starrynight/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="http://www.dexterouspro.com/forums/images/starrynight/js/main.js" type="text/javascript"></script>

If you remove that, the MyBB javascript should work just fine.

If you have access to an uncompressed version of starrynight/js/main.js, you could try adding
Code:
jQuery.noConflict();
to the top of the javascript file, and change the callback function to simply use
Code:
jQuery(document).ready(function(){
, going away from using $() to call jquery functions.

MyBB's javascript is based on prototype, and your starry night background script is based on jquery, and they don't really get along together unless that jQuery.noConflict(); string is in your javascript files.

Edit: If you could tell me where you acquired the starrynight script, I may be able to modify it to work with MyBB instead of against it.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: