-
MODX Staff
- 12,272 Posts
That’s happened many times. I gave up tracking it. I’d estimate somewhere around 15-17K downloads... maybe a lot more...
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Indeed this would be more but is there anything we could do for better tracking ? I guess its a "FileDownload" snippet used there and it uses simple text file to save download counts, may be we can modify it to save it to db?
I’m not sure, but when looking at FileDownload snippets download.php that writes the download count to a file, I don’t see it locking the file when it opens it.. So maybe if many people are downloading at the same time, the download count file gets corrupted. Not 100% sure that this is the case, but I would think so..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
MODX Staff
- 12,272 Posts
likely that’s the case. It’d gotten corrupted at least 4 or 5 times that I know of.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
I believe Kyle has been doing some updated version of FileDownload allready.. there are also some other minor bugs reported and fixed in the
filedownload thread. But that file locking should be done too, it’s quick to fix. There are good stuff on that subject in the
flock() user contributed notes, flock itself won’t work in Windows enviroments..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Ah, that may also account for the "concerns about userbase size" that Susan said Packt had.
I think on the whole I’d rather it didn’t display the count if it’s so wrong.
-
MODX Staff
- 12,272 Posts
Our active user base (as defined by having made 1 post or more) is somewhere just north of 1400. I like the download count personally, as it gives me a way to gauge uptake (but I wouldn’t care if it were not public). Paul, completely for curiosity’s sake, why the preference for no counts?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Because if you look at that page, it looks like only 705 people have downloaded since the 26th April, and it really doesn’t fit with the "more than 21,000 downloads" for 0.9.1.
It could be seen as a dwindling userbase. We know that’s not true, but basically there are two things that people can see on that page to judge MODx on - the last update and the number of people that have it.
There is no benefit in making public inaccurate information about downloads.
I would, therefore, prefer a private count.