It is currently Fri Sep 03, 2010 12:48
  • View your posts
  • FAQ
  • Register
  • Login

  • All times are UTC + 1 hour [ DST ]



    Post new topic Reply to topic  [ 64 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
    Author Message
     Post subject: [EDK 3] Most Expensive Mod
    PostPosted: Thu Feb 18, 2010 00:15 
    Offline
     Profile

    Joined: Thu Feb 12, 2009 15:04
    Posts: 63
    Most Expensive Mod - Version 1.3
    ===============================================================

    What it does:
    It is pretty simple, it does just count the most expensive losses and kills at your front page like the "Top Value Kills Mod ( viewtopic.php?f=505&t=14886 )" did, but it works different, has not all the features the other Mod had, but has other features :-)
    Also it works for EDK 3.0, dunno if it works for EDK 2.0 Boards. I don`t think so.

    Image

    Features:
    - Easy Installation
    - Works for EDK 3.0
    - Customize the counting days and kills.
    - Select if just Kills, Losses or Both should be shown
    - Bugs ;-)

    ==============================================================

    Download:
    - Version 1.4 -> most_expensive_1_4.rar
    - Version 1.3 -> most_expensive_1_3.rar
    - Version 1.2 -> most_expensive_1_2.rar
    - Version 1.1 -> most_expensive_1_1.rar
    - Version 1.0 -> most_expensive_1_0.rar

    ===============================================================

    Fresh Installation:
    - Unzip the files. Put them into the root folder of your EDK install directory (mods to mods)
    - Login to the admin section of your killboard
    - Activate Mod under "modules" tab
    - Go to settings page and configurate your mod. Save settings. Have fun.

    ===============================================================

    Update:
    - Overwrite existing mod files with your new downloaded files.
    - Login to the admin section of your killboard
    - Activate Mod under "modules" tab
    - Go to settings page and configurate your mod. Save settings.
    - Your database should be up to date now. Have fun.

    ===============================================================

    Version History:
    - Version 1.4: Added a small "Kill or Loss" Indicator, Bugfixes
    - Version 1.3: "Kills", "Losses" and "Kills and Losses" Support
    - Version 1.2: XHTML compatible
    - Version 1.1: Code Updates for MultiKB Support.
    - Version 1.0: First release

    ===============================================================

    Feel free to gimme some input :-)

    If you want to use or modify it, feel free to do so.
    Please do not remove the copyright notice. Would be nice to give me a call if you use it or modify it.

    Greetings,
    Sir Quentin (http://www.back-to-yarrr.de)


    Last edited by Sir Quentin on Mon Mar 29, 2010 02:07, edited 6 times in total.

    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Thu Feb 18, 2010 13:11 
    Offline
     E-mail  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 1210
    Location: England
    Couple of comments:

    -You should use config::set() and config::get() to set/read the config values from the DB. It means you don't have to worry about the KB_SITE at all. You should REALLY change lines 47-49 of settings.php so that they use config::set() because currently if there are multiple boards on the same DB then if one board changes the settings all the boards will be changed.

    -You may want to consider using Smarty templates to generate the HTML.

    -You also may want to consider making your code XHTML compliant, because currently it breaks the otherwise-valid XHTML of the board.

    I'm liking the mod though.


    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Thu Feb 18, 2010 15:00 
    Offline
     Profile

    Joined: Thu Feb 12, 2009 15:04
    Posts: 63
    First of all, thanks for your comment!

    mastergamer wrote:
    Couple of comments:

    -You should use config::set() and config::get() to set/read the config values from the DB. It means you don't have to worry about the KB_SITE at all. You should REALLY change lines 47-49 of settings.php so that they use config::set() because currently if there are multiple boards on the same DB then if one board changes the settings all the boards will be changed.

    Done that, new Update available in first post! Thanks for that didn´t know about that functions :-)

    mastergamer wrote:
    Couple of comments:
    -You may want to consider using Smarty templates to generate the HTML.

    -You also may want to consider making your code XHTML compliant, because currently it breaks the otherwise-valid XHTML of the board.

    To be honest, I have no clue about Smarty nor XHTML, is there some tutorial for me or any links I can read about it ? Maybe in german ? :P

    mastergamer wrote:
    Couple of comments:
    I'm liking the mod though.


    Thanks, makes me happy :)


    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Thu Feb 18, 2010 15:45 
    Offline
     E-mail  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 1210
    Location: England
    These two pages are pretty much all you need regarding XHTML: http://cn.w3schools.com/xhtml/xhtml_html.asp and http://cn.w3schools.com/xhtml/xhtml_syntax.asp. Google Translate can probably turn them into at least semi-readable German.

    You can validate your code with this. Just point it at your killboard's URL and it'll check the front page. To check the admin code just View Source in your browser and copy everything to the Direct Input form on the validator.

    As for Smarty, you may be able to work it out from the simpler pages (?a=about for example), but the smarty website has full documentation (in German too I think).


    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Thu Feb 18, 2010 19:38 
    Offline
     Profile

    Joined: Thu Feb 12, 2009 15:04
    Posts: 63
    Alright, thanks for the links, this Mod is now XHTML compatible :P
    I updated the first post, and added another link for Version 1.2 of this Mod.

    Also I will look into that smarty thing, but later o/

    Thanks


    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Thu Feb 18, 2010 20:16 
    Offline
     E-mail  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 58
    hi,

    this is an cool mod, but it looksto all killmails on kb...

    because im fetiching mails from alot killboards i don't see top mails from my corp...

    its possible to change this?


    www.rhuc.eu/killboard


    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Thu Feb 18, 2010 22:47 
    Offline
     Profile

    Joined: Thu Feb 12, 2009 15:04
    Posts: 63
    Hi,
    ah I didn`t think about such problems, I will try to do something that just kills where your corp was involved will be shown.


    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Fri Feb 19, 2010 12:17 
    Offline
     E-mail  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 58
    cool ty


    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Fri Feb 19, 2010 14:24 
    Offline
     Profile

    Joined: Wed Jul 22, 2009 14:14
    Posts: 22
    it seems the mod does not display the correct loss value, as a hauler kill displayed only the lost fited modules value, but not the stuff in the cargo bay. is there a possibility to fix this, e.g. by using the total loss value?


    Top
     
     Post subject: Re: [EDK 3] Most Expensive Mod
    PostPosted: Fri Feb 19, 2010 16:34 
    Offline
     Profile

    Joined: Thu Feb 12, 2009 15:04
    Posts: 63
    Hmm, thats strange cause at my KB it shows the total loss value, can you gimme a link for that ?

    Greetings.


    Top
     
    Display posts from previous:  Sort by  
    Post new topic Reply to topic  [ 64 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

    All times are UTC + 1 hour [ DST ]


    Who is online

    Users browsing this forum: underwoodr and 1 guest


    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum

    Search for:
    Jump to:  
    Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
    Style Designed By phpBBegypt