Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/plugins/avatarep.php on line 1102

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
Problemas con el editor de texto
whatever   31 Oct, 2011, 8:26 pm
#1
Bueno tengo problemas con el editor de texto de mi foro no me aparecen las opciones para ayadir bbcodes, solo me aparece el text area.

Aca dejo el headerincluide que puede que ahi este el problema segun lei en otro post aqui con el mismo problema.

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=1601"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1601"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1601"></script>
{$stylesheets}
{$darkrevolutioncss}
{$darkrevmeta}

<script type="text/javascript" src="{$mybb->settings['bburl']}/images/darkrev/theme.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<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" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
    jQuery(function() {    
        jQuery("#slide-in-loginform").click(function () {    
            jQuery('.logintext').animate({
                marginTop: '-50px'
            }, "slow").css('margin-top', '-50px');
        });
    });
</script>

Como solucionaria esto?
Cluster   31 Oct, 2011, 9:37 pm
#2
al parecer tienes conflictos con el codigo jquery que tienes ahi

:)
Omar G.   31 Oct, 2011, 9:41 pm
#3
Tienes dos veces el jQuery, muevelos arriva del general.js de mybb.
Denis G.   31 Oct, 2011, 9:42 pm
#4
Saca un jquery porque lo pusiste dos veces.. acordate de poner jQuery.noConflict(); , no lo vi en eso..

Fijate si te funciona asi:

Código PHP:
<?php 
<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=1601"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1601"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1601"></script>
{
$stylesheets}
{
$darkrevolutioncss}
{
$darkrevmeta}

<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/darkrev/theme.js"></script>
<
script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<
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(function() {
jQuery("#slide-in-loginform").click(function () {
jQuery('.logintext').animate({
marginTop: '-50px'
}, "slow").css('margin-top', '-50px');
});
});
</
script>
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.