Products and Services
Graffiti CMS
Learn more about our simple content publishing platform.
Harvest Reporting Server
Get business intelligence tools for measuring online behavior.
Professional Services
Consulting, creative, and Web services from the people who know Community Server best.
Solutions
Telligent
Learn more about our team at Telligent.com.
 

CSModule Events

Below is a list of existing CSModule Events. If there is an event you would like to see added to Community Server, please let us know at support@telligent.com.

Most events use a custom delegate/event handler which provides you with a strongly typed way to access the object that is causing the event to be raised. 

Groups

  • PreSectionGroupUpdate
    Event raised before a group change is committed to the data store (create/update).
    Handler: CSGroupEventHandler (Group group, CSEventArgse)
  • PostSectionGroupUpdate
    Event raised after a group change is committed to the data store
    Handler: CSGroupEventHandler (Group group, CSEventArgs e)

Posts

  • AuthorizePost   
    Event raised before a user accesses a page which can be used to create content.

Handler: CSUserEventHandler (User user, CSEventArgs e)

  • PostPostAttachmentUpdate
    Fires after a post change and attachment are committed to the datastore.    
    Handler: CSPostAttachmentEventHandler (IContent content, PostAttachment attachment, CSPostEventArgs e)
  • PostPostUpdate
    Fires after a post change is committed to the datastore.    
    Handler: CSPostEventHandler (IContent content, CSPostEventArgs e)
  • PrePostUpdate
    Fires after PreProcessPost but before the post change is committed to the data store.
    Handler: CSPostEventHandler (IContent content, CSPostEventArgs e)
  • PreProcessPost
    Event raised before any post processing takes place.
    Handler: CSPostEventHandler (IContent content, CSPostEventArgs e)
  • PreRenderPost
    Event raised before an individual post is rendered.
    Handler: CSPostEventHandler (IContent content, CSPostEventArgs e)
  • PrePostAttachmentUpdate
    Fires after the post change is committed but before the attachment is committed.
    Handler:CSPostAttachmentEventHandler (IContent content, PostAttachment attachment, CSEventArgs e)

Search

  • PreSearch
    Raises an event which includes a reference to the SearchQuery object, which is being used to conduct the search.
    Handler: EventHandler (object sender, EventArgs e)
  • PostSearch
    Raises an event which includes a reference to the SearchResults object, which is returned when a SearchQuery has been issued.
    Handler:EventHandler (object sender, EventArgs e)
  • Sections

Note: A section is an individual blog, forum, photo or file gallery.

  • PreSectionUpdate
    Event raised before a section change is committed to the data store (create/update).
    Handler: CSSectionEventHandler (Section section, CSEventArgs e)
  • PostSectionUpdate
    Event raised after a section change is committed to the data store.    
    Handler: CSSectionEventHandler (Section section, CSEventArgs e)

Users

  • UserKnown
    Fires once the current user has been identified. This user may still be anonymous.    
    Handler:CSUserEventHandler (User user, CSEventArgs e)
  • UserRemove
    Fires before a user is removed from the data store.
    Handler:CSUserEventHandler (User user, CSEventArgs e)
  • UserValidated
    Fires after a user's credentials have been validated.
    Handler: CSUserEventHandler (User user, CSEventArgs e)
  • PreUserUpdate
    Fires before a User is saved/updated to the data store.
    Handler:CSUserEventHandler (User user, CSEventArgs e)
  • PostUserUpdate
    Fires after a User is saved/updated to the data store.
    Handler: CSUserEventHandler (User user, CSEventArgs e)

Miscellaneous

  • CSException
    Event raised after Community Server has caught an exception in the HttpModule's Application_Error Event.    
    Handler: CSExceptionHandler (CSException cxEx, CSEventArgs e)
  • Favorite
    Fires after an item is added to favorites.
    Handler: CSFavoriteEventHandler (Favorite favorite, CSEventArgs e)
  • Rate
    Fires after an item is rated.
    Handler: CSRateEventHandler (Rating rating, CSEventArgs e)