This lets you show parts of a page only to visitors with an allowed IP range of the client. Tested with Textpattern v4.7.2 and v4.8.4.
<txp:ax_ipcheck fromip="..." toip="...">
<txp:ax_ipcheck fromip="192.168.0.0" toip="192.168.255.255">
IP address is ok
<txp:else />
IP address is not ok
</txp:ax_ipcheck>
If more than one IP range is required, the PHP code must be changed.
0.1 – December 2020
first release.