masterchief
Well-known member
I want to create a widget page using it to replace standard forum_list page. What renderer should I use and what is the proper expression to identify threads for each group?
Attached is the screenshot from admin area and front page can be seen here - http://www.africahunting.com/Strange. Please post a screenshot of your setup. Also make sure to run the latest version of the add-on
An exception occurred: Mysqli prepare error: MySQL server has gone away in /home/user/public_html/xf13/library/Zend/Db/Statement/Mysqli.php on line 77
Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
XenForo_Model->fetchAllKeyed() in XenForo/Model/AdminNavigation.php at line 31
XenForo_Model_AdminNavigation->getAdminNavigationEntries() in XenForo/Model/AdminNavigation.php at line 405
XenForo_Model_AdminNavigation->getAdminNavigationForDisplay() in XenForo/Dependencies/Admin.php at line 224
XenForo_Dependencies_Admin->_getNavigationContainerParams() in XenForo/Dependencies/Admin.php at line 202
XenForo_Dependencies_Admin->getEffectiveContainerParams() in XenForo/FrontController.php at line 616
XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
XenForo_FrontController->run() in /home/doctor/public_html/xf13/admin.php at line 13
An exception occurred: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/user/public_html/xf13/library/Zend/Db/Adapter/Mysqli.php on line 333
[LIST=1]
[*]Zend_Db_Adapter_Mysqli->_connect() in Zend/Db/Adapter/Abstract.php at line 315
[*]Zend_Db_Adapter_Abstract->getConnection() in XenForo/Application.php at line 685
[*]XenForo_Application->loadDb()
[*]call_user_func_array() in XenForo/Application.php at line 922
[*]XenForo_Application->lazyLoad() in XenForo/Application.php at line 953
[*]XenForo_Application::get() in XenForo/Application.php at line 1481
[*]XenForo_Application::getDb() in XenForo/Model.php at line 161
[*]XenForo_Model->_getDb() in XenForo/Model/DataRegistry.php at line 138
[*]XenForo_Model_DataRegistry->_getMultiFromDb() in XenForo/Model/DataRegistry.php at line 97
[*]XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 144
[*]XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 127
[*]XenForo_FrontController->run() in /home/doctor/public_html/xf13/index.php at line 13
[/LIST]
Has something like this been implemented for recent statuses? Very annoying to not see recent statuses until an hour after they were posted.Would it be possible to add a user adjustable timer to the Recent Status caching? I think it's currently set at a default 3600 seconds (1 hour) - could we have an ACP option to change it to suit? (or maybe have a drop-down selection so people can't run it every second!!! perhaps 5 mins / 10 mins / 15 mins / 30 mins / 60 mins - so people can adjust to suit?)
Become OK after an hour or soHi, during import of a widget to my existing widgets list i received the following error
error showing on user sideCode:An exception occurred: Mysqli prepare error: MySQL server has gone away in /home/user/public_html/xf13/library/Zend/Db/Statement/Mysqli.php on line 77 Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115 Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381 Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478 Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219 XenForo_Model->fetchAllKeyed() in XenForo/Model/AdminNavigation.php at line 31 XenForo_Model_AdminNavigation->getAdminNavigationEntries() in XenForo/Model/AdminNavigation.php at line 405 XenForo_Model_AdminNavigation->getAdminNavigationForDisplay() in XenForo/Dependencies/Admin.php at line 224 XenForo_Dependencies_Admin->_getNavigationContainerParams() in XenForo/Dependencies/Admin.php at line 202 XenForo_Dependencies_Admin->getEffectiveContainerParams() in XenForo/FrontController.php at line 616 XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158 XenForo_FrontController->run() in /home/doctor/public_html/xf13/admin.php at line 13
Code:An exception occurred: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/user/public_html/xf13/library/Zend/Db/Adapter/Mysqli.php on line 333 [LIST=1] [*]Zend_Db_Adapter_Mysqli->_connect() in Zend/Db/Adapter/Abstract.php at line 315 [*]Zend_Db_Adapter_Abstract->getConnection() in XenForo/Application.php at line 685 [*]XenForo_Application->loadDb() [*]call_user_func_array() in XenForo/Application.php at line 922 [*]XenForo_Application->lazyLoad() in XenForo/Application.php at line 953 [*]XenForo_Application::get() in XenForo/Application.php at line 1481 [*]XenForo_Application::getDb() in XenForo/Model.php at line 161 [*]XenForo_Model->_getDb() in XenForo/Model/DataRegistry.php at line 138 [*]XenForo_Model_DataRegistry->_getMultiFromDb() in XenForo/Model/DataRegistry.php at line 97 [*]XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 144 [*]XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 127 [*]XenForo_FrontController->run() in /home/doctor/public_html/xf13/index.php at line 13 [/LIST]
Any idea to deal with that?
Q: Can we use category id instead? That way, show widget under category X would cover all the forums under this category.Hello,
I am trying to add some widgets to the side bar but I have two problems.
Can anyone please help me. I have checked the FAQ but I am still lost. Maybe I am not replacing what needs to be replaced correctly.
- I am trying to make the widget only show for one category. Here is the link: http://clubfauna.com/forums/categories/classifieds.44/ But I can not seem to make it work. How would the conditional look for that?
- I am trying to make another widget show for multiple categories, but that does not work.
$forum['parent_node_id'] == <category-id>
Hi xf,
Is it possible to have new posts not show up in the 'Latest Replies' sidebar?
Thanks
Ken
No idea, but I think it's not possible.Is it possible to have this addressed or can someone on here tell me how I would accomplish this?
Ken
No idea, but I think it's not possible.
or you want some new post on certain node only?
Yes I think it's possible but don't know what's the right expression.I just want to the new threads to show on 'newest threads' and those threads that don't have any
replies not to show up on 'latest replies' on the sidebar.
I would think this would be doable but I'm not overly techie.
Ken
Yes I think it's possible but don't know what's the right expression.
On expression box, try this:Thanks anyway for responding. If you think of something let me know.
K
$thread['reply_count'] > 0
On expression box, try this:
Code:$thread['reply_count'] > 0
We use essential cookies to make this site work, and optional cookies to enhance your experience.