MyBB Community Forums

Full Version: Fix 'advanced menu' not showing (ie 'bold' etc) ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[attachment=35891]
Advanced menu, for text editing (bold, align, etc) is missing from 'Post a new Thread'.
How to get back ?
Thoughts ?
It's the button on the far right? (The las button in the row?)
Sorry, should have noted... The whole menu bar (image attached to original post) is missing.

Ps:  Perhaps the below code is relevant ?

'codebuttons' template:

<script type="text/javascript" src="jscripts/editor.js?ver=1609"></script>
<script type="text/javascript">

    {$editor_language}
    var clickableEditor = new messageEditor("{$bind}", {lang: editor_language, rtl: {$lang->settings['rtl']}, theme: "{$theme['editortheme']}"});
    if(clickableEditor)
    {
        clickableEditor.bindSmilieInserter("clickable_smilies");
    }
</script>

How it looks in 'View Selection Source':

<!-- start: codebuttons -->
<script type="text/javascript" src="[url=view-source:http://akmblog.org/forum/jscripts/editor.js?ver=1609]jscripts/editor.js?ver=1609[/url]"></script>
<script type="text/javascript">

(function ($) {
$.sceditor.locale["mybblang"] = {
"Bold": "Bold",
"Italic": "Italic",
"Underline": "Underline",
"Strikethrough": "Strikethrough",
"Subscript": "Subscript",
"Superscript": "Superscript",
"Align left": "Align left",
"Center": "Center",
"Align right": "Align right",
"Justify": "Justify",
"Font Name": "Font Name",
"Font Size": "Font Size",
"Font Color": "Font Color",
"Remove Formatting": "Remove Formatting",
"Cut": "Cut",
"Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X": "Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X",
"Copy": "Copy",
"Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C": "Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C",
"Paste": "Paste",
"Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V": "Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V",
"Paste your text inside the following box:": "Paste your text inside the following box:",
"PasteText": "Paste Text",
"Numbered list": "Numbered list",
"Bullet list": "Bullet list",
"Undo": "Undo",
"Redo": "Redo",
"Rows:": "Rows:",
"Cols:": "Cols:",
"Insert a table": "Insert a table",
"Insert a horizontal rule": "Insert a horizontal rule",
"Code": "Code",
"Width (optional):": "Width (optional):",
"Height (optional):": "Height (optional):",
"Insert an image": "Insert an image",
"E-mail:": "E-mail:",
"Insert an email": "Insert an email",
"URL:": "URL:",
"Insert a link": "Insert a link",
"Unlink": "Unlink",
"More": "More",
"Insert an emoticon": "Insert an emoticon",
"Video URL:": "Video URL:",
"Video Type:": "Video Type:",
"Insert": "Insert",
"Insert a YouTube video": "Insert a YouTube video",
"Insert current date": "Insert current date",
"Insert current time": "Insert current time",
"Print": "Print",
"View source": "View source",
"Description (optional):": "Description (optional):",
"Enter the image URL:": "Enter the image URL:",
"Enter the e-mail address:": "Enter the e-mail address:",
"Enter the displayed text:": "Enter the displayed text:",
"Enter URL:": "Enter URL:",
"Enter the YouTube video URL or ID:": "Enter the YouTube video URL or ID:",
"Insert a Quote": "Insert a Quote",
"Invalid YouTube video": "Invalid YouTube video",
"Dailymotion": "Dailymotion",
"MetaCafe": "MetaCafe",
"Veoh": "Veoh",
"Vimeo": "Vimeo",
"Youtube": "Youtube",
"Facebook": "Facebook",
"LiveLeak": "LiveLeak",
"Insert a video": "Insert a video",
"PHP": "PHP",
"Maximize": "Maximize"
}})(jQuery);
var clickableEditor = new messageEditor("message", {lang: editor_language, rtl: 0, theme: "mybb.css"});
if(clickableEditor)
{
clickableEditor.bindSmilieInserter("clickable_smilies");
}

</script>
<!-- end: codebuttons -->
Is "Show the MyCode formatting options on the posting pages." disabled in the UserCP -> Edit Options page?
could you post the headerinclude template of your theme.. what version of mybb and which theme you are using...
Thanks for the reply, been offline for a while.
Couldnt find ' UserCP -> Edit Options page'.
Blush
Thoughts ?

(2016-03-03, 06:32 AM)fonta Wrote: [ -> ]Is "Show the MyCode formatting options on the posting pages." disabled in the UserCP -> Edit Options page?

Thanks for the reply, been offline for a while.
Just upgraded to 1.8.7, same problem.

Using Home >> Themes >> Default

Only place could find 'headerinlcude'...
Home >> Template Sets >> Default Templates > Ungrouped Templates > headerinclude


<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->asset_url}/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>

{$stylesheets}
<script type="text/javascript">
<!--
lang.unknown_error = "{$lang->unknown_error}";

lang.select2_match = "{$lang->select2_match}";
lang.select2_matches = "{$lang->select2_matches}";
lang.select2_nomatches = "{$lang->select2_nomatches}";
lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
lang.select2_loadmore = "{$lang->select2_loadmore}";
lang.select2_searching = "{$lang->select2_searching}";

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 rootpath = "{$mybb->settings['bburl']}";
var imagepath = "{$theme['imgdir']}";
 var yes_confirm = "{$lang->yes}";
var no_confirm = "{$lang->no}";
var MyBBEditor = null;
var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
// -->
</script>

Thoughts ?


(2016-03-03, 06:45 AM)mmadhankumar Wrote: [ -> ]could you post the headerinclude template of your theme.. what version of mybb and which theme you are using...
^ revert codebuttons template and check if it helps !
if above doesn't help then you may PM me temporary access to your forum admin panel to check it
.
Thank you for the info !
That link info ('selecting "Revert to Original" in the Options drop-down menu for that template') seems to have done it.
Much appreciated !


(2016-04-15, 02:36 AM).m. Wrote: [ -> ]^ revert codebuttons template and check if it helps !
if above doesn't help then you may PM me temporary access to your forum admin panel to check it
please note: if your forum is recently upgraded from MyBB 1.6.x then
that requires changes in many templates.

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.