ASPPlayground.NET Version 3
Site Integration Package Readme

NOTE: Make sure you have forum version 3.0.1 installed and running properly before using this Site Integration Package (Membership Provider / Role Provider / Message Extractor Class).

ASPPlayground.NET V3 Site Integration Package provides the owner of the forum an easy way to interact with the data stored in the forum. Specifically this package allows you to use the following information:

  1. Membership - through the membership provider model of ASP.NET 2.0, you can manage forum users in your own code with ease.
  2. User Group - through the role provider model of ASP.NET 2.0, you can manage forum user group membership in your own code with ease.
  3. Messages - using our simple message extractor, you can extract message list + actual messages using a few lines of code on your page.

Membership

The Membership Provider allows you to interact with our user database programmatically using the standard ASP.NET membership provider model. With our membership provider installed you can build your site using our forum database as the member data store. In other words, you can

  1. Build a login page on your site and once a user is logged in, he is logged in to the forum as well - Single Sign On, and vice versa.
  2. Build a registration page for your site and have users inserted into our database.
  3. In addition, with our membership provider, you can
    1. Delete users from your site
    2. Allows Users to change / reset password
    3. Update Users' Email
    4. Approve users / Unlock (un-ban) users
    5. Build member list
    6. Look for users using email / login with wildcard character (%) support
    7. Get number of online users

User Group

Our forum software uses User Groups (Roles) extensively to manage permissions. The entire security model in the forum centers around the User Group system. In Version 3 of our forum, the user group system has been extended to include a lot more features than the previous version. Being able to manage User Group Membership in your own code gives you a lot of power on the forum system. Our User Group Management package is built according to the standard Role Provider Model of ASP.NET 2.0, which means you can use your current ASP.NET knowledge without having to lean additional stuff. With our Role Provider, you can

  1. Easily add / delete users from a User Group (role)
  2. Get a list of all available User Groups (roles)
  3. List all users / Find specific user(s) who currently belong to a User Group (role)
  4. List all User Group (role) a member currently belongs to
  5. Whether a user is a member of a User Group (role)
  6. List all available User Groups (roles)

Messages

It is often desirable to be able to show a few messages posted on the forum on your own site. Our Message Extractor class not only allows you to extract a list of threads / messages from a list of forums you specify, but also the actual messages (full content with HTML formatting) in a thread you pick. The class returns a generic List (Of ASPPGMessageItem), which can be bound to any ASP.NET List Controls (DropDownList, ListBox, CheckBoxList, BulletedList), Iterative Controls (Repeater, DataList), and View Controls (GridView, DataGrid, ListView).

ASPPGMessageItem has the following properties

A sample application is provided to show you all the above functions, so you won't have any issue using our Site Integration Package.

Table of contents

  1. Content in this package
  2. Installation of the sample application
  3. Installation of the core files on your site
    • The Files you must upload
    • Achieving Single-Sign-On
    • More information regarding Membership Provider

  1. Content in this package

  2. Installation of the sample application

  3. Installation of the core files on your site

    • The Files you must upload:
      • If you already have a web.config file for your site (most likely you already have one), make sure you copy the web.config sections mentioned above to your own web.config file.
      • The 2 sets of dll's in the bin folder - must be uploaded to your own bin folder. The ASPPGForumLogic.dll/pdb files are the same as the one contained in the 3.0.1 version.
    • Achieving Single-Sign-On:
      • In order to achieve single sign on, in addition to using this membership provider, you will need to enable cookie based forms authentication for your site, as the forum uses forms authentication to recognize logged in users.
      • In order to get the forms authentication ticket to be recognized on both the forum and your site, you need to make sure that in both web.config files:
        • forms authentication cookie's name, protection, path are the same.
        • you have identical machine key specified (validationKey, validation, decryptionKey)
          • You can come to this site for help if you don't know how to generate machine key.
    • More Info regarding Membership Provider
      • MSDN - detailed examples and reference
      • 4GuysFromRolla - detailed explanation on the provider model and everything

 

Copyright © 2000-2009. ASPPlayground.NET