Click or drag to resize
ForumViewerUnaprovedPosts Method
Returns string with information about unapproved posts.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 9.0.0
Syntax
C#
public string UnaprovedPosts(
	Object data,
	string formatString,
	bool hideForEmpty
)

Parameters

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

Return Value

Type: String
See Also