Battle.net Integration

Battle.net Integration [Paid] 2.0.2

No permission to buy ($18.00)
@Nobita.Kun please fix for the Pandaren. Pandaren Horde list as "no race". Also even though it displays the avatar on the character select. Pandaren still get the low level generic blue avatar.

View attachment 111239

View attachment 111240

Fixed it!

Update character.php

From

Code:
'Worgen',  'Pandaren (Horde)',
        'Pandaren (Neutral)',  'Pandaren (Alliance)'

to:

Code:
'Worgen', 26 => 'Pandaren (Horde)',
       24 => 'Pandaren (Neutral)', 25 => 'Pandaren (Alliance)'

Name and correct armory avatars now show!


View attachment 111246

@Nobita.Kun as requested
 
I noticed thedarklight.eu has the same issue but on my PixelExit theme I had to adjust the battle_xenforo.css sizes from 100% to 50% to make the avatars scale properly on the sign up. I've attached a before and after image.

Code:
.battle_avatar .img.s {
    background-size: 48px 48px;
    background-repeat: no-repeat;
}

.avatar:not(.battle_avatar) > img[src*="eu.battle.net"] {
    width: 50%;
    height: 50%;
}

.avatarScaler img[src*="eu.battle.net"] {
    width: 50%;
    height: 50%;
}


Any way to make this only apply to Avatars on the register page - This seems to resize them across the whole forum :/


EDIT:

.charecter {
height: 96px;
padding: 10px;
}
 
Last edited:
Hello.

I would like to query if this will work with users who want to register with Overwatch as their Battle.net account? Perhaps an ability to pick a hero from a list as their avatar or what have you.

Thank you.
 
Top Bottom