• Hello,

    I would like to hide the download count number that is under the play button so that visitors cannot see it. I would only like admins to see this number. Is their a way to hide it from everyone except admins? Thank you very much for your help.

    https://www.MarkinOut.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • are you using a plugin for this?

    if so, please provide plugin

    Thread Starter MarkinOut

    (@markinout)

    We use podPress. Version 8.8.10.17

    i took a quick look, sorry if i am wrong:

    in podpress general settings: Enable Statistics

    Thread Starter MarkinOut

    (@markinout)

    I think that will disable it in full. We’re trying to disable it only from being seen by viewers. Thank you for your help. Truly do appreciate it.

    untested:

    ok, this will override that function, and instead of having a “always on” it will be “always on for admin”

    podpress_class.php
    line:1194 (find: “$podPressTemplateData['showDownloadStats'] = $this->settings['contentDownloadStats'];“)

    replace with:
    $podPressTemplateData['showDownloadStats'] = current_user_can('manage_options');

    Thread Starter MarkinOut

    (@markinout)

    That worked. Thank you so much for your help. Haha if you like pro wrestling, feel free to give us a listen. Have a good night.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide podcast download count to visitors’ is closed to new replies.