Support » Plugin: Lana Downloads Manager » How to Manually add download counts

  • Resolved iambc

    (@iambc)


    Hello, is there a way to manually add download counts?
    e.g i want to switch from another download manager plugin to this 1 by transferring all the total download counts from my previous plugin. please help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lana Codes

    (@lanacodes)

    Yes, it is possible if you use PHP code.

    <?php $count = lana_downloads_manager_get_download_count( $lana_download->ID ); ?>

    $lana_download->id – this is the download (post type) post id, you find it in the shortcode, for example: [lana_download id = "1830"] – then the ID will be 1830

    $count – this will be the count value

    If you need more help, feel free to contact me.

    Plugin Author Lana Codes

    (@lanacodes)

    Oh sorry, I misunderstood you, you don’t want to count GET, but you want to SET.

    This is currently not possible, but I can write an extension. I need some time to do this.

    WOOOW!!!! IT worked perfectly! thanks a lot! and honestly this is shockingly the quickest response time i have ever seen ever. wow. just wow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Manually add download counts’ is closed to new replies.