You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,18 +41,18 @@ PHP and MySQL. Should work on most PHP versions. I tested on PHP 7.4 and PHP 8.0
41
41
Please setup your MySQL database now and import the structure from here https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/restorecord_db_schema.sql
42
42
43
43
- Change the `restorecord.com` at https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/verify/index.php#L22 to `example.com` (where example.com) is your website's domain
44
-
- Replace `botTokenHere` with your Discord bot token https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/verify/index.php#L84 and https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/verify/index.php#L274, make sure you keep the space between `Bot` and your token. i.e. `Bot theTokenHere`
45
-
- (optional - only needed if you do NOT use cloudflare) change `HTTP_CF_CONNECTING_IP` to `REMOTE_ADDR` (do NOT do this if you're using cloudflare) at https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/verify/index.php#L91, https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/verify/index.php#L99, https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/verify/index.php#L140, and https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/verify/index.php#L316
46
-
- (optional - only needed if you have more than 1,000 people verify a day) change `proxyCheckKeyHere` to a proxycheck API key if you have so many users you need to pay at https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/verify/index.php#L102
47
-
- Change OAuth2 authorization link at https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/verify/index.php#L448 you get your authorization link from Discord developer portal, like this https://imgur.com/a/G3q4oDM
48
-
- Change captcha keys here https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/register/index.php#L38 and https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/register/index.php#L101 or remove the captcha. I don't recommend removing captcha if you plan to sell this. Captcha is very neccesary for public websites. But if it's not a commercial site, you should remove lines 100-109 and then register will work
44
+
- Replace `botTokenHere` with your Discord bot token https://github.com/wnelson03/RestoreCord-Source-Code/blob/e6c846f6941062dede12d893a9800cda801d1c58/website%20source/verify/index.php#L84 and https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/verify/index.php#L274, make sure you keep the space between `Bot` and your token. i.e. `Bot theTokenHere`
45
+
- (optional - only needed if you do NOT use cloudflare) change `HTTP_CF_CONNECTING_IP` to `REMOTE_ADDR` (do NOT do this if you're using cloudflare) at https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/verify/index.php#L91, https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/verify/index.php#L99, https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/verify/index.php#L140, and https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/verify/index.php#L316
46
+
- (optional - only needed if you have more than 1,000 people verify a day) change `proxyCheckKeyHere` to a proxycheck API key if you have so many users you need to pay at https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/verify/index.php#L102
47
+
- Change OAuth2 authorization link at https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/verify/index.php#L448 you get your authorization link from Discord developer portal, like this https://imgur.com/a/G3q4oDM
48
+
- Change captcha keys here https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/register/index.php#L38 and https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/register/index.php#L101 or remove the captcha. I don't recommend removing captcha if you plan to sell this. Captcha is very neccesary for public websites. But if it's not a commercial site, you should remove lines 100-109 and then register will work
49
49
- Set MySQL connection info at https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/includes/connection.php
50
-
- If you have other users than yourself owning servers on this source and you want to log their actions, replace `` with your webhook url on https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/dashboard/account/settings/index.php#L445, https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/dashboard/account/settings/index.php#L499, https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/dashboard/server/settings/index.php#L603, and https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/login/index.php#L155
51
-
- If you plan to sell this source, replace `8hCOmd6` with your Shoppy.GG product ID https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/dashboard/account/upgrade/index.php#L240 and then on Shoppy.GG, set these settings for the product https://imgur.com/a/XkRC3Pe and then make sure you set your Shoppy.GG webhook secret at https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/api/upgrade/index.php#L6
50
+
- If you have other users than yourself owning servers on this source and you want to log their actions, replace `` with your webhook url on https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/dashboard/account/settings/index.php#L445, https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/dashboard/account/settings/index.php#L499, https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/dashboard/server/settings/index.php#L603, and https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/login/index.php#L155
51
+
- If you plan to sell this source, replace `8hCOmd6` with your Shoppy.GG product ID https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/dashboard/account/upgrade/index.php#L240 and then on Shoppy.GG, set these settings for the product https://imgur.com/a/XkRC3Pe and then make sure you set your Shoppy.GG webhook secret at https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/api/upgrade/index.php#L6
52
52
- Replace `discordBotIdHere` with your Discord bot's application ID
53
-
- Replace `discordClientSecretHere` with your Discord bot's client secret https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/auth/index.php#L21
54
-
- Replace `https://restorecord.com/auth/` with `https://example.com/auth/` and use your website's domain instead of `example.com`https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/auth/index.php#L22
55
-
- Replace `https://restorecord.com/verify/` with `https://example.com/verify/` and use your website's domain instead of `example.com`https://github.com/wnelson03/RestoreCord-Source-Code/blob/mainwebsite%20source/auth/index.php#L30
53
+
- Replace `discordClientSecretHere` with your Discord bot's client secret https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/auth/index.php#L21
54
+
- Replace `https://restorecord.com/auth/` with `https://example.com/auth/` and use your website's domain instead of `example.com`https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/auth/index.php#L22
55
+
- Replace `https://restorecord.com/verify/` with `https://example.com/verify/` and use your website's domain instead of `example.com`https://github.com/wnelson03/RestoreCord-Source-Code/blob/main/website%20source/auth/index.php#L30
0 commit comments