Remove this from your 'headerinclude' template:
<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="http://kacuk-ro.com/forum/jscripts/jquery.translate-1.4.7.js"></script>
ACP > Templates & Styles > Templates > (click your theme's template set) > Ungrouped templates > headerinclude.
(2011-06-03, 09:05 PM)Aries-Belgium Wrote: [ -> ]Remove this from your 'headerinclude' template:
<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="http://kacuk-ro.com/forum/jscripts/jquery.translate-1.4.7.js"></script>
ACP > Templates & Styles > Templates > (click your theme's template set) > Ungrouped templates > headerinclude.
Yeah tq sir, already solve... tq so much
Tq for all member here try to help me..
That means i cannot use Google Translate Bar plugin anymore?
Any idea to put Google Translate Bar with another funtion or have other plugin can use the semiliar translate?
You can use it but you've to add no.Conflict() line in the code where the plugin uses Jascript file.
I don't know which you were using, but have you tried this one:
http://mods.mybb.com/view/inline-google-translation
It doesn't seem to use jQuery.
You will need to change compatibility. Open inc/plugin/googletranslate.php and search for this line:
'compatibility' => '14*',
change to:
'compatibility' => '16*',
Yes, Yaldaram is true.. i'm use this translation
http://mods.mybb.com/view/google-translate-bar
(2011-06-03, 09:28 PM)Yaldaram Wrote: [ -> ]You can use it but you've to add no.Conflict() line in the code where the plugin uses Jascript file.
Can tell me the detail where to edit, i'm still learning about coding
For
http://mods.mybb.com/view/google-translate-bar . Deactivate the plugin and make sure the code I posted is remove from your 'headerinclude' template. Now Open /inc/plugins/gootransbar.php and search this line (line 142):
find_replace_templatesets("headerinclude", '#{\$stylesheets}#', "<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}");
And replace it with:
find_replace_templatesets("headerinclude", '#{\$stylesheets}#', "<script src=\"http://www.google.com/jsapi\" type=\"text/javascript\"></script><script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js\"></script><script type=\"text/javascript\">jQuery.noConflict();</script><script type=\"text/javascript\" src=\"{\$mybb->settings['bburl']}/jscripts/jquery.translate-1.4.7.js\"></script>{\$stylesheets}");
And search for (line 156):
find_replace_templatesets("headerinclude", "#<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.5.js\"></script>#", "", 0);
And replace with:
find_replace_templatesets("headerinclude", "#".preg_quote("<script src=\"http://www.google.com/jsapi\" type=\"text/javascript\"></script><script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js\"></script><script type=\"text/javascript\">jQuery.noConflict();</script><script type=\"text/javascript\" src=\"{\$mybb->settings['bburl']}/jscripts/jquery.translate-1.4.7.js\"></script>")."#", "", 0);
Save the file and activate the plugin again.
I haven't tested it so I'm not 100% sure it will work.
Aries-Belgium & Yaldaram..
Awsome... without tested but still know how to fix.. great..
Now i can sleep and dreaming
Thx alot..