How to enable Demo mode in the Parallels Presence Builder

Refers to:

  • Plesk 11.5 for Linux
  • Plesk Sitebuilder

Created:

2016-11-16 12:59:32 UTC

Modified:

2016-12-21 19:42:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to enable Demo mode in the Parallels Presence Builder

Question

End customer cannot use the Demo feature of the Parallels Presence Builder (PPB), when they open the URL like http://ppb.provider.com/Demo they see the following message:

Demo support is disabled

How can I enable the Demo feature on my PPB installation?

Answer

Follow the steps below to enable the Demo feature on the Parallels Presence Builder installation:

  1. Open the main configuration file of the PPB installation in text editor, use the Parallels Knowledgebase article #116634 to find the configuration file.

  2. Add the following line to the [general] section:

    demo_mode = 1

  3. Optionally, set the following parameters in the same section in the file (the default values are provided in the example below):

  4. demo_max_file_size = 1048576 - maximal size of file which may be uploaded in demo mode (in bytes)

  5. demo_max_file_count = 10 - maximal number of files which may be uploaded in demo mode
  6. trial_site_life_time = 86400 - maximal lifetime of a trial site (in seconds)

PPB web interface language is defined by the localeCode in the GET-parameter, otherwise, if the parameter is undefined, the fallback_locale parameter in the configuration file is being used (e.g. fallback_locale = en_US ).

When a customer opens URL like http://ppb.provider.com/Demo PPB creates trial site, web session and redirects the visitor to PPB web interface. If a customer already visited a paricular PPB installation their session will be detected automatically and PPB will open their trial site for editing.

Have more questions? Submit a request
Please sign in to leave a comment.