• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[bd] Widget Framework 2.6.3

No permission to download

Jeff Fuqua

Well-known member
On forum_list, I have New Posts widget. When a thread has been updated, but not yet viewed, the title is in bold. However, the same widget used everywhere else doesn't have the bold title.

I'd like all unviewed titles to be bold throughout, if possible. If not, I'd like to remove the bold throughout.

Any suggestions? Thanks.
 
I have a small problem with a conditional statement. I created a profile field with checkboxes (ID=sidebar), where users can tick which widget should be disabled. A few times a day, I get the following PHP notice in my adminCP:

Code:
Error Info
ErrorException: Undefined index: sidebar - library/WidgetFramework/Helper/Conditional.php(20) : eval()'d code:2
Generated By: *USERNAME*, Today at 3:24 PM

Stack Trace
#0 /***/library/WidgetFramework/Helper/Conditional.php(20) : eval()'d code(2): XenForo_Application::handlePhpError(8, 'Undefined index...', '/***...', 2, Array)
#1 /***/library/WidgetFramework/Helper/Conditional.php(20): eval()
#2 /***/library/WidgetFramework/WidgetRenderer.php(581): WidgetFramework_Helper_Conditional::test('{$visitor.user_...', '$__output = '';...', Array)
#3 /***/library/WidgetFramework/WidgetRenderer.php(665): WidgetFramework_WidgetRenderer->_testConditional(Array, Array)
#4 /***/library/WidgetFramework/Core.php(519): WidgetFramework_WidgetRenderer->render(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
#5 /***/library/WidgetFramework/Core.php(481): WidgetFramework_Core->renderWidget(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
#6 /***/library/WidgetFramework/Core.php(448): WidgetFramework_Core->renderWidgets(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
#7 /***/library/WidgetFramework/Core.php(327): WidgetFramework_Core->_renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
#8 /***/library/WidgetFramework/Listener.php(133): WidgetFramework_Core->renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Array)
#9 /***/library/XenForo/CodeEvent.php(58): WidgetFramework_Listener::template_post_render('forum_list', '\n\t\n\n\n\n\n\n\t\n\n\n\n\t\n...', Array, Object(XenForo_Template_Public))
#10 /***/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_list')
#11 /***/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#12 /***/library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render()
#13 /***/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#14 /***/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#15 /***/index.php(13): XenForo_FrontController->run()
#16 {main}

Request State
array(3) {
  ["url"] => string(27) "https://example.com/forums/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
As conditional, I use e. g.
PHP:
!{$visitor.customFields.sidebar} == 'server'
The conditional itself works as expected, but generates the above message all the time. Do you know why and how I could fix it?
 

EvilSS

Active member
Upgraded to latest version. SO glad i did a back up.
When i go to add/edit Widgets, i get a blank white page as well as 1/2 messed up Widgets on the forum.

error log: [08-Feb-2018 23:51:31 UTC] PHP Parse error: syntax error, unexpected '.', expecting ',' or ';' in /home/user5/public_html/library/WidgetFramework/WidgetRenderer/UserFollow.php on line 5

ErrorException: Fatal Error: syntax error, unexpected '.', expecting ',' or ';' - library/WidgetFramework/WidgetRenderer/UserFollow.php:5

Now to waste a half a day for a restore :D
 
Last edited: