Plugin counts downloads twice (with attachment)

  • James Brew
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #76328 by James Brew
The attached plugin (osmembership.php) was supplied by Dang Dan in January 2015 for payment of a fee. It was designed to decrement the download count by 1 in Membership Pro custom field id 15 on every document downloaded from JU Download. However, the plugin is subtracting 1 from the field twice for every document downloaded (except if a particular document is downloaded repeatedly it only subtracts 1). It would appear that the Function onAfterDownloadDocument is processed twice for every download.

Please arrange for this to be corrected.

Thank you.

File Attachment:

File Name: osmembership.docx
File Size:14 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #76355 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Plugin counts downloads twice (with attachment)
Hi James

As replied via support ticket, we need to have information of your site so that our dev can check and solve the issue

Please reply via support ticket so that we can work on it further

Regards,

Tuan

Please Log in or Create an account to join the conversation.