[EDK4] allicorpstats_page update

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

[EDK4] allicorpstats_page update

Post by MrRx7 » Thu Dec 29, 2011 03:31

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 807 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 » Fri Dec 30, 2011 14:38

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 » Fri Dec 30, 2011 17:34

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 » Sat Dec 31, 2011 10:07

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 » Sat Dec 31, 2011 21:34

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 » Sun Jan 01, 2012 07:30

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 » Sun Jan 01, 2012 08:24

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 » Sun Jan 01, 2012 09:11

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 » Fri Jan 06, 2012 08:08

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 » Fri Jan 06, 2012 11:48

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

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 5 guests