RMS3 Installation Guide

Marina Black -

 

General Requirements

 

1.   Apache Web Server 1.3 or higher with mod_rewrite enabled;

PHP 5.3 or higher (max version 5.6);

functions enabled: exec(); ini_set();

modules: curl; mysql (or mysqli);

mysql.allow_persistent = On

mysql.max_persistent = unlimited

Or

mysqli.allow_persistent = On

mysqli.max_persistent = unlimited

zlib;

constants: allow_url_fopen=true; safe_mode=false;

directives: memory_limit = 128MB or more; max_execution_time = 60 or more; ability to run PHP via CLI;

max_input_time 60

post_max_size 64M

max_file_uploads 128

upload_max_filesize 128M

 

2.   MySQL database server 5.0 or higher with ALTER Privileges. 

with timeouts:

interactive_timeout = 300 or more;

wait_timeout = 300 or more;

max_allowed_packet = 128M or more;

 

3.   HD space usage: 1GB in standard configuration; 100 Gb to store the screenshots  local copies.

Having shell-access to your server is recommended but not necessary.

Please check your server (or ask your hosting provider administrator to check it) for all the requirements carefully before installing our RMS.  

We recommend using Hetzner VPS on (hetzner.com/cloud - CX11 or better) for about $5/month, with a free Vesta control panel (vestacp.com ).

 

Installing RMS

STEP 1

1. Log into your account  at mytemplatestorage.com, using your affiliate login and password.

 

1.png

 

 

 

