Download Counter

Topics: ASP.NET 2.0, Business Logic Layer, Controls, Themes
Jan 30, 2014 at 2:36 PM
Hi

I've tried different extension downloadcounter BE but without success.

Someone has a download counter running BE from version 2.7 onwards?

Thanks
Fabry
Coordinator
Feb 1, 2014 at 3:33 AM
Simple download counter extension (adds count to download link): http://dnbegallery.org/cms/List/Extensions/SimpleDownloadCounter
Feb 1, 2014 at 10:02 AM
Thanks rtur,

I downloaded your extension but don't work, counter is always 0..

Someone has tried???
Feb 1, 2014 at 10:08 AM
file count in downloadcounts.xml works, and increases, the problem is in viewing the site..

I have a razor themes, is the same???
Coordinator
Feb 1, 2014 at 5:55 PM
Works fine with 2.9.1 both standard and razor themes. What is your link looks like? For example:
<a href="/FILES%2f2014%2f02%2ftest.zip.axdx">test.zip (199.4KB)</a>
Extension is looking for "file.axd?file=" and ".axdx" patterns.
Feb 1, 2014 at 6:57 PM
link is this
/file.axd?file=2011%2f12%2fStairway+to+Heaven.pdf
in HTML
<a href="/file.axd?file=2011%2f12%2fStairway+to+Heaven.pdf" target="_blank">Stairway to Heaven.pdf (31,09 kb)</a>
Coordinator
Feb 2, 2014 at 3:19 AM
I updated to version 1.2.0, not sure why it is not working for you but maybe try this version - it adds few checks for things like encoding and case sensitivity etc. When I use link to PDF file formatted exactly as yours with BE 2.9 it works fine for me.
Feb 2, 2014 at 9:16 AM
Great rtur,

Now Work perfectly...

Thank you very much!