ForumViewer UnaprovedPosts Method Kentico 8.0 API Reference
Returns string with information about unapproved posts.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

data
Type: OnlineSystem Object
Data item
formatString
Type: OnlineSystem String
Sets the formating string whih should be used to diplay message. Use macro {0} for number of unapproved posts
hideForEmpty
Type: OnlineSystem Boolean
Indicates whether text should be empty if current forum does not contain unapproved posts

Return Value

Type: OnlineString
See Also