The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Building a plugin need help
I would like to build a plugin based on the following code
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."\">"; doesnt matter where i add {vb:raw wowapi} |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|