[Herocraft Development ] Minecraft Server Status Block [Paid] [Deleted]

@shadrxninga this is not working as a widget with XenPorta 2
The PHP file has been placed in the new EWRPorta2 widget folder, and the xml in the xml folder.

Upon trying to add this widget I get

Uji65IP.png

Edit: After a bit of work, I'm finally able to install it as a widget, but still not able to get it to display.

Here are my edits that install perfectly fine and add the widget perfectly fine, just not able to get the widget showing after adding to the article layout:


MinecraftServerStatus.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<widget widget_id="MinecraftServerStatus" widget_title="Minecraft Server Status" widget_desc="Displays Minecraft server status" widget_string="2.2.0-b2" widget_version="1" widget_url="http://shadrx.com" widget_install_class="" widget_install_method="" widget_uninstall_class="" widget_uninstall_method="" cache="now">
  <listeners/>
  <options/>
  <phrases/>
  <templates>
  <template title="EWRwidget_MinecraftServerStatus"><![CDATA[<xen:require css="wf_default.css" />
<xen:require css="herodev_minecraftstatus_widget_status.css" />

<xen:if hascontent="true">
<div class="section minecraftServerStatus">
   <div class="secondaryContent">
   <h3>Minecraft Server Status</h3>
   <xen:contentcheck>
   <xen:foreach loop="$MinecraftServerStatus" value="$minecraftServer">
     <xen:if is="{$minecraftServer.online}">
       <div class="minecraftServer online">
        <h4 class="minorHeading">{$minecraftServer.name}</h4>

        <div class="info">
          <span class="prefix prefixLightGreen">{$minecraftServer.numplayers}/{$minecraftServer.maxplayers}</span>
        </div>

        <xen:if is="{$minecraftServer.playerList}">
          <div class="playerList">
             <xen:foreach loop="$minecraftServer.playerList" key="$key" value="$player" i="$i">
                 <a {$player.profileLink} class="MinecraftAvatar avatar"><img width="18" height="18" data-offsetx="-8px" class="Tooltip" title="{$player.username}" src="https://minotar.net/avatar/{$player.username}/30.png"/></a>
             </xen:foreach>
          </div>
        </xen:if>

        <p class="lastUpdated">Last Updated: <xen:datetime time="{$minecraftServer.last_query_date}" class="faint"/></p>
       </div>
      <xen:else />
        <div class="minecraftServer offline">
         <h4 class="minorHeading"> {$minecraftServer.name}</h4>

          <div class="info">
            <span class="prefix prefixRed">Offline</span>
          </div>

         <p class="lastUpdated">Last Updated: <xen:datetime time="{$minecraftServer.last_query_date}" class="faint"/></p>
        </div>
      </xen:if>
   </xen:foreach>
   </xen:contentcheck>
   </div>
</xen:if>]]></template>
  </templates>
</widget>

MinecraftServerStatus.php
Code:
<?php

class EWRporta2_Widget_MinecraftServerStatus extends XenForo_Model
{
   public function getBypass()
   {
  $minecraftServerModel = $this->_getMinecraftServerModel();

  //Get all active minecraft servers from the database
  $minecraftServers = $minecraftServerModel->prepareMinecraftServers($minecraftServerModel->getAllActiveMinecraftServers());

     return $minecraftServers;
   }


  /**
  * Creates and returns the minecraft server model
  * @return HeroDev_MinecraftStatus_Model_MinecraftServer
  */
  protected function _getMinecraftServerModel(){
  return $this->getModelFromCache('HeroDev_MinecraftStatus_Model_MinecraftServer');
  }
}
The developer has been MIA for a while. :/
 
Important Notice about the future of this add-on.
I no longer have time and haven't for a while to be able to give the support and attention to make this add-on it worthy of being worth money.

So... first off - I apologise for not replying to this thread and for not giving an update like this earlier, it wasn't the right thing to do. For people who have purchased this add-on recently, I'm willing to give a refund out if you want it. See below.

Secondly, I've decided to make the add-on free :).

Lastly, I am still planning to update this to XenPorta 2.0 and iron out a few issues the current version has but I cannot give an ETA or make any promises. I will however be releasing it under the MIT license and open sourcing it so if anyone wants to create their own fork and update it and even rerelease it themselves, they can. More on that in the future.

