Textpattern CMS support forum
- Plugin Author
- From: Germany
- Registered: 2009-08-19
- Posts: 159
This mini plugin 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. Probably, this could also be achieved with one or other swiss-army-knife type of multipurpose plugins, but for me this is an easier solution.
<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.
Happy new year everybody!
Last edited by ax (2020-12-31 08:45:11)