[EDK4] eve-kill DISQUS comments

Discuss/Upload mods to the EVE-Dev Killboard.
MrWhitei
Apprentice
Posts: 64
Joined: Wed Dec 07, 2011 15:25

[EDK4] eve-kill DISQUS comments

Post by MrWhitei » Sat Jun 23, 2012 23:46

Whats this mod do?
    Links eve-kill comments to your private kill-board and vice-versa
    Shows comment count
What are the limitations?
    Comments will only be available on kills that have been sync'd with eve-kill.net
    There will be a wait before you can comment. This wait depends on how long until the kill is on eve-kill and the cron_feed script runs
How do I get it working?
    Upload ek_disqus.zip to the [b]root of your killboard[/b]
    Unzip files. A new cron file will be created that you need to access every [b]30mins[/b] (cron_ekdq_epic.php)- Thanks Karbowiak
    Enable mod in the admin section
    Enable mod in the settings page
    If you want to keep your old comments available set the kill id ([i]Internal kill-id cutoff[/i]) to your most recent killmail
    Follow the instructions on the settings page to edit template files. This will enable showing of the comment counts
The cron file is a modified version of the EPIC API fetcher, all credit for that goes to Karbowiak and eve-kill.net

UPDATES:
v1.1.1 - 27th July 2012
Fixed bug storing last fetched killID from EPIC API (Thanks Strucker)

v1.1 - 22nd July 2012
No longer need to edit core files from EDK
IDFeed support removed in favour of the eve-kill EPIC API
New cron file created and needs to be run every 30mins.

Funded by Oddsodz

idun has made some improvements to this mod. More info in this post
Attachments
ek_disqus.zip
v1.1.1
(6.84 KiB) Downloaded 305 times
Last edited by MrWhitei on Fri Aug 10, 2012 23:34, edited 4 times in total.

Oddsodz
Noob
Posts: 8
Joined: Sun Aug 14, 2011 16:26

Re: [EDK4] eve-kill DISQUS comments

Post by Oddsodz » Sun Jun 24, 2012 02:32

Nice one.

Seems to work just nice.

Folks can see a test of it running here

http://oddsodz.com/tmouw/killboard/?a=home just look for any killmail that has some comments. And you will see that they are "Sync'ed" with the same comments at Eve-kill and killmail.org

This means more glout/spam/tears can be spread about. I Like it a lot.

Thanks for taking the time to make it for me.

vovaatom
Greenhorn
Posts: 11
Joined: Sun Mar 20, 2011 19:06

Re: [EDK4] eve-kill DISQUS comments

Post by vovaatom » Sun Jul 15, 2012 21:37

Maybe you can do just DISQUS comments mod, which can use standart admin funcions and can be connected by using <your-site>.disqus.com ?
Why need to sync with eve-kill.net if you can just have your own comment system on your own web-site?

Karbowiak
Greenhorn
Posts: 16
Joined: Thu Jul 19, 2012 20:52

Re: [EDK4] eve-kill DISQUS comments

Post by Karbowiak » Thu Jul 19, 2012 20:52

lol, guess i didn't secure disqus enough.

:lol:

anyway, nice mod, keep going! :)

MrWhitei
Apprentice
Posts: 64
Joined: Wed Dec 07, 2011 15:25

Re: [EDK4] eve-kill DISQUS comments

Post by MrWhitei » Fri Jul 20, 2012 02:47

Karbowiak wrote:lol, guess i didn't secure disqus enough.

:lol:

anyway, nice mod, keep going! :)
damn it, now i have to go and fix this

Karbowiak
Greenhorn
Posts: 16
Joined: Thu Jul 19, 2012 20:52

Re: [EDK4] eve-kill DISQUS comments

Post by Karbowiak » Sat Jul 21, 2012 01:39

MrWhitei wrote:
Karbowiak wrote:lol, guess i didn't secure disqus enough.

:lol:

anyway, nice mod, keep going! :)
damn it, now i have to go and fix this
relax, i havn't changed anything :)

MrWhitei
Apprentice
Posts: 64
Joined: Wed Dec 07, 2011 15:25

Re: [EDK4] eve-kill DISQUS comments

Post by MrWhitei » Sun Jul 22, 2012 14:37

Updated mod to work with the EPIC API.

Strucker
Noob
Posts: 9
Joined: Mon Jul 16, 2012 22:26

Re: [EDK4] eve-kill DISQUS comments

Post by Strucker » Thu Jul 26, 2012 16:57

MrWhitei wrote:Updated mod to work with the EPIC API.
you have changed the way the last kills are set, if you check the config table you will see the field is limited to 32 chars, but you added 4 chars so it never get's the appropriate lastkill (since it does not exist).
either use substr or remove the ekdq prefix.

MrWhitei
Apprentice
Posts: 64
Joined: Wed Dec 07, 2011 15:25

Re: [EDK4] eve-kill DISQUS comments

Post by MrWhitei » Fri Jul 27, 2012 14:47

Strucker wrote:
MrWhitei wrote:Updated mod to work with the EPIC API.
you have changed the way the last kills are set, if you check the config table you will see the field is limited to 32 chars, but you added 4 chars so it never get's the appropriate lastkill (since it does not exist).
either use substr or remove the ekdq prefix.
Ahh derp.

Thanks for finding that one, wanted to keep it separate from the official Epic API fetcher so i didnt mess anything up there.
So i kept the prefix and went for substr instead.

OP updated.

Cheers

xCausxn
Greenhorn
Posts: 11
Joined: Sat Jul 28, 2012 14:44

Re: [EDK4] eve-kill DISQUS comments

Post by xCausxn » Sat Jul 28, 2012 15:01

Sorry if this is a bit stupid but how do i get this to work:
Comments unavailable until we sync to EvE-kill

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 8 guests