Open topic with navigation
Using the Micro-messaging Server Control
The Micro-messaging server control allows users to post brief messages. It resembles micro-blogging services like Twitter. For information about the Micro-messaging server control properties, see Micro-messaging.
A user can reply to another user’s micro-message.
The control also lets users search micro-messages. See also: Searching for Micro-messages
In addition, micro-messages are a type of notification.
This feature builds tighter-knit communities by allowing members to share information and feel they have a personal stake in that information.
NOTE: A user’s Private Profile setting has 3 possible values: Public, Private and Colleague. When discussing this control and these settings, Private and Colleague both act as Colleague.
A micro-message is type of Ektron activity, like adding content or joining a Community Group. As such, a new micro-message can generate a notification. See also: Sending Notifications to a Community
Like other notifications, micro-messages can appear on an Activity Stream control.
Users can determine if they want to be notified about colleagues' micro-messages on the User Profile > Activities > Colleagues tab, and if want to notify others on the My Activities tab.
This Micro-messaging server control has 4 modes, which let you control the messages being displayed.
Like other Ektron server controls, there are 2 ways to specify the user associated with the control.
DefaultObjectIDproperty. Do this to display a particular user’s micro-messages on a page.
Use this mode to show micro-messages for a specified user, such as on a User Profile page. For example, when you view your own page in User Mode, you can
The following example of the Micro-messaging server control with the Mode property set to
In User Mode, you can view the control that is associated with another user. For example, when you view another's profile, which contains the Micro-messaging control in User Mode, you see only micro-messages of the user who owns the profile. You cannot submit a micro-message from your colleague’s profile page, nor can you search micro-messages. For example, you and Steve are colleagues. When you view Steve’s profile page:
Colleagues Mode displays micro-messages from the user associated with the control and the user's colleagues. Use this mode to show micro-messages for these users, such as on a user profile page. When you are logged in and visit a page containing a Micro-messaging control in colleagues mode, you can:
You also can view the control in Colleagues Mode when it is associated with another user. For example, when you view another user’s profile, which contains the Micro-messaging control in Colleagues Mode, you see only micro-messages from the user who owns the profile and the colleagues that you have in common with the user. You cannot submit a micro-message from the colleague’s profile page, nor can you search micro-messages. For example, you and Steve are colleagues. When you view Steve’s profile page:
This mode displays micro-messages for a site’s users whose Private Profile setting is set to Public. This mode displays a chronological stream of micro-messages from all such users, with the most recent at top.
Whenever a user whose profile is set to Public submits a micro-message, it’s added to the time line.
This mode displays a single micro-message on a page.
For example, John sends his boss a link to a micro-message that praises his work. When John's boss clicks the link, a page that contains this control appears. See also: Making a Hyperlink to a Single Page Version of a Micro-message
Each micro-message includes a time lapse, that is, the length of time since a message was submitted.
Each micro-message’s time lapse can become a hyperlink that contains the ID of that message and a destination window. Users can click the link to view that message in the new window.
The destination window must
Users can also copy the link and send it to another user, who can then view the message. To copy a time lapse’s link information, hover over the link, right click, and select Copy Shortcut (if using Internet Explorer) or Copy Link Location (if using Firefox).
NOTE: If someone sends a micro-message link to another user who is ineligible to see the message, it does not appear. To see the message, either the user who submitted it has the profile set to Public, or the link recipient must be a colleague of the message's creator.
The following example shows how to set up this capability.
Page1.aspxcontains a Micro-messaging server control that displays a user’s micro-messages. The messages’ time lapses are hyperlinks.
Page2.aspxhas a Micro-messaging server control in Message Mode. It displays the individual message whose time lapse was clicked on the first page.
NOTE: For a full description of the micro-message properties, see Micro-messaging Properties.
Page1.aspx, add a Micro-messaging server control.
TemplateMessageto the path to
Modeproperty to anything other than
Page2.aspx, add a Micro-messaging server control.
Now, when you log in to your site and navigate to
Page1.aspx, you see a list of your micro-messages. If you click the time lapse on any message,
Page2.aspx loads, showing the message you clicked.
The Micro-messaging server control includes search functionality that prompts a user to enter terms and returns micro-messages that match them. The search looks through micro-messages only. It does not search content, products, users, or groups.
When searching, a user can only find micro-messages submitted by
The following topics explain how to enable and use the micro-message search.
The micro-message search requires your server to have the Full Text Search component of Microsoft SQL Server.
You can install the Full Text Search component during the installation of Microsoft SQL Server.
If the Full Text Search component is not installed, and you want to use the Micro-messaging search functionality, insert the SQL Server installation disc into your computer and look for Full Text Search.
After the Full Text Search is installed, run the FullTextIndex.sql script on your database. This script is located in:
Program Files\Ektron\CMS400vxversionnumber\ Utilities\SiteSetup\Database\FullTextIndex.sql
When micro-message search is enabled, a Search tab appears on the control. To use the search, click the tab and enter search terms.
When results appear, you can click any message’s time span to proceed to the message itself. If a reply appears among search results, you can click the link to view the original message.
You can enter more than one search term. If you do, the terms have an “and” relationship. For example, if you enter Community and Group, only messages containing both Community and Group are found.
The micro-message control lets users reply to micro-messages and nests the reply with the original message. Anyone who can see a message can reply to it, and see all other replies.
To add a reply, hover over a message and click Reply (). When you do, a dialog box prompts you to submit a reply of up to 2000 characters. The box also displays the original message.
Replies do not appear when a micro-message is viewed. Instead, a Replies link appears below the comment. The number of replies appears next to the link.
Click Replies to view them. The newest replies are at the top.
To remove a reply, click Delete (), which appears when you hover over the reply. Only the user who submitted the reply and the message board owner can delete replies.
You can filter spam from micro-messages. Ektron defines spam filtering as preventing users from posting a micro-message or replying using:
NOTE: If a user enters a micro-message and a reply that have the same text, each can be sent once without being stopped by the spam filter. However, if either is sent a second time within the specified time period, the spam filter blocks it.
The Micro-messaging server control also lets you define custom spam filters.
To define a spam filter, use the
SpamControlType property on the MessageBoard server control.
Ektron lets you filter spam from your message boards. Ektron defines spam filtering as setting the following limits in MessageBoard server control’s SpamControlType property:
You can create your own spam filter in the code-behind of the page that contains the Micro-messaging control. To do this, set the
SpamControlType property to
Custom, call the
CustomSpamMethod in the page load event, and point it to your custom spam filter method.
The following Visual Basic example blocks the text “Hello World.”
Partial Class Default
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Private Function SpamHandler(ByVal data As Ektron.Cms.MicroMessageData) As Boolean
If data.MessageText = "Hello World" Then
Open topic with navigation