[bd] Widget Framework v2.6.0 (BETA)

Discussion in '[bd] Widget Framework' started by xfrocks, Sep 16, 2014.

  1. RobinHood

    RobinHood New Member

    I figured out my problem, I had Thumnail Size set to the default of Original, and I guess there's no thumnails to be found in that folder. I switched to one of the other sizes and it's working.

    I'm not sure if the bug is your WF referencing the wrong folder or if it's been moved in SonnB's Gallery
     
  2. eva2000

    eva2000 New Member

    just updated from 2.5.9 to 2.6.3 beta 16 and get this error ?

    Code:
    ErrorException: Undefined variable: forum - library/WidgetFramework/WidgetRenderer.php(572) : runtime-created function:1
    Generated By: Unknown Account, 1 minute ago
    Stack Trace
    #0 /library/WidgetFramework/WidgetRenderer.php(572) : runtime-created function(1): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/nginx/dom...', 1, Array)
    #1 [internal function]: __lambda_func(Array)
    #2 /library/WidgetFramework/WidgetRenderer.php(575): call_user_func('\x00lambda_22', Array)
    #3 /library/WidgetFramework/WidgetRenderer.php(598): WidgetFramework_WidgetRenderer->_executeExpression('in_array($forum...', Array)
    #4 /library/WidgetFramework/WidgetRenderer.php(649): WidgetFramework_WidgetRenderer->_testConditional(Array, Array)
    #5 /library/WidgetFramework/Core.php(499): WidgetFramework_WidgetRenderer->render(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
    #6 /library/WidgetFramework/Core.php(461): WidgetFramework_Core->renderWidget(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
    #7 /library/WidgetFramework/Core.php(428): WidgetFramework_Core->renderWidgets(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
    #8 /library/WidgetFramework/Core.php(311): WidgetFramework_Core->_renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), '\n\t\n\t\n\t\n\t\t\n\t\t\t\n\n...')
    #9 /library/WidgetFramework/Listener.php(134): WidgetFramework_Core->renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Array)
    #10 [internal function]: WidgetFramework_Listener::template_post_render('forum_list', '\n\t\n\n\t\n\n\t\n\t\t\n\t\n\n...', Array, Object(XenForo_Template_Public))
    #11 /library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
    #12 /library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_list')
    #13 /library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
    #14 /library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render()
    #15 /library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
    #16 /library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
    #17 /index.php(13): XenForo_FrontController->run()
    #18 {main}
    using XF 1.5.10 with PHP 5.6.26
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @eva2000 Looks like you have an expression which refers a $forum variable that does not exist. Check your widgets for forum_list.
       
  3. eva2000

    eva2000 New Member

    strangely it resolved itself after i re-saved each custom added widget again listed under forum_list :)

    then upgraded to PHP 7.0.12
     
    xfrocks likes this.
  4. TheComputerGuy

    TheComputerGuy New Member

    I upgrade from 2.5.9 to the latest. It doesn't seem to be saving and allowing me to have the same sidebar I had before. Are there new steps to follow?
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @TheComputerGuy Make sure you have new js files. The old one may be cached?
       
  5. anto74

    anto74 Member

    Hi @xfrocks
    how can i shows one widget only in site mobile version? I have Option "Deactivate for mobile" but i want only shows in mobile.
    Thanks
    Antonio
     
  6. RoldanLT

    RoldanLT Active Member

    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @RoldanLT The minified file is generated by our build tool so it's not in the repo. You can make a copy of the full file and rename for it to work.
       
      RoldanLT likes this.
      1
  7. RoldanLT

    RoldanLT Active Member

    Which JS should I use and correct?

    Since /js/WidgetFramework/default.min.js is called on several templates.
     
  8. sami simo

    sami simo New Member

    Thanks xfrocks for adding the new compact list render,Is it possible to make it work with BD image?
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @sami simo Hmm, the compact list is quite minimal. Not sure how you want image to show up?
       
      sami simo likes this.
      1
  9. sami simo

    sami simo New Member

    I was planning to use the compact list every where Im using the other renders, Because I like too much the minimal design and the "show more" feature ;). I have adjusted the font and line height via css.. so there is enough room in my case to show pictures like any other render.
     
  10. wolven

    wolven New Member

    imthebest likes this.
Loading...