• Hi there,

    Loving the plugin very handy in order to create private downloads for logged in users.

    I have an issue though, the site is still currently being developed so there are a lot of ‘development’ downloads against the various packages I have been making.

    I want to reset all the download and view counts but to do this manually would take quite a while. Also I tried the “clear History” option but it doesn’t actually remove anything either.

    Is there a way I can easily and globally reset all view and download counters??

    p.s.

    I also emailed a few days back in regards to taxonomy-wpdmcategory.php -> I’d like to know how I can do this for the tags as I am using it for redirections for non admin users

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shahjada

    (@codename065)

    For now, you can reset download history in a click from settings page, soon, we shall add a new button to clear all views and download count ??

    Download manager using post tags directly, so, for tag template, you need to see here:
    https://developer.www.ads-software.com/themes/basics/template-hierarchy/#tag
    But if you want to show only downloads in your tag page, you need to specify post type wpdmpro for the loop in tag template

    Thread Starter Greg Marshall

    (@timeassistant)

    Thank you for the response,

    unfortunately for some reason the clear history button doesn’t actually work for me. It could be conflicting with somwething, I havent had time to check yet.

    Yes please add some buttons to clear the views and download count. Until then is there even a location in the database you could point me to that may flush this out?

    and in regards to tags thats great thanks, I didnt realise it was standard wordpress tags, so I should be able to just create – tag-{slug}.php – now and put my redirect there. I don’t actually want the downloads to show up in the tag page as the downloads are for logged in members only, so I am redirecting the tag and category pages to the “member area” and only permitting admin users to view this as the logged in “members” have a members area that will point them to the downloads on a unique page I have created

    Anyway again just want to thank you for creating this plugin ! minor issues aside it is very good indeed

    Plugin Author Shahjada

    (@codename065)

    You need to clear post metas __wpdm_download_count and __wpdm_view_count

    Thread Starter Greg Marshall

    (@timeassistant)

    Thank you, I’ll look into writing a query to reset this back to 0 for now til you manage to get this added yourself ??

    Plugin Author Shahjada

    (@codename065)

    okay ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘reset download counts globally’ is closed to new replies.