Adriano Faria Posted September 9, 2015 Share Posted September 9, 2015 (edited) About This File This application will allow admins to view all IP addresses used by a member on a new tab in his profile and ban those IPs on the same screen, from the forum side. This list will be visible only for those with CAN USE IP TOOLS? mod permission enabled. A link to IP Addresses list will appear on profile personal card. Setting: Allow profile owner to view the list: only moderators with permission 'Can use IP tools?' enabled can view the IP Addresses list. If you enable this, the profile owner will also be able to view the IP Addresses list but he won't see the links to BAN the IP and to USAGES of the IP. Edited September 9, 2015 by Adriano Faria Mythoclast and BomAle 2 Link to comment Share on other sites More sharing options...
Adriano Faria Posted October 15, 2015 Author Share Posted October 15, 2015 (edited) What's New in Version 2.0.1: Added thousand separator on Number of times used field Added pagination on IP Addresses Used tab in user profile Added new setting to specifiy how many records will be displayed per page in user profile tab Added link to ModCP IP Address Tools on IP Address too Added the Update Check URL. It means that you will be warned on you Admin CP when a new version of this app is released. Edited October 15, 2015 by Adriano Faria Jamie Clark 1 Link to comment Share on other sites More sharing options...
OctoDev Posted October 29, 2015 Share Posted October 29, 2015 On 15.10.2015, 14.53.38, Adriano Faria said: What's New in Version 2.0.1: Added thousand separator on Number of times used field Added pagination on IP Addresses Used tab in user profile Added new setting to specifiy how many records will be displayed per page in user profile tab Added link to ModCP IP Address Tools on IP Address too Added the Update Check URL. It means that you will be warned on you Admin CP when a new version of this app is released. Works on 4.1? Link to comment Share on other sites More sharing options...
Adriano Faria Posted October 29, 2015 Author Share Posted October 29, 2015 4 minutes ago, Spendon Gavekort said: Works on 4.1? Yes: VizionDev 1 Link to comment Share on other sites More sharing options...
VizionDev Posted October 29, 2015 Share Posted October 29, 2015 Mmmmmmmmmmmmm localhost Link to comment Share on other sites More sharing options...
Adriano Faria Posted October 29, 2015 Author Share Posted October 29, 2015 1 minute ago, RADStudios said: Mmmmmmmmmmmmm localhost Is there any problem on it ? If you want to see it working live, go to file and see a screenshot from 4.0.13.1. I didn't upgrade my live board yet to 4.1. Link to comment Share on other sites More sharing options...
VizionDev Posted October 29, 2015 Share Posted October 29, 2015 Just now, Adriano Faria said: Is there any problem on it ? If you want to see it working live, go to file and see a screenshot from 4.0.13.1. I didn't upgrade my live board yet to 4.1. No no it was perfect when it came out and perfect still, was just making a poke at ::1 - Thanks Link to comment Share on other sites More sharing options...
SJ77 Posted January 10, 2016 Share Posted January 10, 2016 suggestion: Option to show "other users who have used same IP address" Link to comment Share on other sites More sharing options...
Robert Angle Posted January 23, 2016 Share Posted January 23, 2016 I allow my Moderators to use IP Tools, but I do NOT allow them to ban anything. This application allows my moderators to ban ip addresses. There should be a setting to disallow this. As it is, I am going to have to edit the templates so that the ban link doesn't appear to moderators, but to admins only. Link to comment Share on other sites More sharing options...
Adriano Faria Posted January 23, 2016 Author Share Posted January 23, 2016 1 minute ago, Robert Angle said: I allow my Moderators to use IP Tools, but I do NOT allow them to ban anything. This application allows my moderators to ban ip addresses. There should be a setting to disallow this. As it is, I am going to have to edit the templates so that the ban link doesn't appear to moderators, but to admins only. It will display the link ONLY if the moderator HAS permission to do it: {{if \IPS\Member::loggedIn()->modPermission('can_use_ip_tools')}} <td class='ipsType_center' style='width: 10%;'> <a href='{$url2}' data-confirm data-confirmsubmessage="{lang='ips_ban_ip_address_desc'}">{lang='ips_ban_ip_address'}</a> | <a target='_blank' href='{$url1}'>{lang='see_uses'}</a> </td> {{endif}} Link to comment Share on other sites More sharing options...
Robert Angle Posted January 23, 2016 Share Posted January 23, 2016 I understand that. But in the core software, Moderators can have access to IP Tools, but the IP Tools in the AdminCP or ModCP does not allow the moderator to ban an IP. Your application now gives them the ability to ban IP's which is a power I don't want my moderators to have. I don't want to turn off their ability to use IP Tools, because it is useful to them. I want to save the ability to actually ban IP's for me and my fellow administrators only. (In fact, your application is a good teaching tool as to why it's usually not worth banning IP's, as many users have multiple IP's and some users even share an IP) Link to comment Share on other sites More sharing options...
Adriano Faria Posted January 23, 2016 Author Share Posted January 23, 2016 Ah I see... edit the template ipaddresses -> front -> profile -> ipsRows. I'll fix it asap. Robert Angle 1 Link to comment Share on other sites More sharing options...
Robert Angle Posted January 23, 2016 Share Posted January 23, 2016 Something along this line would be better.... {{if \IPS\Member::loggedIn()->modPermission('can_use_ip_tools')}} <td class='ipsType_center' style='width: 10%;'> {{IF MEMBER = ADMIN}} <a href='{$url2}' data-confirm data-confirmsubmessage="{lang='ips_ban_ip_address_desc'}">{lang='ips_ban_ip_address'}</a> | {{ENDIF}} <a target='_blank' href='{$url1}'>{lang='see_uses'}</a> </td> {{endif}} For me however, I am just going to remove the ban link. We almost never ban IP's anyway. Adriano Faria 1 Link to comment Share on other sites More sharing options...
Safety1st Posted June 17, 2016 Share Posted June 17, 2016 May be it would be worth to have IPs collected per downloads... Link to comment Share on other sites More sharing options...
Adriano Faria Posted June 17, 2016 Author Share Posted June 17, 2016 (edited) 1 hour ago, Safety1st said: May be it would be worth to have IPs collected per downloads... It collects IPs used in whole IPS4, including 3rd-party apps. Nota sure what you mean. Edited June 18, 2016 by Adriano Faria Safety1st 1 Link to comment Share on other sites More sharing options...
Safety1st Posted June 18, 2016 Share Posted June 18, 2016 @Adriano Faria Nevermind. I didn't understand the plugin's purpose firstly. Adriano Faria 1 Link to comment Share on other sites More sharing options...
Bluto Posted August 31, 2017 Share Posted August 31, 2017 Working in 4.2.3. Adriano Faria 1 Link to comment Share on other sites More sharing options...
Adriano Faria Posted May 26, 2018 Author Share Posted May 26, 2018 What's New in Version 2.0.2: Fix pagination error Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 21, 2019 Author Share Posted February 21, 2019 Compatible with IPS 4.4. Link to comment Share on other sites More sharing options...
Mercury Forever Posted September 10, 2020 Share Posted September 10, 2020 (edited) How to limit that only administrators can see this application in the profiles? (in 4.5.2) I think it was possible before? Edited September 10, 2020 by Fred Krugger Link to comment Share on other sites More sharing options...
Adriano Faria Posted September 10, 2020 Author Share Posted September 10, 2020 2 minutes ago, Fred Krugger said: I think it was possible before? No. It always showed to moderators who can view IP addresses. If you want to change in your install, download and open applications/ipaddresses/extensions/core/Profile/IPAddresses.php and change the showTab() method to: /** * Is there content to display? * * @return bool */ public function showTab() { if( \IPS\Member::loggedIn()->isAdmin() ) { return TRUE; } return FALSE; } Save and reupload. You will have to do it everytme a new version is released. Link to comment Share on other sites More sharing options...
Mercury Forever Posted September 10, 2020 Share Posted September 10, 2020 Thanks for the prompt response. Link to comment Share on other sites More sharing options...
Adriano Faria Posted November 1, 2022 Author Share Posted November 1, 2022 FROM NOVEMBER 1ST TO NOVEMBER 30TH. Link to comment Share on other sites More sharing options...
Adriano Faria Posted July 24 Author Share Posted July 24 What's New in Version 2.1.1 IPS 4.7.12 compatibility. SeNioR- 1 Link to comment Share on other sites More sharing options...
Recommended Posts