kentico_helenag
-
9/24/2008 5:24:42 AM
RE:API for forum subscriptions for a user
Hi,
you could select information about subscriptions from database (‘Forums_ForumSubscription’ table). The columns are called intuitively. The API is not suitable for selecting these information.
It could be helpful to use API - ForumInfoProvider class (GetAllForums() method) and ForumInfo class for displaying forums.
The API could be used also for inserting a new subscription. You could create a new subscription with the constructor:
CMS.Forums.ForumSubscriptionInfo.ForumSubscriptionInfo ()
Set the appropriate properties of this ForumSubscriptionInfo and save it with:
CMS.Forums.ForumSubscriptionInfoProvider.SetForumSubscriptionInfo(ForumSubscriptionInfo)
More information could be found in our API Reference - http://devnet.kentico.com/downloads/kenticocms_api.zip
Best regards, Helena Grulichova
|