Thank You & Alliance/Corp Data

Help and support in getting the EVE-Dev Killboard to run on your site.
Post Reply
argussorn
Noob
Posts: 3
Joined: Fri May 05, 2017 15:07

Thank You & Alliance/Corp Data

Post by argussorn » Fri May 05, 2017 15:10

First, let me thank you for maintaining this old standard. With zkb "jumping the shark" in terms of noobships, pods, capsules, npc kills, etc.. I find the signal to noise ratio is taking a hit, was happy to install EDK again.

My question/problem is this: everything works fine except alliance details are not pulled. There is no exec, no corp list available, etc.. Any insight?

Anthony

User avatar
Salvoxia
Developer
Posts: 1531
Joined: Wed Feb 22, 2012 12:11

Re: Thank You & Alliance/Corp Data

Post by Salvoxia » Fri May 05, 2017 16:14

Hi,

sounds like trouble with the XML API.
It did have issues a few days ago, but these should be resolved by now.

Could you please check the ACP -> Troubleshooting page for errors and see what cache/api/pheal_error.log says?

Best Regards,
Salvoxia

argussorn
Noob
Posts: 3
Joined: Fri May 05, 2017 15:07

Re: Thank You & Alliance/Corp Data

Post by argussorn » Fri May 05, 2017 17:30

Nah,

I'm a hack and didn't have enough fu to check the troubleshooting before troubleshooting via forums. My cache chmod was set wrong - fixed it.

Thank You.

argussorn
Noob
Posts: 3
Joined: Fri May 05, 2017 15:07

Re: Thank You & Alliance/Corp Data

Post by argussorn » Fri May 05, 2017 19:49

Any way to not show fighter kills on the front page?

User avatar
Salvoxia
Developer
Posts: 1531
Joined: Wed Feb 22, 2012 12:11

Re: Thank You & Alliance/Corp Data

Post by Salvoxia » Fri May 05, 2017 22:14

I'm afraid that requires a file modification:
in common/includes/class.killlist.php, there's a method called setPodsNoobShips:

Code: Select all

public function setPodsNoobShips($flag)
{
    if (!$flag)
    {
        array_push($this->exclude_scl_, ShipClass::$SHIP_CLASS_ID_CAPSULES);
        array_push($this->exclude_scl_, ShipClass::$SHIP_CLASS_ID_NOOBSHIPS);
        array_push($this->exclude_scl_, ShipClass::$SHIP_CLASS_ID_SHUTTLES);
        array_push($this->exclude_scl_, ShipClass::$SHIP_CLASS_ID_MOBILE_WARP_DISRUPTORS);
    }

    if ($flag)
    {
        if (($idx = array_search(ShipClass::$SHIP_CLASS_ID_CAPSULES, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
        if (($idx = array_search(ShipClass::$SHIP_CLASS_ID_NOOBSHIPS, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
        if (($idx = array_search(ShipClass::$SHIP_CLASS_ID_SHUTTLES, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
        if (($idx = array_search(ShipClass::$SHIP_CLASS_ID_MOBILE_WARP_DISRUPTORS, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
    }
}
Replace it with

Code: Select all

public function setPodsNoobShips($flag)
{
    if (!$flag)
    {
        array_push($this->exclude_scl_, ShipClass::$SHIP_CLASS_ID_CAPSULES);
        array_push($this->exclude_scl_, ShipClass::$SHIP_CLASS_ID_NOOBSHIPS);
        array_push($this->exclude_scl_, ShipClass::$SHIP_CLASS_ID_SHUTTLES);
        array_push($this->exclude_scl_, ShipClass::$SHIP_CLASS_ID_MOBILE_WARP_DISRUPTORS);
        array_push($this->exclude_scl_, 49);
    }

    if ($flag)
    {
        if (($idx = array_search(ShipClass::$SHIP_CLASS_ID_CAPSULES, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
        if (($idx = array_search(ShipClass::$SHIP_CLASS_ID_NOOBSHIPS, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
        if (($idx = array_search(ShipClass::$SHIP_CLASS_ID_SHUTTLES, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
        if (($idx = array_search(ShipClass::$SHIP_CLASS_ID_MOBILE_WARP_DISRUPTORS, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
        if (($idx = array_search(49, $this->exclude_scl_)) !== FALSE)
            unset($this->exclude_scl_[$idx]);
    }
}
and make sure not to have "Include Capsules, Shuttles and Noobships in kills" ticked in ACP -> Global Options.

Post Reply

Return to “Support”

Who is online

Users browsing this forum: No registered users and 9 guests