[TH] Resource Managers [Deleted]

Jon W

Well-known member
Waindigo submitted a new resource:

Resource Managers by Waindigo - Create multiple instances of Resource Manager on a single XenForo installation.

This add-on adds a Resource Managers screen to the Admin Control Panel to allow you to create and manage multiple instances of Resource Manager.

Each Resource Manager can show only a specified selection of categories. It is also possible to override the language of each Resource Manager to allow for different content types (e.g. Resources,...

Read more about this resource...
 
Last edited:
Could you show us the page for creating the categories and choosing the instance?
Create the categories as normal, and then add it to your chosen Resource Manager from the Create/Edit Resource Manager page:
2-png.64473
 
This is brilliant :love:

Question: What will happen if we disable or uninstall this add-on at some point?
It will go back to having just one Resource Manager with all your categories and all your resources.

Wait so when your viewing the classifieds page for example, the classified language will be shown on the footer?
If you override the language, yes. This feature would not work so well on sites that have multiple languages, so you could probably just remove the language selector from the footer if you didn't like this.
 
Installed, received the following error on the site:

An exception occurred: Invalid argument supplied for foreach() in /home1/oldrdev/public_html/library/Waindigo/ResMans/Listener/InitDependencies.php on line 15

  1. XenForo_Application::handlePhpError() in Waindigo/ResMans/Listener/InitDependencies.php at line 15
  2. Waindigo_ResMans_Listener_InitDependencies->run() in Waindigo/ResMans/Listener/InitDependencies.php at line 35
  3. Waindigo_ResMans_Listener_InitDependencies::initDependencies()
  4. call_user_func_array() in XenForo/CodeEvent.php at line 90
  5. XenForo_CodeEvent::fire() in XenForo/Dependencies/Abstract.php at line 202
  6. XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 127
  7. XenForo_FrontController->run() in /home1/oldrdev/public_html/index.php at line 13
Server log error is:

ErrorException: Invalid argument supplied for foreach() - library/Waindigo/ResMans/Listener/InitDependencies.php:15
Generated By: Unknown Account, 1 minute ago
Stack Trace
#0 /home1/oldrdev/public_html/library/Waindigo/ResMans/Listener/InitDependencies.php(15): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/home1/oldrdev/...', 15, Array)
#1 /home1/oldrdev/public_html/library/Waindigo/ResMans/Listener/InitDependencies.php(35): Waindigo_ResMans_Listener_InitDependencies->run()
#2 [internal function]: Waindigo_ResMans_Listener_InitDependencies::initDependencies(Object(XenForo_Dependencies_Public), Array)
#3 /home1/oldrdev/public_html/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#4 /home1/oldrdev/public_html/library/XenForo/Dependencies/Abstract.php(202): XenForo_CodeEvent::fire('init_dependenci...', Array)
#5 /home1/oldrdev/public_html/deferred.php(16): XenForo_Dependencies_Abstract->preLoadData()
#6 {main}
Request State
array(3) {
["url"] => string(38) "http://onlinedawdlers.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(17) "/admin.php?tools/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

Using XF 1.2.3 with RM 1.1
 
Yeah, I'm a bit slow and had just twigged to that after reading the error a bit more closely, was about to post adding one fixed it :).
 
Back
Top Bottom