Membership users have limited privileges to Ektron. Unlike regular Ektron users, they cannot use the Workarea. When membership users log in, they can view, add and edit content from the Web site (as permitted)—all other functionality is disabled.
Membership users can be allowed to view private content. This is helpful if your organization has partners who need access to Web pages that should not be visible to the general public. See Also: Making Content Private If you have a Social Network or Community Web site, a membership user can create an online area for themselves.
A typical membership scenario is a Partners section of your Web site that contains private content for partners only. Set up a membership user group with users from your partner’s organization. The group is given add and edit permissions to the Partners section. Membership privileges are:
Use the Membership Module folder to add and edit membership users and user groups.
NOTE: The ek_PageSize
setting in the web.config
file determines the maximum number of users that can appear on a page before it “breaks.” When a page breaks, additional entries appear on another screen, and the following text appears near the bottom of the list:
Page 1 of 2 [First Page] [Previous Page] [Next Page] [Last Page]
IMPORTANT: This name needs to be unique inside Ektron and it cannot be blank.
Changing the Default File Size
To change the file size limit, edit Siteroot\Workarea\Upload.aspx.vb
. In this file, change the line below to the maximum file size you want to allow.
If (numFileSize > 200) Then
For example, to allow 500 kb files, change 200 to 500.
NOTE: Remember, this number is in kilobytes.
Changing the Default Height and Width
To change the default height and width, edit YourSite\App_Code\VBCode\Utilities.vb
. In this file, change the following lines to the size you wish to allow.
Dim Width As Integer = 125
Dim Height As Integer = 125
For example, to set avatars' height and width to 166 pixels, change 125 to 166 in both lines.
User Groups Tab (Tab only appears when editing)—Lists user groups to which the user belongs. See Also: Assigning Users to User Groups
Activities Tab (Tabs only appear when editing)
NOTE: If you disable Notifications, the Activities tab (which lets the user pick Notifications to receive and send) disappears.
This tab sets preferences for all community groups.
For Developers: Ektron has created a UserGroupPreferences user control. If you add the control to a community group’s profile page, users can specify notification preferences for individual groups. This control comes with Ektron and is located in:
[Drive:]\webroot\siteroot\Workarea\Notifications\Controls
In this site, when a logged-in member of a community group accesses his group’s profile page, there is an Edit Group Notifications Preferences link. Clicking this link opens the user control. When the user selects his preferences, they are stored for that group only.
Profile Links Tab—Lists The user's alias if community aliasing is set for users. See Also: Community URL Aliasing
If there are many membership users, use the search to find users who meet your criteria. For example, find members whose username includes @example.com. Only users with those characters in that sequence in their username, first name, or last name appear. The search is case-insensitive, so MI produces the same results as mi.
You can also search by First and Last name.
If you get the following error:
Response object error 'ASP 0251 : 80004005'
Response Buffer Limit Exceeded
Increase the limit as follows:
%WinDir%\System32\Inetsrv\Metabase.xml
You can use a membership group to group similar membership users, reducing the effort required to assign identical permissions to many users.
IMPORTANT: Membership Groups and Community Groups are different concepts. Community Groups allow users with similar interest to join together in a social networking environment. See Managing Community Groups. Membership User Groups are explained below.
To make friendly URLs that are easy to use and remember for a community user and group, Ektron provides a Community URL Aliasing feature. Community URL Aliasing for more information.
NOTE: Membership users may also be managed with Active Directory and LDAP. For more information, see Authenticating Membership Users with AD or LDAP.
NOTE: Only membership users can be added to membership user groups.
NOTE: Only membership users who do not already belong to the group appear.
After you create membership users and groups, you can assign them permissions for Community folders only. See Also: Community Folders
The Membership server control has a tabbed form that allows a site visitor to create or update his profile. The control also can present new membership users with terms and conditions for using Discussion Boards when needed.
You can specify the following information on the Membership server control tabs:
Fields with a red asterisk (*) are required fields.
Changing the Default File Size
To change the file size limit, edit Siteroot\Workarea\Upload.aspx.vb
. In this file, change the line below to the maximum file size you want to allow.
If (numFileSize > 200) Then
For example, to allow 500 kb files, change 200 to 500.
NOTE: Remember, this number is in kilobytes.
Changing the Default Height and Width
To change the default height and width, edit YourSite\App_Code\VBCode\Utilities.vb
. In this file, change the following lines to the size you wish to allow.
Dim Width As Integer = 125
Dim Height As Integer = 125
For example, to set avatar's height and width to 166 pixels, change 125 to 166 in both lines.
Fields with a red asterisk (*) are required fields.
By default, all activity is checked to display in the Activity Stream widget. By checking the boxes, you can select criteria for the types of content you want to see when colleagues or community groups create the content. You can also select (publish) the types of content that you want colleagues to see under the My Activities category.
The Category tab lets you select from a list of taxonomy categories with which you want to be associated. You determine which taxonomy appears on the tab by setting the TaxonomyID
property.
WARNING! The Category tab appears only when an ID is assigned to the TaxonomyID
property.
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.
When set to Active, Click to upload your avatar appears on the General tab. This allows site visitors to upload an avatar when registering for the site. When set to Disable, the link is hidden. To force site visitors to choose from a gallery of avatars, enter a path to the template containing them. The predefined gallery appears in a pop-up window. To adjust this window's properties, edit the siteroot\workarea\java\
membershiptabs.js
file.
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 for which to show the Terms and Conditions. If you don’t know the ID, click Ellipses, then sign in, browse to and select the Discussion Board.
Lets a developer decide what type of membership form is added to the Web form. The following describes possible settings.
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.
To make this control dynamic, select id. When you do, this server control is attached to the user passed as a URL parameter.
Use to add Captcha interface for more security. It looks like this.
If this property is set to true, Captcha appears while the control is in User Registration, Account Activate, or Reset Password mode. See http://www.captcha.net for more information about Captcha.
Hides or displays the output of the control in design time and run time.
Set a language for the server control. This property shows results in design-time (in Visual Studio) and at run-time (in a browser).
The URL to which a membership user is sent if the registration fails.
The URL to which a membership user is sent when the registration succeeds.
Lets you add an image in place of the text on the register button. Enter a path to the image. For example:
http://www.example.com/buttons/registerbutton.gif
If the image is located in the site root, do not enter the full path—only enter the subfolder path and image name. For example: /buttons/registerbutton.gif
Text that appears on the Register button. The default is Register. If you use a register button image, you do not see this text.
Lets you add an image in place of the text on the reset button. Enter a path to the image. For example:
http://www.example.com/buttons/resetbutton.gif
If the image is located in the site root, you do not need to enter the full path. Only enter the subfolder path and image name. For example: /buttons/resetbutton.gif
Text that appears on the reset button. The default is Reset. If you use a reset button image, you do not see this text.
Lets you add an image in place of the text on the save button. Enter a path to the image. For example:
http://www.example.com/buttons/savebutton.gif
If the image is located in the site root, you do not need to enter the full path. Only enter the subfolder path and image name. For example: /buttons/savebutton.gif
Text that appears on the save button. The default is Save. If you use a save button image, you do not see this text.
Decide if the Custom User Properties Tab is available when using this control. The default setting is True.
Terms and Conditions are defined for the Discussion Forum specified in the Membership server control's BoardID
property. If you set the ShowTerms
property to True
, the Terms and Conditions for the forum identified in the control's BoardID
property appear near the bottom of the Membership Server Control. A membership user must check the box to complete his registration.
If Terms and Conditions are defined for the specified Discussion Board and ShowTerms
property is set to False
, you must accept the Terms and Conditions the first time you create a post or a reply.
Suppresses the output of the span/div tags around the control.
The ID of a taxonomy available to users. A user editing or creating a profile can select which categories from this taxonomy to associate with their profiles.
The message that appears when a membership user already exists. The default message is: Username(email) already exists!
The message that appears when a membership user successfully registers. The default message is: You have registered successfully. You can also use this property to set the message that appears when users successfully unsubscribe or reset their password. To do this, enter the success message in this property and set the DisplayMode
property to the proper usage.
The message that appears when a membership user successfully updates their information. The default message is: You have successfully updated your information.
Lets a developer specify a server control’s tag.