[EDK 4.2+] Replace Top Locations

Discuss/Upload mods to the EVE-Dev Killboard.
Post Reply
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

[EDK 4.2+] Replace Top Locations

Post by Salvoxia » Wed May 11, 2016 16:51

Hi,

I quickly threw together this mod on the request of a community member (\o nefrit). It simply replaces the Top Locations top list on the Front Page with the Top Solokillers toplist (and a Top 1on1 losers toplist when viewing losses). That's all.

Best Regards,
Salvoxia

Installation: Upload the folder in the zip-File to your mods directory an enable the mod in ACP -> Modules. You might have to clear your cached templates.
Attachments
replcace_top_locations.zip
Replace Top Locations v1.0
(1.89 KiB) Downloaded 243 times

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

Re: [EDK 4.2+] Replace Top Locations

Post by nefrit » Sat May 14, 2016 13:22

Thanks !

Eek
Someday Author
Posts: 73
Joined: Fri Dec 17, 2010 00:20

Re: [EDK 4.2+] Replace Top Locations

Post by Eek » Wed May 18, 2016 01:50

Another small, but awesome mod, thanks Salvoxia!

BTW, is it possible to shift the positions of these toplists / awardboxes around? I'd like topscorers, then solokilles and then topkillers, but just changing the order of the toplists in the init.php file didn't work.

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

Re: [EDK 4.2+] Replace Top Locations

Post by Salvoxia » Wed May 18, 2016 12:48

Hi,

when looking carefully in init.php you can make out separate blocks for each top list (each block begins with the appropriate comment, e.g. // Top scorers). Each block ends with a line assigning some value to $html.

When shifting around you need to make sure that
1) you shift complete blocks
2) the last line of the block begins with

Code: Select all

$html .=
(notice the dot before the equals sign; the first block doesn't have that dot, making everything that comes before this block invalid).

Best Regards,
Salvoxia

Eek
Someday Author
Posts: 73
Joined: Fri Dec 17, 2010 00:20

Re: [EDK 4.2+] Replace Top Locations

Post by Eek » Thu May 19, 2016 00:04

Awesome.. the dot thing did the trick.

Thanks again!

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 6 guests