[MOD] Reworked MonthlySummary

Discuss/Upload mods to the EVE-Dev Killboard.
Post Reply
trix12345
Greenhorn
Posts: 16
Joined: Wed Oct 19, 2011 05:17

[MOD] Reworked MonthlySummary

Post by trix12345 » Fri Jun 10, 2016 12:43

Example:
2.jpg
2.jpg (153.08 KiB) Viewed 3380 times
So, as you see, i added a link functional, but it will work for owner corp page only. And added some color features supported by expanded func that have been written by someone of us.If you corp-id is not a '1' change it by yourself.
monthly_summary.rar
(3.01 KiB) Downloaded 108 times
Last edited by trix12345 on Sat Jun 11, 2016 14:10, edited 1 time in total.

anchorhead
Someday Author
Posts: 78
Joined: Thu May 16, 2013 12:48

Re: [MOD] Reworked MonthlySummary

Post by anchorhead » Sat Jun 11, 2016 13:26

Hi,

Can you resolve this error please :
WARNING [2] Invalid argument supplied for foreach()

Error appears when there is no data on pilot/corp/alliance

trix12345
Greenhorn
Posts: 16
Joined: Wed Oct 19, 2011 05:17

Re: [MOD] Reworked MonthlySummary

Post by trix12345 » Sat Jun 11, 2016 14:11

Saw this error, but forgot to solve it, now you can download a new version, ty

anchorhead
Someday Author
Posts: 78
Joined: Thu May 16, 2013 12:48

Re: [MOD] Reworked MonthlySummary

Post by anchorhead » Sat Jun 11, 2016 14:16

Fine, thanks :)

User avatar
Dism0
Active Author
Posts: 145
Joined: Fri Jul 06, 2012 01:42

Re: [MOD] Reworked MonthlySummary

Post by Dism0 » Fri Jun 17, 2016 23:47

im guilty of downloading the previous mod and then disabling it cuz it wasnt pretty enough. ive upgraded and re-enabled mine now. great job.

nefrit
Apprentice
Posts: 56
Joined: Sun Mar 10, 2013 21:10

Re: [MOD] Reworked MonthlySummary

Post by nefrit » Wed Nov 02, 2016 10:19

о7

DEPRECATED [8192] Non-static method MonthlySummary::addCorpDetail() should not be called statically
Error on line 71 in file /var/www/raccoon-company.com/common/includes/class.event.php
PHP 7.0.2 (Linux), EDK 4.2.27.0 (YC-118-9 1.0)
File: /var/www/raccoon-company.com/common/includes/class.event.php, line: 71, class: EDKError, function: handler
File: /var/www/raccoon-company.com/common/corp_detail.php, line: 871, class: event, function: call
File: /var/www/raccoon-company.com/common/index.php, line: 323, function: include
File: /var/www/raccoon-company.com/index.php, line: 25, function: include

DEPRECATED [8192] Non-static method MonthlySummary::show_monthly_summary() should not be called statically
Error on line 80 in file /var/www/raccoon-company.com/common/includes/class.pageassembly.php
PHP 7.0.2 (Linux), EDK 4.2.27.0 (YC-118-9 1.0)
File: /var/www/raccoon-company.com/common/includes/class.pageassembly.php, line: 80, class: EDKError, function: handler
File: /var/www/raccoon-company.com/common/includes/class.pageassembly.php, line: 34, class: pageAssembly, function: call
File: /var/www/raccoon-company.com/common/corp_detail.php, line: 872, class: pageAssembly, function: assemble
File: /var/www/raccoon-company.com/common/index.php, line: 323, function: include
File: /var/www/raccoon-company.com/index.php, line: 25, function: include

User avatar
prometh
Advanced
Posts: 167
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [MOD] Reworked MonthlySummary

Post by prometh » Wed Nov 02, 2016 11:38

This is an issue because you switched to php7 which is more strict in this case. Just open the init.php file in the monthly_summary folder and change all function statements in the Monthly summary class to static function. E.g.

function addCorpDetail($home)

Becomes

static function addCorpDetail($home)

This will eventually occur for other mods as well.

Cheers,
Snitch

nefrit
Apprentice
Posts: 56
Joined: Sun Mar 10, 2013 21:10

Re: [MOD] Reworked MonthlySummary

Post by nefrit » Wed Nov 02, 2016 14:57

YEAH !
Thanks

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 5 guests