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

Namespace: CMS.Forums.Web.UI
Assembly: CMS.Forums.Web.UI (in CMS.Forums.Web.UI.dll) Version: 10.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