[XenCustomize] Limit Attachment Downloads

[XenCustomize] Limit Attachment Downloads 2.3.1

No permission to buy ($45.00)
Compatible XF 2.x versions
  1. 2.2
  2. 2.3
Additional requirements
XF 2.2.4+
License
Single-use License (1 License, 1 website) https://xencustomize.com/about/license-agreement/
Updates duration
6 Months / $25 Renewal / $50 Branding Removal
Visible branding
Yes, but removable with payment

🌟 Inspired by Limit Resource Downloads​

Since the launch of our Limit Resource Downloads add-on (Aug 2023), we’ve received numerous requests from customers and community members to develop a similar solution for attachments in threads. Recently, this idea was highlighted again by @REP13, @TBolley, @MesterPerfect, @GsmTurkey, @ChristyS, and many others who expressed interest.

We had this planned for a long time, but due to the dedication and time spent on developing Events Manager and News Publisher, we were unable to start this project. Taking their feedback into account, we finally decided to create this new add-on, drawing inspiration from LRDL. We’re confident that this version surpasses the quality of our previous work.

To celebrate this exciting milestone, we are offering a 10% discount (using coupon LADL10B) on purchasing the add-on with a branding-free license.

🚀Introducing the Limit Attachment Downloads for XenForo 2​

Limit Attachment Downloads add-on gives forum admins powerful control over post attachment downloads by allowing them to set a variety of limits, such as:
  • Daily download limits
  • Positive Reaction requirement
  • Minimum message count limits
The add-on also includes informative interfaces and user-friendly error pages that explain the reasons for download restrictions. This helps to discourage abuse and promote fair use of downloads.

In addition, the add-on can encourage user engagement on the forums and can lead to more account upgrades, boosting your site’s revenue.

🌟Key Features​

Here are some of the key features of the Limit Attachment Downloads add-on:

🛠️ Usergroup Permissions:
Admins can fine-tune who can download attachments and under what conditions.

🧩 Support for Setting Permissions in Each Forum Node:
This gives admins even more granular control over download limits.

📉 Three Types of Limits:
Admins can choose from customizable download limits, reaction limits, and message count limits.

↩️ Ability to Bypass Limits:
Admins can allow users to bypass limits by setting them to “Unlimited” or by granting the appropriate usergroup permissions.

đź“Š Info Tabs Bar:
Provides a quick overview of the user’s current download limits for the viewed post.

đź“„ Download Limits Overview Page:
Offers a detailed overview of user-specific download limits for the accessed post.

🚦 User-Friendly Error Pages:
These pages explain and guide users through download limits and restrictions.

⚙️ Admin Options:
Admins can customize the download limit reset time and enable/disable the Info Tabs Bar and Download Limits Overview Page.

🎨 Easy Customization:
Includes custom classes and dedicated style properties for effortless customization.

â›” Control Over Reactions:
Restrictions on changing or undoing reactions, controlled by admin options and usergroup permissions.

🗄️ File Extensions Affected by Download Limits:
Admins can choose specific file extensions that will have download limits applied.

If you’re looking for a powerful way to control attachment downloads on your XenForo forum, the Limit Attachment Downloads add-on by XenCustomize is a great option. It’s packed with advance features and gives admins the flexibility to fine-tune download limits to meet their specific needs.

