[EDK 4.0.1] Real Money Mod 1.2

Discuss/Upload mods to the EVE-Dev Killboard.
toby
Noob
Posts: 1
Joined: Mon Feb 25, 2013 08:31

Re: [EDK 4.0.1] Real Money Mod 1.2

Post by toby » Mon Feb 25, 2013 08:52

how do i import this now? i dont see "MOD" under modules please help!

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

Re: [EDK 4.0.1] Real Money Mod 1.2

Post by Salvoxia » Mon Feb 25, 2013 22:02

Hi,

I'm not exactly sure what you mean.
To install the mod, download the latest version from the OP (1.2). Inside the zip file there's a folder named realmoney_mod_1_2. Extract the contents of this folder (not the folder itself) to the mods folder of your killboard. Now there should be folder called "realmoney_mod" with a few files in it in your mods directory. The mod should now appear in the modules section in your admin control panel.

Regards,
Salvoxia

boris_t
Noob
Posts: 2
Joined: Tue Jul 22, 2014 13:15

Re: [EDK 4.0.1] Real Money Mod 1.2

Post by boris_t » Fri Aug 01, 2014 09:44

Hi
I'm fork this mod on github https://github.com/6RUN0/realmoney_mod/
Please test my fork.

bryn987
Greenhorn
Posts: 17
Joined: Sun Mar 08, 2015 07:24

Re: [EDK 4.0.1] Real Money Mod 1.2

Post by bryn987 » Sun Mar 08, 2015 07:27

So, I have one killmail that works correctly when I'm logged in as admin but when I log off, the killmail does not show the conversion.

Any ideas what causes it?

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

Re: [EDK 4.0.1] Real Money Mod 1.2

Post by edp » Tue Jun 06, 2017 09:16

I posted a fix to the init.php to the GitHub per the older response above.

For clarity I'm posting it here too.

Code: Select all

<?php
	if(!defined('KB_SITE')) die ("Go Away!");
	
	$modInfo['realmoney_mod']['name'] = "Real Money Mod";
	$modInfo['realmoney_mod']['abstract'] = "Show how much money you really lost ;)";
	$modInfo['realmoney_mod']['about'] = "by <a href=\"http://www.back-to-yarrr.de\" target=\"_blank\">Sir Quentin</a>";

	event::register("killDetail_assembling", "realmoney::add");

	class realmoney
	{
		public static function add($page)
	{
		$page->addBehind("itemsLost", "realmoney::show");
	}
  
  public static function show(){
  	global $smarty;
 		include_once('mods/realmoney_mod/realmoney.php');
  	$html .= $smarty->fetch("../../../mods/realmoney_mod/realmoney.tpl");
    return $html;
  }
}
?>

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 4 guests