Yeah it should be best threads not random best posts.Anyhoo, those are the functions I would kill for.
.....wow....!It's not uncommon to have 30,000 new likes a day.
That's an incredible number!30,000 new likes a day
It's a little excessiveThat's an incredible number!
Can I set the min number of best likes in the thread to zero - which would show the whole thread, even those without likes? If so, will it just order them by most recent?
Unfortunately that isn't possible, as setting the option to zero will disable the per-thread listing entirely
Please expand post to view the update instructions.
Changelog:
1.2.0 (03/05/2015):
___________________________________________________________...
- Added Post ID blacklist option (e.g. to hide announcement posts)
- Fixed Best Posts in Forum not working on nodes with custom URLs
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) + post.likes, unix_timestamp() from xf_post post where po' at line 4 - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, 46 minutes ago
Stack Trace
#0 /home/foro/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\t\t\treplace i...')
#1 /home/foro/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\t\t\treplace i...')
#2 /home/foro/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\t\t\treplace i...')
#3 /home/foro/public_html/library/Dark/BestPosts/Model.php(93): Zend_Db_Adapter_Abstract->query('\r\n\t\t\t\treplace i...', Array)
#4 /home/foro/public_html/library/Dark/BestPosts/ControllerPublic/Thread.php(24): Dark_BestPosts_Model->updatePositiveRatingCacheForThread(223)
#5 /home/foro/public_html/library/XenForo/FrontController.php(347): Dark_BestPosts_ControllerPublic_Thread->actionBestPosts()
#6 /home/foro/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/foro/public_html/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
["url"] => string(50) "https://my-website./threads/thread-tittle/best-posts"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
How does it handle private nodes like the administrative nodes that the rest of the community doesn't see?
Hello Luke, I'm getting, this error:
Could you please give me a hand to solve it? Thanks!Code:Server Error Log Error Info Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) + post.likes, unix_timestamp() from xf_post post where po' at line 4 - library/Zend/Db/Statement/Mysqli.php:77 Generated By: Unknown Account, 46 minutes ago Stack Trace #0 /home/foro/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\t\t\treplace i...') #1 /home/foro/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\t\t\treplace i...') #2 /home/foro/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\t\t\treplace i...') #3 /home/foro/public_html/library/Dark/BestPosts/Model.php(93): Zend_Db_Adapter_Abstract->query('\r\n\t\t\t\treplace i...', Array) #4 /home/foro/public_html/library/Dark/BestPosts/ControllerPublic/Thread.php(24): Dark_BestPosts_Model->updatePositiveRatingCacheForThread(223) #5 /home/foro/public_html/library/XenForo/FrontController.php(347): Dark_BestPosts_ControllerPublic_Thread->actionBestPosts() #6 /home/foro/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #7 /home/foro/public_html/index.php(13): XenForo_FrontController->run() #8 {main} Request State array(3) { ["url"] => string(50) "https://my-website./threads/thread-tittle/best-posts" ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
We use essential cookies to make this site work, and optional cookies to enhance your experience.