Refunds for recent purchases
My support and attention to this add-on has been poor at best over the last year. So, if you have bought the add-on within the last 12 months (15th June 2014 inclusive - 15th June 2015 inclusive). I'm willing to refund you the full amount via Paypal minus the fees it takes to send the refund. Send me a PM or flick me an email at shadrxninga@gmail.com.

Alerts for some people who have recently replied to this thread.
@andrewkm, @jflory7, @lynxwolf , @Bas D, @haincha, @Okane, @malachiel, @sambish20
 
Hi,

I just tried to download this however it seems to not have the files. http://prntscr.com/7h5oxo, but rather just a readme.txt.

If this is something you can look into fixing (just the download files), that would be great.

Thanks for making this free by the way.
 
Hi,

I just tried to download this however it seems to not have the files. http://prntscr.com/7h5oxo, but rather just a readme.txt.

If this is something you can look into fixing (just the download files), that would be great.

Thanks for making this free by the way.
Ah, sorry about that! Thanks for letting me know, I'd uploaded the wrong file. I should have uploaded the right one now so try again :).

And no problem! Just be aware that it won't work with XenPorta 2.0 and I may not be able to reply to support requests in a timely fashion (I will try and reply though if I can :) ).
 
Important Notice about the future of this add-on.
I no longer have time and haven't for a while to be able to give the support and attention to make this add-on it worthy of being worth money.

So... first off - I apologise for not replying to this thread and for not giving an update like this earlier, it wasn't the right thing to do. For people who have purchased this add-on recently, I'm willing to give a refund out if you want it. See below.

Secondly, I've decided to make the add-on free :).

Lastly, I am still planning to update this to XenPorta 2.0 and iron out a few issues the current version has but I cannot give an ETA or make any promises. I will however be releasing it under the MIT license and open sourcing it so if anyone wants to create their own fork and update it and even rerelease it themselves, they can. More on that in the future.

Refunds for recent purchases
My support and attention to this add-on has been poor at best over the last year. So, if you have bought the add-on within the last 12 months (15th June 2014 inclusive - 15th June 2015 inclusive). I'm willing to refund you the full amount via Paypal minus the fees it takes to send the refund. Send me a PM or flick me an email at shadrxninga@gmail.com.

Alerts for some people who have recently replied to this thread.
@andrewkm, @jflory7, @lynxwolf , @Bas D, @haincha, @Okane, @malachiel, @sambish20
Thanks for the update. For now, I'm still using XenPorta 1.0 and see no reason to move yet until this add-on is updated. Since I've used this add-on as intended since I purchased it, I see no reason to request a refund.

Hope to see a release for 2.0 in the near future.
 
Thought's on open sourcing it and letting someone else take it over? I'm happy with that - like I said in the post above:

I will however be releasing it under the MIT license and open sourcing it so if anyone wants to create their own fork and update it and even rerelease it themselves, they can.

I'll post another update here with the Github link when I get the chance.
 
I've just moved to XenPorta2 and realised this isn't updated to use xenporta 2 yet, shame :(.

Anyone want to update it to support xenporta2?
 
Last edited:
Hello! I Just pressed "Buy now for 0.01USD", i get direct download. I didn't paid anything, can I sent money to you wit paypal or something, please sent me PM if you ask for money.

I think something is wrong.
 
Hello! I Just pressed "Buy now for 0.01USD", i get direct download. I didn't paid anything, can I sent money to you wit paypal or something, please sent me PM if you ask for money.

I think something is wrong.

From the main page:
Important Notice
This add-on if now free! It says 0.01USD but clicking on that link will download the add-on. I've sent a PM to the XenForo staff to see if I can convert the resource to a free one.

The reason is that I now no longer have time to be able the support and attention to make it worthy of being up to that standard.
 
From the main page:
Important Notice
This add-on if now free! It says 0.01USD but clicking on that link will download the add-on. I've sent a PM to the XenForo staff to see if I can convert the resource to a free one.

The reason is that I now no longer have time to be able the support and attention to make it worthy of being up to that standard.
Ok, thanks. I'll learn to read :D
 
Top Bottom