6.1 File / Directory Structure

All third party scripts must be uploaded into the /mrep_data/scripts/ directory of the web server. Every time one of many actions occur, the Envex Mini Replicator will check to see if a script exists at the needed location, and if exists, will automatically execute that script. The below table lists the exact location where all scripts must be placed, and the action which will execute them.

All locations listed in the below table are relative to the /mrep_data/scripts/ directory. For example, if the location is "create.pl", the actual location of the script is /mrep_data/scripts/create.pl.

Action
Script Location
Description
New member created
create.pl
When a new member is added to the database.
Member deleted
delete.pl
When any member is deleted from the database.
Member activated
activate.pl
When any member in the database, is activated.
Member deactivated
deactivate.pl
When any member in the database is deactivated.