The attachment block looks great and is easy to configure. Thank you.
Unfortunately, there is an error when a user does not have permissions to view attachments in a certain forum that its pulling it from. The error is so bad that guest cannot view the entire site if they don't have permission to view an attachment in one of the selecte subforums that the attachment block is fed from.
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND thread.discussion_state = 'visible' AND thread.last_post_date > ' at line 12 - library/Zend/Db/Statement/Mysqli.php:77 Generated By: TrollaManjaro, Today at 11:45 AM Stack Trace #0 /home/blah/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('?????SELECT pos...') #1 /home/blah/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '?????SELECT pos...') #2 /home/blah/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('?????SELECT pos...') #3 /home/blah/public_html/library/Zend/Db/Adapter/Abstract.php(734): Zend_Db_Adapter_Abstract->query('?????SELECT pos...', Array) #4 /home/blah/public_html/library/bdImage/WidgetRenderer/AttachmentsGrid.php(115): Zend_Db_Adapter_Abstract->fetchAll('?????SELECT pos...') #5 /home/blah/public_html/library/WidgetFramework/WidgetRenderer.php(668): bdImage_WidgetRenderer_AttachmentsGrid->_render(Array, 'forum_list', Array, Object(XenForo_Template_Public)) #6 /home/blah/public_html/library/WidgetFramework/Core.php(352): WidgetFramework_WidgetRenderer->render(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString)) #7 /home/blah/public_html/library/WidgetFramework/Core.php(264): WidgetFramework_Core->_renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), '????????????<!-...') #8 /home/blah/public_html/library/WidgetFramework/Listener.php(87): WidgetFramework_Core->renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Array) #9 [internal function]: WidgetFramework_Listener::template_post_render('forum_list', '??????????<div ...', Array, Object(XenForo_Template_Public)) #10 /home/blah/public_html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array) #11 /home/blah/public_html/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_list') #12 /home/blah/public_html/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render() #13 /home/blah/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(119): XenForo_Template_Public->render() #14 /home/blah/public_html/library/XenForo/FrontController.php(614): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array) #15 /home/blah/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array) #16 /home/blah/public_html/index.php(13): XenForo_FrontController->run() #17 {main} Request State array(3) { ["url"] => string(14) "
http://8th.us/" ["_GET"] => array(0) { } ["_POST"] => array(0) { } }