vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - gXboxLive - Xbox Live Leaderboard (https://vborg.vbsupport.ru/showthread.php?t=243493)

tandalier 07-14-2012 08:25 AM

you are my hero. was searching for months how to fix this problem and you solved it. Don't know how to thank you :-)





Quote:

Originally Posted by weem (Post 2339073)
I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:

Code:

function gxbl_simple_get_xml($url)
        {
       
        $ch = curl_init($url);
        $html = fopen("example_htmlpage.html", "w");

        curl_setopt($ch, CURLOPT_FILE, $html);
        curl_setopt($ch, CURLOPT_HEADER, 0);
        curl_exec($ch);
        curl_close($ch);
        fclose($html);
       
                if ($html)
                {
                        $xml = simplexml_load_file('example_htmlpage.html');
                        return gxbl_object_to_array($xml->body->div);
                }
                else
                {
                        return false;
                }
        }

That fixed it for me - its working fine on my site again now.


insidegames 07-23-2012 05:06 PM

Quote:

Originally Posted by weem (Post 2339073)
I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:

Code:

function gxbl_simple_get_xml($url)
        {
       
        $ch = curl_init($url);
        $html = fopen("example_htmlpage.html", "w");

        curl_setopt($ch, CURLOPT_FILE, $html);
        curl_setopt($ch, CURLOPT_HEADER, 0);
        curl_exec($ch);
        curl_close($ch);
        fclose($html);
       
                if ($html)
                {
                        $xml = simplexml_load_file('example_htmlpage.html');
                        return gxbl_object_to_array($xml->body->div);
                }
                else
                {
                        return false;
                }
        }

That fixed it for me - its working fine on my site again now.

doesn't works for me on 4.2

UK CHI3F 08-01-2012 10:33 AM

i have a member without any gamerscore will they appear on gxboxlive

http://www.xboxplayers.co.uk/site/gx...=getall&page=6

ShawnMTierney 08-04-2012 02:11 PM

Quote:

Originally Posted by weem (Post 2339073)
I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:

Code:

function gxbl_simple_get_xml($url)
        {
       
        $ch = curl_init($url);
        $html = fopen("example_htmlpage.html", "w");

        curl_setopt($ch, CURLOPT_FILE, $html);
        curl_setopt($ch, CURLOPT_HEADER, 0);
        curl_exec($ch);
        curl_close($ch);
        fclose($html);
       
                if ($html)
                {
                        $xml = simplexml_load_file('example_htmlpage.html');
                        return gxbl_object_to_array($xml->body->div);
                }
                else
                {
                        return false;
                }
        }

That fixed it for me - its working fine on my site again now.

THAT DID IT! (I'm running 4.12) You Rock!!! :up: :up: :up:

ShawnMTierney 08-04-2012 02:44 PM

Quote:

Originally Posted by Robbed (Post 2168857)
Plugin manager - disable gXBL: vB4 Tab Item

Thanks!!! I was looking for how to remove the navbar!

ShawnMTierney 08-05-2012 10:55 PM

Quote:

Originally Posted by nando99 (Post 2305385)
brand new vb install, 1 of the first mods installed and i cant get it to work

Fatal error: Call to undefined function gxbl_has_access() in /home/content/99/5870299/html/digitalnoob/forums/gxboxlive.php on line 64

I've searched this thread and tried the latest xml to install and even reuploaded a few times...

Any help is appreciated


Quote:

Originally Posted by ultimategeek (Post 2305029)
great Mod but i do have a small problem:
when i click the Xbox tab i get this message:

Fatal error: Call to undefined function gxbl_has_access() in /home/ultim939/public_html/gxboxlive.php on line 64

what have i done wrong?

Thanks for any help


Quote:

Originally Posted by Martyn1983 (Post 2050285)
Hi,

Have tried your fix and I get the following:

Fatal error: Call to undefined function gxbl_has_access() in /home/martyn83/public_html/fiat/upload/gxboxlive.php on line 58

Any ideas?

I was also getting this error, but then I realized I had forgotten to do step four of the installation (below.) Once I did it the error went away:

Quote:

Fill in the gXboxLive configuration options, make sure to enter the field id for the newly created Xbox profile field above.

kid101skater 08-17-2012 08:14 PM

Noticing the background of "Reputation" is missing...
<th>Reputation</th>
while others have...
class="blocksubhead" style="text-align:center;">

GamerPerfection 08-18-2012 04:33 AM

I take it no-ones still had any luck in producing a PS3 leaderboard? :(

CDCent 09-04-2012 05:49 AM

does this work for 4.2 because i've done every one of the fixes in this thread and to no avail.

insidegames 09-07-2012 07:30 PM

I had always the error

DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php (Zeile 407)


All times are GMT. The time now is 09:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02612 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete