MyBB Community Forums

Full Version: The smilie on my forum does'nt work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Why the smilie on my forum doesnt work/clickable and the editor not shown. The smilie and editor show the problem after i install Google translator Huh

I check my editor.js and nothing wrong in there

My Forum
MyBB version 1.6.3

Test account:
username: testing
password: testing

this the screenshot
[attachment=23155]
1. Go to Admin CP > Templates & Style > Templates > Your Template Set > Ungrouped Templates > headerinclude.

2. Find:

<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">google.load('jquery', '1.3.2');</script>

3. Replace with:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>

I have two code like that in the headerinclude, what code i should to replace Huh

Quote:<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" /><script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/grey_out.js"></script><script type="text/javascript">function logout_confirmation(){grayOut(true);if (confirm('Are you sure you want to logout?')){grayOut(false);return true;}else{grayOut(false);return false;}}</script>
<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 src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript">google.load('jquery', '1.3.2');</script><script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.translate-1.4.7.js"></script><script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript">google.load('jquery', '1.3.2');</script><script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.translate-1.4.7.js"></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}
Delete both, and then replace it with the code I gave you above.
(2011-06-24, 03:15 PM)faviouz Wrote: [ -> ]Delete both, and then replace it with the code I gave you above.

Thanks man its work now Big Grin