( ! ) 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.0001382224{main}( ).../showthread.php:0
20.0001407152require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00461737048pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00461737080google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00481737832preg_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.0001382224{main}( ).../showthread.php:0
20.0001407152require_once( '/var/www/mybb-es.com/global.php ).../showthread.php:28
30.00461737048pluginSystem->run_hooks( $hook = 'global_start', $arguments = ??? ).../global.php:100
40.00461737080google_seo_redirect_hook( '' ).../class_plugins.php:142
50.00501738712parse_str( $string = NULL, $result = NULL ).../redirect.php:315
Small buttons below avatar as MyBB-Es

Small buttons below avatar as MyBB-Es
Hi, I would like to know if there is a tutorial (or how you do you) for small buttons that are under the avatar, in the user profile (country, gender...

Hi, I would like to know if there is a tutorial (or how you do you) for small buttons that are under the avatar, in the user profile (country, gender, about his forum), as here on MyBB-Es.

I would put inside those buttons: url of the forum, send pm, search user's posts.

Thank you in advance!
First you need create Your custom profile fields like Country, Gender.

After...

Add This to global.css

Código:
.pbbox {
    background: url(images/trow_shadow.png) repeat-x scroll left bottom #FFFFFF;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 1em #B6B6B6;
    font-family: Tahoma;
    font-size: 11px;
    font-weight: normal;
    margin-bottom: 3px;
    padding: 6px 5px 5px;
    text-align: left;
    width: 92%;
}

after ad this to "postbit" or "postbit_classic" temaplate

Código:
<div class="pbbox"><center><a href="{$post['fid1']}" title="Country" class="pbbox"><img src="images/yourtheme/flags/{$post['fid1']}.png" al="" title="Country {$post['fid1']}" /></a><a href="{$post['fid3']}" title="Sexo" class="pbbox"><img src="images/yourtheme/{$post['fid3']}.png" al="" title="Gender {$post['fid3']}" /></a></a><a href="{$post['fid8']}" title="Especiality" class="pbbox"><img src="images/yourtheme/{$post['fid8']}.png" al="" title="Hi my name is {$post['username']} and i'm {$post['fid8']}" /></a></center></div>

You need edit This:
  • Links

Like this: <img src="images/yourtheme/flags/
  • Format image

Like this: {$post['fid3']}.png

You can change this with your format like .gif .jpg
  • Custom profile fields

You need edit the number of custom profile fields like: {$post['fid8']}

8 is the number you need edit that.

Original post in spanish: Link

Sorry for my english. (Is basic) Big Grin!