Skip to content
Everett Griffiths edited this page May 7, 2013 · 5 revisions

This project is a collection of utility scripts for MODX Revolution. This is not a package! Each file in this repository is a self-contained script. See each script for detailed usage instructions.

Create User (create_new_user.php)

Use this script to ethically hack into a MODX Revolution site (e.g. one you are fixing because a previous developer abandoned it). The script will create a new admin user with full admin privileges using the username, email, and password that you specify.

Reset Password (reset_password.php)

Use this script to ethically reset the password for a given admin user. It will also add the user to the Administrator user group with a role of "Super User", so it can also be used to promote an existing user to Admin status. Only use this when the standard "forgot password" flow is not working (e.g. the server is unable to send an email).

Check Configuration (check_config.php)

Use this script to test your MODX configuration. This is useful if you've recently moved a site to a new server or you are having trouble getting MODX to install correctly.

If successful, the script prints a message letting you know that the tests passed.

Success!

Install MODX (installmodx.php)

This is a PHP utility that helps users install MODX via the command-line. It can be supplied with command-line arguments to automate the process of deploying MODX sites.

http://www.youtube.com/watch?v=-FR10DR16CE