[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 »

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 811 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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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