[vbresults.com] Read-only Mode [Deleted]

vbresults

Well-known member
vbresults submitted a new resource:

[vbresults.com] Read-only Mode - Keep your community online to visitors and search engines with only the ability to view content.

Enterprise custom add-on and third-party integration development - vbresults.com

[Branding-free license includes every add-on]

In contrast to deactivating the board, read-only mode allows visitors to browse and search your community. It also allows search engines to see your content and...

Read more about this resource...
 
This is actually nice. Ever considered to make an add on to put the board offline while having selected groups still have access rather than admin only?

Very desired feature, sadly XF doesn’t recognize this.
 
One or more add-ons currently have actions pending and may be in an inconsistent state. Because of this, some errors may be suppressed and unexpected behavior may occur. If this does not change shortly, please contact the add-on author for guidance.

Code:
XF\PrintableException: Batch install error: Callback ReadOnlyMode\Setup::app_pub_setup is invalid (error_invalid_method). src/XF/Mvc/Entity/Entity.php:1270

Stack trace
#0 src/XF/AddOn/DataType/CodeEventListener.php(77): XF\Mvc\Entity\Entity->save(true, false)
#1 src/XF/Job/AddOnData.php(112): XF\AddOn\DataType\CodeEventListener->importAddOnData('ReadOnlyMode', Object(SimpleXMLElement), 0, 7.99387)
#2 src/XF/Job/AddOnInstallBatch.php(345): XF\Job\AddOnData->run(7.99387)
#3 src/XF/Job/AddOnInstallBatch.php(99): XF\Job\AddOnInstallBatch->stepData(Object(XF\Timer))
#4 src/XF/Job/Manager.php(275): XF\Job\AddOnInstallBatch->run(8)
#5 src/XF/Job/Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(121): XF\Job\Manager->runJobEntry(Array, 8)
#7 src/XF/Admin/Controller/ToolsController.php(146): XF\Job\Manager->runByIds(Array, 8)
#8 src/XF/Mvc/Dispatcher.php(362): XF\Admin\Controller\ToolsController->actionRunJob(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(SV\UserMentionsImprovements\XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\UserMentionsImprovements\XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#13 src/XF.php(806): XF\App->run()
#14 admin.php(15): XF::runApp('XF\\Admin\\App')
#15 {main}

Request state
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(53) "/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(90) "/admin.php?add-ons/install-from-archive-complete&batch_id=589"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(7) "2763504"
  }
}
 
Last edited:
@Hendersonyt Did you get an error in the XF admin server log? Also, were you using the latest version (1.0.3) or did you download one of the older versions and just try to install it today?
 
Last edited:
I downloaded the latest and installed it on the latest Xenforo. and yes I got a error.
I see. So the problem can be located and fixed for others, could you copy the error and paste it here? Also, what PHP version are you using?

Edit: Found the problem. It has been fixed in v1.0.4. Thank you for your feedback and sorry for the trouble.
 
Last edited:
Back
Top Bottom