[EDK4/EDK4.2] Cyno/Cloak Mod for the killlisttable

Discuss/Upload mods to the EVE-Dev Killboard.
leecraven
Greenhorn
Posts: 23
Joined: Sun Feb 06, 2011 10:26

Re: [EDK4] Cyno/Cloak Mod for the killlisttable

Post by leecraven » Mon Jul 30, 2012 12:55

OK has something gone from this mod regarding install instructions? I installed a fresh killboard, uploaded the mod, enabled and it doesn't show anything (cyno/cloak enabled), any help please? Latest KB revision and CCP DB dump.

Tyranero
Apprentice
Posts: 46
Joined: Sat Sep 10, 2011 14:41

Re: [EDK4] Cyno/Cloak Mod for the killlisttable

Post by Tyranero » Wed Aug 08, 2012 09:39

leecraven wrote:OK has something gone from this mod regarding install instructions? I installed a fresh killboard, uploaded the mod, enabled and it doesn't show anything (cyno/cloak enabled), any help please? Latest KB revision and CCP DB dump.
I forgot to include the killlisttable.tpl file... The first post is updated with v0.5 where the file is included again, as well as some updated install instructions.

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

Re: [EDK4] Cyno/Cloak Mod for the killlisttable

Post by Dism0 » Fri Aug 31, 2012 06:06

works great! thanks!

User avatar
szemy
Greenhorn
Posts: 10
Joined: Tue Mar 24, 2009 14:21

Re: [EDK4] Cyno/Cloak Mod for the killlisttable

Post by szemy » Sun May 12, 2013 12:52

Donbt work in previous mounth page css lost
Do not load cynoCloak css in previous mounth page .. please help

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

Re: [EDK4/EDK4.2] Cyno/Cloak Mod for the killlisttable

Post by Salvoxia » Sat Apr 19, 2014 22:35

I added version 0.6 for EDK 4.2 to the OP. For earlier EDK versions use version 0.5.

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

Re: [EDK4/EDK4.2] Cyno/Cloak Mod for the killlisttable

Post by Dism0 » Sat Apr 26, 2014 08:37

delete
Last edited by Dism0 on Sun Oct 05, 2014 22:44, edited 1 time in total.


Image

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

Re: [EDK4/EDK4.2] Cyno/Cloak Mod for the killlisttable

Post by Salvoxia » Sat Apr 26, 2014 14:10

Hi,

