Support » Plugins » Countdown counter?

  • Hey y’all… it’s that pesky Meezer again. ^^
    Anywho, my sweetie is being shipped off to Iraq soon, and I kinda wanted to put a little countdown thingie on my blog as something special for him and me. Where would I put that code?
    *the perpetually code-clueless….*
    ~K =^..^=

Viewing 15 replies - 1 through 15 (of 19 total)
  • Yeah…. something along the lines of “XXX days until he comes home”

    Mark (podz)

    (@podz)

    Support Maven

    Ah, the date_diff function was stolen here (search for “gustav at monoseven” in the page to find the comment with the code) and modified to take timestamps as arguments.

    And I don’t use kernigham ritchie codestyle….sorry for that, for you guys who like to throw yourselves back to the seventies…

    // Released under the GPL (Gnu Public Lisence), meaning, keep all the comments
    // and copyright info with this in the future.
    To my knowledge this is a breach of the GPL. Until it is clarified I would not advise anyone to use similar words in their hacks.

    Why would this be a GPL breach?

    Sorry bout that, I think you keep the copyright even though released under GPL, and usually the GPL text should be put in as well.
    The point was that people don’t remove my name from the copyright.

    And my last post wasn’t meant to be argumentative. I’d be pleased to have a guideline for future reference, I’ll do my best to make the code available for people as well as derived work.

    Well on the GPL my concern is that if we add words explaining what the GPL*means* we are adding, or altering the terms of the licence itself which we are not allowed to do. Furthermore if what we think it means is wrong the confusion gets worse. Furthermore the very essence of open source is the ability of users to alter withouit restriction works which the themselves have acquired.
    We may not qualify that in any way by saying *do not remove my comments*.
    Once it is released under the GPL anything can be removed.

    Hi Podz,

    http://wiki.wordpress.org/SimpleDayCounter
    Just the job 🙂

    Pardon my ignorance but how do you implement this ?
    Thanks

    Root: aaaaah I understand now, thanks 🙂

    Thanks Podz,
    Gave it a try but for some reason as soon as I add my-hacks.php to the site it has a conflict with AK’s last visit plugin. If I take the my-hacks.php out – it all works again.
    I was going to use this counter in much the same manner as you do – except mine was to count my nicotine-free days…but I guess I can do it manually on a weekly basis 🙂
    Thanks anyway .

    Mark (podz)

    (@podz)

    Support Maven

    Odd…..I have that plugin too….. I’ll check my filenames / plugin name

    Mark (podz)

    (@podz)

    Support Maven

    what I named ‘counter.php’ above, I have as ‘days_since.php’ inside /hacks
    That help ?

    @podz
    I tried with a different name ‘givingup.php’ but still no go. As soon as I drop my-hacks.php in there it goes nuts.
    Don’t stress too much about it – it’s not a big issue 🙂 Thanks for trying.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Countdown counter?’ is closed to new replies.