ForumViewer UnaprovedPosts Method Kentico 8.1 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.1.5347.20411)

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