[XFA] RM Download from list - XF2

[XFA] RM Download from list - XF2 2.1.0

No permission to download

XFA

Well-known member
Licensed customer
XFA submitted a new resource:

[XFA] RM Download from list - XF2 - Direct download button from resources list with download now/downloaded state.

Description
RM Download From List brings the download button from resource view to resources list (index and category) to allow direct view of which resources can be downloaded or not.

To better track what you have downloaded, the download button changes from Download Now to Downloaded once the resource has been downloaded until a new update of the resource.

View attachment 227832

WARNING: This is not compatible with our RM MarketPlace add-on...

Read more about this resource...
 
Hello,

I found a problem related to the [XFA] RM Download from list add-on.

When the add-on is enabled:

Guests can see 817 resources
  • Logged-in users can only see 601 resources
  • Pages configured to show 20 resources sometimes only display 5-10 entries
There is also a pagination inconsistency:
  • Guests see 41 pages
  • Logged-in users see 43 pages
So the paginator count and the actual rendered resource list appear to become desynchronized. The issue immediately disappears when the add-on is disabled.

I also noticed that many of the missing resources seem to be older resources or resources using external downloads / non-standard attachment relations.

I checked the templates included with the add-on, but they only seem to handle button rendering. The issue therefore appears to originate from the PHP side of the add-on, likely during resource list processing or download permission checks for logged-in users. The add-on may be incompatible with XenForo 2.3.10 resource handling. Could you please take a look at this issue?

Thank you.
 
Hi,

From the code I don't see anything that would lead to that but might be mistaken.

Is it possible to debug on your site if the issue is there ?

Thank you,
BR
 
XFA updated [XFA] RM Download from list - XF2 with a new update entry:

2.1.0 - Bug fix and new features

Corrected bugs
  • Download button queries run once per resource in lists (loaded together with the list now)

New features
  • Dedicated option group for the add-on, no longer mixed into the Resource Manager options
  • Option to show the current version number on the button
  • Option to show or hide the button on the resources index
  • Option to limit the button to selected categories (all by default)
  • Compatible with RM Marketplace: the button only appears when the...

Read the rest of this update entry...
 
Back
Top Bottom