# Manual Installation

{% hint style="danger" %}
If you have completed an [**Automatic Install**](https://launch-2.gitbook.io/sngine-badges-module/installation/installation) with no errors, **do not** run the manual install. This step is only necessary for those who received an error with the [**Automatic Installer.**](https://launch-2.gitbook.io/sngine-badges-module/installation/installation)
{% endhint %}

{% hint style="warning" %}
Before you begin with the installation, ensure you have created a **full backup** of your Sngine installation and database.
{% endhint %}

## Upgrading Your Database

Inside the 'includes' folder, within the 'launch\_install' folder, you will find a 'launch.sql' dump. Import this dump to your current Sngine database (this method will vary per hosting provider):

<figure><img src="https://2406881823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgnv2HyiWjwNcWDspNKCS%2Fuploads%2F2pasQT8Cg48YMs7uG4uQ%2FScreenshot%202023-01-16%20at%2016.50.42.png?alt=media&#x26;token=942b4650-5e72-41a8-bcfa-ef12b7fc1490" alt=""><figcaption></figcaption></figure>

## File Upload

From the 'source' folder, within the 'launch\_install' folder, you will need to **upload** and **replace** the following files to your Sngine installation. The 'upload' folder follows the Sngine hierarchy, for ease of use:

{% hint style="info" %}
Unless your FTP program notifies you to 'Merge' Folders and replace files, you should upload each file manually, as **replacing folders will delete important files** from your Sngine installation.
{% endhint %}

{% hint style="info" %}
You will need to createsome missing folders.
{% endhint %}

| Source                                                           | Destination                                                            |
| ---------------------------------------------------------------- | ---------------------------------------------------------------------- |
| source/content/themes/default/templates/\_\_feeds\_comment.tpl   | sngine\_root/content/themes/default/templates/\_\_feeds\_comment.tpl   |
| source/content/themes/default/templates/\_\_feeds\_post.body.tpl | sngine\_root/content/themes/default/templates/\_\_feeds\_post.body.tpl |
| source/content/themes/default/templates/\_\_feeds\_user.tpl      | sngine\_root/content/themes/default/templates/\_\_feeds\_user.tpl      |
| source/content/themes/default/templates/\_head.tpl               | sngine\_root/content/themes/default/templates/\_head.tpl               |
| source/content/themes/default/templates/admin.badges.tpl         | sngine\_root/content/themes/default/templates/admin.badges.tpl         |
| source/content/themes/default/templates/admin.pwa.tpl            | sngine\_root/content/themes/default/templates/admin.pwa.tpl            |
| source/content/themes/default/templates/admin.tpl                | sngine\_root/content/themes/default/templates/admin.tpl                |
| source/content/themes/default/templates/admin.users.tpl          | sngine\_root/content/themes/default/templates/admin.users.tpl          |
| source/content/themes/default/templates/ajax.popover.tpl         | sngine\_root/content/themes/default/templates/ajax.popover.tpl         |
| source/content/themes/default/templates/profile.tpl              | sngine\_root/content/themes/default/templates/profile.tpl              |

| Source                                                   | Destination                                                    |
| -------------------------------------------------------- | -------------------------------------------------------------- |
| source/content/uploads/photos/default\_badges/mod.png    | sngine\_root/content/uploads/photos/default\_badges/mod.png    |
| source/content/uploads/photos/default\_badges/ribbon.png | sngine\_root/content/uploads/photos/default\_badges/ribbon.png |
| source/content/uploads/photos/default\_badges/vip.png    | sngine\_root/content/uploads/photos/default\_badges/vip.png    |

| Source                                                            | Destination                                                             |
| ----------------------------------------------------------------- | ----------------------------------------------------------------------- |
| source/includes/launch/badges/update/assets/css/bootstrap.min.css | sngine\_root/includes/launch/badges/update/assets/css/bootstrap.min.css |
| source/includes/launch/badges/update/assets/css/custom.css        | sngine\_root/includes/launch/badges/update/assets/css/custom.css        |
| source/includes/launch/badges/update/assets/js/bootstrap.min.js   | sngine\_root/includes/launch/badges/update/assets/js/bootstrap.min.js   |
| source/includes/launch/badges/update/assets/js/jquery.min.js      | sngine\_root/includes/launch/badges/update/assets/js/jquery.min.js      |
| source/includes/launch/badges/update/assets/js/main.js            | sngine\_root/includes/launch/badges/update/assets/js/main.js            |
| source/includes/launch/badges/update/assets/js/popper.min.js      | sngine\_root/includes/launch/badges/update/assets/js/popper.min.js      |
| source/includes/launch/badges/update/index.php                    | sngine\_root/includes/launch/badges/update/index.php                    |
| source/includes/launch/badges/update/product.php                  | sngine\_root/includes/launch/badges/update/product.php                  |
| source/includes/launch/badges/update/upgrade.php                  | sngine\_root/includes/launch/badges/update/upgrade.php                  |

| Source                                                         | Destination                                                          |
| -------------------------------------------------------------- | -------------------------------------------------------------------- |
| source/includes/launch/pwa/update/assets/css/bootstrap.min.css | sngine\_root/includes/launch/pwa/update/assets/css/bootstrap.min.css |
| source/includes/launch/pwa/update/assets/css/custom.css        | sngine\_root/includes/launch/pwa/update/assets/css/custom.css        |
| source/includes/launch/pwa/update/assets/js/bootstrap.min.js   | sngine\_root/includes/launch/pwa/update/assets/js/bootstrap.min.js   |
| source/includes/launch/pwa/update/assets/js/jquery.min.js      | sngine\_root/includes/launch/pwa/update/assets/js/jquery.min.js      |
| source/includes/launch/pwa/update/assets/js/main.js            | sngine\_root/includes/launch/pwa/update/assets/js/main.js            |
| source/includes/launch/pwa/update/assets/js/popper.min.js      | sngine\_root/includes/launch/pwa/update/assets/js/popper.min.js      |
| source/includes/launch/pwa/update/index.php                    | sngine\_root/includes/launch/pwa/update/index.php                    |
| source/includes/launch/pwa/update/product.php                  | sngine\_root/includes/launch/pwa/update/product.php                  |
| source/includes/launch/pwa/update/upgrade.php                  | sngine\_root/includes/launch/pwa/update/upgrade.php                  |

| Source                                 | Destination                                  |
| -------------------------------------- | -------------------------------------------- |
| source/includes/ajax/admin/badges.php  | sngine\_root/includes/ajax/admin/badges.php  |
| source/includes/ajax/admin/delete.php  | sngine\_root/includes/ajax/admin/delete.php  |
| source/includes/ajax/admin/pwa.php     | sngine\_root/includes/ajax/admin/pwa.php     |
| source/includes/ajax/admin/users.php   | sngine\_root/includes/ajax/admin/delete.php  |
| source/includes/ajax/users/popover.php | sngine\_root/includes/ajax/users/popover.php |
| source/includes/class-user.php         | sngine\_root/includes/class-user.php         |
| source/includes/launch\_helper.php     | sngine\_root/includes/launch\_helper.php     |

| Source               | Destination                |
| -------------------- | -------------------------- |
| source/admin.php     | sngine\_root/admin.php     |
| source/bootstrap.php | sngine\_root/bootstrap.php |
| source/index.php     | sngine\_root/index.php     |
| source/manifest.json | sngine\_root/manifest.json |
| source/profile.php   | sngine\_root/profile.php   |
| source/sw\.js        | sngine\_root/sw\.js        |

## License Activation

In your browser, navigate to your Sngine Admin Panel and select 'License Manager' from the 'Launch Modules' menu on the left.

Enter the License Key from your Order Confirmation email along with your Full Name and select 'Activate'.

<figure><img src="https://2406881823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgnv2HyiWjwNcWDspNKCS%2Fuploads%2FdufcFKZ1WVD56h8dwspB%2FCleanShot%202024-03-09%20at%2018.10.52.png?alt=media&#x26;token=ecf3983a-a491-4ead-9f0a-8738012424f8" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
You have now completed installation of the Sngine Badges Module!
{% endhint %}
