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

.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

<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!
Colaboradores
KeeZ
This forum uses Lukasz Tkacz MyBB addons.