# Club Site Starter Kit

Welcome to your new Club Site sample application. The key features are:

- News. Announce news to your club.
- Events. Keep everyone up to date on what’s happening.
- Photos. Share photos and associate them with news items.

This site is ready to run! No changes are needed. Press CTRL+F5 to run the site.

## Site Members and Roles

Your Starter Kit Web site allows visitors to register as members and then log in. Members have specific privileges defined by roles such as administrator or guest. Each Starter Kit Web site defines site-specific roles. The following table describes what features are available to visitors in different roles.

Visitor | Privileges
--- | ---
Not logged in | May view all announcements, events, and public photos.
Logged in | May additionally browse the members directory, edit their own member directory information, and view private photos.
Logged in as Administrators | May additionally edit all announcements, events, photos, and member directory entries.

Important: Run the site before proceeding to automatically generate the site's predefined roles.

Be sure to create a user name for yourself and assign yourself to a role (such as administrator) that can manage the site.

Visitors can register by clicking the Register link. New members are activated automatically, but are not assigned to any role. You can manage users (for example, assign them to a role) using the ASP.NET Web Site Administration tool. For details, see Appendix A.

## Photos and Albums

The photo album enables you to:

- Create albums of photos for use in your site.
- Upload photos to albums.
- View the photos and albums.

Tip: The Club Site enables you to publish news articles, events, photos and other items. Photos can be associated with these items, but photos need to be stored in an album. You may want to create a default album to hold the pictures for these articles.

### To create a photo album

1. Log in to the site as an administrator (member in the role Administrators).
2. In the navigation bar, click Photos.
3. Click Add New Album.
4. Enter a name such as "Site Photos" in the Album Name box.
5. If you don't want others to be able to see the album, check Album is private and non-visible to other users.
6. Click Add Album.

### To upload a photo to an album

1. Log in to the site as a user who can see the album. (Administrators can see all albums.)
2. In the navigation bar, click Photos.
3. In the albums page, select the album to upload pictures to.
4. In the Upload Photo section, click Browse to select the image to upload.
5. Enter a title in the Image title box.
6. Click Upload.
7. Repeat steps 4 through 6 to upload additional photos.

## News Articles

The Club Site enables you to publish news articles for your club. The articles are displayed on the home page and on the news list page. News articles can include content or act as links to other pages.

You can associate a picture with an article. The picture displays as a thumbnail in the article list and at the top of the article content. The article can also point to a photo album for additional images.

### To create a news article

1. Log in to the site as an administrator (member in the role Administrators).
2. In the navigation bar, click News.
3. Click Add New Article.
4. Enter a title for the article.
5. Specify what type of article to create:
   1. To create an article with content, enter the content in the Description text box.
   2. To create a link, select Use a link instead of inline content for this article and optionally enter a description that is displayed as a summary in the article list page. The title is used as the link text.
6. To delay publication, set the article date and time to be in the future. By default, the date and time is set to the current time, so the article is available immediately.
7. To associate a photo with the article, do the following:
   1. Click Upload new image.
   2. From the drop-down list, select the album to upload to.
   3. Click Browse to select the image file.
   4. Enter a title for the image.
   5. Click Upload Image.
   To select an existing image:
   1. Click Pick an existing image.
   2. Select the album containing the image.
   3. Select the photo from the album.
   4. Click Use Selection to confirm the selection.
8. If you want to use than one photo for an article, associate the article with a photo album. Select an album from the list, or click New Album to create a new album.

   Tip: If you create an album for the article, you can use one of the photos from the album as the photo for the article. Create the album and upload the pictures you want to show. Then click Pick an existing image and choose the album and one of the images to use as the thumbnail and article photo.

9. Click Save Article. The article is displayed in the news articles list.

## Events

The Club Site enables you to publish a calendar of events that are of interest to club members. The events can be seen in a list or on a calendar.

Events can be associated with a location that can include details such as directions and facility information. The location is remembered so that it can be used for other events and doesn't need to be re-entered.

