Advanced Form Processing
March 1, 2018
AJAX with jQuery Example
April 2, 2019

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. It’s also a good idea to turn on error reporting in php.ini and make sure your server is showing errors (instead of producing error 500’s) when you are developing your project.

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 3 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';
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!  Poke around usersc/includes and usersc/scripts as there are there are a lot of cool things in there that will allow you to inject your mods into our code without breaking future updates. If you STILL can’t figure out how to make something happen without editing files in users/, try reaching out to us in Discord to see if we have a solution.