Deals Log - A Middlemans best friend 1.0

Website log of past deals, for middlemans or other users.
Step 1:
Extract the files to a folder on your desktop.
Locate file "config.php.EXAMPLE" in folder includes and rename to config.php.

Step 2:
Rename file "dealslog.sql.EXAMPLE" to "dealslog.sql" this will be your reset SQL script, very hand to have if you need to reset anything.

Step 3:
On line 17 in the SQL script change "SET A PASSWORD HERE" to a strong password that no one knows.
You can also edit or remove lines 33-41, these insert 3 entries into the database, you can use the admin panel to submit entries and don't need to put some in there by default.

Step 4:
Edit "config.php" located in includes folder; on line 10 replace "TAKEN FROM DISCORD DEVELOPER OAUTH2 CLIENT ID" with your Discord application client ID. You can create an application, after signing in to Discord, here: https://discord.com/developers/applications

Step 5:
Edit "config.php" located in includes folder; on line 11 replace "TAKEN FROM DISCORD DEVELOPER OAUTH2 CLIENT SECRET" with your Discord application secret. You can create an application, after signing in to Discord, here: https://discord.com/developers/applications

Step 6:
Edit "config.php" located in includes folder; on line 13 replace "Flamelier\'s Deals Log" with a name of your choice, could be anything "Swaggys McSwaggy\'s Deals Log".

Step 7:
Edit "config.php" located in includes folder; on line 18 replace "175666223294578689" with the Discord account userID you will be logging in with to add entries. You can get this by enabling developer mode in the Discord client and then right client your name in and clicking copy ID.

Step 7:
Edit "config.php" located in includes folder; on line 19 replace "flamelier" with just the username of the Discord account you will be logging in with to add entries.

Step 7:
Edit "config.php" located in includes folder; on line 20 replace "[email protected]" to the Discord account's email that you will be logging in with to add entries.

Step 7:
Edit "config.php" located in includes folder; on line 26 replace "SET IP TO DATABASE HERE" with the SQL Database IP, if it is the same as host you can set it to "localhost".

Step 7:
Edit "config.php" located in includes folder; leave line 27 alone unless you change the database username in the SQL script.

Step 7:
Edit "config.php" located in includes folder; on line 28 replace "SET PASSWORD FROM SQL SCRIPT" to the password you set in the SQL script from Step 3.

Step 7:
Edit "config.php" located in includes folder; leave line 29 alone unless you changed the database name in the SQL script.

Step 8:
Open the dealslog.sql script and copy everything in there, again you do not need to copy lines 33-41, then past that into your SQL/Database manager. If you use phpmyadmin(typically website hosting database manger) then paste this into the run section of phpmyadmin and run it. If you need help with this part please reach out to me on Discord or MCM.

Step 9:
Edit "index.php" located in the root folder; on line 33, 35, 39, and 107 change the Deals Log to whatever you want. On 183, 199, 201, and 203 change the Discord username and ID along with the Discord server link. I would also change line 305 to your name. You can also change the links, DO NOT TOUCH THE PHP CODE.

Step 10:
Edit "admin.php" located in the root folder; essentially the same as step 9, but I would personally leave this alone that way if you need to contact me you have my information already there. DO NOT TOUCH THE PHP CODE.


Step 11:
Copy the files, you extracted and have now edited to your host. You can place them inside a subfolder if wanted.


Note: Users can login to your site but they cannot add an entry unless they match up to the admin formation you set in the config.php


If you have any further question PM me on Discord or MCM ;D
I do offer installation on to your website of choice, if you already have PHP and MySQL(MongoDB/PHPMyAdmin) installed.
Crediting original
All credits go to flamelier

Author

flamelier

Owner
Author
flamelier
Downloads
1
Type
Digital product
License duration
Unlimited
Price
10.00 USD
Views
218
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.