Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
usmf Posted March 5, 2021 Posted March 5, 2021 I'd like to disable the Recent Profile Visitors block across my whole forum. Is there a way to do this now? All threads discussing this are for 4.4 and suggest a plug-in that is no longer visible. I would really like this off. Thanks.
CoffeeCake Posted March 5, 2021 Posted March 5, 2021 Agreed that this should be a configurable feature. You can remove it from the profile template.
Solution Miss_B Posted March 5, 2021 Solution Posted March 5, 2021 7 hours ago, usmf said: I'd like to disable the Recent Profile Visitors block across my whole forum. Is there a way to do this now? All threads discussing this are for 4.4 and suggest a plug-in that is no longer visible. I would really like this off. Thanks. At the profile template, either remove or comment out this code and save the changes. {{if !empty( $visitors ) || \IPS\Member::loggedIn()->member_id == $member->member_id}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom' data-controller='core.front.profile.toggleBlock'> {template="recentVisitorsBlock" group="profile" params="$member, $visitors"} </div> {{endif}}
usmf Posted March 5, 2021 Author Posted March 5, 2021 3 hours ago, Miss_B said: At the profile template, either remove or comment out this code and save the changes. {{if !empty( $visitors ) || \IPS\Member::loggedIn()->member_id == $member->member_id}} <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom' data-controller='core.front.profile.toggleBlock'> {template="recentVisitorsBlock" group="profile" params="$member, $visitors"} </div> {{endif}} Thanks a lot for this. Worked great and was exactly what I hadn't been able to find. :) Miss_B 1
Miss_B Posted March 5, 2021 Posted March 5, 2021 6 minutes ago, usmf said: Thanks a lot for this. Worked great and was exactly what I hadn't been able to find. :) You are welcome :)
Recommended Posts