Advanced Form Processing
March 1, 2018

After Installation (Getting Started)

Thanks for installing UserSpice! Here are some things you want to do to get started!

Step 1: Change your password!
You’re going to login with the default username of admin and the default password of password. You can also login as a standard level user with the credentials of user and password. If you cannot login for some reason, edit the login.php file and uncomment out the lines
error_reporting(E_ALL);
ini_set(‘display_errors’, 1);
to see if there are any errors in your server configuration.

Step 2: Change some settings
You want to go to the Admin Dashboard (click the gear in the upper right). From there you can personalize your settings. You can decide whether or not you want to use reCaptcha, force SSL, or mess with some CSS.  We give you tons of tools get started.  There are templates, form builders, plugins.  Poke around.

Step 3: Explore
From the Admin Dashboard, you can go to Admin Permissions and add some new user levels. Then check out Admin Pages to decide which pages are private and which are public. Once you make a page private, you can decide how what level of access someone needs to access it. Any new pages you create in your site folder will automatically show up here.

Step 4: Join the community
Discord is often the fastest way to get in touch with the community and developers of UserSpice.  Check us out at https://discord.gg/j25FeHu you can also visit our forums at https://userspice.com/forums/index.php.

Step 5: Design and secure your own pages
Of course, using our blanks is the quickest way to get up and running, but you can also secure any page. Simply add these 6 lines php code to the top of your page and it will perform a check to see if you’ve set any special permissions.  These lines will secure your pages, give you access to all UserSpice features and apply the current template to your new page.
require_once ‘../users/init.php’;  //make sure this path is correct!
require_once $abs_us_root.$us_url_root.’users/includes/template/prep.php’;
require_once $abs_us_root.$us_url_root.’usersc/templates/’.$settings->template.’/header.php’; //custom template header
require_once $abs_us_root.$us_url_root.’usersc/templates/’.$settings->template.’/navigation.php’; //custom template nav
require_once $abs_us_root.$us_url_root.’usersc/templates/’.$settings->template.’/container_open.php’; //custom template container
if (!securePage($_SERVER[‘PHP_SELF’])){die();}

Step 6: Check out the documentation at https://userspice.com/kb/
RTM!

Step 7: Spend 27 minutes learning the basics of the database!
Check it out on youtube.

Step 8: Avoid editing the UserSpice files
But what if you want to change the UserSpice files? We have a solution that lets you edit our files and still not break future upgrades. For instance, if you want to modify the account.php file… just copy our file into the “usersc” folder. Then you can edit away and your file will be loaded instead of ours!  There are lots of files and scripts in the usersc folder that you can edit to your heart’s content.