D.C Style - Widgets

D.C Style - Widgets 1.1.6

No permission to download

​

SELECT xf_thread., xf_forum_Forum_1., xf_node_Node_2., xf_permission_cache_content_Permissions_3., xf_user_User_4., xf_user_LastPoster_5., xf_thread_read_Read_6., xf_thread_user_post_UserPosts_7., xf_thread_watch_Watch_8., xf_forum_read_Read_9., xf_forum_watch_Watch_10., xf_post_FirstPost_11.
FROM xf_thread
LEFT JOIN xf_forum AS xf_forum_Forum_1 ON (xf_forum_Forum_1.node_id = xf_thread.node_id)
LEFT JOIN xf_node AS xf_node_Node_2 ON (xf_node_Node_2.node_id = xf_forum_Forum_1.node_id)
LEFT JOIN xf_permission_cache_content AS xf_permission_cache_content_Permissions_3 ON (xf_permission_cache_content_Permissions_3.content_type = 'node' AND xf_permission_cache_content_Permissions_3.content_id = xf_node_Node_2.node_id AND xf_permission_cache_content_Permissions_3.permission_combination_id = '631')
LEFT JOIN xf_user AS xf_user_User_4 ON (xf_user_User_4.user_id = xf_thread.user_id)
LEFT JOIN xf_user AS xf_user_LastPoster_5 ON (xf_user_LastPoster_5.user_id = xf_thread.last_post_user_id)
LEFT JOIN xf_thread_read AS xf_thread_read_Read_6 ON (xf_thread_read_Read_6.thread_id = xf_thread.thread_id AND xf_thread_read_Read_6.user_id = '2')
LEFT JOIN xf_thread_user_post AS xf_thread_user_post_UserPosts_7 ON (xf_thread_user_post_UserPosts_7.thread_id = xf_thread.thread_id AND xf_thread_user_post_UserPosts_7.user_id = '2')
LEFT JOIN xf_thread_watch AS xf_thread_watch_Watch_8 ON (xf_thread_watch_Watch_8.thread_id = xf_thread.thread_id AND xf_thread_watch_Watch_8.user_id = '2')
LEFT JOIN xf_forum_read AS xf_forum_read_Read_9 ON (xf_forum_read_Read_9.node_id = xf_forum_Forum_1.node_id AND xf_forum_read_Read_9.user_id = '2')
LEFT JOIN xf_forum_watch AS xf_forum_watch_Watch_10 ON (xf_forum_watch_Watch_10.node_id = xf_forum_Forum_1.node_id AND xf_forum_watch_Watch_10.user_id = '2')
LEFT JOIN xf_post AS xf_post_FirstPost_11 ON (xf_post_FirstPost_11.post_id = xf_thread.first_post_id)
WHERE (xf_thread.discussion_state = 'visible') AND (xf_thread.discussion_type <> 'redirect') AND (xf_thread.node_id IN (85, 76, 40, 62, 58, 16, 14, 21, 12, 82, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 81, 88, 54, 55, 56, 13, 15, 20, 17, 18, 19, 78, 61, 75, 60, 22, 77, 23, 48, 24, 79, 28, 27))
ORDER BY RAND() ASC
LIMIT 20
------------

#0 src/XF/Db/Mysqli/Statement.php(207): XF\Db\AbstractStatement->getException('MySQL fetch err...', 2014, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(142): XF\Db\Mysqli\Statement->getException('MySQL fetch err...', 2014, 'HY000')
#2 src/XF/Db/AbstractStatement.php(95): XF\Db\Mysqli\Statement->fetchRowValues()
#3 src/XF/Mvc/Entity/Finder.php(1494): XF\Db\AbstractStatement->fetchAliasGrouped()
#4 src/XF/Mvc/Entity/Finder.php(1450): XF\Mvc\Entity\Finder->getCollectionFromResults(Object(XF\Db\Mysqli\Statement))
#5 src/addons/DC/Widgets/Widget/RandomThreads.php(161): XF\Mvc\Entity\Finder->fetch()
#6 internal_data/code_cache/widgets/_63_Random22_Threads.php(5): DC\Widgets\Widget\RandomThreads->render()
#7 src/XF/Template/Templater.php(8176): XF\SubContainer\Widget->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, Array)
#8 src/XF/SubContainer/Widget.php(176): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#9 src/XF/Template/Templater.php(2145): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#10 internal_data/code_cache/templates/l9/s1/public/forum_list.php(235): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#11 src/XF/Template/Templater.php(1800): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#12 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('forum_list', Array, true, NULL)
#13 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('public:forum_li...', Array)
#14 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#15 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#16 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#20 src/XF.php(806): XF\App->run()
#21 index.php(23): XF::runApp('XF\\Pub\\App')
#22 {main}

​


array(4) {
["url"] => string(1) "/"
["referrer"] => string(34)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
 
Hi,

Would it be possible to add a sorting option that follows the actual forum thread order?

I would like the widget to display the first X threads in the same order as they appear in the forum, taking sticky and bumped threads into account.

Thank you!
 
Hi,

Would it be possible to add a sorting option that follows the actual forum thread order?

I would like the widget to display the first X threads in the same order as they appear in the forum, taking sticky and bumped threads into account.

Thank you!
Hi,

Thanks for your suggestion. I'll review it and will update on the next version very soon.
If you have any suggestions or custom requests, feel free to reply on this thread or open a ticket here.

Regards,
 
D.C Style updated D.C Style - Widgets with a new update entry:

Version 1.1.6

Refer to the suggestion from @Tamasita post: https://xenforo.com/community/threads/d-c-style-widgets.185181/page-5#post-1795973
  • Added Forum order sorting: sticky threads first, followed by the selected forum’s saved sorting settings.
  • Added sticky-first, latest-activity ordering when combining multiple forums.
  • Fixed missing child forums when using “Current forum and its child nodes”.
  • Fixed Forum order widgets showing too few entries after inaccessible or ignored threads were skipped.

Read the rest of this update entry...
 
Back
Top Bottom