[EDK4] allicorpstats_page update

Discuss/Upload mods to the EVE-Dev Killboard.
Post Reply
MrRx7
Greenhorn
Posts: 13
Joined: Sun Nov 23, 2008 09:56
Location: Texas
Contact:

[EDK4] allicorpstats_page update

Post by MrRx7 »

I looked but was unable to find the orginal poster of this mod. Its been updated for EDK4 and had its functionality expanded a little bit.

Image

Live Example:
http://www.eve-razor.com/killboard/?a=c ... =741557221

Installation:
1. un-rar into mods folder
2. Enable mod
3. Change limit to your preference

Updates:
1.01 - Patched issue with protected data in class.corporation.php
Attachments
allicorpstats_page.rar
(17.88 KiB) Downloaded 1270 times
Last edited by MrRx7 on Sun Jan 01, 2012 07:32, edited 2 times in total.
doktorrainbow
Noob
Posts: 8
Joined: Wed Dec 28, 2011 08:22

Re: [EDK4] allicorpstats_page update

Post by doktorrainbow »

Hey, good effort there. However, I get this error when trying to use the mod in Crucible 4.0.1

Fatal error: Cannot access protected property Corporation::$id in /home/doktor/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php on line 59
Excaliber
Noob
Posts: 8
Joined: Tue Nov 23, 2010 08:45

Re: [EDK4] allicorpstats_page update

Post by Excaliber »

Yup, I get the same error
PyroTech03
Someday Author
Posts: 78
Joined: Mon Jun 13, 2011 12:21

Re: [EDK4] allicorpstats_page update

Post by PyroTech03 »

just need to make the variable it's asking for public.

EDIT: hrm....well....that's what you would do if you could find that variable it wants >.>
Image
Imuniser
Greenhorn
Posts: 10
Joined: Sat Jun 14, 2008 20:24

Re: [EDK4] allicorpstats_page update

Post by Imuniser »

Yep, same error ...

Cannot access protected property Corporation::$id in /mods/allicorpstats_page/class.allicorpstats.php on line 59

in 4.0.2
MrRx7
Greenhorn
Posts: 13
Joined: Sun Nov 23, 2008 09:56
Location: Texas
Contact:

Re: [EDK4] allicorpstats_page update

Post by MrRx7 »

doktorrainbow wrote:Hey, good effort there. However, I get this error when trying to use the mod in Crucible 4.0.1

Fatal error: Cannot access protected property Corporation::$id in /home/doktor/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php on line 59
Bah my bad I was still using the previous update's class.corporation.php.

EDIT to correct:

Code: Select all

Find Line 59 "$this->corpid->id"
Replace with "$this->corpid->getID()"

Find Line 64 "$corp_id = $this->corpid->id;"
Replace with "$corp_id = $this->corpid->getID();"
For whatever reason its not showing data up correctly for this week, likely due to the year/week/month change. Main post has been updated with newest version
Excaliber
Noob
Posts: 8
Joined: Tue Nov 23, 2010 08:45

Re: [EDK4] allicorpstats_page update

Post by Excaliber »

Works perfectly now, thanks!

I don't suppose you could do one for corp members?

It would be great to have all the stats from Kills onwards for each member.

However I would want this as an admin feature not something that is open to the public.
Imuniser
Greenhorn
Posts: 10
Joined: Sat Jun 14, 2008 20:24

Re: [EDK4] allicorpstats_page update

Post by Imuniser »

It works on 4.0.2 as well.

Thank you! Great mod!
Entaran
Noob
Posts: 6
Joined: Wed Nov 19, 2008 09:39

Re: [EDK4] allicorpstats_page update

Post by Entaran »

Hey RX, How do we modify the Kill_RQ calculated number? If for instance we want it higher or lower.
PyroTech03
Someday Author
Posts: 78
Joined: Mon Jun 13, 2011 12:21

Re: [EDK4] allicorpstats_page update

Post by PyroTech03 »

Getting this error list:

Code: Select all

WARNING [2] Invalid argument supplied for foreach()
Error on line 540 in file /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.8 (Linux), EDK 4.0.1 (Crucible)
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 540, class: EDKError, function: handler
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/mgurley/public_html/killboard/common/index.php, line: 289, function: include
File: /home/mgurley/public_html/killboard/index.php, line: 28, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 543 in file /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.8 (Linux), EDK 4.0.1 (Crucible)
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 543, function: asort
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/mgurley/public_html/killboard/common/index.php, line: 289, function: include
File: /home/mgurley/public_html/killboard/index.php, line: 28, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 545 in file /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.8 (Linux), EDK 4.0.1 (Crucible)
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 545, class: EDKError, function: handler
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/mgurley/public_html/killboard/common/index.php, line: 289, function: include
File: /home/mgurley/public_html/killboard/index.php, line: 28, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 318 in file /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.8 (Linux), EDK 4.0.1 (Crucible)
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 318, class: EDKError, function: handler
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/mgurley/public_html/killboard/common/index.php, line: 289, function: include
File: /home/mgurley/public_html/killboard/index.php, line: 28, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 540 in file /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.8 (Linux), EDK 4.0.1 (Crucible)
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 540, class: EDKError, function: handler
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 383, class: AlliCorpStats, function: subvalSort
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/mgurley/public_html/killboard/common/index.php, line: 289, function: include
File: /home/mgurley/public_html/killboard/index.php, line: 28, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 543 in file /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.8 (Linux), EDK 4.0.1 (Crucible)
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 543, function: asort
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 383, class: AlliCorpStats, function: subvalSort
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/mgurley/public_html/killboard/common/index.php, line: 289, function: include
File: /home/mgurley/public_html/killboard/index.php, line: 28, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 545 in file /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.8 (Linux), EDK 4.0.1 (Crucible)
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 545, class: EDKError, function: handler
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 383, class: AlliCorpStats, function: subvalSort
File: /home/mgurley/public_html/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/mgurley/public_html/killboard/common/index.php, line: 289, function: include
File: /home/mgurley/public_html/killboard/index.php, line: 28, function: include
Image
Post Reply