### To create an event

1. Log in to the site as an administrator (member in the role Administrators).
2. In the navigation bar, click Events.
3. Click Add New Event.
4. Enter a title for the event.
5. Specify what type of event to create:
   1. To create an event with content, enter the content in the Description text box.
   2. To create a link, select Use a link instead of inline content for this event and optionally enter a description that is displayed as a summary.
6. Set the start date and time of the event. If the event has a specific duration, you can also set the end date and time. If it does not have a specific duration, set the end time to be the same as the start time.
7. To associate a photo with the event, do the following:
   1. Click Upload new image.
   2. From the drop-down list, select the album to upload to.
   3. Click Browse to select the image file.
   4. Enter a title for the image.
   5. Click Upload Image.
   To select an existing image:
   1. Click Pick an existing image.
   2. Select the album containing the image.
   3. Select the photo from the album.
   4. Click Use Selection to confirm the selection.
8. Click Save Event. The event is displayed in the events list.

You can create a location while creating an event, or the event can be associated with an existing location.

### To create a location

1. Log in to the site as an administrator (member in the role Administrators).
2. In the navigation bar, click Locations.
3. Click Locations List.
4. Click Add new location.
5. Enter a name for the location.
6. Optionally fill in the following information for the location. Blank fields are not displayed when viewing the location.
   - Description – use for a description of the location.
   - Address – use for a physical address.
   - Directions – use to guide your members to the event.
7. To associate a photo with the location, do the following:
   1. Click Upload new image.
   2. From the drop-down list, select the album to upload to.
   3. Click Browse to select the image file.
   4. Enter a title for the image.
   5. Click Upload Image.
   To select an existing image:
   1. Click Pick an existing image.
   2. Select the album containing the image.
   3. Select the photo from the album.
   4. Click Use Selection to confirm the selection.
8. Click Save Location. The location is displayed in the location list.

Tip: You can use the photo storage for a location to include a map to go with the directions. Save the map from your favorite mapping software and upload it as the photo for the location.

## Appendix A - Manually Managing Members and Roles

Your Starter Kit Web site allows visitors to register as members. Members have specific privileges defined by a role you assign to them. A special administrative role has rights to perform all functions in the site.

Note: After creating your Starter Kit Web site, create an administrative user for yourself so you can manage the site.

To create a user (member) manually:

1. In the Website menu, click ASP.NET Configuration.
2. Click the Security tab.
3. Click Create user.
4. In the Create User box, type a user name, password, and e-mail address for the member. You must also provide a security question and answer that is used to help users recover their passwords, if necessary.
5. In the Roles box, select the check boxes corresponding to the roles you wish to assign to the new user.
6. Click Create User.
7. Close the Web Site Administration Tool.

To modify an existing member's role:

1. In the Website menu, click ASP.NET Configuration.
2. Click the Security tab.
3. Under Users, click Manage users.
4. In the user list, click Edit roles for the member. (If you do not see the member's name, use the search box.)
5. Under Roles, select the role to assign to the selected member.
6. Close the Web Site Administration Tool.

## Appendix B - Publishing Your Site

When you are ready to share the Web site with others, you can copy it to your Web server. You need to know the File Transfer Protocol (FTP) address of your server, and if required, the user name and password assigned to you.

1. In the Website menu, click Copy Web Site. The Copy Web Site tool displays the files from your Web site under Source Web Site.
2. In the Connections list, select Connect to....
3. In the Open Web Site dialog box, click the FTP Site tab.
4. Type the FTP address of your server, and if required, the user name and password that your hosting site has provided. The FTP URL usually has a format like this:

       ftp://ftp.servername/foldername

5. Click Open. The files on the Web server are displayed under Remote Web Site.

   Note: If you have trouble connecting to the server, contact the server administrator.

6. In the Source Web site box, select all the files.
7. Click the Copy selected files from source to remote web site button.

The files from your site are copied to the server.