Rostik wrote:
in first check where you kill_detail.php what you use
if use:
ext_fitting -> mod/ext_fitting/kill_detail.php
fitting -> mod/fitting/kill_detail.php
no-mod -> common/kill_detail.php
Thank you so mutch, working now.
Install FAQ:
1.
Search the kill_detail.php what in your killboard useing.
if use mod:
ext_fitting -> mod/ext_fitting/kill_detail.php
fitting -> mod/fitting/kill_detail.php (My killboard use fitting mod, so i fund there)
or any mod -> mod/*/kill_detail.php
no-mod -> common/kill_detail.php
2. Edit the kill_detail.php
Find this line:
$involved[$i]['weaponName'] = "Unknown";
If u fund add below this codes:
Code:
if (strpos($involved[$i]['weaponName'], "Amarr Sentry Gun")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1006.png";
$involved[$i]['portrait'] ="img/ships/64_64/01.png";
}
if (strpos($involved[$i]['weaponName'], "Angel Sentry Gun")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1216.png";
$involved[$i]['portrait'] ="img/ships/64_64/02.png";
}
if (strpos($involved[$i]['weaponName'], "Blood Raider Sentry Gun")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1006.png";
$involved[$i]['portrait'] ="img/ships/64_64/03.png";
}
if (strpos($involved[$i]['weaponName'], "Caldari Sentry Gun I")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1212.png";
$involved[$i]['portrait'] ="img/ships/64_64/04.png";
}
if (strpos($involved[$i]['weaponName'], "Caldari Sentry Gun II")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1213.png";
$involved[$i]['portrait'] ="img/ships/64_64/04.png";
}
if (strpos($involved[$i]['weaponName'], "Caldari Sentry Gun III")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1214.png";
$involved[$i]['portrait'] ="img/ships/64_64/04.png";
}
if (strpos($involved[$i]['weaponName'], "Gallente Sentry Gun")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1215.png";
$involved[$i]['portrait'] ="img/ships/64_64/05.png";
}
if (strpos($involved[$i]['weaponName'], "Guristas Sentry Gun")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1212.png";
$involved[$i]['portrait'] ="img/ships/64_64/06.png";
}
if (strpos($involved[$i]['weaponName'], "Minmatar Sentry Gun")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1216.png";
$involved[$i]['portrait'] ="img/ships/64_64/07.png";
}
if (strpos($involved[$i]['weaponName'], "Sansha Sentry Gun")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1006.png";
$involved[$i]['portrait'] ="img/ships/64_64/08.png";
}
if (strpos($involved[$i]['weaponName'], "Serpentis Sentry Gun")!== FALSE)
{
$involved[$i]['shipImage']="img/ships/64_64/1215.png";
$involved[$i]['portrait'] ="img/ships/64_64/09.png";
}
3. After you edited kill_detail.php download this file and copy the files to img/ships/64_64 directory. (the pack contain faction icons too, you will get 2 different icon in your KB)
Sentrys2