Resource icon

[bd] Widget Framework 2.6.6

No permission to download
I used to run a Joomla! website and my users loved the Radio modules: http://extensions.joomla.org/search?q=radioBut... I can see that could be a lot of work to do so its okay.

I enjoy social widgets such as:
EventsBirthday
EventsCalender
Countdown
There is a birthday renderer.

The calendar widget in XenPorta looks like an integration between that add-on and XenMedio so it can't be added to [bd] Widget Framework.

Countdown renderer is almost done but still not released at this point. Probably soon.
 
I started getting this database error today, for guests only:

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Data too long for column 'data_value' at row 1 - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, Today at 8:43 AM
Stack Trace
#0 /home/orchidsforum/www/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/orchidsforum/www/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/orchidsforum/www/library/XenForo/Model/DataRegistry.php(164): Zend_Db_Adapter_Abstract->query('?????INSERT INT...', Array)
#3 /home/orchidsforum/www/library/WidgetFramework/Model/Cache.php(51): XenForo_Model_DataRegistry->set('wf_cache_1', Array)
#4 /home/orchidsforum/www/library/WidgetFramework/Model/Cache.php(28): WidgetFramework_Model_Cache->_set(1, Array)
#5 /home/orchidsforum/www/library/WidgetFramework/Core.php(301): WidgetFramework_Model_Cache->setCachedWidgets(Array, 1)
#6 /home/orchidsforum/www/library/WidgetFramework/Core.php(321): WidgetFramework_Core->_saveCachedWidget(24, '<div class="ava...', true, false)
#7 /home/orchidsforum/www/library/WidgetFramework/WidgetRenderer.php(428): WidgetFramework_Core::saveCachedWidget(24, '<div class="ava...', true, false)
#8 /home/orchidsforum/www/library/WidgetFramework/Core.php(189): WidgetFramework_WidgetRenderer->render(Array, 'tinhte_xentag_t...', Array, Object(XenForo_Template_Public), '')
#9 /home/orchidsforum/www/library/WidgetFramework/Core.php(145): WidgetFramework_Core->_renderWidgetsFor('tinhte_xentag_t...', Array, Object(XenForo_Template_Public), '')
#10 /home/orchidsforum/www/library/WidgetFramework/Listener.php(20): WidgetFramework_Core->renderWidgetsFor('tinhte_xentag_t...', Array, Object(XenForo_Template_Public), Array)
#11 [internal function]: WidgetFramework_Listener::template_post_render('tinhte_xentag_t...', '?????????<field...', Array, Object(XenForo_Template_Public))
#12 /home/orchidsforum/www/library/XenForo/CodeEvent.php(54): call_user_func_array(Array, Array)
#13 /home/orchidsforum/www/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array)
#14 /home/orchidsforum/www/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#15 /home/orchidsforum/www/library/XenForo/ViewRenderer/HtmlPublic.php(119): XenForo_Template_Public->render()
#16 /home/orchidsforum/www/library/XenForo/FrontController.php(565): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#17 /home/orchidsforum/www/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#18 /home/orchidsforum/www/index.php(13): XenForo_FrontController->run()
#19 {main}

Disabling this add-on removes the error.
 
I started getting this database error today, for guests only:

Looks like you have too many widgets (from the beginning, not currently) and the add-on didn't clean the cache properly -> the cache contains a lot of expired data -> it grows larger than the 16MB limit. If you can, go to MySQL management console/phpMyAdmin and delete the row in xf_data_registry with data_key = 'wf_cache_1'. Or you can send your site info via Conversation, I will come and see.
 
Bro, for birthday renderer is it possible to have option not to show inactive user's birthday ? or only include user with post more than X and/or also based on their last activity ?
 
thank you..
oh and since you are listening right now :D how about auto Ajax refresh in latest post widget?
That's a different feature and I don't see it getting into [bd] Widget Framework. This add-on only provides a solid base with minimum amount of renderers and functionalities. Other fancy work should be done in other add-on.
 
The WF works super for me except in one occassion. When I select display option "all" for a certain widget all pages except for the normal forum don't open anymore. For example the resource manager and xenmedio mod. Any clues how to get this working?
 
The WF works super for me except in one occassion. When I select display option "all" for a certain widget all pages except for the normal forum don't open anymore. For example the resource manager and xenmedio mod. Any clues how to get this working?
How do you have the Resource Manager? Using "all" is some what dangerous and it's expected to have conflict problem. If you want to identify the culprit, you can send me your site via Conversation.
 
Hi. I'm implementing a feature where member avatars will be unvisible to guests not registered with the forum. I sorted it out in the forum section. Now I'm working with the widgets since there a small avatars there as well.

In the following template (wf_widget_threads) I have identified the following code:

PHP:
<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>

This code I assume should be replaced...
PHP:
<xen:avatar user="$thread" size="s" img="true" />

With this code that checks a few permissions...
PHP:
<xen:if is="!{xen:helper ismemberof, $visitor, 2} AND {xen:helper ismemberof, $thread, 11}">
                <a href="{xen:link members, $thread}" class="avatar Av{$thread.user_id}m" data-avatarHtml="true"><span class="img s" style="background-image: url('styles/default/xenforo/avatars/avatar_s.png')"></span></a>
            <xen:else />
                <xen:avatar user="$thread" size="s" img="true" />
            </xen:if>

The only thing now is that it does not work :) Any help or pointers in the right direction is appreciated :) I'm doing this modify with help of TMS.
 
Back
Top Bottom