[NICK97] Resources Icon In Search Results - XF2

[NICK97] Resources Icon In Search Results - XF2 2.2.7

No permission to download

Fixed​

  • Prevented search errors when XenForo loads resource results before the rendering style is initialized, and made the resource and update rendering callbacks safe when no style is assigned.
  • Corrected the resource-update listener and added its missing result template. Update search results now retain their title, link, excerpt, author, date, and category alongside the resource icon.
  • Corrected resource-result list markup and restored native inline-moderation controls when resource moderation is selected and the visitor has permission.
  • Applied icon settings from the active rendering style, including style overrides and previews.
  • Removed duplicated download-button styling and limited it to resource search and tag result rows, preserving buttons elsewhere on the page.
  • Applied the XFA download-button visibility setting before rendering buttons in this add-on's result rows. With XFA RM Download from list 2.1.0, disabled buttons skip rendering and their associated download-history checks.
  • Kept unrelated resource lists and widgets under XFA's normal category, index, and permission rules, including widgets displayed alongside search results.
  • Corrected the resource-list views row and displayed the actual view count, including zero, without substituting downloads or forcing a minimum value.
  • Removed invalid HTML document wrappers from footer branding and prevented duplication of XenForo's extra-copyright output.

Improvements​

  • Added XFA RM Marketplace 5.11.0+ purchase, order, registration, and licensed-download actions to resource search and tag results, including XFA RM Marketplace - Cart 1.3.0+ buttons when eligible.
  • Expanded the existing download-button setting to Allow Resource Action Buttons In Search Results, preserving its saved value and default. Marketplace buttons also work without Download from list installed.
  • Reused XFA's Marketplace and Cart templates to retain purchase, licence, seller, stock, and cart restrictions, and prevented duplicate Download from list buttons for Marketplace resources.
  • Added wrapping for Marketplace action buttons within resource result rows.
  • Preloaded watched-resource and watched-category state to reduce repeated lookups while rendering resource results.
  • Preloaded native deletion logs for deleted-resource notices.
  • Preloaded current-version download status when XFA RM Download from list 2.1.0 is active and search-result download buttons are enabled.
  • Used a native macro argument to identify this add-on's result rows and applied the XFA macro argument and visibility condition together.
  • Updated branding to the XenShop byline with an automatically changing current year.
  • Corrected the style-property group description to reflect its actual icon and download-button settings.

Added and changed​

  • Added a Branding tab to the add-on's options page, retaining the existing Remove Branding option, saved values, and default behavior.
  • Updated branding help text and added an option-group description while retaining legacy phrase compatibility.
  • Added an explicit MySQL 8.0+ requirement. XenForo 2.3.0+, XenForo Resource Manager 2.3.0+, and PHP 8.3.0+ remain required; the XFA integration remains optional.
  • Updated changed template and phrase version metadata for release 2.2.7.

Documentation​

  • Added installation, upgrade, configuration, and optional XFA requirement guidance.
  • Documented branding preferences, external-service behavior, privacy, and distribution terms.
  • Added support information and private security-reporting guidance.

Upgrading​

Back up your site before upgrading. Upload the updated files and use XenForo's normal Admin control panel add-on upgrade process to import the updated templates, phrases, listeners, and class extension.
Thank you for your support and helping me to improve this add-ons even better than before. This version contains a significant minor bugs fixes and improvement for paving the way for significant search improvements implementation.

Full Changelog:
  • XF 2.3 compatibility
  • Minor bugs fixes and improvements
  • Removed Allow resources view counts In Search Results option
  • Fixed the price tag from display in search results and tag results
  • Moved Allow RM Download Button In Search Results option
  • Moved Allow Icons In Search Results options to styles option
Note: I wanted to say huge thank you to @XenConcept for your help with this update

Attachments

  • IMG_0442.webp
    IMG_0442.webp
    36.2 KB · Views: 72
  • Like
Reactions: XenConcept
Hi Everyone

I have decided to make this add-on for free anyone who wanted to used this plugin.

But please keep in mind that’s you and/or anyone may not redistribute the files in whole or in part without my consent and agreement in-place that’s including private custom development and/or modification!

I just wanted to let you known that any private custom development and/or modification to my plugin without my consent and agreement not in-place your account could be suspended on xenshop without any refund or exchange.

The reason I am mentioning this because I have found that’s one of the user here on xenforo community has copyrighted a feature from my add-on to his add-on😒
This add-on requires monthly subscription payments this is due to people are sharing my resources without my permission and consent and any free resources from XenShop will required a monthly subscription plan. As I known most people will not be happy with this choice that’s I may but i needed to make sure my resources are protected from illegal nulled websites

Subscription starting at $15 per month for any XF2 Premium addon list in this category
including subcategories
  • Sad
Reactions: otto
Thank you for your support and helping me to improve the add-ons even better than before. This version includes new features and bug fixes in some areas of the XF2 Add-on!

Full changelog:
  • Removed some of the option’s that’s is not available yet. But I have plans to developed a separate paid add-on that’s will include search tabs and search box in search results and tag results page. Similar functionality to Threadloom Search for XenForo 2.x with more features and improvements to the search page that’s users can enjoy 😊.
  • Added Allow Icons In Search Results options (Set by Default)
  • Changed Allow RM Download Button In Search Results option
  • Changed Allow resources view counts In Search Results option (Set by Default)
  • Changed the description for the Allow RM Download Button In Search Results option
  • Changed the description for Allow resources view counts In Search Results option
  • Fixed view counts front size not matching with other text
Known Bug:
  • Price tag is not displayed in search results and tag results!
Note: Starting with this version if you wanted to download the newer update you will needed to login or register on XenShop website.
reason for this because there are some users are uploading my add-ons without my consent and I am losing money!


Note: This version will be one of the last releases that’s will be supported with XenForo 2.2.x and newer updates will require XenForo 2.3.x or later!

Attachments

  • IMG_0367.webp
    IMG_0367.webp
    40.1 KB · Views: 98
Changes:
  • Added Template modifications option if you install XenMax Resource Icon - XF2
Bug Fixes:
  • Bug Fixed Resource icon not display when XenMax Resource Icon - XF2

Attachments

  • Capture.webp
    Capture.webp
    24.4 KB · Views: 112
Back
Top Bottom