( ! ) Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/inc/plugins/google_seo/redirect.php on line 298
Call Stack
#TimeMemoryFunctionLocation
10.0002378408{main}( ).../showthread.php:0
20.0002403336require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00551727632pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00551727664google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00571728384preg_replace( $pattern = '/\\?([^&?=]+)([=&])/u', $replacement = '&$1$2', $subject = NULL ).../redirect.php:298

( ! ) Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/mybb-es.com/inc/plugins/google_seo/redirect.php on line 315
Call Stack
#TimeMemoryFunctionLocation
10.0002378408{main}( ).../showthread.php:0
20.0002403336require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00551727632pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00551727664google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00601729264parse_str( $string = NULL, $result = NULL ).../redirect.php:315
Avatares circulares

Avatares circulares
Hola He estado intentando que los avatares se vean circulares, seguí el tutorial http://community.mybb.com/thread-166378.html pero sigo sin consegui...

Hola

He estado intentando que los avatares se vean circulares, seguí el tutorial http://community.mybb.com/thread-166378.html pero sigo sin conseguirlo.

Intente añadiendo un <div class="author_avatar"> en el postbit y no funciono, también intente con añadirlo en la plantilla de postbit_avatar y tampoco.

Aquí el código que utilice en postbit_avatar

Código:
<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$post['avatar']}" alt="" {$avatar_width_height} /></a></div>

Aquí el area donde aparece el código del avatar en el postbit

Código:
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
        <span class="smalltext"><br />
            {$post['useravatar']}<br />
{$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}

           
</div>

No sé que sucede la verdad, espero puedan echarme una mano.

Gracias por su tiempo Smile
Última modificación: 28 Apr, 2015, 5:06 pm por AndresXZ09.
Es porque tenes que poner en tu css img
Código PHP:
<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$post['avatar']}alt="" {$avatar_width_height} /></a></div

Código PHP:
.author_avatar {
    
border-radius100%;
}
.
author_avatar img {
    
border-radius100%;

[Imagen: https://31.media.tumblr.com/b9f3b87cfcc8...r1_500.gif]
Claro que lo había puesto, de hecho lo puse en todos los estilos.

Al final lo solucione agregando style="border-radius: 50%;" Tongue