XF 2 Xbox Live Leaderboard


Hi all,

So there's no active working Xbox Leaderboard, however the cloest is from TACTICS using XBL.IO.

I actually found a beta release on the discord server (only alpha listed on here) but he closed channel down to reply in as no longer supported.

From a forum stand point it works fine, as it shows on nav bar and all pages work.

The problem comes when connecting accounts. It pops up to authorise with Xbox Live but then XF gives an error.

I could be wrong but my guess is his Provider/OpenXBL.php and ProviderData/OpenXBL.php need modifying to the 2.1 code from the 2.0 code. (If it's little changes I'll give it a go editing myself but not super savvy on XF coding.)

Is there anyone who can help develop or help me get these 2 files working please?


The error from XF is: An unexpected error occurred. Please try again later.

ACP Server log shows:
TypeError: Argument 3 passed to GuzzleHttp\Client::request() must be of the type array, bool given, called in /home/philc774/public_html/src/vendor/guzzlehttp/guzzle/src/Client.php on line 89

Generated by: Unknown account
Aug 7, 2021 at 1:28 AM

Stack trace​

#0 src/vendor/guzzlehttp/guzzle/src/Client.php(89): GuzzleHttp\Client->request('setDefaultOptio...', 'verify', false)
#1 src/addons/OpenXBL/ConnectedAccount/Provider/OpenXBL.php(119): GuzzleHttp\Client->__call('setDefaultOptio...', Array)
#2 src/addons/OpenXBL/ConnectedAccount/Provider/OpenXBL.php(95): OpenXBL\ConnectedAccount\Provider\OpenXBL->requestAccessToken(Object(XF\ConnectedAccount\Storage\StorageState), 'M.R3_BL2.5cf8ab...')
#3 connected_account.php(58): OpenXBL\ConnectedAccount\Provider\OpenXBL->requestProviderToken(Object(XF\ConnectedAccount\Storage\StorageState), Object(XF\Http\Request), NULL, true)
#4 {main}

Request state​

array(4) {
["url"] => string(73) "/connected_account.php?code=M.R3_BL2.5cf8abb3-30c6-b5c5-dda8-315d37fe69ac"
["referrer"] => string(30) "https://www.philcanavan.co.uk/"
["_GET"] => array(1) {
["code"] => string(45) "M.R3_BL2.5cf8abb3-30c6-b5c5-dda8-315d37fe69ac"
["_POST"] => array(0) {
Here's referring to this, which was only an alpha, but apparently the dev released an update through Discord. It would be very cool if we could integrate Xbox and other gaming accounts with XenForo.

Top Bottom