tbh I haven't touched the template or CSS. All I did was updating the SQL statement responsible for looking for cynos/cloaks in high slots.
Basically you can revert to 0.5 (or whatever you used that didn't give you the white space) and just use the cynoCloakMod.php from 0.6.

Regards,
Salvoxia

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

Re: [EDK4/EDK4.2] Cyno/Cloak Mod for the killlisttable

Post by Dism0 » Mon Apr 28, 2014 05:28

i think ive always had it. just never posted about it. no biggie.


Image

User avatar
edp
Someday Author
Posts: 95
Joined: Fri Sep 25, 2009 19:10

Re: [EDK4/EDK4.2] Cyno/Cloak Mod for the killlisttable

Post by edp » Wed Sep 24, 2014 18:35

I'm getting an odd formatting issue, where somethings it'll stack vertically, then randomly shift to horizontal. there's nothing that changed, other than the update, and no new banner or anything that would affect width. In fact it's set to a static 1000px wide overall.

Any ideas how to lock this into the horizontal layout of icons?

thewizard
Noob
Posts: 2
Joined: Fri Apr 24, 2015 02:09

Re: [EDK4/EDK4.2] Cyno/Cloak Mod for the killlisttable

Post by thewizard » Fri Apr 24, 2015 02:12

Hi

can you help me with this, all kills / losses are showing as having a cloaking device fitted

config below...


Code: Select all

<!-- killlistable.tpl -->
{if function_exists('getCynoList') && function_exists('getCloakList')}
	{$cynos = call_user_func('getCynoList')}
	{$cloaks = call_user_func('getCloakList')}
{/if}

<div class="kltable">
	{section name=day loop=$killlist}
		{if $daybreak}
			<div class="kb-date-header">{"l, F jS"|date:$killlist[day].date}</div><br />
		{/if}
		<table class="kb-table kb-kl-table kb-table-rows">
			<thead>
				<tr class="kb-table-header">
					<td class="kl-shiptype" colspan="{if isset($cynos)}3{else}2{/if}">Ship type</td>
					<td colspan="2" class="kl-victim">Victim</td>
					<td class="kl-finalblow">Final blow</td>
					<td class="kl-location">Location</td>
				</tr>
			</thead>
			<tbody>
				{section name=kill loop=$killlist[day].kills}
					{assign var="k" value=$killlist[day].kills[kill]}
					{assign var="killid" value=preg_split('/kll_id=/', $k.urldetail)}
					{if $k.loss}
						<tr class="kb-table-row-loss" onclick="window.location.href='{$k.urldetail}';">
						{elseif $k.kill}
						<tr class="kb-table-row-kill" onclick="window.location.href='{$k.urldetail}';">
						{else}
						<tr onclick="window.location.href='{$k.urldetail}';">
						{/if}
						<td class="kb-table-imgcell">
							<img src='{$k.victimshipimage}' style="width: 32px; height: 32px;" alt="" />
						</td>
						{if isset($cynos)}
						<td class="kl-cyno-cloak-mod" style="width:50px; display: block; margin-top:2px;">
						<img src=http://image.eveonline.com/InventoryType/11370_32.png style="height:24px;float:left;opacity:{if in_array((int)$killid[1], $cloaks)}1{else}0.3{/if}" alt="" />
						<img src=http://image.eveonline.com/InventoryType/21096_32.png style="height:24px;float:left;opacity:{if in_array((int)$killid[1], $cynos)}1{else}0.3{/if}" alt="" />
						</td>
						{/if}			
						<td class="kl-shiptype-text">
							<div class="no_stretch kl-shiptype-text">
								<b>{$k.victimshipname}</b>
								<br />
								{$k.victimshipclass}
							</div>
						</td>
						{if !$k.allianceexists}
							<td class="kb-table-imgcell">&nbsp;</td>
						{else}
							<td class="kb-table-imgcell"><img src="{$k.victimallianceicon}" style="border: 0px; width: 32px; height: 32px;" title="{$k.victimalliancename}" alt="{$k.victimalliancename}" /></td>
							{/if}
						<td class="kl-victim-text">
							<div class="no_stretch kl-victim-text">
								{if $k.loss}
									<a href="{$k.urlvictim}"><b>{$k.victim}</b></a>
									<br />
									<a href="{$k.urlvictimcorp}">{$k.victimcorp}</a>
								{else}
									{if $k.victimalliancename != "None" && $k.victimalliancename != "NONE"}
										<a href="{$k.urlvictim}"><b>{$k.victim}</b></a><br /><a href="{$k.urlvictimall}">{$k.victimalliancename}</a>
									{else}
										<a href="{$k.urlvictim}"><b>{$k.victim}</b></a><br /><a href="{$k.urlvictimcorp}">{$k.victimcorp}</a>
									{/if}
								{/if}
							</div>
						</td>
						<td class="kl-finalblow">
							<div class="no_stretch kl-finalblow">
								<a href="{$k.urlfb}"><b>{$k.fb}</b></a>
								<br />
								<a href="{$k.urlfbcorp}">{$k.fbcorp}</a>
							</div>
						</td>
						<td class="kb-table-cell kl-location">
							<div class="no_stretch kl-location">
								{if $config->get('killlist_regionnames')} {$k.region}, {$k.system}{else}<b>{$k.system}</b>{/if} ({if $k.loss || $k.kill}{$k.systemsecurity|max:0|string_format:"%01.1f"}{else}<span style="color:{if $k.systemsecurity >= 0.5}green{elseif $k.systemsecurity < 0.05}red{else}orange{/if};">{$k.systemsecurity|max:0|string_format:"%01.1f"}</span>{/if})<br /></div>
								{if $k.inv || $comments_count}
									<div class="kl-inv-comm">
										{if $k.inv}<img src="{$theme_url}/img/involved10_10.png"  alt="I:" /> {$k.inv}{/if}
										{if $comments_count}<span {if  !$k.commentcount}style="visibility: hidden"{/if}><img src="{$theme_url}/img/comment_white13_10.gif" alt="C:" /> {$k.commentcount}</span>{/if}
									</div>
								{/if}
							<div class="kl-date">
								{if $daybreak}
									{if $k.urlrelated}
										<a href="{$k.urlrelated}"><b>{$k.timestamp|date_format:"%H:%M"}</b></a>
									{else}
										<b>{$k.timestamp|date_format:"%H:%M"}</b>
									{/if}
								{else}
									{if $k.urlrelated}
										<a href="{$k.urlrelated}"><b>{$k.timestamp|date_format:"%y-%m-%d"} {$k.timestamp|date_format:"%H:%M"}</b></a>
									{else}
										<b>{$k.timestamp|date_format:"%y-%m-%d"} {$k.timestamp|date_format:"%H:%M"}</b>
									{/if}
								{/if}
							</div>
						</td>
					</tr>
				{/section}
			</tbody>
		</table>
	{sectionelse}
		<p>No data.</p>
	{/section}
</div>
<!-- /killlistable.tpl -->

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 34 guests