Resource icon

[bd] Widget Framework 2.6.6

No permission to download
I have a widget with position "all" but it doesn't show on any of the "account" pages. The only widget that does show up on those pages is the "members online now". How can I force it?
 
Hi,

I'm going to upgrade my current Xenforo installation to get some of the new GDPR features.

Before I upgrade my production environment I want to make a test upgrade first. So I went ahead and backed up the database and the forum files and restored them to another subdomain. When logging in to the forum in the new subdomain I changed the board url from http://www.mydomain.nu/community to http://test.mydomain.nu/community.

When I did that and tried to access the main forum page I got this error:

Fatal error: Cannot 'break' 2 levels in /xxx/public_html/community/library/WidgetFramework/Helper/Index.php on line 90

Any idea why I'm getting this error?
 
Hi,

I'm going to upgrade my current Xenforo installation to get some of the new GDPR features.

Before I upgrade my production environment I want to make a test upgrade first. So I went ahead and backed up the database and the forum files and restored them to another subdomain. When logging in to the forum in the new subdomain I changed the board url from http://www.mydomain.nu/community to http://test.mydomain.nu/community.

When I did that and tried to access the main forum page I got this error:

Fatal error: Cannot 'break' 2 levels in /xxx/public_html/community/library/WidgetFramework/Helper/Index.php on line 90

Any idea why I'm getting this error?
I had the same error, in my 'files' in my case in my cPanel, I located the 'WidgetFramework/Helper/Index.php' in my library and then edited that file on line '90' and removed the '2' and saved.
That fixed it, it's a bit dirty but it worked.
I mentioned it here:
https://xenforo.com/community/threads/php-version-errors-after-hosting-transfer.145885/#post-1242686

As there's no real support on this addon I'd advise removing this addon and upgrading to XF2 with it's built in sidebar...
 
Yay.
Known conflicts with the following third-party add-ons have been detected:
  • [bd] Widget Framework
Conflicts will be resolved during the upgrade process by renaming affected database tables and columns. If you do not intend to use the add-ons after upgrading, you may prefer to restore the XenForo files from your previous version and uninstall the conflicting add-ons. The add-on authors may have more specific recommendations for resolving these conflicts.
 
I understand how to use the last five threads to have news on a page.
But i want to have the last five posts from one single thread. But i can get only the last thread.
Are there any more renderer to fetch what i need, please?
 
When did the behavior of the "recent posts" widget change? It used to show both new posts and replies. Now it's one or the other, so you have to create two separate, space-hogging widgets. What was the last version that had the old behavior? I'll downgrade to that one. Thanks.
 
I use "[Advanced] HTML & Template (without wrapper)" with a new template named "ad_widget_thread_view".

Works.

But it does not render all "xen:set var" variables I set in thread_view template. I passed them to PAGE_CONTAINER via "xen:container". This works in all standard templates that are included in the thread_view page but not with the widget framework template.

Any hint?
 
I use "[Advanced] HTML & Template (without wrapper)" with a new template named "ad_widget_thread_view".

Works.

But it does not render all "xen:set var" variables I set in thread_view template. I passed them to PAGE_CONTAINER via "xen:container". This works in all standard templates that are included in the thread_view page but not with the widget framework template.

Any hint?

Hmm, could you provide instructions on this for a guy who does not understand the second part of this:

But it does not render all "xen:set var" variables I set in thread_view template. I passed them to PAGE_CONTAINER via "xen:container". This works in all standard templates that are included in the thread_view page but not with the widget framework template.
 
I use 2.6.4
I have a widget page as index
breadcrump: home;

i have set more widget-pages under this one
but they dont apper in the second navi; i can get rid of the "forum links", but i cant make my new pages visible.

the breadcrump for the pages
home
-- test
-- test2

are

home > forums > home

Is there a way to get rid of the forums here, please?
 
@xfrocks

I got a notice in my panel saying there was an update available on you site "Released: Jun 26, 2018" but there's no update notes and the group tabs still dont seem to stack correctly. What was changed in the update?
 
  • Like
Reactions: rdn
The Framework is running on OK my xf 1.5 site, no issues with it. However when I try to create a competition using @Chris D 's competition Mod I get this error. This only occurs when trying to run Chris's addon but Chris can't help as he says it's within the Widget framework. I don't have any competition widgets. Does anyone have any idea why the competitions mod would throw this error? Thanks in anticipation.

An exception occurred: Argument 1 passed to XenForo_Template_Helper_Core::helperIsMemberOf() must be of the type array, object given, called in /var/www/vhosts/xyz.co.uk/httpdocs/forum/library/WidgetFramework/WidgetRenderer.php(554) : eval()'d code on line 1 in /var/www/vhosts/xyz.co.uk/httpdocs/forum/library/XenForo/Template/Helper/Core.php on line 1351

XenForo_Template_Helper_Core::helperIsMemberOf() in WidgetFramework/WidgetRenderer.php(554) : eval()'d code at line 1
eval() in WidgetFramework/WidgetRenderer.php at line 554
WidgetFramework_WidgetRenderer->{closure}() in WidgetFramework/WidgetRenderer.php at line 561
WidgetFramework_WidgetRenderer->_executeExpression() in WidgetFramework/WidgetRenderer.php at line 585
WidgetFramework_WidgetRenderer->_testConditional() in WidgetFramework/WidgetRenderer.php at line 665
WidgetFramework_WidgetRenderer->render() in WidgetFramework/Core.php at line 519
WidgetFramework_Core->renderWidget() in WidgetFramework/Core.php at line 481
WidgetFramework_Core->renderWidgets() in WidgetFramework/Core.php at line 448
WidgetFramework_Core->_renderWidgetsFor() in WidgetFramework/Core.php at line 327
WidgetFramework_Core->renderWidgetsFor() in WidgetFramework/Listener.php at line 133
WidgetFramework_Listener::template_post_render() in XenForo/CodeEvent.php at line 58
XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 205
XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 124
XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 662
XenForo_FrontController->renderView() in XenForo/FrontController.php at line 176
XenForo_FrontController->run() in /var/www/vhosts/xyz.co.uk/httpdocs/forum/index.php at line 13
 
When did the behavior of the "recent posts" widget change? It used to show both new posts and replies. Now it's one or the other, so you have to create two separate, space-hogging widgets. What was the last version that had the old behavior? I'll downgrade to that one. Thanks.
experiencing the same thing...thought i was crazy, since i'm installing this for the first time. doubt this was expected behavior?

update: reverted back to 2.5.9 and the functionality was identical + my widgets created in 2.6.3 weren't importable (the html content wasn't there)...had to revert back to 2.6.3 with only new replies showing rather than new posts (new thread) & new replies in one
 
Last edited:
Top Bottom