đź“śComplete features list​

  • Usergroup Permissions for Download Limits
    • Added up to 8 usergroup permissions for configuring download limits and bypass options.
      1. Download limit
      2. Countdown timer time
      3. Message count limit
      4. Can bypass message count limit
      5. Reaction limit
      6. Can bypass reaction limit
      7. Can change reaction
      8. Can undo reaction
  • Forum Node Permissions
    • Implemented support for setting permissions in each Forum node.
      1. Download limit
      2. Message count limit
  • Download Limits
    • Implemented the following types of limits:
      1. Download Limit/Quota: Set limits for a specified number of hours (default: 24 hours).
      2. Positive Reaction Limit: Require users to react to a post with positive reaction before downloading attachments.
      3. Message Count Limit: Define minimum message counts per user group for download access.
  • Bypass Limits
    • Implemented the ability to bypass the above limits:
      • Ability to set "Unlimited" in the download limit/quota to bypass download limits.
      • "Can bypass reaction limit" permission to bypass reaction limits.
      • "Unlimited" or "Can bypass message count limit" usergroup permission to bypass message count limits.
  • Info Tabs Bar for Download Limits
    • Implemented Info Tabs Bar displaying a quick overview of the user's current download limits for the viewed post.
      • Responsive Info Tabs Bar with scrolling, similar to Resource Tabs in standard XFRM.
      • Option to enable/disable via admin settings (Enabled by default).
  • Download Limits Overview Page
    • Implemented a "Download Limits Overview" page offering a detailed overview of user-specific download limits for the accessed post.
    • Detailed overview and various info messages in the download limit section based on scenarios:
      • Download Limit
      • Downloads Left
      • Download Limit Reset Time
    • Detailed info messages in the message count limit section based on scenarios:
      • Message Count Limit
      • User Message Count
      • Detailed explanation of how the reaction limit is applied to the user in the reaction limit section.
  • User-Friendly Error Pages for Download Limits
    • Implemented user-friendly error pages explaining and guiding users through download limits and restrictions:
      • Download Limit Error Page with an Encouraging Title, Icon, Message, and Custom Buttons: "Click to Close" and "Learn More"
      • Reaction Limit Error Page with an Encouraging Title, Icon, Message, and Custom Buttons: "Click to Close" and "Learn More"
      • Positive Reaction Limit Error Page with an Encouraging Title, Icon, Message, and Custom Buttons: "Click to Close" and "Learn More"
      • Message Count Limit Error Page with an Encouraging Title, Icon, Message, and Custom Buttons: "Click to Close" and "Learn More"
      • Guest-Specific Error Page with an Encouraging Title, Icon, Message, and Custom Buttons: "Click to Close", "Log in" and "Register now". (v2.2.1)
  • Admin Options: Implemented various Admin options for customizable control:
    • Download Limit Reset Time in Hours.
    • Countdown Timer Time in Seconds.
    • Enable Download Limits Quick Info Tab Bar.
    • Enable Download Limits Detailed Overview Page.
    • Positive Reaction IDs.
    • Reactions Change Restriction.
    • Reactions Undo Restriction.
    • File Extensions Affected by Download Limits:
      • Shipped the addon with a predefined list
      • Compressed and Archive Formats:
        • zip
        • rar
        • 7z
        • tar
        • gz
        • bz2
        • xz
      • Executable and Installable Formats:
        • exe (Windows executables)
        • msi (Windows installer)
        • dmg (Mac installer)
        • pkg (Mac package installer)
      • Disk Image Formats:
        • iso
        • img
      • Document Formats:
        • pdf
        • doc
        • docx
        • xls
        • xlsx
        • ppt
        • pptx
        • txt
        • rtf
  • Style Properties
    • Added custom classes and style properties for effortless customization of Info Tabs Bar and Download Limits Overview page:
      • Info Tabs Bar
      • Positive color
      • Negative color
      • Caution color
  • Attachment Download Page
    • Introduced a new Attachment download page that showcases:
      • Countdown timer
      • Attachment name
      • Attachment size
      • Attachment extension
      • Attachment view count
      • Multiple advertising positions:
        • Display advertisement directly above the countdown timer during attachment download.
        • Display advertisement directly beneath the countdown timer during attachment download.
      • Sidebar widget position
      • Click to Close button
      • Limits overview button
  • Download Countdown Timer
    • Implemented a download countdown timer that appears before the download button is accessible.
  • Pause Countdown Timer on Tab Switch
    • Implemented functionality to pause the countdown timer when the user switches to another tab.
  • Default Countdown Timer Duration
    • Added an admin option to configure the default “Countdown Timer Time in Seconds” before downloads can be initiated.
  • Customizable Countdown Timer Time per Usergroup
    • Added usergroup permission to override the default “Countdown Timer Time” set in the Admin CP.
    • Customize the countdown timer duration per usergroup for a more tailored user experience.
  • Built-in Advertising Positions:
    • Added native advertising positions for the download page to effortlessly display advertisements and increase visibility and potential revenue:
      • Limit Attachment Downloads: Countdown timer above download.
      • Limit Attachment Downloads: Countdown timer below download.
  • Sidebar Widget Position:
    • Added new widget position to place widgets in the sidebar position on the download countdown timer page:
      • Limit Attachment Downloads: Countdown timer.

Compatible XF 2.x versions​

  • XenForo 2.2 (released)
  • XenForo 2.3 (already in development)
While the add-on is built using the latest XF 2.2 version, we require a minimum of XF 2.2.4+ for proper compatibility. If you need compatibility with older versions, kindly reach out to us before making a purchase.

The add-on is currently not compatible with XenForo 2.3 but it's already in development.

What's on the horizon?​

