Your Moodle version

Blocks: On-site/Off-site

block_lanonly
Maintained by Picture of Mark Johnson Mark Johnson
A modified version of the HTML block that allows the block to change or hide depending on whether the user is accessing the page though a local network, or the public Internet.

This block is based upon the core HTML block.  It allows different 2 different titles and contents to be defined, one being displayed if the user is accessing Moodle via the local network and one being displayed if they're accessing via the public Internet.

The block can also be hidden completely to either group by simply leaving the content blank.

A user's location is determined based on IP address. An IP address from a range reserved for private addresses (10.*, 172.16.* or 192.16.*) is considered "On-site", anything else is considered "Off-site".

This block was previously available for Moodle 1.9 under the name "LAN Only" or "Inside/Outside".  This version should upgrade cleanly from these older versions.

Please dont report bugs here

If you experience an error with the block, or would like to request a feature, please use the "Bug Tracker" link below.

Screenshots

Screenshot
Screenshot
Screenshot

Contributors

Picture of Mark Johnson
Mark Johnson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Please login to post comments