2. Navigate: Presets => Preset Settings and add a preset (if you're installing the RMS for an existing preset you should skip this step). This added (or chosen existing) preset will be used to manage the RMS settings and will be tracking the visitors and sales made through the RMS shopping cart.

2.png

3. Once a preset is added click 'Edit' below the preset name:

3.png

 

4. You're now on the page to edit the RMS preset settings. Here you can choose the RMS shopping cart and checkout pages settings and pick the currency and language. The other shop pages are located on your server and therefore are not managed through the affiliate admin and preset.

5. Here we are most interested in  Other Settings and Turn on/off Special Offers.  

4.png 

6. In Other Settings you have the options to:

- add the shop URL (if not added when creating the shop preset); the URL should be exactly as http://www.yourshop.com/ or http://yourshop.com/ if your shop domain is without 'www';

- set the RMS shop language by choosing the language from the 'Language' dropdown menu or leave English (set by default);

- choose  to display the adult templates category or not (disabled by default);

- add an external custom css to customize the RMS shopping cart, special offers, and checkout pages styles.We will customize CSS later on in this guide (step 3.21).

7. In Turn on/off Special Offers you can enable/disable various additional offers for your customers. Please check out our recommended Special Offers setup.

8. Go back to Presets => Ready Made Affiliate Shops (Version 2).

5.png

 

9. In Ready Made Affiliate Shops (Version 2) scroll down and choose the proper preset from the drop-down menu. Press 'Download'.

6.png

 

Here is the video example of how to manage this step.

 

STEP 2 

9. Unzip the downloaded archive and copy the files to the directory where you are installing the shop. If you're installing into a subdirectory make sure to edit the .htaccess file so it has the name of the subdirectory. For instance, if you're installing into http://www.site.com/shop you should edit .htaccess and change RewriteBase/ to RewriteBase/shop 

10. Create a new empty database on server to store the RMS data.

11. If you have shell-access to your server, launch the 'diagnostics.php' command. It will do the diagnostics, check the configuration and report errors (if any). Most often, errors occur due to the files/directories permissions set incorrectly. In case the files permission is the problem, the diagnostics also delivers the list of the commands to set the needed files permission when executed from the command line. Mostly you will need to change the permission for files in root directory of your shop to "0644".

If you have no shell-access to your server you should set “0777” permission for the data/logs and data/template_c directories.

12. In your browser field enter your RMS shop URL and add  '/install'. It should be noted that “/install” is not the store file or folder but just a virtual directory to proceed with the shop installation, so the shop archive does not contain it.

So in the browser you enter the URL as

http://www.site.com/install

or

http://www.site.com/shop/install (if you're installing into a subdirectory).

From the browser you are taken to the 'Checking requirements' step.
 

7.png

In this step you get tests that your run-time environment should match before you proceed installing. They are actually the same tests as in diagnostics with the difference that diagnostics can be accessed via the command line only.

13. Once the testing is passed successfully there shows a page with the 'Proceed to Step 2' button and the shop parameters displayed in green (if OK).  In case there are errors they are either displayed in red, or you get an 'Under Construction' page instead. If this occurs please change inappropriate parameters according to the requirements specified in the very beginning of this guide, or ask your hosting administrator to change them if possible.

14. Press "Proceed to step 2".

15. Please read and confirm you accept the licensing agreement, press 'I accept. Start installation'.

8.png 

16. Press 'Proceed' to skip the 'Existing setup settings' step.

9.png 

17.  Database connection. In this step you are supposed to enter the correct parameters to access your database server. To clarify - these are the parameters you set up in step 10. Please, enter:

  • Host – the database server address (set as 'localhost' by default).
  • Port – the database service port (set '3306' by default).
  • Database – the database name (the one you created to be used by the RMS shop).
  • Table prefix – the table names prefix. If you have only one database then having a prefix enables you to distinguish between the RMS application and other tables. This field is not obligatory.
  • User and Password – the database username and password.

To proceed and check if the database settings are correct click 'Connect to Database'. 

10.png 

18. In 'Affiliate settings' enter your e-mail address. It will be used as the RMS admin e-mail address. You will receive your RMS admin area username and password to this email. Click 'Next' to proceed.

11.png

19. 'Template settings'. In this step you can select the template types and categories you would like to display in the RMS store. If you choose to display all available templates you can skip it and click 'Next' to proceed.

Important: if you choose particular template types and categories in this step you will NOT be able to enable their display from the shop admin area once the shop is installed and will need to re-install the shop over again to enable them. So if you're not sure which particular types and categories you would want to display now and may want to change them later - choose all available types and categories display in this step and manage them from the shop admin once the shop is installed.

12.png

We strongly recommend to select following categories:

13.png

 and types: 

14.png

20. Installation. In this step you get the final notification before you start installation. When ready, press 'Install'. The installation may take a certain amount of time and it is not recommended to abort it.

21. Once the shop is installed you are delivered the RMS update command that is to be added to a cron job or another scheduler on your hosting to run updates (we recommend to run updates daily). This video shows how to do that.

You are also delivered the RMS admin access details (username and password):

15.png 

The just installed shop displays a minimal amount of templates, just to show the shop is installed and working OK. Once updated through the CRON command it displays the rest of the available templates including the newest ones.


Here is the
video example of how to manage Step 2

 

STEP 3

Now we can proceed to customize your shop by using the newest RMS Skin. If you would like to have a responsive RMS store theme like this one, all you need to do is :

Install the theme:

  1. Download the theme.
  2. Unzip the downloaded archive and copy the theme folder to your web-server into the directory '/themes'.
  3. Log in your admin area.
  4. Navigate to Settings-> RMS Settings
  5. Choose the downloaded theme in Active theme field and press ‘Update’.

 

And customize it:

Customize CSS

You can either use our CSS, or add your own custom CSS. Go to http://www.mytemplatestorage.com/personal/preset_other.php

If you want the shopping cart to look like this - add this link to the 'Specify an URI of your CSS file for the preset (optional):' field.

If you want your cart to look like this (we do recommend this option) - add this link to the 'Specify an URI of your CSS file for the preset (optional):' field and paste code from here into 'Specify your CSS-code for the preset (optional):' field. Make sure the underlined link on the screenshot below corresponds your site domain and the name of the theme you are using.

31.png

To apply your own CSS you can add either an external link to your CSS in 'Specify an URI of your CSS file for the preset (optional):' field, or add the code to 'Specify your CSS-code for the preset (optional):' field.

As you've chosen the settings click 'Submit'.

 

There are two ways to apply the following settings:

1. You can import the settings from this json file.

To do that save the file and navigate to Settings > Import/Export:

 

32.png

Choose the json file you saved and click the Import button.

2. You can also implement the same settings by following the next steps below.

 

For more info on what your admin area has to offer please refer to the help tab.

16.png

6. Navigate to Settings-> RMS Settings.

a. Change the values: FEATURED_TYPE_COLS to 20, FEATURED_TYPE_ROWS to 1.

b. Disable INCOMING_CATEGORY_VISIBILITY, INCOMING_PACKAGE_VISIBILITY and INCOMING_TYPE_VISIBILITY.

c. Change the values: TEMPLATE_COLS to 4, TEMPLATE_ROWS to 5.

d. Press ‘Update’.

17.png

7. Go to Settings -> User Settings. (Example on screenshot below)

a. Enable slider (disabled by default): press Add New user setting. Add “SLIDER” to the Name field. Add “Enable slider” to the Description field.  Add “true” to the Value field and click Submit. Change the value field to false to disable slider.

b. Enable Webstudio (optional): press Add New user setting. Add “WEBSTUDIO” to the Name field. Add “Enable webstudio shop” to the Description field. Add “true” to the Value field for WEB-STUDIO and click Submit.

Additionally you can import the web-studio.json file in RMS Admin panel’s Import/Export section /admin/import to tune your templates catalog.

This step is optional and will let you add the web studio default settings (https://rms3.templates.com/web-studio/) faster.

c. Add WebStudio Email (optional): press Add New user setting. Add “WEBSTUDIO_EMAIL” to the Name field. Add “your email the template orders will be delivered to” to the Description field. Add the email you would like the template orders to be delivered to to the Value field. Click Submit.

d. Enable/disable presale chat (enabled by default): press Add New user setting. Add “PRESALECHAT” to the Name field. Add “Enable chat” to the Description field. Add “false” to the Value field and click Submit.

e. Enable/disable the “UP” button (enabled by default): press Add New user setting. Add “ARROW” to the Name field. Add “Enable/disable to top arrow” to the Description field. Add “false” to the Value field and click Submit.

f. Enable/disable Banners and Testimonials. Add “true” (to enable), or “false” (to disable) to the Value field and click Submit.

34.png

 

 

8. Go to Routes -> Type Routes and change the value Other Pages Type Route to:

%TYPE%-type/%PAGE-NUMBER%

19.png

9. Go to Routes -> Preview Routes and change the value Other Pages Preview Route to: %TYPE%-type/%TEMPLATE-ID%-%PAGE-NAME%.html

20.png

10. Edit Types/Categories: If you want to hide some types or categories go to Texts -> Types/categories, choose the needed template type/category on the left and change Visibility from Visible to Hidden in the Main Properties section on the right. 11.  Set Featured types:  Navigate to Texts -> Featured Types and drag the needed featured types (will be displayed on the home page) to the left column.

21.png

12. Change copyright: Go to texts - > Global texts - > Copyright and change the Text content field.

22.png

13. Add Demo page:

a. Navigate to Pages -> User Pages and press the orange triangle on the left, then go to

b. Add new page.

c. Add “demo” to the Name field

d. Set Internal for the Link Class field

e. Add “demo” to the Internal Link Alias field

f. Add “#TEMPLATE-ID Preview” to the HTML Title Name field

g. Add “demo” to the List Name field

h. Set default for the Layout field

i. Set Hidden for the Visibility field

j. Press Submit.

23.png

14. Add F.A.Q. page:

a. Navigate to Pages -> User Pages and press the orange triangle on the left, then go to

b. Add new page.

c. Add “frequently-asked-questions” to the Name field

d. Set Internal for the Link Class field

e. Add “frequently-asked-questions” to the Internal Link Alias field

f. Add “frequently-asked-questions” to the HTML Title Name field

g. Add “frequently-asked-questions” to the List Name field

h. Set frequently-asked-questions for the Layout field

i. Set visible for the Visibility field

j. Press Submit.

15.  Add Terms of Use page:

a. Navigate to Pages -> User Pages and press the orange triangle on the left, then go to

b. Add new page.

c. Add “terms-of-use” to the Name field

d. Set Internal for the Link Class field

e. Add “terms-of-use” to the Internal Link Alias field

f. Add “terms-of-use” to the HTML Title Name field

g. Add “terms-of-use” to the List Name field

h. Set terms-of-use for the Layout field

i. Set visible for the Visibility field

j. Press Submit.

16. Add Privacy Policy page:

a. Navigate to Pages -> User Pages and press the orange triangle on the left, then go to

b. Add new page.

c. Add “privacy-policy” to the Name field

d. Set Internal for the Link Class field

e. Add “privacy-policy” to the Internal Link Alias field

f. Add “privacy-policy” to the HTML Title Name field

g. Add “privacy-policy” to the List Name field

h. Set privacy-policy for the Layout field

i. Set visible for the Visibility field

j. Press Submit.

17. Add About Us page:

a. Navigate to Pages -> User Pages and press the orange triangle on the left, then go to

b. Add new page.

c. Add “about-us” to the Name field

d. Set Internal for the Link Class field

e. Add “about-us” to the Internal Link Alias field

f. Add “about-us” to the HTML Title Name field

g. Add “about-us” to the List Name field

h. Set about-us for the Layout field

i. Set visible for the Visibility field

j. Press Submit.

Page Demo is compulsory for any custom template shop, and these three pages - F.A.Q., Terms of Use and About Us - are displayed in our theme’s main menu by default. You can customize them in “theme”/pages/ and change the layout of the main menu in file layout.php.

24.png

 

18. Add your own (custom) page. Check this video example of how to add custom page. The provided example shows old RMS theme, but the only difference is that it will not be added to the top menu automatically. You have to add the link to your new page in “layout.php”. 

19. Set Discount (optional):

a. Navigate to Settings -> User Settings and press Add New.

b. Add DISCOUNT to the Name field.

c. Add discount description to the Description field.

d. Add your discount rate (eg. 0.7 to set a 30% discount) and press Submit.

e. Go to Settings -> User Settings and press Add New.

f. Add CALCULATE_DISCOUNT to the Name field.

g. Add turn on/off the discount to the Description field.

h. Add 1 or 0 to turn on/off the discount and click Submit.

20. Hide specific templates (optional):

a. Go to Settings -> User settings and press Add New.

b. Add “HIDE_TEMPLATES” to the Name field.

c. Add “Hide templates, put numbers separated by comma” to the Description field.

d. Add the ID's of the templates you would like to hide (separate them with comma) to the Value field.  

e. Click Submit.25.png

21. Change WebStudio Header text (optional):

a. Go to Texts -> Global Texts and press Add New.

b. Add “WEBSTUDIO_HEADER_TEXT” to the Name field.

c. Add “WEBSTUDIO_HEADER_TEXT” to the Title field.

d. Add “Select a Template for Fast Website Setup” and press Submit.

22. Set Template Advantages text (optional):

a. Go to Texts -> Global Texts and press Add New.

b. Add TEMPLATE_ADVANTAGES to the Name field.

c. Add By purchasing a template you get to the Title field.

d. Add the below to the Title field:

<ul class="template-advantages">

<li>A Professionally Designed Website</li>

<li>Technical Help and Support</li>

<li>Your Web Studio Advantages</li>

<li>Your Web Studio Advantages</li>

<li>Your Web Studio Advantages</li>

</ul>

e. Press Submit.

23. Add Privacy Page (optional):

a. Navigate to Pages -> User Pages and press the orange triangle on the left, then go to Add new page.

b. Add Privacy to the Name field

c. Set Internal for the Link Class field

d. Set terms-of-use for the Internal Link Alias field

e. Set terms-of-use for the HTML Title Name field

f. Set terms-of-use for the List Name field

g. Set terms-of-use for the Layout field

h. Set Visible for the Visibility field

i. Press Submit.

24.  Change Logo/favicon: to change the logo simply replace a logo.png and logo-white.png files in your /themes/theme-2018-v03-en/images/ folder. The same procedure with favicon: replace favicon.png file in your /themes/theme-2018-v03-en/images/ folder.

25. Change the title of the site: Settings > User Settings, add your site’s meta title to the META_TITLE field and press the Update button.

35.png

 

26. Change the color scheme of your store: you need to have basic knowledge of HTML and CSS. The colors of all elements are indicated mostly in file styles.css, located in /themes/theme-2018-v03-en/css/ folder. And some style of the demo page elements are specified in demo.css file. The procedure is as follows:

1) inspect the element you would like to change color on page

28.png

2) find the proper selector (in this case it is class .btn3), property (background) and value (#2684ca)29.png

3) open the file (in this case - styles.css on line 300), find these properties there and change the value on any color you want. We recommend commenting the code you want to make changes to, so you will be able to discard changes quickly. Do not forget to save the file and upload it back to your server in case you are editing it locally.

30.png

4) Repeat the actions above till all of the elements are customized. 

27. Speed up your store (optional): we recommend using CloudFlare service. 

Сheck our youtube channel for some video tutorials and various info on RMS.

If you have affiliate questions or issues feel free to contact our affiliate support by submitting a ticket request.

 

Have more questions? Submit a request

Comments

Powered by Zendesk