Simple Ajax Chat Pro (SAC Pro) gives you full administrative control over all the details. Details like maximum number of chats per form, maximum length of user names and chat messages, and maximum number of users allowed in chat rooms. This tutorial shows how to control all of these details (and more) very easily.

Tip: Just getting started with SAC Pro? Check out the Quick Start Guide »

Maximum number of displayed chats

The maximum number of displayed chats refers to the chat messages that are displayed in the chat box. This is different than the next option, maximum number of saved chats, which refers to the number of chat messages that are stored in the database (whether displayed or not).

To set the default (global) maximum displayed chats, visit the SAC Pro settings ▸ General ▸ “Max Displayed Chats”.

To set the maximum displayed chats for a specific form, add the max_chats_display attribute to the [sacpro] shortcode:

[sacpro form_id="123" max_chats_display="200"]

The value of max_chats_display can be any number.

Maximum number of saved chats

The maximum number of saved chats refers to the chat messages that are saved in the WordPress database. This is different than the previous option, maximum number of displayed chats, which refers to the number of chat messages that are displayed on the front end.

Another way of thinking about these two options: “saved chats” is the total number of chats; “displayed chats” is the number of saved chats that are displayed in the chat box. The number of saved chats should be equal to or greater than the number of displayed chats.

To set the default (global) maximum saved chats, visit the SAC Pro settings ▸ General ▸ “Max Saved Chats”.

To set the maximum saved chats for a specific form, add the max_chats_saved attribute to the [sacpro] shortcode:

[sacpro form_id="123" max_chats_saved="100"]

The value of max_chats_saved can be any number.

Maximum name length

To set the default (global) maximum name length, visit the SAC Pro settings ▸ General ▸ “Max Name Length”.

To set the maximum name length for a specific form, add the max_chars_name attribute to the [sacpro] shortcode:

[sacpro form_id="123" max_chars_name="20"]

The value of max_chars_name can be any number.

Maximum message length

To set the default (global) maximum length of chat messages, visit the SAC Pro settings ▸ General ▸ “Max Chat Length”.

To set the maximum chat length for a specific form, add the max_chars_text attribute to the [sacpro] shortcode:

[sacpro form_id="123" max_chars_text="500"]

The value of max_chars_text can be any number.

Maximum URL length

To set the maximum URL length for a specific form, add the max_chars_url attribute to the [sacpro] shortcode:

[sacpro form_id="123" max_chars_url="100"]

The value of max_chars_url can be any number.

Maximum allowed users

To set the maximum number of users for a specific chat form, add the max_users attribute to the [sacpro] shortcode:

[sacpro form_id="123" max_users="10"]

The value of max_users can be any number or unlimited to allow any number of users.

Tip: More attributes to customize your chat forms can be found in the SAC Pro shortcode reference.