Resource icon

[bd] Widget Framework 2.6.6

No permission to download
I have installed this addon and enabled the recent threads widget. But it doesn't show the right avatars of the last poster, but always the "?" avatar. I have applied this fix but it didn't help.
 
I have installed this addon and enabled the recent threads widget. But it doesn't show the right avatars of the last poster, but always the "?" avatar. I have applied this fix but it didn't help.
Are you running the latest version? The recent mode is not affected by that bug, it has its own problem until the recent versions in which I fixed that. Make sure you have the latest version and/or uploading the files again.
 
Are you running the latest version? The recent mode is not affected by that bug, it has its own problem until the recent versions in which I fixed that. Make sure you have the latest version and/or uploading the files again.
I am running the latest version (2.1.1). Just downloaded it again and re-uploaded all files, but still there are only "?" avatars.

Btw, I somehow fail to find the phrase for "Staff Online Now". Although the original Staff Online Now phrase is translated by me, with widget framework it shows the phrase in english. Do you maybe use a hard coded phrase for Staff Online Now?
 
I am running the latest version (2.1.1). Just downloaded it again and re-uploaded all files, but still there are only "?" avatars.

Btw, I somehow fail to find the phrase for "Staff Online Now". Although the original Staff Online Now phrase is translated by me, with widget framework it shows the phrase in english. Do you maybe use a hard coded phrase for Staff Online Now?
Can you send me the site info via conversation? I will have to check this.

About the title, you can change the widget title in the widget page (in AdminCP).
 
About the title, you can change the widget title in the widget page (in AdminCP).
It would be better to replace the title of widgets with phrases. This would make widget framework support multi-lingual sites.

Can you send me the site info via conversation? I will have to check this.
I can't because my site is not up yet. But I have found the issue. There seems to be a conflict with Syndol's User Essentials addon, because if I disable it, the correct avatars are apearing. It seems only the Threads renderer is affected, because avatars are showing up in the users widget with the users renderer. I don't know if you have Syndol's addon, but you need it to reproduce this. Perhaps Syndol can help?

Edit: And while I am at it, here goes a suggestion for the recent threads widget: Clicking user's names opens their full profile page. How about the member card overlay?
 
It would be better to replace the title of widgets with phrases. This would make widget framework support multi-lingual sites.


I can't because my site is not up yet. But I have found the issue. There seems to be a conflict with Syndol's User Essentials addon, because if I disable it, the correct avatars are apearing. It seems only the Threads renderer is affected, because avatars are showing up in the users widget with the users renderer. I don't know if you have Syndol's addon, but you need it to reproduce this. Perhaps Syndol can help?

Edit: And while I am at it, here goes a suggestion for the recent threads widget: Clicking user's names opens their full profile page. How about the member card overlay?
Nice catch. You mentioned in your post that you did the manual patch, turned out you patched the wrong one. Sorry, I should have checked more carefully. If you are running User Essentials, there is a manual edit that you need to make as mentioned here. Basically you have to remove one of the safe guard conditional in [bd] Widget Framework. This change will not be included in future release of this add-on so you will have to redo the edit when you upgrade. I contacted Syndol and asked him to find way to limit his code but this workaround is the best we can get now. Sorry for the problem.
 
No problem, as long as there is a fix for it I'm happy. By the way, Cedric's TinyMCE Fix addon reminds me of a possible Widget Framework User Essentials Fix addon. Certainly it would make life easier when an upgrade is due. It would be just a simple addon that searches for the "without user essentials" line and replace it with the "with user essentials" line in the Threads.php file.
 
No problem, as long as there is a fix for it I'm happy. By the way, Cedric's TinyMCE Fix addon reminds me of a possible Widget Framework User Essentials Fix addon. Certainly it would make life easier when an upgrade is due. It would be just a simple addon that searches for the "without user essentials" line and replace it with the "with user essentials" line in the Threads.php file.
You mean checking the source code file to make sure it's fixed? Sounds doable but I'm not sure if it would work well. I will keep an eye on this.
 
Yes, perhaps a better example is Chris Deeming's Disable Cookie Help Page addon. This addon removes lines of code in the core xenforo files to disable the cookie page completly. Of course you can do this manually, but you would have do the edits for each upgrade.
 
Using the recent threads widget it seems that page loading is VERY slow. May the caching be broken?
 
hi

aftger installing widget framework 2days ago
i have these errors every minute which is now around 20,000 errors

