Viewing 1 replies (of 1 total)
  • Thread Starter kiwipearls

    (@kiwipearls)

    I am not very good at coding

    Current code is:

    // 3D Armory flash object
    						if( $display_3darmory )
    						{
    							$display_3darmory_width = empty( $display_3darmory_width ) ? 150 : $display_3darmory_width;
    							$display_3darmory_height = empty( $display_3darmory_height ) ? 150 : $display_3darmory_height;
    							// eu,us,tw,kr,cn
    							$zone = $rt == 'www' ? 'us' : $rt;
    							$this -> content .= "<div class=\"3darmory_object\">";
    							$this -> content .= "<script type=\"text/javascript\" src=\"http://www.3darmory.com/api/toon/$zone/$server/$character/$display_3darmory_width/$display_3darmory_height\"></script>";
    							$this -> content .= "</div>";
    							$this -> content .= "\n<style type=\"text/css\">.toon_layer a { display:none }</style>\n";
    						}

    My attempt at modifying is:

    // 3D Armory flash object
    						if( $display_3darmory )
    						{
    						$display_3darmory_width = empty( $display_3darmory_width ) ? 150 : $display_3darmory_width;
    							$display_3darmory_height = empty( $display_3darmory_height ) ? 150 : $display_3darmory_height;
    							// eu,us,tw,kr,cn
    							$zone = $rt == 'www' ? 'us' : $rt;
    							$this -> content .= "<div class=\"3darmory_object\">";
    							$this -> content .= "<iframe src=\"http://www.wowarmory.com/character-model-embed.xml?r=$server&cn=$character&rhtml=true" scrolling=\"no" height=\"$display_3darmory_height" width=\"$display_3darmory_width" frameborder=\"0"\"></iframe>";
    							$this -> content .= "</div>";
    							$this -> content .= "\n<style type=\"text/css\">.toon_layer a { display:none }</style>\n";
    							}

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WoW-Character-Display] Use WoW Armoury 3d image instead of 3dArmory’ is closed to new replies.