Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adriano Faria Posted January 8, 2019 Posted January 8, 2019 (edited) About This File This plugin will show a box with the last five topics/posts on board index. The list is automatically updated at every X seconds. ACP Settings: Block position: Before of After forums categories Display topic author photo Hide the Recent Topics block from mobile devices Hide the Recent Topics block from small screens devices (tablet, netbook, notebook, etc.) Number of topics to show Ability to update member's personal number of topics setting to meet the Admin CP setting Display Moderator Options: Moderator Options will appear only to those who can moderate content Show block to specific groups Display topics from Clubs Exclude Forums: option to select which forums to NOT pull topics from Display effect and flash message when the list get updated Time to automatically update the topics list Member Setings (Account Settings): Display Recent Topics Number of topics to show Exclude topics from Sponsored by @JustHatched Edited January 17, 2019 by Adriano Faria gabriel3059 and amatera3u 2
jair101 Posted January 8, 2019 Posted January 8, 2019 I understand it is only for forum index and not possible to add it to other parts of the suite? Also, does it work in a vertical widget or only horizontal?
Adriano Faria Posted January 8, 2019 Author Posted January 8, 2019 Nope, this is not a widget. It’s a block that shows up in board index only, before or after forums categories. Also do not appear in Fluid view because it won’t make sense. jair101 1
bearback Posted January 13, 2019 Posted January 13, 2019 I can remember your old 3.4 recent topics, used it for many years Does this one have the option for members to choose how many topics to show and also what forums to show?
bearback Posted January 13, 2019 Posted January 13, 2019 shame it hasn't thanks for the reply Adriano Faria 1
Adriano Faria Posted January 13, 2019 Author Posted January 13, 2019 54 minutes ago, bearback said: shame it hasn't thanks for the reply New version tomorrow. Working on it. 👍 Ramsesx and bearback 2
Adriano Faria Posted January 14, 2019 Author Posted January 14, 2019 On 1/13/2019 at 10:06 AM, bearback said: Does this one have the option for members to choose how many topics to show and also what forums to show? What's New in Version 1.0.1: Added user control in Account Settings. Fron now on the member can: Enable/disable the block Change the number of topics to be displayed in the index block Exclude forums at their choice JustHatched 1
bearback Posted January 14, 2019 Posted January 14, 2019 Thank you for adding those extra options Just one small issue, when setting from the ACP number of topics to show to 3, recent topics on the forum still shows as 5. Tried clearing cache etc I want to set topics to show for every one to 3 and then they can adjust to what they want, setting from members account works ok though.
Adriano Faria Posted January 14, 2019 Author Posted January 14, 2019 23 minutes ago, bearback said: Just one small issue, when setting from the ACP number of topics to show to 3, recent topics on the forum still shows as 5. Tried clearing cache etc That’s because member setting has preference (Account Settings) and it has 5 as default value, like the ACP setting. You can run in your SQL Toolbox: update core_members set recent_topics_nr = 3; I will think in a way to reset this. bearback 1
bearback Posted January 14, 2019 Posted January 14, 2019 sorry to ask but How do I stop recent topics from showing in mobile devices? I used custom.css for IPS default topic feed but cannot figure it out. Thank you
JustHatched Posted January 14, 2019 Posted January 14, 2019 @Adriano Faria, I updated to the new version and now in the permissions it won't save the permission of who to show it to, I had it set to ALL but it has unchecked all usergroups, I tired a couple times to save it, ran support tool, unstalled and reinstalled. None of which fixed it.
Adriano Faria Posted January 14, 2019 Author Posted January 14, 2019 12 minutes ago, bearback said: sorry to ask but How do I stop recent topics from showing in mobile devices? I used custom.css for IPS default topic feed but cannot figure it out. Edit the template core -> global -> plugins -> recentTopics and find: <div class="ipsBox {$spacer}" data-controller="plugins.recentTopics" data-recenttopics-interval="{setting="recentTopicsInterval"}" data-recenttopics-showloading="{setting="recentTopicsShowLoading"}"> Change to: <div class="ipsBox {$spacer} ipsResponsive_showDesktop" data-controller="plugins.recentTopics" data-recenttopics-interval="{setting="recentTopicsInterval"}" data-recenttopics-showloading="{setting="recentTopicsShowLoading"}"> Adding ipsResponsive_showDesktop will hide from mobile devices. bearback and AndyF 2
bearback Posted January 14, 2019 Posted January 14, 2019 That Sorted it, Thank you again Adriano Faria 1
Adriano Faria Posted January 14, 2019 Author Posted January 14, 2019 13 minutes ago, JustHatched said: @Adriano Faria, I updated to the new version and now in the permissions it won't save the permission of who to show it to, I had it set to ALL but it has unchecked all usergroups, I tired a couple times to save it, ran support tool, unstalled and reinstalled. None of which fixed it. No change was made in this specific setting. It works fine on my live board: Uninstall the plugin. Clear cache. Reinstall the plugin. If still insists, drop a PM so I can take a look in your board.
JustHatched Posted January 14, 2019 Posted January 14, 2019 5 minutes ago, Adriano Faria said: No change was made in this specific setting. It works fine on my live board: Uninstall the plugin. Clear cache. Reinstall the plugin. If still insists, drop a PM so I can take a look in your board. It's sorted, sorry to post when for some reason I was having issue. When I posted the above the info was accurate. I unistalled, cleared cache, reinstalled version 1.0.0 and it worked fine. Updated to 1.0.1 and it saved the permissions and showed on IPS theme and 1 of my 2 custom themes (even though they are identical themes). I reinstalled the theme and it working, so I dunno, weird stuff Adriano Faria 1
bearback Posted January 14, 2019 Posted January 14, 2019 (edited) 1 hour ago, Adriano Faria said: Edit the template core -> global -> plugins -> recentTopics and find: <div class="ipsBox {$spacer}" data-controller="plugins.recentTopics" data-recenttopics-interval="{setting="recentTopicsInterval"}" data-recenttopics-showloading="{setting="recentTopicsShowLoading"}"> Change to: <div class="ipsBox {$spacer} ipsResponsive_showDesktop" data-controller="plugins.recentTopics" data-recenttopics-interval="{setting="recentTopicsInterval"}" data-recenttopics-showloading="{setting="recentTopicsShowLoading"}"> Adding ipsResponsive_showDesktop will hide from mobile devices. just notice when adding the ipsResponsive_showDesktop On the forum it looses the space between Recent Topics Block and the forums? Edited January 14, 2019 by bearback
Adriano Faria Posted January 14, 2019 Author Posted January 14, 2019 Add ipsSpacer_bottom: <div class="ipsBox {$spacer} ipsResponsive_showDesktop ipsSpacer_bottom" ... It shouldn't because $spacer will do it. Make sure you make the right edit.
Adriano Faria Posted January 14, 2019 Author Posted January 14, 2019 @bearback, change to: <div class="ipsBox {$spacer} ipsResponsive_hideTablet ipsResponsive_hidePhone" ... With that change you don't need to add the ipsSpacer_bottom.
bearback Posted January 14, 2019 Posted January 14, 2019 Checked my edits a few times 59 minutes ago, Adriano Faria said: @bearback, change to: <div class="ipsBox {$spacer} ipsResponsive_hideTablet ipsResponsive_hidePhone" ... With that change you don't need to add the ipsSpacer_bottom. used this code and is now showing correctly thank you for your help Adriano Faria 1
bearback Posted January 15, 2019 Posted January 15, 2019 something I just noticed when using my laptop or ipad when Display Author Photo is enabled the author photos go out of line ? When disabled and only showing just the right hand author photo it looks correct.
Adriano Faria Posted January 15, 2019 Author Posted January 15, 2019 (edited) You better disable the photo. Sorry, I can't provide a quick fix every hour. I'll take a look when I have to update this when a "real" bug appears. Cosmetic things can wait. Edited January 15, 2019 by Adriano Faria bearback 1
Adriano Faria Posted January 17, 2019 Author Posted January 17, 2019 What's New in Version 1.0.2: New features: Setting to hide the Recent Topics block from mobile devices Setting to hide the Recent Topics block from small screens devices (tablet, netbook, notebook, etc.) Setting to update member's personal number of topics setting to meet the Admin CP setting Fix: Fix template in mobile devices/tablets @bearback, remove the edits you made to the template. Now you can hide the block via settings. bearback 1
Adriano Faria Posted January 29, 2019 Author Posted January 29, 2019 Compatible with IPS 4.4. JustHatched 1
Recommended Posts