Adriano Faria Posted October 26, 2017 Author Share Posted October 26, 2017 (edited) Which tab? Edited October 26, 2017 by Adriano Faria Link to comment
shahed Posted October 26, 2017 Share Posted October 26, 2017 (edited) Week / Month Probably all tabs due year and all time tabs have users with more article than those recently submit unapproved articles. --- I'll tried to uninstall plugin/install again. but this time I don't have Top content poster section anymore in Sidebar management. Try cleared all cached with support section. but didn't work. Edited October 26, 2017 by shahed Link to comment
Adriano Faria Posted October 26, 2017 Author Share Posted October 26, 2017 I’ll check again today later. shahed 1 Link to comment
shahed Posted October 26, 2017 Share Posted October 26, 2017 I try to restore 1.0.1 version and this time, plugin's sidebar management item appeared again. Link to comment
Adriano Faria Posted October 26, 2017 Author Share Posted October 26, 2017 (edited) 2 hours ago, shahed said: Probably all tabs due year and all time tabs have users with more article than those recently submit unapproved articles. I forgot to add the checking in the ajax tabs; only the first one was right. What's New in Version 1.0.2.1: Removes unapproved items from the widget (ajax) Edited October 26, 2017 by Adriano Faria Link to comment
shahed Posted October 27, 2017 Share Posted October 27, 2017 Yes It's Worked. Thanks Adriano Link to comment
nodle Posted January 10, 2018 Share Posted January 10, 2018 (edited) A suggestion would be either in this plugin or a new plugin. A Top Reactions filter. Basically this would calculate the most reactions to post for a thread either in a week/month/year format. When clicking on the thread in the widget it would take you to the post with the most reactions. Edited January 10, 2018 by nodle Link to comment
DSystem Posted February 28, 2018 Share Posted February 28, 2018 (edited) Ola! @ Adriano Faria I set up to show Top 25 uploaders. When I click on the tab to show monthly, annual or total. Shows only 5 users You can check this link https://forum.eletronicabr.com/top_ebr/ Edited February 28, 2018 by DSystem Link to comment
Adriano Faria Posted February 28, 2018 Author Share Posted February 28, 2018 It's hardcoded to show up to 20, not sure why. Can you test with 20 or 19 to see if it works? I'll release a fix after your reply. /* How many? */ $limit = intval( ( isset( \IPS\Request::i()->limit ) and \IPS\Request::i()->limit < 20 ) ? \IPS\Request::i()->limit : 5 ); Link to comment
DSystem Posted February 28, 2018 Share Posted February 28, 2018 I tested it with 19 and 20: 19-> Perfect 20-> does not work Adriano Faria 1 Link to comment
Adriano Faria Posted February 28, 2018 Author Share Posted February 28, 2018 What's New in Version 1.0.3: Fix number of items to display in ajax tabs (hardcoded to 20) Example listing 37 records: Link to comment
DSystem Posted February 28, 2018 Share Posted February 28, 2018 Can't you leave it with a bigger number? I believe 30 would be a good number Link to comment
Adriano Faria Posted February 28, 2018 Author Share Posted February 28, 2018 (edited) I configured it to 50. I have only 37 records. You can use 1000 if you want. Edited February 28, 2018 by Adriano Faria DSystem and shahed 1 1 Link to comment
SeeQ10 Posted June 25, 2018 Share Posted June 25, 2018 Please tell me if it will be possible to set displaying "All time" Top Content Posters as default instead of "Week" ? That's a decisive factor in this case for me buying this or not ? Link to comment
Adriano Faria Posted February 18, 2019 Author Share Posted February 18, 2019 What's New in Version 1.1.0: Compatible with IPS. 4.4 only! Link to comment
Jimi Wikman Posted February 21, 2020 Share Posted February 21, 2020 For pages is it for all databases or can you select one? Link to comment
Adriano Faria Posted February 22, 2020 Author Share Posted February 22, 2020 1 hour ago, Jimi Wikman said: For pages is it for all databases or can you select one? You can choose the database: Jimi Wikman 1 Link to comment
Jimi Wikman Posted February 23, 2020 Share Posted February 23, 2020 On 2/22/2020 at 1:01 AM, Adriano Faria said: You can choose the database: Perfect 🙂 Link to comment
AA15 Posted May 15, 2020 Share Posted May 15, 2020 (edited) Hi @Adriano Faria For your next release is it possible to please add top content poster by custom date? Like a user can specify the range for which they would like to see, like April 1 2019 to April 30 2019 or at least an admin can create and show such a block to users? Edited May 15, 2020 by AA15 Link to comment
Adriano Faria Posted May 15, 2020 Author Share Posted May 15, 2020 No plans to add such feature, sorry. Link to comment
DSystem Posted August 21, 2022 Share Posted August 21, 2022 @Adriano Faria Hi! After I updated to ips 4.7 I have thousands of errors in the logs: The URL of page the error occurred on was https://eletronicabr.com/terms/?do=topPosters&time=month&limit=10&type=downloads_files/**/ORDER/**/BY/**/1--/**/dSoP&orientation=vertical SELECT AS member, count() AS posts FROM `` WHERE = 1 AND >1658249986 GROUP BY `member` ORDER BY posts DESC LIMIT 10 IPS\Db\Exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AS member, count() AS posts FROM `` WHERE = 1 AND >? GROUP BY `member` ORDER...' at line 1 (1064) #0 /home/febr/public_html/system/Db/Select.php(388): IPS\_Db->preparedQuery() #1 /home/febr/public_html/system/Db/Select.php(286): IPS\Db\_Select->runQuery() #2 /home/febr/public_html/init.php(927) : eval()'d code(48): IPS\Db\_Select->setKeyField() #3 /home/febr/public_html/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\hook2665->topPosters() #4 /home/febr/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #5 /home/febr/public_html/index.php(13): IPS\_Dispatcher->run() #6 {main} BACKTRACE #0 /home/febr/public_html/init.php(1029): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} Link to comment
Adriano Faria Posted August 21, 2022 Author Share Posted August 21, 2022 6 minutes ago, DSystem said: @Adriano Faria Hi! After I updated to ips 4.7 I have thousands of errors in the logs: The URL of page the error occurred on was https://eletronicabr.com/terms/?do=topPosters&time=month&limit=10&type=downloads_files/**/ORDER/**/BY/**/1--/**/dSoP&orientation=vertical SELECT AS member, count() AS posts FROM `` WHERE = 1 AND >1658249986 GROUP BY `member` ORDER BY posts DESC LIMIT 10 IPS\Db\Exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AS member, count() AS posts FROM `` WHERE = 1 AND >? GROUP BY `member` ORDER...' at line 1 (1064) #0 /home/febr/public_html/system/Db/Select.php(388): IPS\_Db->preparedQuery() #1 /home/febr/public_html/system/Db/Select.php(286): IPS\Db\_Select->runQuery() #2 /home/febr/public_html/init.php(927) : eval()'d code(48): IPS\Db\_Select->setKeyField() #3 /home/febr/public_html/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\hook2665->topPosters() #4 /home/febr/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #5 /home/febr/public_html/index.php(13): IPS\_Dispatcher->run() #6 {main} BACKTRACE #0 /home/febr/public_html/init.php(1029): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} Judging by the error, it is running the queries without select the proper content somehow. Nothing has changed in the content items. Nothing has changed in the widget “model” or in this widget specifically so I suggest you to simply edit it, choose the content again (probably topics), save and see if the error continues. DSystem 1 Link to comment
GazzaGarratt Posted October 23, 2022 Share Posted October 23, 2022 Not sure how I didn't see you create this one @Adriano Faria, I've been using an old plugin here from Jimmo to show all content posts which looks exactly like this one. Installed yours now, as this detail is fantastic and helps drive engagement for each function - I can see it being more valuable than the standard Leaderboard that comes with IPS due to the options and detail this has. How can we see total Posts as a filter at all? This is probably the remaining function missing that can will allow me (and others) to make all these blocks stand out on a standalone page via Pages. Thanks for another great plugin Adriano. Link to comment
Adriano Faria Posted October 23, 2022 Author Share Posted October 23, 2022 23 minutes ago, GazzaGarratt said: How can we see total Posts as a filter at all? Post is not a content item; it’s a comment from the Forums app. This plugin, as advertised, lists content items only. GazzaGarratt 1 Link to comment
Recommended Posts