About this topic

  • Posted by treefox2118 5 months ago. There are 2 posts. The latest reply is from byron.
  • This topic is not resolved
  1. Has anyone added functionality to show which image had the most downloads? I'd love to offer a download count, as well as the ability to reset all download counts.

    I doubt it would be that hard, downloading the code now to take a look.

  2. That would be awesome!

    In ajax-wp-upload.php, there is a an action called: 'bwbps_upload_done' that passes an array containing the new images data.

    You'd probably need to add a column to the images table...this is done in admin/bwbps-init.php

    For custom layouts, you'd also need to have a display tag in bwbps-layout.php, look for the function getCFFieldHTML. You would also need to add that tag to the list in getStandardFields() .

    I'd have to think about where to put it in the standard layout...little more tricky.

    BB

RSS feed for this topic

Reply

You must log in to post.