Click or drag to resize
ForumViewer.UnaprovedPosts 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: System.Object
Data item
formatString
Type: System.String
Sets the formating string whih should be used to diplay message. Use macro {0} for number of unapproved posts
hideForEmpty
Type: System.Boolean
Indicates whether text should be empty if current forum does not contain unapproved posts

Return Value

Type: String
See Also