@xfrocks it appears that Widget Framework is messing up the order of certain Style Properties.
@Russ discovered it here when he initially reported it as a XenForo bug:
http://xenforo.com/community/threads/style-property-ordering.78170/
I've now come across this with the Featured Threads add-on.
In both of these cases, the order of the Style Properties reverts to the correct order when Widget Framework is disabled.
Please can you provide a fix for this?
I added a widget and my forum header is now at the footer.
ErrorException: Argument 3 passed to XenForo_Model_Thread::canVoteOnPoll() must be of the type array, none given, called in /usr/share/nginx/html/library/WidgetFramework/WidgetRenderer/Poll.php on line 144 and defined - library/XenForo/Model/Thread.php:1379
Generated By: Sheratan, 9 minutes ago
Stack Trace
#0 /usr/share/nginx/html/library/XenForo/Model/Thread.php(1379): XenForo_Application::handlePhpError(4096, 'Argument 3 pass...', '/usr/share/ngin...', 1379, Array)
#1 /usr/share/nginx/html/library/WidgetFramework/WidgetRenderer/Poll.php(144): XenForo_Model_Thread->canVoteOnPoll(Array, Array)
#2 /usr/share/nginx/html/library/WidgetFramework/WidgetRenderer.php(667): WidgetFramework_WidgetRenderer_Poll->_render(Array, 'EWRporta_Portal', Array, Object(XenForo_Template_Public))
#3 /usr/share/nginx/html/library/WidgetFramework/Core.php(391): WidgetFramework_WidgetRenderer->render(Array, 'EWRporta_Portal', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
#4 /usr/share/nginx/html/library/WidgetFramework/Core.php(308): WidgetFramework_Core->_renderWidgetsFor('EWRporta_Portal', Array, Object(XenForo_Template_Public), '')
#5 /usr/share/nginx/html/library/WidgetFramework/Listener.php(126): WidgetFramework_Core->renderWidgetsFor('EWRporta_Portal', Array, Object(XenForo_Template_Public), Array)
#6 [internal function]: WidgetFramework_Listener::template_post_render('EWRporta_Portal', '\n\t\n\n\n\n\n\n\n\n\n\n\n\n\n...', Array, Object(XenForo_Template_Public))
#7 /usr/share/nginx/html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#8 /usr/share/nginx/html/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'EWRporta_Portal')
#9 /usr/share/nginx/html/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#10 /usr/share/nginx/html/library/XenForo/ViewRenderer/HtmlPublic.php(123): XenForo_Template_Public->render()
#11 /usr/share/nginx/html/library/XenForo/FrontController.php(618): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#12 /usr/share/nginx/html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#13 /usr/share/nginx/html/index.php(13): XenForo_FrontController->run()
#14 {main}
Request State
array(3) {
["url"] => string(20) "https://oniichan.us/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
So maybe someone can help me out. I'm basically trying to make pages that are very different than my main forum pages. IE: my forum is 900 px wide, but I want my Widget-Page to be 1500.
Thank you.If it is a widget page node, just make a new style that are 1500 width (and your other changes), and select this style for this widget page node only (override user style choice)
View attachment 79788
It's a pretty major deal that 1.4 beta and Widget framework aren't compatible.
Considering how many people use Widget framework.
Hey @xfrocks
I recently posted a bug report thinking it was something involving XF:
http://xenforo.com/community/threads/style-property-ordering.78170/
It appears to only throw style properties out of order if the widget framework is enabled. I hope this is an easy fix.
@xfrocks it appears that Widget Framework is messing up the order of certain Style Properties.
@Russ discovered it here when he initially reported it as a XenForo bug:
http://xenforo.com/community/threads/style-property-ordering.78170/
I've now come across this with the Featured Threads add-on.
In both of these cases, the order of the Style Properties reverts to the correct order when Widget Framework is disabled.
Please can you provide a fix for this?
This has been fixed in development version of the add-on. It may get released soon. Sorry for the inconvenience.An issue with poll block in 1.4 Beta 1:
Code:ErrorException: Argument 3 passed to XenForo_Model_Thread::canVoteOnPoll() must be of the type array, none given, called in /usr/share/nginx/html/library/WidgetFramework/WidgetRenderer/Poll.php on line 144 and defined - library/XenForo/Model/Thread.php:1379 Generated By: Sheratan, 9 minutes ago Stack Trace #0 /usr/share/nginx/html/library/XenForo/Model/Thread.php(1379): XenForo_Application::handlePhpError(4096, 'Argument 3 pass...', '/usr/share/ngin...', 1379, Array) #1 /usr/share/nginx/html/library/WidgetFramework/WidgetRenderer/Poll.php(144): XenForo_Model_Thread->canVoteOnPoll(Array, Array) #2 /usr/share/nginx/html/library/WidgetFramework/WidgetRenderer.php(667): WidgetFramework_WidgetRenderer_Poll->_render(Array, 'EWRporta_Portal', Array, Object(XenForo_Template_Public)) #3 /usr/share/nginx/html/library/WidgetFramework/Core.php(391): WidgetFramework_WidgetRenderer->render(Array, 'EWRporta_Portal', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString)) #4 /usr/share/nginx/html/library/WidgetFramework/Core.php(308): WidgetFramework_Core->_renderWidgetsFor('EWRporta_Portal', Array, Object(XenForo_Template_Public), '') #5 /usr/share/nginx/html/library/WidgetFramework/Listener.php(126): WidgetFramework_Core->renderWidgetsFor('EWRporta_Portal', Array, Object(XenForo_Template_Public), Array) #6 [internal function]: WidgetFramework_Listener::template_post_render('EWRporta_Portal', '\n\t\n\n\n\n\n\n\n\n\n\n\n\n\n...', Array, Object(XenForo_Template_Public)) #7 /usr/share/nginx/html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array) #8 /usr/share/nginx/html/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'EWRporta_Portal') #9 /usr/share/nginx/html/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render() #10 /usr/share/nginx/html/library/XenForo/ViewRenderer/HtmlPublic.php(123): XenForo_Template_Public->render() #11 /usr/share/nginx/html/library/XenForo/FrontController.php(618): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array) #12 /usr/share/nginx/html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array) #13 /usr/share/nginx/html/index.php(13): XenForo_FrontController->run() #14 {main} Request State array(3) { ["url"] => string(20) "https://oniichan.us/" ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
Widget Framework 2.5.0c
Yes, there is a conflict between [bd] Widget Framework and XenForo 1.4 new poll system. Expect new version soon.@xfrocks
The following happens when the Poll block is enabled and prevents you from viewing the page it is on.:
An exception occurred: Argument 3 passed to XenForo_Model_Thread::canVoteOnPoll() must be an array, none given, called in /home/technolo/public_html/library/WidgetFramework/WidgetRenderer/Poll.php on line 144 and defined in /home/technolo/public_html/library/XenForo/Model/Thread.php on line 1379
- XenForo_Application::handlePhpError() in XenForo/Model/Thread.php at line 1379
- XenForo_Model_Thread->canVoteOnPoll() in WidgetFramework/WidgetRenderer/Poll.php at line 144
- WidgetFramework_WidgetRenderer_Poll->_render() in WidgetFramework/WidgetRenderer.php at line 667
- WidgetFramework_WidgetRenderer->render() in WidgetFramework/Core.php at line 396
- WidgetFramework_Core->_renderWidgetsFor() in WidgetFramework/Core.php at line 313
- WidgetFramework_Core->renderWidgetsFor() in WidgetFramework/Listener.php at line 126
- WidgetFramework_Listener::template_post_render()
- call_user_func_array() in XenForo/CodeEvent.php at line 58
- XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 195
- XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
- XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 123
- XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 618
- XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
- XenForo_FrontController->run() in /home/technolo/public_html/index.php at line 13
With it disabled, the error doesn't occur.
It is possible on the recent posts widget to have it bold/unbold threads based on if they've been read or not? Similar to how its done with XenPorta or default xenforo behavior?
For nowMy fingers crossed we get the ability to do this this in the new version![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.