The Conversations tool provides your audience with the opportunity to become deeply engaged with your content, your organization, and each other. Using our industry-leading moderation system, the tool provides a civil environment for users to interact in real-time discussions while maintaining your brand image.
Add the following code to the page where you want the Conversations component to appear.
If you are using article-level container ids, then you will not need to specify your container id in this code:
<div class="viafoura"> <vf-conversations></vf-conversations> </div>
If you are using widget-level container ids, then use this:
<div class="viafoura"> <vf-conversations vf-container-id=“[ENTER UNIQUE ID]“></vf-conversations> </div>
You can customize how the Conversations tool displays and renders comments within your page using the following parameters.
The container ID of the current commenting tool.
It's recommended to implement the container ID as a metatag on the page. Please refer to our documentation on Container IDs for more details on the purpose and use of Container IDs.
Defines the number of comments that are initially loaded before paginating.
Defines the number of comments that are loaded when the user clicks to load more comments.
Defines the number of replies that are initially loaded for top-level comments.
Defines the number of replies that are loaded when the user clicks to load more replies.
Defines the sort order for top-level comments (not including replies).
Accepts one of:
Defines the minimum number of "featured" comments that are needed to automatically load the "Featured Comments" tab as default.
Defines where the first ad positions can be inserted. Default is between the 2nd and 3rd comments.
Determines how much space to place between ad positions. Default is that they will appear every 7 comments.
Determines the initial widget height (in pixels). The component can increase if the user clicks on "View More Comments". 600px is the standard recommended height.
A typical CMS Example (your meta-tag interface may be different):
<meta name="vf:container_id" content="995" />
The Conversations widget will be activated once the code snippets have been embedded on the page it is intended to appear on.
The Viafoura Conversations tool requires that the On-Site Notification Tray is also implemented on the page.
The On-site Notification Tray acts as a personalized newsfeed for users to view all of their notifications for interactions the community has made with them. Replies to a user's comment, comment likes, new followers and push notifications pertaining to topics the user has followed are all housed here.
To implement the On-site Notification Tray, simply add the Notification Bell on the page.
The Notification Tray is Required for the User Experience
The Conversations widget includes several call to actions and buttons, such as "follow", "login/signup", "post", "reply" and others that rely on the Notification Tray to be implemented and available on the page.
Failing to implement the Notification Tray will result in a broken user experience.
Updated about 2 months ago