We've completed the feature additions for the final stable release for XenForo 2.2. Next we'll be releasing a XenForo 2.3 supported version. As always, for this add-on, we remain committed to enhancing stability, refining existing functionalities, and addressing any reported bugs and compatibility issues.

Uncertain 🤔 about a specific feature?​

If you need a functionality that isn't clearly mentioned above, please don't hesitate to contact us before making a purchase. Once you've bought and downloaded the add-on, your order can't be refunded.

Screenshots, Install and Setup​

Install "[XenCustomize] Limit Attachment Downloads" like any other XenForo add-on. In the admin options:
  • Default setting for the Countdown timer is 5 seconds, which you can adjust to your preferred duration.
  • You must specify your preferred positive reaction IDs.
    • Default positive reaction IDs are: 1, 2, and 3.
  • If you would like to restrict users changing or undoing reactions, then activate these options:
    • Reactions change restriction.
    • Reactions undo restriction.
other options are pre-set by default as shown below:

limit-attachment-downloads-220-admin-options-png.801



Next, explore Usergroup permissions. These 5 permissions are automatically set up during the installation process:
  • "Reaction Limit" permission is granted to user who can "React" on forum posts.
  • "Bypass Reaction Limit" permission is granted to those who can "Bypass Flood Check".
  • "Bypass Message Count Limit" permission is granted to those who can "Bypass Flood Check".
  • "Can Change Reaction" permission is granted to users who can "Edit Any Post".
  • "Can Undo Reaction" permission is granted to users who can "Delete Any Post".
limit-attachment-downloads-220-usergroup-permissions-png.802



Please setup usergroup permissions as per your needs, specially "Download limit" and "Message count limit" should not be left as 0, see above screenshot.

limit-attachment-downloads-220-forum-node-permissions-png.803



Optionally, you can also set forum node permissions.

limit-attachment-downloads-220-download-limits-info-bar-png.804



Clicking the links in the Info Tabs Bar opens the "Download Limits Overview" page in an overlay window, as demonstrated below:

limit-attachment-downloads-220-download-limits-overview-png.805



User-friendly error pages explaining and guiding users through download limits and restrictions, as shown below.

User-friendly error page to guide users when they’ve not reacted:

limit-attachment-downloads-220-oops-you-forgot-to-react-png.806



User-friendly error page to guide users when they’ve reacted, but not with a positive reaction:

limit-attachment-downloads-220-oops-react-positive-png.807



User-friendly error page to guide users when their message count is below the minimum required:

limit-attachment-downloads-220-oops-too-shy-to-post-png.808



User-friendly error page to guide users when their download limit is reached:

limit-attachment-downloads-220-oops-download-limit-reached-png.817


Guest-Specific user-friendly error page for guest users attempting to download attachments:

limit-attachment-downloads-221-oops-guest-user-error-page-png.826


Restrictions on changing or undoing reactions:

limit-attachment-downloads-220-oops-changing-reaction-png.809


You can change the phrase: xcu_ladl_you_can_not_change_your_reaction

limit-attachment-downloads-220-oops-undo-reaction-png.810


You can change the phrase: xcu_ladl_you_can_not_undo_your_reaction

If all conditions are met, clicking the attachment will now redirect you to this new download page. To initiate the countdown timer, simply click "Get the download Link" once.

limit-attachment-downloads-220-get-the-download-link-png.811



Countdown timer:

limit-attachment-downloads-220-download-link-will-be-ready-in-x-second-png.812



Once the countdown timer finishes, the Download button will appear:

limit-attachment-downloads-220-download-png.813


Here is a video:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

We've included built-in advertising positions for your convenience. You can effortlessly place advertisements on the download page, either above the download button or right below it:

limit-attachment-downloads-220-advertising-position-1-png.814



We've also added a sidebar widget position on the Download page. You can place ads in the right sidebar using an HTML widget.

Limit Attachment Downloads 2.2.0

We've posted detailed information and screenshots showcasing the full capabilities of XenCustomize Limit Attachment Downloads 2.2.0, so visit these threads:

Did you love using this add-on?​

License Agreement​

Author
Veer
Views
176
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Veer

Latest updates

  1. 2.3.1 - Feature update

    Limit Attachment Downloads v2.3.1 for XF 2.3 is now available! This release focuses on improving...
  2. 2.3.0 - XenForo 2.3 compatibility!

    Limit Attachment Downloads v2.3.0 (for XF 2.3) is now available! We’re excited to announce that...
  3. 2.2.1 - Feature update

    Limit Attachment Downloads v2.2.1 for XF 2.2 is now available! This release focuses on improving...
Back
Top Bottom