
[EDK4.2] Highlight Capitals
Re: [EDK4.2] Highlight Capitals
okay so maybe i didnt upload the new version with cynocloak support when i thought i had. 

Re: [EDK4.2] Highlight Capitals
would it be difficult to make it fill in with a nice medium blue color instead of lines? 

Re: [EDK4.2] Highlight Capitals
Hi,
sorry for the late reply. Yes, it's very simple.
Highlighting (Super-)Capitals is done via setting special CSS classes for the table rows in question. Just take a look at the css/highlightCapitals.css file in the mod's directory, there you can set as highlight effect whatever you like. Currently it's a tiny image of a line (and a thicker line for supers) that is repeated all over.
Regards,
Salvoxia
sorry for the late reply. Yes, it's very simple.
Highlighting (Super-)Capitals is done via setting special CSS classes for the table rows in question. Just take a look at the css/highlightCapitals.css file in the mod's directory, there you can set as highlight effect whatever you like. Currently it's a tiny image of a line (and a thicker line for supers) that is repeated all over.
Regards,
Salvoxia
Re: [EDK4.2] Highlight Capitals
Updated the opening post with the current maintenance release, fixing problems with PHP7.
Re: [EDK4.2] Highlight Capitals
Force Auxiliaries have they're own ship class, to have them show up as capitals change init.php around line 39:
to:
Cheers,
Snitch
Code: Select all
private static $capitals = array(19, 27, 20, 29, 34, 39);
Code: Select all
private static $capitals = array(19, 27, 20, 29, 34, 39, 51);
Snitch
Re: [EDK4.2] Highlight Capitals
Thanks Snitch,
I updated the mod accordingly and created a new release (v1.2). See OP for download
Best Regards,
Salvoxia
I updated the mod accordingly and created a new release (v1.2). See OP for download

Best Regards,
Salvoxia
Re: [EDK4.2] Highlight Capitals
Hi guys,
a little heads-up: Version 1.2 and prior of this mod is NOT compatible with the EDK 4.2.23.0 For YC-118-5! It is advised to disable it before updating!
I'll release an update later today.
Best Regards,
Salvoxia
a little heads-up: Version 1.2 and prior of this mod is NOT compatible with the EDK 4.2.23.0 For YC-118-5! It is advised to disable it before updating!
I'll release an update later today.
Best Regards,
Salvoxia
Re: [EDK4.2] Highlight Capitals
Updated OP with the new Version restoring compatibility with EDK 4.2.23.0
Re: [EDK4.2] Highlight Capitals
i updated to the latest version of highlight capitals and then updated to the latest version of the killboard but when i disable the highlight capitals mod i'm getting this error on the front page.
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "./themes/default/templates/killlisttable.tpl" on line 53 "<td class="kl-shiptype-text">" unclosed {section} tag' in /home/content/26/11799326/html/kb/common/smarty/sysplugins/smarty_internal_templatecompilerbase.php:441 Stack trace: #0 /home/content/26/11799326/html/kb/common/smarty/sysplugins/smarty_internal_compilebase.php(141): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unclosed {secti...') #1 /home/content/26/11799326/html/kb/common/smarty/sysplugins/smarty_internal_compile_if.php(172): Smarty_Internal_CompileBase->_close_tag(Array) #2 /home/content/26/11799326/html/kb/common/smarty/sysplugins/smarty_internal_templatecompilerbase.php(286): Smarty_Internal_Compile_Ifclose->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #3 /home/content/26/11799326/html/kb/common/smarty/sysplugins/smarty_internal_templatecompilerbase.php(125): Smarty_Internal_TemplateCom in /home/content/26/11799326/html/kb/common/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 441
Re: [EDK4.2] Highlight Capitals
Interesting, haven't seen that.
Could you please try
1) Deleting the complete mod and re-uploading the new version (the new version has less files than the old one, and maybe an old file makes problems here)
2) Clear your cached templates in cache/templates_c
Could you please try
1) Deleting the complete mod and re-uploading the new version (the new version has less files than the old one, and maybe an old file makes problems here)
2) Clear your cached templates in cache/templates_c