1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Other (PAID) Need someone to create an XML block for me

Discussion in 'Custom Service/Development Requests' started by IcEWoLF, May 4, 2013.

  1. IcEWoLF

    IcEWoLF Well-Known Member

    I need someone to create a custom XML block for XenPorta, I need someone that has knowledge with XenPorta and being able to do this.

    PM me.
     
  2. DRE

    DRE Well-Known Member

    Your forum looks dope as hell man. I remember when we were both on vBulletin 4 and your forum looked dope there too.

    What kind of Block?
     
    IcEWoLF likes this.
  3. IcEWoLF

    IcEWoLF Well-Known Member

    Hi Dre, I need to incorporate gametracker.com blocks to my website, basically right now it's HTML, but I don't have enough knowledge in creating an xml block. I gave it a shot but keeps giving me an error telling me it's not valid, I pretty much gave up on it.
     
  4. Russ

    Russ Well-Known Member

  5. DRE

    DRE Well-Known Member

    there is a sample xml block in xenporta already. you have to import it from the extra xml folder.

    for some reason jaxel doesn't include them in the default block setup. you have to manually import them.

    Basically... you already have what you need.
     
  6. IcEWoLF

    IcEWoLF Well-Known Member

  7. IcEWoLF

    IcEWoLF Well-Known Member

    Okay thanks, I will try to give it another go.
    LOL @ Jaxel for making life a little complicated for the noobs. :)
     
  8. Russ

    Russ Well-Known Member

    Wait... are you importing the blocks via the Import Block through Xenporta options? Or are you trying it as a regular add-on. I hope the first answer :D
     
    IcEWoLF likes this.
  9. IcEWoLF

    IcEWoLF Well-Known Member

    Yeah, I am trying to import the block through XenPorta.
     
    Russ likes this.
  10. IcEWoLF

    IcEWoLF Well-Known Member

    Here is the code, please let me know if I made any errors:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <block block_id="Servers" title="Servers" version_string="1.0.0" version_id="1" url="" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="" cache="now">
      <admin_templates/>
      <listeners/>
      <options/>
      <phrases/>
      <route_prefixes/>
      <templates>
        <template title="EWRblock_Servers"><![CDATA[<div class="section">
        <div class="secondaryContent" id="HtmlBlock">
            <h3>The 47 Ronin Servers</h3>
            <div>
              <center><a href="http://www.gametracker.com/server_info/66.151.138.115:27015/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/66.151.138.115:27015/b_560_95_1.png" border="0" width="560" height="95" alt=""/></a></center>
              <br>
              <center><a href="http://www.gametracker.com/server_info/66.151.138.51:27015/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/66.151.138.51:27015/b_560_95_1.png" border="0" width="560" height="95" alt=""/></a></center>
              <br>
              <center><a href="http://www.gametracker.com/server_info/66.151.138.72:27015/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/66.151.138.72:27015/b_560_95_3.png" border="0" width="560" height="95" alt=""/></a></center>
              <br>
              <center><a href="http://www.gametracker.com/server_info/66.151.138.65:27015/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/66.151.138.65:27015/b_560_95_2.png" border="0" width="560" height="95" alt=""/></a></center>
              <br>
            </div>
        </div>
    </div>]]></template>
      </templates>
    </block>
    
     
  11. IcEWoLF

    IcEWoLF Well-Known Member

    Still looking for someone.
    Couldn't get the above to work. :)
     
  12. Russ

    Russ Well-Known Member

    So I used your HTML code and made this block... installed and it works as shown:

    Screenshot_1.png



    Browse to your /admin.php?ewrporta/blocks

    Install Block, select the XML in this zip, then go to your

    /admin.php?ewrporta/layouts/portal/edit

    And add the block there.
     

    Attached Files:

    IcEWoLF likes this.
  13. IcEWoLF

    IcEWoLF Well-Known Member

    Thanks Ross, that did it!
    Not sure what I was doing and why it wasn't working. :)
    Made a contribution over @ Gamerexit!
     
    Russ likes this.

Share This Page