[Solved]Download counter BukkitDev project

Discussion in 'BukkitDev Information and Feedback' started by timtower, Mar 14, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    timtower Administrator Administrator Moderator

    My download counter isn't going up, it is still zero will it has been downloaded multiple times ( check comments for prove ), is this a bug or something? Cause my other plugin isn't showing this phenomenon.
    The project with this bug : ShopLikeMe

    Not a big issue but I think that is worth it to say.
     
  2. Offline

    Rprrr

    It updates every now and then. Don't expect it to go up directly.
     
  3. Offline

    Lolmewn

    Updates every day, I think.
     
    Jozeth likes this.
  4. Offline

    timtower Administrator Administrator Moderator

    The download counter of my other plugin is updating way more, not just once a day
     
  5. Offline

    Iaccidentally

    Always been pretty much daily for me.
     
    Gravity and Milkywayz like this.
  6. Offline

    Gravity

    It says 209 downloads on that page.
     
  7. Offline

    Phiwa

    The counter increases every 24h, so no need to worry. :)
     
  8. Offline

    timtower Administrator Administrator Moderator

    You guys were right, my mistake, an hourly update would be better at my opinion
     
  9. Offline

    Phiwa

    Originally I thought so, too, aber what is the benefit for you?
    Of course, you could sit in front of your computer all day long and watch your plugins download-counter rise up to the sky, but what for? :D
     
  10. Offline

    timtower Administrator Administrator Moderator

    I do want to know if my plugins are being used, now I get an post with an mistake by the server owner while the download counter is still zero, it is just odd
     
  11. Offline

    Phiwa

    But now that you know it, you do not need this information-update that urgent. ;)
     
  12. Offline

    rtainc

    Whoever made BukkitDev (Curse staff, I guess), could just use a simple PHP statement...
    $downloads = file_get_contents(filenameforproject);
    file_put_contents(filenameforproject, $downloads + 1);

    echo($downloads);

    Of course, they should probably use MySQL.

    Question, though: why do they not update? Is it server-side caching?
     
  13. Offline

    timtower Administrator Administrator Moderator

    I think ( I don't know anything about this site ) that it is server-side cashing,
    An update won't need to be every 5 sec, but every hour would be nice.
    Just add an check : no download counter update for 1 hour, then update. Not that hard on an site that is able to create his own files...
     
  14. Offline

    Gravity

    Curseforge isn't a php project that we have the leisure of editing for whatever reason. You're talking about a massive infrastructure with literally thousands of databases which spans across multiple services, not just BukkitDev. I understand you're trying to suggest a way to accomplish this, but in this case I think you're preaching to the choir, or more likely the pastor.
     
  15. Offline

    timtower Administrator Administrator Moderator

    Gravity
    Do you know how the download counter is loaded?
     
  16. Offline

    Gravity

    I have no clue. I manage the team, Curse develops and hosts the site.
     
  17. Offline

    ZachBora

    Even youtube doesn't show instant increase on number of views. If google does it, it can't be wrong right?
     
    RiotShielder likes this.
  18. Offline

    timtower Administrator Administrator Moderator

    instant isn't necessary, but any time shorter than 24 hours would be nice
     
  19. Offline

    rtainc

    Though, we can all admit, Google ruined the hell outta YouTube...
     
  20. Offline

    ZachBora

    YouTube One Channel layout is pretty bad.
     
  21. Offline

    Gravity

    Let's stay on topic.
     
    tyzoid likes this.
  22. Offline

    timtower Administrator Administrator Moderator

    Can you close this topic? I got my awnser a couple of days ago
     
  23. Offline

    Gravity

    Indeed.
     
Thread Status:
Not open for further replies.

Share This Page