demo7up
09-06-2012, 11:22 AM
I would like to build a plugin based on the following code
$json = file_get_contents("http://us.battle.net/api/wow/character/Shattered%20Hand/". $vbulletin->userinfo['username']."?fields=guild,items,professions,reputation,stats", true);
$decode = json_decode($json, true);
$name = " ". $decode[name] ."";
$realm = " ". $decode[realm] ."";
$ailevel = " ". $decode[items][averageItemLevel] ."";
$aeilevel = " ". $decode[items][averageItemLevelEquipped] ."";
$helm = " ". $decode[items][head][name] ."";
$Thumbnail = "". $decode[thumbnail] ."";
$guild_name = " ". $decode[guild][name] ."";
echo "<img src=\"http://us.battle.net/static-render/us/".$Thumbnail."\">";
It loads sucessfully but all the way at the top of the forum and pushes the board down.
doesnt matter where i add {vb:raw wowapi}
$json = file_get_contents("http://us.battle.net/api/wow/character/Shattered%20Hand/". $vbulletin->userinfo['username']."?fields=guild,items,professions,reputation,stats", true);
$decode = json_decode($json, true);
$name = " ". $decode[name] ."";
$realm = " ". $decode[realm] ."";
$ailevel = " ". $decode[items][averageItemLevel] ."";
$aeilevel = " ". $decode[items][averageItemLevelEquipped] ."";
$helm = " ". $decode[items][head][name] ."";
$Thumbnail = "". $decode[thumbnail] ."";
$guild_name = " ". $decode[guild][name] ."";
echo "<img src=\"http://us.battle.net/static-render/us/".$Thumbnail."\">";
It loads sucessfully but all the way at the top of the forum and pushes the board down.
doesnt matter where i add {vb:raw wowapi}