Generally speaking custom coding advice is for simple one off edits. What you are trying to do would probably require a column in a table somewhere and updating it. It's not very simple.
To touch on what KevC said IP bans are not very useful and if you are having to go back so often to lift them you probably should reconsider how you are using them. IP's change and most people know they can unplug their modem for short time to get a new one. The next person that gets that IP might be another user of your forum. IP's are not always single machines either, they could be an entire college campus as one example. Where IP bans are useful is for short term bans with specific case. e.g. a banned user comes back and registers new account repeatedly. In that case ban the IP for a few days and hope they don't know about changing their IP.
That said the file and lines you are looking for are around line 1306 in /phpbb/session.php
To touch on what KevC said IP bans are not very useful and if you are having to go back so often to lift them you probably should reconsider how you are using them. IP's change and most people know they can unplug their modem for short time to get a new one. The next person that gets that IP might be another user of your forum. IP's are not always single machines either, they could be an entire college campus as one example. Where IP bans are useful is for short term bans with specific case. e.g. a banned user comes back and registers new account repeatedly. In that case ban the IP for a few days and hope they don't know about changing their IP.
That said the file and lines you are looking for are around line 1306 in /phpbb/session.php
Statistics: Posted by thecoalman — Sun Aug 25, 2024 12:06 am