indiePaper MyBB Premium Themes

Toggle Panel

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick Edit
10-09-2009, 06:50 PM
Post: #1
Quick Edit
My members are requesting a feature that the previous theme had, which was a quick edit feature. The quick edit came up in a drop down menu when edit was clicked, full edit and quick edit came down/up?

http://lethalzone.net
Find all posts by this user
Quote this message in a reply
10-09-2009, 10:31 PM
Post: #2
RE: Quick Edit
Please try to return the headerinclude template to default. I see you've deleted some lines by mistake.

Also, did you change the width of the container, or thead in the global.css?

Find all posts by this user
Quote this message in a reply
10-10-2009, 07:48 AM
Post: #3
RE: Quick Edit
I'll reupload headerinclude, and do the updates that fixed the "Invalid Theme" problem.

I haven't edited global.css

Only the code edit for ficons: http://www.mybbcentral.com/thread-2676.html

Code:
Template Troubleshooting:
There are 4 total template edits.

forumbit_depth1_cat
Find <td class="thead" colspan="5">
Change to <td class="thead" colspan="6">

Find <td class="tcat" colspan="2">
Change to <td class="tcat" colspan="3">

forumbit_depth2_forum
Find <td class="{$bgcolor}" valign="top">
Before it add
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>

forumdisplay_subforums
Find colspan="5"
Change to colspan="6"

Find <td class="tcat" width="2%">&nbsp;</td>
After add <td class="tcat" width="2%">&nbsp;</td> (yes it's twice)

forumbit_depth2_cat
Find <td class="{$bgcolor}" valign="top">
Before it add
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>

and this template edit, which got rid of the loading spinner that wouldn't disappear after a quick reply: http://community.mybboard.net/thread-456...#pid316625

Code:
In ./jscripts/thread.js, you'll find circa line 332:

Code:
        this.quick_replying = 1;
        var post_body = Form.serialize('quick_reply_form');
        this.spinner = new ActivityIndicator("body", {image: imagepath + "/spinner_big.gif"});

Remove...

Code:
this.spinner = new ActivityIndicator("body", {image: imagepath + "/spinner_big.gif"});

http://lethalzone.net
Find all posts by this user
Quote this message in a reply
10-10-2009, 08:53 AM
Post: #4
RE: Quick Edit
What I meant is that you have to "Revert to Original" the template. But to make things more simple, please delete everything in the headerinclude, and place this code (which is the default one):

Code:
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
{$stylesheets}
<script type="text/javascript">
<!--
    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}

Find all posts by this user
Quote this message in a reply
10-10-2009, 09:35 AM
Post: #5
RE: Quick Edit
Thanks, it's now fixed :]

http://lethalzone.net
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: