Compatibility:

WebSite X5 Evo and Pro


Once you activate the comments for your Blog, you need to select the comment management system you want to use, for example the WebSite X5 internal system.


In this article, we'll focus on the following aspects:


If you use the WebSite X5 internal comment management system you can rely on two tools:

  1. The online Control Panel, which is automatically available for every WebSite X5 project (see: How to manage comments through the online Control Panel).
  2. The WebSite X5 Manager App available for the Pro edition (see: How to manage comments through the WebSite X5 Manager App).


The internal comment management system

Once selected, the WebSite X5 internal comment management system can be configured in this way:

  • Select the Content Type your readers will be enabled to leave. They can just comment, or just report a Vote, or even both.
  • If you set Show Comments after Admin approval as View mode, you will be able to check the comments before they are published.
  • Select the View Order for the comments, as well as how many comments must be visible on the page.
  • You can enable the Abuse button, so the users can report any misbehavior, and the Captcha anti-spam filter to improve the security aspect.
  • Choose the data storage system you want to use and define the required parameters.


The Data Save Settings

Let's have a deeper look at the last step referred to the data storage.


Before leaving their comments, readers need to fill in a form providing their Name, E-mail, Website and finally their Message. All these fields, except the one about the Website, are mandatory. You need to save the data you get from this form, and you can choose between sending them to a file or to a database.


1. Send data to a file

If you are using the Evo edition, this is the only option you have.


The collected data are saved in a file in a specific Server folder.


In this case, you just need to specify the sub-folder within the Server folder with write access though PHP where the collected data needs to be saved.


The main Server folder is the same one you can report in the Data Management section using the Server folder with write access option.


If you don't report any sub-folder, the collected data will be directly saved in the main Server folder.


2. Send data to a Database

The collected data are automatically sent to the specified MySQL database using a preset PHP script.


In order to proceed you first have to fill out the list of the Database connected to the project, which you can do by using the commands available in the  Data Management section. If you have already done this, you then need to specify the Database Table which should be used.


New comment automatic notification

Regardless the data save system you chose, you can always decide to receive a notification e-mail when a reader leaves a comment on a blog post:

  • Activate the Send an e-mail to notify the comment has been received option
  • Type in the User e-mail address field the e-mail address you will be using to receive the notifications.