Working with Discussion Boards
The discussion board feature provides topic discussions on your Web site. A site or membership user with Add Topic permission creates a topic and posts a starter question. Site visitors can then reply. Ektron supports an unlimited number of discussion boards. A discussion board consists of a hierarchy. The following example shows the hierarchy with sample data, to explain how each element is used.
The following example shows a discussion board where the first screen has general topics, the second screen’s topics are more specific, and a third screen displays posts to the forum.
In the Workarea, discussion boards appear as top-level folders () in the folder structure. Forums appears under them. If you click a discussion board, you see its subjects and forums on the right side of the Workarea.
On the Web site, if you click a discussion forum, you see its topics. If you click a topic, you see its posts.
To implement a discussion board into your Web site, place a forum server control on a Web page. Then, select a discussion board. All subjects and forums within that board appear on the Web page. You cannot selectively suppress subjects or forums. Keep this in mind when determining the contents of a discussion board.
To view a discussion board, select it from the Folders display. When viewing the board, you see all of its forums. You can click any forum to see details about it.
An administrator determines the following discussion board features.
When editing a discussion board, you can change information entered when it was created plus additional fields only available when editing.
NOTE: Some items in this table only appear when editing an existing discussion board’s properties.
Field |
Description |
Name |
Enter the name of the discussion board. This text describes the board within the Workarea and on your Web site. |
Title |
Enter the title of the board. |
A comma-delimited list of HTML tags allowed in the editor. When left blank, all tags are available.Site visitors posting to the forum can apply these HTML tags to content when their forum editor is eWebEdit400, as set in the user profile. The default list is: NOTE: You must add the embed tag if you want users to be able to insert WMV files into their posts. |
|
A comma delimited list of file extensions that can be uploaded. You can enter the extension with or without the period (.). Use a comma to separate each extension. The list appears at the bottom of the editor screen to notify the person entering a post which file types can be attached. The default list is:
|
|
The maximum size of a file, in bytes, that a user can upload. The default is 200000 bytes (.19 megabytes). |
|
Topics: Require Authentication |
Effect of this Field on the Web Site Check this box if a site visitor must sign in to post to the discussion board. If the user cannot access a login screen, the user cannot post. If this box is unchecked, site visitors can post without signing in. Effect of this Field within the Workarea If this field is checked, only users with Add Topic or Edit Topic permissions for the discussion board can create or reply to posts. See Also: Modifying Permissions for a Discussion Board |
Check this box if you want to prevent all posting to this discussion board. You can do this temporarily or permanently. If a Board is locked, only Administrator user group members can post to it, or edit or delete posts. Those users can post from the Web site or the Workarea. You can alternatively lock any forum underneath this Board via the forum properties screen. |
|
CSS Theme |
Choose a style sheet to determine the appearance of the discussion board on your Web site. Select any theme available in the CSS Theme drop-down. The default is NOTE: If you edit a CSS file, you should save it under a new name. This prevents your changes from being overwritten during an upgrade. |
Page Template |
Lets you specify a template for the forum. If you do not specify a template, the search results do not link properly to the forum. See Also: Working with Templates. To preview what the forum looks like within the selected template, click preview () to the right. |
If you want all topics in this discussion board to be assigned a taxonomy category, check Required category selection. If you do, a signed-in user is prompted to select a taxonomy category when creating a topic. This checkbox has no effect when creating new topics within the Ektron Workarea. See Also: Taxonomy |
|
Select a taxonomy whose categories will be assigned to forum topics. The Taxonomies are created in the Taxonomy Tab. The discussion board’s taxonomy display represents another way to organize the forum’s posts. See Also: Taxonomy . Effect of Assigning Taxonomy Categories to a Topic When a discussion board server control is placed on a Web page, its display includes a small taxonomy icon (circled below).
When a site visitor clicks this icon, taxonomy categories are displayed. When the user selects a category, the user sees its subcategories followed by all forum posts assigned to that category. Below is an example of how a discussion board’s posts might be organized by taxonomy category.
|
|
Subjects Tab |
Enter as many subjects as you wish. Each subject contains one or more discussion forums. You must create at least one subject for each discussion board. NOTE: You can also add a subject by selecting a discussion board then selecting New > Subjects. Subjects are the highest level of the hierarchy that appears on your Web site. In the sample forum below, Latest Discoveries and Patient Care are Subjects.
Subjects appear in alphabetical order unless you use the Sort Order field. The Sort Order field accepts a number and uses it to arrange the subjects of a discussion board on the Web site. The lowest numbers appear near the top of the page. To access the Sort Order field:
|
Terms & Conditions Tab |
Add the Terms & Conditions for using the discussion board. By entering text in this text box and saving, you activate the Terms and Conditions feature. See Also: Defining Terms and Conditions |
When you delete a discussion board, its subjects, forums, and posts are also deleted. When deleted, they cannot be retrieved.
Like content folders, discussion boards have a permission table that lets you determine the functions a user can perform. (See Managing Folder Permissions.) Because discussion boards have different functions than folders, the permission table is slightly different.
In addition, each Forum has its own permission settings. By default, a forum inherits permissions from its parent discussion board but you can break inheritance and customize permissions for a forum.
To access a discussion board’s permission table, navigate to and click the board so it appears in the Workarea. Then, click View > Permissions ().
NOTE: Only Administrators group members can access the discussion board Permission Table.
The following example shows a discussion board permission table for regular users. Membership users have fewer permissions.
When you create a discussion board, the permission table has the following default values from the parent folder (Parent Folder Permission—Discussion Board Permission):
NOTE: Because there are no corresponding permissions for the discussion board’s Moderate and Post/reply permissions, their initial value is blank.
So for example, if the user JSmith has permission to perform all functions for a folder, and a discussion board is created in that folder, JSmith initially receives all permissions listed above for the discussion board. However, you can edit the permissions as needed.
As soon as you create a discussion board, it is disconnected from the parent folder’s permission table. Subsequent changes to the parent folder’s permissions have no effect on discussion board permissions.
The following table lists all permissions that you can grant to regular users. Only some permissions can be granted to membership users (that is, site visitors who register to participate in the forum).
Permission |
Give the user ability to |
Can be assigned to membership users |
Read only |
View forums and posts; cannot submit a post |
Yes |
Edit Topic |
Edit a topic’s title (Editing a Topic Title) |
No |
Add Topic |
Add new topics (Adding a Topic to a Forum) |
Yes |
Delete Topic |
Delete a topic (Deleting a Topic) |
No |
Post/Reply |
Post a new topic or reply to an existing one, either from the Workarea or the site. (Adding a Topic to a Forum and Replying to a Post) |
Yes |
Approve and delete posts and topics. Also, receive notifications when a post is reported using the report post feature; only applicable if the forum’s properties field Moderate Comments is checked. (Moderating from the Control Panel ) WARNING! Everyone who has Moderate permission will receive notifications when a post is reported. See Also: Reporting a Post |
Yes |
|
Add Forum |
Create a new forum (Creating a Forum) |
No |
Edit Forum |
Edit a forum (Editing a Forum) |
No |
Delete Forum |
Delete a forum (Deleting a Forum) |
No |
By default, membership users are assigned the following permissions:
They cannot be granted Edit or Delete topic nor advanced permissions (Add, Edit or Delete forum). However, if a membership user creates a new topic, the user can delete it.
After you remove a user, discussion boards do not appear in his Workarea.
You can change the number of topics or posts shown on a page by changing the ek_PageSize
value in the web.config
file.
A discussion board's Terms & Conditions convey your expectations to its users. If you add Terms & Conditions, anyone posting to that board sees the following screen the first time a post or reply is attempted to a forum. Users can only post to a forum after agreeing to its Terms & Conditions.
To add terms and conditions to a discussion board:
This sections show you how to create and edit subjects in a Discussion board.
A forum is a particular thread within a discussion board. For each forum, you define the following:
Prerequisite: You can only create a forum after a discussion board and at least one subject have been created.
The Smart Desktop has a Forum Topics and Posts category. This tells you how many posts currently require your approval before they appear on the site.
A discussion board can also be locked. If a board is locked, a message on this screen indicates that. In that case, no posting is allowed to this forum regardless of this setting.
You can delete any forum. When you do, its topics and posts are also deleted. When deleted, they cannot be retrieved.
You can use all of the permission features available to discussion boards with any forum.
When you first view a forum’s permission table, you see these settings plus a check box that lets you maintain the inheritance or break it. A forum initially inherits (that is, copies all permissions from) its parent discussion board’s permission settings.
To later restore inheritance, check the box. When you do, the parent discussion board’s permissions overwrite any forum-specific changes. The forum then reverts to a read-only state. Any permission changes must be made at the discussion board level while inheritance is enabled.
If you are not using authentication for the forums and want to block a site visitor from posting to the forum, you can use the Restricted IP feature to block site visitors from posting to the forum.
NOTE: In addition to using Restricted IPs for a specific forum, you can access the Restricted IP feature from the Workarea > Settings > Configuration > Discussion Board > Restricted IPs. If you have more than one forum, this lets you select which Discussion Boards the Restricted IPs are applied.
The User Ranking feature lets you recognize active forum contributors. You can create a ranking system that moves a contributor to the next level after submitting a specified number of posts. This is known as a ladder system, which lets forum contributors build credibility. For example:
You can assign an image to each rank that appears below the user’s name on any post. The rank also appears on a user’s forum profile.
You can also create ranks that are independent of the ladder system. Such ranks have no relationship to a contributor's number of posts. For example, after a forum user acquires Ektron Developer Certification, the user is assigned the Ektron Developer rank.
You can move contributors from a non-ladder rank to the ladder system and vice versa. Whether or not a contributor is in a ladder system, Ektron keeps a tally of posts. So, if the user is moved into a ladder system at any time, the user is placed into the correct rank.
To add a user rank:
NOTE: You can also access the User Ranks screen from Workarea > Settings > Configuration > Discussion Board > User Ranks. If you have more than one forum, this screen lets you pick the discussion board to which a rank is assigned.
A user’s rank appears below the user name on any post the user has made. You can only move a user into and out of a ladder system. You cannot change his rank within a ladder system—that is determined by the number of posts.
To change a user’s current rank, you must know what it is. To change a user’s rank:
The discussion board’s Email Notification feature enables Ektron to generate email for a list of registered users whenever certain forum activities take place. For example, anyone may register to be notified whenever a new forum topic or post is created. As soon as a new forum topic or post is created, registered users receive an email with a link to the new topic or post. The recipient clicks the link to access the page. So, users can be instantly notified when users' posts to the discussion board relate to their interests. When the messages are set up, you don’t need to do anything—everything happens in the background.
You can create an email message to be sent when these discussion board events occur.
A simple editor lets you apply some XHTML formatting the message. To create a message:
The messages can include variables that retrieve information about the new post or topic and display it in the message text. The variables are surrounded by at signs (@). For example:
@appPosterDisplayName@ has created a thread you have subscribed to.
In the email, this text might read:
Alan Administrator has created a thread you have subscribed to.
You can use the following variables in the body of discussion board email notifications.
A topic is a specific issue to be discussed in a forum. For example, in a medical research forum, a topic might be New Cancer Treatments. Before creating a topic, you must create a forum into which to place it. To view a topic from the Workarea:
If an option is underlined, you have authority to perform it; if not, you cannot. For example, if a post’s status is approved, the approve option is not underlined because it is already approved.
When you create a new topic in the Workarea, the first post is created from the topic message. If you add a topic but you are not a forum moderator, you do not see the topic in the Workarea until it is approved.
NOTE: You also can create new topics from the OnTrek user interface (Support > Support Forums).
To create a topic:
The only part of topic you can edit is its title.
If a post is surrounded by a yellow border in the Workarea, the post must be approved before it can appear on the Web site. A topic needs approval when a user without moderate permissions for the forum adds a topic. Only users with Moderate permission can approve a post. To approve a topic:
In a forum, topics are sorted by priority. You can set a topic’s priority when you create it. A forum moderator can change a topic’s priority. To set a topic property:
Locking a topic prevents users from posting a reply to it. For example, you might create an announcement, but don’t want people replying to it. Or, you might decide that a topic has had enough discussion and want to stop further replies. If a topic is locked, only Administrator user group members can post to it, or edit or delete posts from the Web site or the Workarea. To lock a topic:
When you delete a topic, its posts are deleted, too. When deleted, they cannot be retrieved.
When a new topic is created, the first post is created from the topic's message. Posts to a topic are replies to the first post. You can search posts by clicking Search.
Quoting a post means that your reply begins with the original post. You can then add comments and even edit the quoted post. For example, you can include only the portion on which you are commenting. To quote a post:
Add your comments below the quote.
Users with forum moderate permissions can do so from the Control Panel by clicking the Moderate link.
When defining a forum, you can check the Moderate Comments field. If you do, posts to the forum must be approved before they appear on the Web site. Only users who are assigned the Moderate permission are allowed to approve a post. There are 2 ways to approve a post in the Workarea.
You can edit the text of a post but you cannot edit its title.
You can add an attachment to a post. In the Attached Files field, a list of files that will be attached appears. The list of valid file extensions also appears. The list of file extensions and maximum size of the file upload are defined for the discussion board.
You can add video to a post by clicking Insert WMV () in a forum post using eWebEdit400. The following are prerequisites for this action.
http://www.example.com/myvideos/fridaylunch.wmv
To move a topic and its associated posts in one forum to another, the forum to which you want to move the topic and posts must exist.
You can configure Ektron to replace unwanted words in a post such as obscene or indecent words that should not appear on your site. You also can fix commonly misspelled words. For example, the can replace teh.
The Replace Words feature works with exact matches but does not append words. For example, if you replace car with auto, the sentence I bought the car from the cartel becomes I bought the auto from the cartel. Note that cartel did not change to autotel even though the word car appears in cartel.
If you would like the Replace Words feature to modify words that contain a word you do not want used, you can use Regular Expressions. A Regular Expression, often referred to as regex, is a pattern of metacharacters placed around a word that describes a string. Used for string manipulation, regex lets you detail a succinct description of a group of words without having to detail each word in the group.
NOTE: In addition to using Replace Words for a specific forum, you can access the Replace Word feature from the Workarea > Settings > Configuration > Discussion Board > Replace Words. If you have more than one forum, this allows you select to which discussion boards the Replace Words feature is applied.
An emoticon is an icon used to express emotion in a forum post. In the post editor, click the emoticon () symbol.
You can also enter a few characters that resemble the image. For example, to insert , enter O:\)
. While working in a post, the user only sees the text. But when the post is saved, Ektron converts the text to the corresponding emoticon. In all subsequent work with the post, users see only the emoticon. You can add new emoticons at Settings > Configuration > Discussion Boards > Emoticons.
You also can place emoticon images in the following folder: webroot\Workarea\threadeddisc\emoticons
. Administrators reference these files when editing or creating new emoticons.
siteroot\Workarea\threadeddisc\emoticons
folder. You can allow site visitors to report inappropriate posts, such as spam or offensive posts. When a site visitor clicks the Report Post button, an email notification is sent to all forum moderators. Any moderator can review the post and decide to edit, delete, or leave it alone.
If you want to edit the message that is sent when someone reports post, go to the Workarea and choose Settings > Configuration > Discussion Boards > Messages and select ReportForumPost.
When you set up the forum post reporting feature, you add a Report button to the bottom of each post to let site visitors report posts to forum moderators. For example, users can report posts that are offensive or spam. When a site visitor clicks Report Post, an email notification is sent to moderators. A moderator can then view the post and decide whether to edit, delete or leave the post.
NOTE: Your Ektron Web server must be set up to send emails. See Configuring email for Tasks and Content.
This section explains how to work with a discussion board on your site.
The Control Panel lets logged in users view your profile, read, reply to, and delete private messages. It also lets users with moderate permissions moderate the forum. The Control Panel button is located at the forum level.
The Inbox view appears by default from which you can...
IMPORTANT: When replying to a private message, you add your response to the existing message. Only one message is created.
A Topic needs to be approved when a user who does not have moderate permission for the forum adds a topic. When you view topics on the site, any that need approval are highlighted with a different color background.
From this screen, you can click Approve next to the topic’s title. You could also click the topic’s title to view it and click Approve () on that screen.
On the first click, items are sorted first by any numeric (1-10) values, then by alpha values (A to Z). Clicking a column title a second time sorts the items in reverse. When the page is first viewed, the list is sorted by Last Post date and time.
Topics can be deleted from a forum by the users who created them or by users with the Moderate permission. This includes Membership users.
WARNING! When you delete a topic, its replies and posts are also deleted.
Anyone browsing to a discussion forum can view information about its contributors by clicking the user name. However, if the forum server control’s HideUserProfile
property is true
, non-administrator users cannot see the profile, even if the Private Profile setting is set to Public. Administrators can see the profile, regardless of how the HideUserProfile
property is set. The profile contains the following user information.
Users can determine if their profile is viewable via the Private Profile drop-down box on the Membership Registration screen and the Edit Profile screen. The Membership Registration screen appears wherever your developer inserts the Membership Server Control. If Private Profile is set to Private, profile information is suppressed. If it is set to Colleagues, only a user’s colleagues can see his profile. When set to public, everyone can see a user’s profile information.
NOTE: If the forum server control’s HideUserProfile
property is set to true
, non-administrator forum visitors cannot see a user profile, even if the Private Profile field is set to Public.
If you want to suppress the display of user names as an administrator:
If the user is a membership user, go to Settings > Community Management > Memberships > Users and select the user whose information you want to suppress.
NOTE: If the forum server control’s HideUserProfile
property is set to true
, non-administrator forum visitors cannot see the profile, even if the Private Profile check box is unchecked.
You can output a forum as an RSS feed by clicking the RSS feed button (). Each level of the forum has an RSS feed button. This lets you output a specific topic as an RSS feed.
<?xml version="1.0" encoding="UTF-8" ?> - <rss version="2.0"> <!-- Generated by Ektron --> - <channel> <title>Ektron Medical Center Forum</title> <link>http://test/webform.aspx</link> <description>Ektron Medical</description> - <item> <title>Research</title> <link>http://test/webform.aspx?g=topics&f=108</link> - <description> <![CDATA[ Latest medical research ]]> </description> <pubdate>Mon, 7 Feb 2012 09:56:00 GMT</pubdate> </item> </channel> </rss>
After clicking the button, the following screen appears.
To review your forum subscriptions, go to the Control Panel and click Notifications in the lower left corner. A screen indicates each discussion board level to which you have subscribed.
To delete a subscription, check the corresponding box and click Delete.
Logged in users can send a private message to the person who created a post or reply. Only the sender and receiver can view private messages. This requires both users to be either an Ektron user or a Membership user.
Community groups can have their own discussion board. This provides a forum for community-based discussions that are limited to the forum members. All discussion board features are available to a forum in a community group. However, only one step is needed to first create a discussion board in the database.The following example shows a discussion forum on a community group page.
To use a group discussion board, you must first add the group discussion forum into the database. Each group needs to do this one time when they decide to have a discussion forum for their group. To add a group discussion forum database:
The discussion board feature provides a forum where topics can be discussed on your Web site. An Ektron or membership user with Add Topic permission creates a topic and posts a starter question. Any site visitor can then reply.
Ektron provides 3 server controls for use with discussion boards.
After creating at least one hierarchy of discussion board elements, place a Forum server control on a Web page. If you want require site visitors to authenticate, the Web page that hosts the forum should also contain:
NOTE: You should add text below the Login server control to remind the site visitor to enter his email address at the User field. For example, “At the User field, enter your email address.”
After creating at least one hierarchy of discussion board elements, place a Forum server control on a Web page. The Forum server control displays a discussion board on a Web page. You should text below the Login server control to remind the site visitor to enter his email address at the User field. For example, “At the User field, enter your email address.”
If you want require site visitors to authenticate, the Web page that hosts the forum should also contain
WARNING! After placing a Forum server control on a page, follow the procedure described in Updating the Page Command. Otherwise, the user may get an error when posting a reply.
The following are Ektron-specific server control properties. You can find information about native .NET properties such as font, height, width and border style in Visual Studio® help.
Set to True to allow site visitors the option of posting anonymously to the forum. When true, a Post Anonymous checkbox appears above the text editor used to create a post.
If a site visitor adds a check mark to this box, the word Anonymous appears where the Display Name normally appears. The default is True.
Indicates if you are logged into the CMS Explorer and can use it to browse to content, collections, and so on. See Also: Browsing Your Ektron Site Using CMS Explorer.
The ID of the discussion board to display on this page if one is not defined in a query string parameter. If you don’t know the ID, click Ellipses (), then sign in and select a discussion board.
The number of seconds that the server control’s data is cached. The default is 0 (zero). For example, if you want to cache the data for 5 minutes, set to 300. See Also: Caching with Server Controls.
Provide a property’s Friendly Name to order search results by that property. For example, if you define DocAuthor, results will be sorted by the document’s author. Results can be ascending or descending based on OrderDirection
. If you enter an invalid property, no search results are returned. If you specify both CustomOrderBy
and OrderBy
, the OrderBy
property is ignored.
The Static ID of a community group.
Gets or sets the QueryString parameter to read a forum ID dynamically. The default is “f”. Note that a Forum resides one level below a discussion board.
Gets or sets the QueryString parameter to read a group’s ID dynamically. The default is “g”.
Dynamic Parameter for the community group id. Default is “id”.
Gets or sets the QueryString parameter to read a discussion board’s ID dynamically. Set to None - Use Default—if you want to always display the default discussion board. Note that a discussion board is one level above a Forum.
Gets or sets the QueryString parameter to read an individual thread’s ID dynamically. The default is “t”. Note that a Thread resides 2 levels below a discussion board and one level below a Forum.
Set the style sheet for the Editor when a site visitor creates or edits a post. By default, this property is blank. When a style sheet is not supplied, the style sheet defined in the Theme property is used.
Enter a comma separated list of items that you want to appear on the Editor’s toolbar. The default is StyleMenu, FontMenu, ParagraphMenu, TextFormatMenu, LinkMenu, ClipBoardMenu, SymbolsMenu, EmoticonSelect, WMV, Table. See Also: Adding and Removing Toolbar Items From the Editor.
If you set this property to true
, a drop-down list of all forums appears below the topic list. The site visitor can click a forum and jump immediately to it.
If you set this property to true
, a ContentReview server control appears on any topic screen run by this server control. The site visitor can use the control to rate the topic thread. An average rating for the thread appears next to each topic on the forum screen.
Enter a comma-separated list of custom user properties to exclude from the Forum’s profile page. For example, to suppress the Subscriptions field value, enter subscriptions.
Enter the path to an XSLT file used to filter forum content, such as, HTML Attributes, Tags and unwanted words in a user’s forum post. The path can be relative or absolute. The user’s post is filter when the user clicks Submit. By default, this property points to <webroot>/siteroot/Workarea/Xslt/ForumFilter.xslt
. This file removes hrefs with javascript:, vbscript: and “on” events in the link. You can modify this file or create a new one.
WARNING! If you want to edit this file, make a copy, change its name and move it outside of your Web site’s Workarea folder. If you make changes to this file and do not move it out of the Workarea folder, this file and the changes will be lost when you upgrade.
For additional sample code used to create a filter XSLT, see the following KB article: http://dev.ektron.com/kb_article.aspx?id=485
Hides or displays the output of the control in design time and run time.
Set to True to suppress user profiles. The default is True.
On the other hand, if the Private Profile is set to Private for any user, his profile information is not visible, regardless of this setting. If Private Profile is set to Colleagues, only colleagues can see profile information. When the profile is visible, only properties and their values not listed in the ExcludeList
property (above) appear.
Set the height in pixels for the eWebEdit400 content designer. The default is 400. The minimum height is 300.
Set the width in pixels for the eWebEdit400 content designer. The default is 625. The minimum width is 500.
Set a language for viewing content; shows results in design-time (in Visual Studio) and at run-time (in a browser).
Setting this property to -1 (negative one) causes the Forum server control to display topics from all available languages.
Describes the type of forum displayed by this server control.
The order of search results. For example, you want to sort search results by last modified date.
NOTE: The OrderDirection field determines the direction of the search results. For example, if you sort by ID and OrderDirection is set to Descending, the results sort by ContentID number with the highest number at the top of the list.
WARNING! Specifying a CustomOrderBy
property overrides this property.
The direction in which search results are sorted. The default is Ascending.
Enter a link to the user’s social networking profile page, a part of Ektron’s community platform. This allows a user to click another user’s name link or avatar and be taken to the user’s profile page. The link has 2 variables that represent the user’s ID and display name.
You need to have both variables in the link. The Web form can be relative or absolute. For example:
userprofilepage.aspx?uid={0}&dn={1}
The default for this property is ?g=profileu={0}.
When the default for this property is used, users are forwarded to a user’s profile page that is included with the forum control.
Determines the type of window that appears when you click a link in the server control.
If set to True, when this server control appears, the user see a Filter by Category option. This option helps a site visitor zero in on relevant content. If False, the Filter by Category option does not appear.
Suppresses the output of the span/div tags around the control.
Use this property to determine the number of columns on the Taxonomy screen available from this discussion board. In the illustration below, taxonomy categories are arranged in 3 columns (the default value).
Identify the template markup file that controls the display of the server control. For example, mymarkup.ekml
. If the EkML file is located in the same folder as the Web form containing the server control, just enter its name. Otherwise, the path to the file can be relative or absolute. See also: Controlling Output with Ektron Markup LanguageControlling Output with Ektron Markup Language
Enter the custom theme’s folder name. The theme can be relative to the site root or located in the current folder. For example:
Theme=”/workarea/csslib/themes/winter”
Theme=”mytheme”
If you do not specify a theme, the property uses the location defined by the discussion board’s CSS theme property in the Workarea. See Also: Using a Custom Theme
Lets a developer specify a server control’s tag.
To prevent an error from appearing when a user posts a reply to the Web page that hosts the Forum server control:
@ Page
.<%@ PageLanguage="VB"AutoEventWireup="false" CodeFile="Default2.aspx.vb"Inherits="Default2" %>
validaterequest=false
.This property lets you specify a custom location for your themes. By doing so, you prevent them from being overwritten when you upgrade.
If you do not specify a theme in the server control, Ektron uses what is defined in the discussion board’s properties CSS Theme field located in the Workarea.
To create a custom theme:
<web root>/<your site>/Workarea/csslib/winter.
/Workarea/Threadeddisc/themes
folder to the winter
folder.IMPORTANT: Make sure the CSS theme property in the Workarea is pointing to the proper CSS file.
WARNING! You cannot create new buttons and add them to the Forum Editor. You can only add and remove existing buttons.
You can add and remove toolbar items on the Forum Editor by editing the EditorToolbar property. This property contains a series of string values that represent each item, listed below.
The ActiveTopics server control displays either the most active topics for a forum or the most recent ones. The most active are determined by how many new posts are added to a topic or how many replies a post receives. The most recent are determined by the date of the post. The following example shows 2 ActiveTopics server controls. One control is set to Active, the other is set to Recent.
The items in the list are clickable links, which open to the topic.
NOTE: On a PageBuilder page, you can drop the Recent Forum Posts widget, which displays a selected number of the most recent forum posts. See Also: Widget Reference
The following are Ektron-specific server control properties. You can find information about native .NET properties such as font, height, width and border style in Visual Studio® help.
Indicates if you are logged into the CMS Explorer and can use it to browse to content, collections, and so on. See Also: Browsing Your Ektron Site Using CMS Explorer.
The ID of the board from which to get entries. If you don’t know the ID, click Ellipses (), then sign in, browse to, and select a discussion board.
The number of seconds that the server control’s data is cached. The default is 0 (zero). For example, if you want to cache the data for 5 minutes, set to 300. See Also: Caching with Server Controls.
Choose between Active or Recent. In Active mode, the server control displays a list of the most active posts. In Recent mode, the server control displays a list of recently added posts. The default is Active.
By default, Fill occurs during the Page_Init event. Set to false if you want to postpone the fill-action until later. In this case, Fill is automatically called during the Page Render event. You might do this if you need to set or change a property on the control in code-behind and have it render with your changes shown.
Select False to display this server control on the page. Select True to suppress it.
Set a language for viewing content; shows results in design-time (in Visual Studio) and at run-time (in a browser).
The maximum number of topics listed. The default is 10.
Suppresses the output of the span/div tags around the control.
Enter the path to the Forum server control’s Web page. For example: http://<your site>/siteroot/forum.aspx
or /CMS400Developer/forum.aspx
. If your Forum page and your Active Topics page are in the same folder, you can just enter the name of the page. For example: forum.aspx.
Lets a developer specify a server control’s tag.
The PostHistory server control displays a list of forum posts for a given user. The posts are displayed in order, by date, and contain the following:
The following are Ektron-specific server control properties. You can find information about native .NET properties such as font, height, width and border style in Visual Studio® help.
Indicates if you are logged in to the CMS Explorer and can use it to browse to Content, collections, and so on.
The ID of the discussion board from which to get a user's posts. If you don’t know the ID, click Ellipses (), then sign in, browse to and select the discussion board.
The number of seconds that the server control’s data is cached. The default is 0 (zero). For example, if you want to cache the data for 5 minutes, set to 300. See Also: Caching with Server Controls.
By default, Fill occurs during the Page_Init event. Set to false if you want to postpone the fill-action until later. In this case, Fill is automatically called during the Page Render event. You might do this if you need to set or change a property on the control in code-behind and have it render with your changes shown.
Hides or displays the output of the control in design time and run time.
Set a language for viewing content; shows results in design-time (in Visual Studio) and at run-time (in a browser).
The maximum number of posts listed. The default is 10.
Suppresses the output of the span/div tags around the control.
The URL path to the page the where the Forum server control is located.
The ID of the user for whom to get the post history.
Lets a developer specify a server control’s tag.