Battle.net Integration

AddOn Battle.net Integration [Paid] 2.0.2

Truonglv

♥♥ √εgετα ♥♥
Staff member
Tech Support
Nobita submitted a new resource:

Battle.net Integration - Login/Register using Battle.net account

Important:
When registering an application you can specify a redirect url for that key. This must be a valid HTTPS (SSL-enabled) URL. After a user authorizes themselves on Battle.net's login page we will only redirect them back to this URL.

Dev Battle.net Application Config:
View attachment 932
In the fields: Web Site and Register Callback Url.

The values should be:
Web Site: Should be same on XenForo options Board URL.
Register Callback Url:...

Read more about this resource...
 
Hi, i have an issue when trying to use my char avatar from battle.net .
I have linked my account after registration (not before).

this is the error i have in Admin CP.

Error info:
ErrorException: Fatal Error: syntax error, unexpected T_OBJECT_OPERATOR - library/Nobita/BattleIntegration/ViewPublic/Account/Character.php:8

Stack info:
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Request Status:
array(3) {
["url"] => string(60) "https://www.scarlet-moon.it/account/battle-avatar-characters"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(22) "/members/blackheart.1/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

Thanks
 
Hi, i have an issue when trying to use my char avatar from battle.net .
I have linked my account after registration (not before).

this is the error i have in Admin CP.

Error info:
ErrorException: Fatal Error: syntax error, unexpected T_OBJECT_OPERATOR - library/Nobita/BattleIntegration/ViewPublic/Account/Character.php:8

Stack info:
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Request Status:
array(3) {
["url"] => string(60) "https://www.scarlet-moon.it/account/battle-avatar-characters"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(22) "/members/blackheart.1/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

Thanks
BlackheartRunning admin.php?tools/phpinfo to display PHP version you are using? I think you using lower PHP version :)
 
PHP Version 5.3.29
 
BlackheartOh. I think it is problem. You should update your PHP version to 5.4 or higher.

If you could not do. So open the file.
library/Nobita/BattleIntegration/ViewPublic/Account/Character.php

Find the line:
Code:
$phrase = (new XenForo_Phrase('battle_choose_character'))->render();
Replace to:
PHP:
$phrase = new XenForo_Phrase('battle_choose_character');
$phrase = $phrase->render();
 
Back
Top