Works great on my vb4 forum within forum blocks, just paste as is and it picks up all the class names....but for the life of me can't figure out how to implement it on my vb3 forum....
even tried an iframe to capture it from my vb4 site but all it showed was the raw code.
Works great on my vb4 forum within forum blocks, just paste as is and it picks up all the class names....but for the life of me can't figure out how to implement it on my vb3 forum....
even tried an iframe to capture it from my vb4 site but all it showed was the raw code.
HP User Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in ..../global.php(400) : eval()'d code on line 401
PHP User Warning: include(http://mysite.com/status/consolestatus2.php) [function.include]: failed to open stream: no suitable wrapper could be found in ..../global.php(400) : eval()'d code on line 401
PHP User Warning: include() [function.include]: Failed opening 'http://mysite.com/status/consolestatus2.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in ..../global.php(400) : eval()'d code on line 401
So I'm thinking its a server configuration issue.....
HP User Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in ..../global.php(400) : eval()'d code on line 401
PHP User Warning: include(http://mysite.com/status/consolestatus2.php) [function.include]: failed to open stream: no suitable wrapper could be found in ..../global.php(400) : eval()'d code on line 401
PHP User Warning: include() [function.include]: Failed opening 'http://mysite.com/status/consolestatus2.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in ..../global.php(400) : eval()'d code on line 401
So I'm thinking its a server configuration issue.....
Yeah...I guess, hence the configuration error? Will this work like it should, on vb3, once the file is uploaded to server? Then place $console wherever I want it to show up?
Yeah...I guess, hence the configuration error? Will this work like it should, on vb3, once the file is uploaded to server? Then place $console wherever I want it to show up?
Well lets first make sure it will work on your server.
Put the following in a php file and upload to your server. The only difference is I am echo'ing out the $output and putting everything in between the php tags. If it shows with this then it isn't a server issue. If it doesn't show then we need to make sure that server can use "file_get_contents"
PHP Code:
<?php
error_reporting(E_ERROR);
$PSN_url = 'http://support.us.playstation.com/app/answers/detail/a_id/237/';
$PSNhtml = file_get_contents($PSN_url);
$PSNdom = new DOMDocument();
@$PSNdom->loadHTML($PSNhtml);
$PSNxpath = new DOMXPath($PSNdom);
//PSN Status
foreach ($PSN_rows as $PSN_object){
$PSNstatus = $PSN_object->childNodes->item(0)->nodeValue;
}
$PSNstatus = str_replace('PSN Status:', '', $PSNstatus);
$XBOX_url = 'http://support.xbox.com/en-US/xbox-live-status';
$XBOXhtml = file_get_contents($XBOX_url);
$XBOXdom = new DOMDocument();
@$XBOXdom->loadHTML($XBOXhtml);
$XBOXxpath = new DOMXPath($XBOXdom);
//Xbox Social And Gaming
$XBOXSocialAndGaming_query = "/html/body[@id='DocumentBody']/div[@id='bodycolumn']/div[@id='BodyContent']/div[@class='liveStatusPage']/div[2]/ul[@class='core']/li[@id='SocialandGaming']/div[@class='item']/h3";
$XBOXSocialAndGaming_rows = $XBOXxpath->query($XBOXSocialAndGaming_query);
//Xbox Social And Gaming loop
foreach ($XBOXSocialAndGaming_rows as $XBOXSocialAndGaming_object){
$XBOXSocialAndGamingStatus = $XBOXSocialAndGaming_object->childNodes->item(1)->nodeValue;
}
//Xbox Live Core Services
$XBOXLiveCore_query = "/html/body[@id='DocumentBody']/div[@id='bodycolumn']/div[@id='BodyContent']/div[@class='liveStatusPage']/div[2]/ul[@class='core']/li[@id='XboxLiveCoreServices']/div[@class='item']/h3";
$XBOXLiveCore_rows = $XBOXxpath->query($XBOXLiveCore_query);
//Xbox Live Core Status
foreach ($XBOXLiveCore_rows as $XBOXLiveCore_object){
$XBOXLiveCoreStatus = $XBOXLiveCore_object->childNodes->item(1)->nodeValue;
}
Thanks Andrew
The owner is traveling so I just tried the <iframe src from my server and works perfectly....I would give you another like but it seemed I exceeded the limit of giving you "luvin's" ---(no homo). Anyways just using the iframe to get the stylings correct ...then I'll have owner upload to server.
Thanks Andrew
The owner is traveling so I just tried the <iframe src from my server and works perfectly....I would give you another like but it seemed I exceeded the limit of giving you "luvin's" ---(no homo). Anyways just using the iframe to get the stylings correct ...then I'll have owner upload to server.