Resource icon

[XenConcept] Advanced Resource Rule [Paid] 2.0.1 Patch 1

No permission to buy ($15.00)

XenConcept

Well-known member
XenConcept submitted a new resource:

[XenConcept] Advanced Resource Rule - This is a special add-on and specially fitted with some specific groups. When users click on any lin

This is a special add-on and specially fitted with some specific groups. When users click on any links in the site, they must confirm they have read the category rules firstly.

Users could load and observe the resources/categories if they have accepted that they have read the category rules. This will be effective for some content of age limit or post with sensitive content.

FEATURES:
  • Rules shown on separate page.
  • Rules can be created on admin option.
  • Options to force users...

Read more about this resource...
 
Hi @XenConcept

I am receiving numbers of errors in my adminCP related to your add-on

error code:
Code:
InvalidArgumentException: Accessed unknown getter 'before_download' on XenConcept\AdvancedResourceRule:ResourceRule[1] src/XF/Mvc/Entity/Entity.php:213
Generated by: NICK97 December 24, 2023 at 3:21 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(125): XF\Mvc\Entity\Entity->get('before_download')
#1 internal_data/code_cache/templates/l1/s0/admin/xc_advanced_resource_rule_rule_edit.php(230): XF\Mvc\Entity\Entity->offsetGet('before_download')
#2 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(XFA\RMMarketplace\XF\Template\Templater), Array, NULL)
#3 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('xc_advanced_res...', Array, true, NULL)
#4 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('admin:xc_advanc...', Array)
#5 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XenConcept\\Adva...', 'admin:xc_advanc...', Array)
#7 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#11 src/XF.php(524): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}
Request state
array(4) {
  ["url"] => string(69) "/admin.php?resource-manager/rules/mod-exchange-code-of-conduct.1/edit"
  ["referrer"] => string(57) "https://cities-mods.com/admin.php?resource-manager/rules/"
  ["_GET"] => array(1) {
    ["resource-manager/rules/mod-exchange-code-of-conduct_1/edit"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Hi @XenConcept

I am receiving numbers of errors in my adminCP related to your add-on

error code:
Code:
InvalidArgumentException: Accessed unknown getter 'before_download' on XenConcept\AdvancedResourceRule:ResourceRule[1] src/XF/Mvc/Entity/Entity.php:213
Generated by: NICK97 December 24, 2023 at 3:21 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(125): XF\Mvc\Entity\Entity->get('before_download')
#1 internal_data/code_cache/templates/l1/s0/admin/xc_advanced_resource_rule_rule_edit.php(230): XF\Mvc\Entity\Entity->offsetGet('before_download')
#2 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(XFA\RMMarketplace\XF\Template\Templater), Array, NULL)
#3 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('xc_advanced_res...', Array, true, NULL)
#4 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('admin:xc_advanc...', Array)
#5 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XenConcept\\Adva...', 'admin:xc_advanc...', Array)
#7 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#11 src/XF.php(524): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}
Request state
array(4) {
  ["url"] => string(69) "/admin.php?resource-manager/rules/mod-exchange-code-of-conduct.1/edit"
  ["referrer"] => string(57) "https://cities-mods.com/admin.php?resource-manager/rules/"
  ["_GET"] => array(1) {
    ["resource-manager/rules/mod-exchange-code-of-conduct_1/edit"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
are you using the latest version? i had issues as well and he updated it and i had no more issues.
 
Back
Top Bottom