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.
[EDK 4.2+] Replace Top Locations
[EDK 4.2+] Replace Top Locations
- Attachments
-
- replcace_top_locations.zip
- Replace Top Locations v1.0
- (1.89 KiB) Downloaded 329 times
Re: [EDK 4.2+] Replace Top Locations
Thanks !
Re: [EDK 4.2+] Replace Top Locations
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.
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.
Re: [EDK 4.2+] Replace Top Locations
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 (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
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 .=
Best Regards,
Salvoxia
Re: [EDK 4.2+] Replace Top Locations
Awesome.. the dot thing did the trick.
Thanks again!
Thanks again!