MyBB Community Forums

Full Version: MyCode Editor missing!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2014-09-02, 05:47 PM)HappyPeoples Wrote: [ -> ]ekoice, you're a great buddy. i did convert the original to headerinclude. editor now available. the problem is gone.  thank you very much. +rep Rolleyes

You welcome , glad i can help
this worked for me
go to ur theme templates
ungrouped templates and revert the "codebuttons" templates to original
that should work
PS: better make a backup first before u edit
(2014-10-20, 07:57 PM)subzr1 Wrote: [ -> ]this worked for me
go to ur theme templates
ungrouped templates and revert the "codebuttons" templates to original
that should work
PS: better make a backup first before u edit

Thanks, this worked for me 100%. I never had the noConflict() issue in headerinclude, so I had no idea what was going on!
(2014-09-02, 01:18 PM)ekoice Wrote: [ -> ]
(2014-09-02, 08:16 AM)HappyPeoples Wrote: [ -> ]when i upgrade to version 1.8 in my forum editor has disappeared. please, what is the solution?

this can happen if you have custom javascripts that can be in conflict with the one that 1.8 has them.

look in "headerinclude" of your template
this:

<script type=text/javascript>
jQuery.noConflict();
</script>
 is not needed anymore ("at least for me")



If i change to original forum theme get massy, all image is missing and font is not work
this is my original 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" />
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,200italic,400italic,600italic' rel='stylesheet' type='text/css'>
<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=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/prototype.js"></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" src="images/revolution/jquery-ui.js"></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='' />";
// -->
</script>
^ basically prototype.js code needs to be removed
(2015-08-02, 04:27 AM).m. Wrote: [ -> ]^ basically prototype.js code needs to be removed

How can i remove that?

Thank you, figured out. working
Pages: 1 2