(14 Dec, 2011, 4:00 pm)Sama34 escribió: Con 'cargue' la biblioteca significa que la pongas en el header include con html, osea <script.../>
Y claramente el tema esta editado, tienes el FOP, Shoutbox, ...
Sip, meti los codigos del shoutbox y tal, pero me refiero que no modifique nada del template, simplemente añadi el codigo para que apareciera el shoutbox y tal.
He abierto el header include, y he metido el codigo que te dice el tutorial:
Código:
<script type="text/javascript" src="{$mybb->settings['bburl']}/path/to/jquery.js?ver=1603"></script>
<script>
jQuery.noConflict();
</script>
Quedaria algo asi:
Código:
<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']}/path/to/jquery.js?ver=1603"></script>
<script>
jQuery.noConflict();
</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=1603"></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}
<!-- Color Changer JS/CSS -->
<link rel="stylesheet" type="text/css" class="s_color" href="{$mybb->settings['bburl']}/{$theme['imgdir']}/css/blue.css" />
<link rel="stylesheet" type="text/css" class="s_width" href="{$mybb->settings['bburl']}/{$theme['imgdir']}/css/thin.css" />
<script type="text/javascript" language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" language="javascript" src="{$mybb->settings['bburl']}/{$theme['imgdir']}/css/jquery.cookie.js"></script>
<script type="text/javascript">
<!--
jQuery.noConflict();
if(jQuery.cookie("mybb_css_color")) {
jQuery("link.s_color").attr("href",jQuery.cookie("mybb_css_color"));
}
jQuery(document).ready(function() {
jQuery("#controls a.c_color").click(function() {
jQuery("link.s_color").attr("href",jQuery(this).attr('rel'));
jQuery.cookie("mybb_css_color",jQuery(this).attr('rel'), {expires: 365, path: '/'});
return false;
});
});
if(jQuery.cookie("mybb_css_width")) {
jQuery("link.s_width").attr("href",jQuery.cookie("mybb_css_width"));
}
jQuery(document).ready(function() {
jQuery("#controls a.c_width").click(function() {
jQuery("link.s_width").attr("href",jQuery(this).attr('rel'));
jQuery.cookie("mybb_css_width",jQuery(this).attr('rel'), {expires: 365, path: '/'});
return false;
});
});
// -->
</script>
El caso es que sigue sin funcionar, no se si lo hice mal :S