--------------
Mysqli statement execute error : Got a packet bigger than 'max_allowed_packet' bytes
#0 /home/obama/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/obama/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/obama/public_html/library/XenForo/Model/DataRegistry.php(164): Zend_Db_Adapter_Abstract->query('?????INSERT INT...', Array)
#3 /home/obama/public_html/library/WidgetFramework/Model/Cache.php(51): XenForo_Model_DataRegistry->set('wf_cache_1', Array)
#4 /home/obama/public_html/library/WidgetFramework/Model/Cache.php(28): WidgetFramework_Model_Cache->_set(1, Array)
#5 /home/obama/public_html/library/WidgetFramework/Core.php(384): WidgetFramework_Model_Cache->setCachedWidgets(Array, 1)
#6 /home/obama/public_html/library/WidgetFramework/Core.php(413): WidgetFramework_Core->_saveCachedWidget('13__t67992', '<div class="ava...', true, false)
#7 /home/obama/public_html/library/WidgetFramework/WidgetRenderer.php(428): WidgetFramework_Core::saveCachedWidget('13__t67992', '<div class="ava...', true, false)
#8 /home/obama/public_html/library/WidgetFramework/Core.php(254): WidgetFramework_WidgetRenderer->render(Array, 'thread_view', Array, Object(XenForo_Template_Public), '')
#9 /home/obama/public_html/library/WidgetFramework/Core.php(192): WidgetFramework_Core->_renderWidgetsFor('thread_view', Array, Object(XenForo_Template_Public), '')
#10 /home/obama/public_html/library/WidgetFramework/Listener.php(30): WidgetFramework_Core->renderWidgetsFor('thread_view', Array, Object(XenForo_Template_Public), Array)
#11 [internal function]: WidgetFramework_Listener::template_post_render('thread_view', '???????????????...', Array, Object(XenForo_Template_Public))
#12 /home/obama/public_html/library/XenForo/CodeEvent.php(54): call_user_func_array(Array, Array)
#13 /home/obama/public_html/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array)
#14 /home/obama/public_html/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#15 /home/obama/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(119): XenForo_Template_Public->render()
#16 /home/obama/public_html/library/XenForo/FrontController.php(565): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#17 /home/obama/public_html/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#18 /home/obama/public_html/index.php(13): XenForo_FrontController->run()
#19 {main}
Request State
array(3) {
["url"] => string(66) "http://www.xxxxxxx.com/threads/something.crazy.67992/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
-------------
Is there a problem with widget framework?
it shows the error in errorlog every minute continous...
thanks
 
Great work, thanks for this plugin!

I would like to make a modification of "Widget Type" = New Replies.
The widget show something like [thread title] [username of last reply] replied [date of last reply]
I would like to remove this "replied" or replace it with something else. Is there a way to do it?
 
hi

aftger installing widget framework 2days ago
i have these errors every minute which is now around 20,000 errors
-------------
Is there a problem with widget framework?
it shows the error in errorlog every minute continous...
thanks

This looks like you have configured to use some widget in thread_view? The cache is so big that it doesn't fit on your database record. Please start a conversation with me with your widgets list and I will see if things can be improved.

Great work, thanks for this plugin!

I would like to make a modification of "Widget Type" = New Replies.
The widget show something like [thread title] [username of last reply] replied [date of last reply]
I would like to remove this "replied" or replace it with something else. Is there a way to do it?
You can edit the template "wf_widget_threads". This particular part:

Code:
           <xen:foreach loop="$recent" value="$thread">
               <li>
               <xen:avatar user="$thread" size="s" img="true" />
 
<xen:include template="wf_widget_threads_thread_title">
<xen:set var="$_showPrefix">{$widget.options.display.show_prefix}</xen:set>
<xen:set var="$_threadLink">{xen:if '{$visitor.user_id} > 0', {xen:link threads/unread, $thread}, {xen:link posts, {xen:array 'post_id={$thread.last_post_id}'}}}</xen:set>
</xen:include>
 
               <div class="userTitle">{xen:phrase wf_x_replied, 'user=<a href="{xen:link 'members', $thread}">{$thread.username}</a>'} <xen:datetime time="{$thread.last_post_date}" /></div>
               </li>
           </xen:foreach>
 
Thanks for the guidance, I have changed the value of wf_x_replied in the Language & Phrases according to my wish.
 
Back
Top Bottom