Latest Register Log In

+ Advanced Search

Report Variables

Report Variables
By
10/01/06 (Edited 02/02/14)

These report template variables can be used in the "reports" template:

{REPORTTYPE} - Contains "topic" for article reports, "post" for comment reports.
{REPORTREASON} - The reason the reporter gave for reporting.
{REPORTDATE} - The date and time that the report was made.
{REPORTRESOLVED} - True if the report has been resolved by a moderator, or false if it hasn't. For use in conditionals.
{REPORTACTION} - The action taken to resolve the report (if resolved).
{REPORTMODERATORPROFILEURL} - The profile URL of the moderator who resolved the report.
{REPORTMODERATORNAME} - The name of the moderator who resolved the report.
{REPORTDISCUSSIONURL} - If you've selected at Admin Panel -> Settings -> General to send report to a special forum in WSN Forum, this is the forum thread URL where the report is being discussed.
{REPORTDISCUSSIONREPLIES} - If you've selected at Admin Panel -> Settings -> General to send report to a special forum in WSN Forum, this is the number of replies to the forum thread where the report is being discussed.
{REPORTDISCUSSIONLASTPROFILEURL} - If you've selected at Admin Panel -> Settings -> General to send report to a special forum in WSN Forum, this is the profile url of the last poster in the forum thread where the report is being discussed.
{REPORTDISCUSSIONLASTPOSTERNAME} - If you've selected at Admin Panel -> Settings -> General to send report to a special forum in WSN Forum, this is the name of the last poster in the forum thread where the report is being discussed.
{REPORTDISCUSSIONLASTPOSTURL} - If you've selected at Admin Panel -> Settings -> General to send report to a special forum in WSN Forum, this is the url link to the last post of the forum thread where the report is being discussed.

These template vars can be used in the language item email_reportlinkbody, which is the body text emailed to the site admins for article reports if you've selected to email reports:

{COMMENT} - The explanation written by the reporter.
{PROBLEMTYPE} - The type of problem, as chosen from the selector on the report page.
All {LINK variables will show the appropriate values of the article which has been reported.
All {CAT variables will show the appropriate values of the category of the article which has been reported.
All {MEMBER variables will show the appropriate values of the member who reported the article.

These template vars can be used in the language item email_reportcommentbody, which is the body text emailed to the site admins for comment reports if you've selected to email reports:

{COMMENT} - The explanation written by the reporter.
{PROBLEMTYPE} - The type of problem, as chosen from the selector on the report page.
All {COMMENT variables will show the appropriate values of the comment which has been reported.
All {LINK variables will show the appropriate values of the article which reported comment is associated with.
All {CAT variables will show the appropriate values of the category of the comment which has been reported.
All {MEMBER variables will show the appropriate values of the member who reported the comment.




Description Template variables which can be used in reports of articles/comments.
Rating
Views 685 views. Averaging 0 views per day.