MyBB Community Forums

Full Version: Text Editor Missing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I just merged from vBulletin 4.2.2 to MyBB 1.8.3, and just noticed that the text editor is missing..
I'm using a custom theme as well.

Here's my headerinclude if needed:

<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=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined')
{
	document.write(unescape("%3Cscript src='images/df/js/jquery-1.8.1.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript" src="images/df/js/df.js"></script>
<script type="text/javascript">
jQuery.noConflict();

jQuery(document).ready(function($) {
    $('.dropDownHook span').on('click', function() {
        $(this).parents('.dropDownHook').children('.dropDownContent').stop(true, true).slideToggle('fast', function() {

            if ($('.dropDownContent').is(':visible')) {
                //  This alters the content of the "hook" when we open the drop down
                $('.dropDownHook span').html('Welcome {$mybb->user['username']} ▲');
            }
            else {
                //  This alters the content of the "hook" when we close the dropdown
                $('.dropDownHook span').html('Welcome {$mybb->user['username']} ▼');
            }

        });
    });
    
    $('html').on('click', function() {
        $('.dropDownContent:visible').slideToggle('fast');
    });

    $('.dropDownHook > *').on('click', function(event) {
        event.stopPropagation();
    });
});
</script>
<link type="text/css" rel="stylesheet" href="cache/themes/global/thanks/thx.css" />
<script type="text/javascript" src="jscripts/thx.js"></script>
{$stylesheets}{$myprofile_headerinclude}
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/df/font/font-awesome.min.css">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/df/font/font-awesome-ie7.min.css">
<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}

<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
	$(".stab_content").hide(); 
	$("ul.stabs li:first").addClass("active").show(); 
	$(".stab_content:first").show();
	$("ul.stabs li").click(function() {
		$("ul.stabs li").removeClass("active"); 
		$(this).addClass("active"); 
		$(".stab_content").hide();
		var activeTab = $(this).find("a").attr("href");
		$(activeTab).fadeIn(); 
		return false;
	});

});
</script>

Much appreciated..
Try this 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" />

{$stylesheets}
<link rel="stylesheet" type="text/css" href="cache/themes/global/thanks/thx.css" />
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/df/font/font-awesome.min.css">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/df/font/font-awesome-ie7.min.css">

<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1800"></script>
<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='' />";
// -->
</script>
<script type="text/javascript" src="images/df/js/df.js"></script>
<script type="text/javascript">
$(function() {
    $('.dropDownHook span').on('click', function() {
        $(this).parents('.dropDownHook').children('.dropDownContent').stop(true, true).slideToggle('fast', function() {

            if ($('.dropDownContent').is(':visible')) {
                //  This alters the content of the "hook" when we open the drop down
                $('.dropDownHook span').html('Welcome {$mybb->user['username']} ▲');
            }
            else {
                //  This alters the content of the "hook" when we close the dropdown
                $('.dropDownHook span').html('Welcome {$mybb->user['username']} ▼');
            }

        });
    });
    
    $('html').on('click', function() {
        $('.dropDownContent:visible').slideToggle('fast');
    });

    $('.dropDownHook > *').on('click', function(event) {
        event.stopPropagation();
    });
});
</script>
<script type="text/javascript" src="jscripts/thx.js"></script>
{$myprofile_headerinclude}
<script type="text/javascript">
$(function() {
    $(".stab_content").hide(); 
    $("ul.stabs li:first").addClass("active").show(); 
    $(".stab_content:first").show();
    $("ul.stabs li").click(function() {
        $("ul.stabs li").removeClass("active"); 
        $(this).addClass("active"); 
        $(".stab_content").hide();
        var activeTab = $(this).find("a").attr("href");
        $(activeTab).fadeIn(); 
        return false;
    });
});
</script>

Are you using a template for the 1.6.x series? I suggest you to use one compatible with the 1.8.x series.
Nope it didn't work and yeah for 1.6x.. I really like the current theme as I bought it and spent a lot of time editing the tabs to my liking..

Any help please~
Thank you man.
It helped also
Still lookin for help T.T
Try to follow this tutorial: Basic 1.6 to 1.8 Theme Upgrading
I'm actually using Tesla Dark ;x

Should I just.. backup my current database and replace 1.8 with 1.6 and upload back my database?
^ No, that doesn't work fine. you have to restore both the files & database of the earlier version.
if you just want to get the editor then you can PM me temporary admin panel access to check & fix
Thanks a lot, sent PM!
as it is a premium theme, I'd suggest to contact theme coder and ask if the theme is converted to MyBB 1.8.x

almost all templates of the theme need updating to have full advantage of MyBB 1.8.x new features
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.

temporarily, you may install a good looking new theme compatible for MyBB 1.8.x and use it
http://community.mybb.com/mods.php?actio...ory=themes