Latest Register Log In

+ Advanced Search

Post Variables

Post Variables
By
09/24/03 (Edited 02/06/14)

{COMMENTADMIN} - If viewer can edit the post, contains linked image to do so... otherwise empty.
{COMMENTTYPEOPTIONS} - Contains the options for selecting the post type.
{COMMENTDATE} - Date on which post was posted.
{COMMENTLASTEDITDATE} - Date on which post was last edited.
{COMMENTID} - Id number of the post.
{COMMENTURL} - The URL to the post in the thread.
{COMMENTICONIMAGE} - The post icon image HTML.
{COMMENTLINKID} - Id number of the topic which the post is about.
{COMMENTLINKNAME} - The title of the topic which the post is about.
{COMMENTPOSTERNAME} - Name of the poster.
{COMMENTMESSAGE} - The actually post text.
-- Optional parameters: {COMMENTMESSAGE[x]} cuts off the text after x characters. {COMMENTMESSAGE[x <,> option]} - "option" can be either "remove" to remove all quotes and wsn codes from the post, or "docodes" to parse the codes and smilies. Not using the parameter defaults to not parsing the codes but not removing them either.
{COMMENTIP} - The IP address of the post.
{COMMENTIPCITY} - The city the IP address is located in, if geolocation is enabled.
{COMMENTOWNERID} - The member id number of the member who owns the post.
{COMMENTTYPE} - The post type of this post.
{COMMENTAPPROVED} - Number of people who have approved of the post.
{COMMENTDISAPPROVED} - Number of people who have disapproved of the post.
{COMMENTPERCENTAGE} - The percentage of voters who approved.
{COMMENTVOTES} - Total number of respondants rating a post
{COMMENTNUMBER} - The position in which the post appears in the thread.
{COMMENTCATID} - The id number of the forum the post is in.
{COMMENTISNEWSINCELOGIN} - Determines if this has been added since the viewer logged in.
{COMMENTISMODERATED} - Checks whether the post has been moderated by anyone in any way (editing, deletion).
{COMMENTDELETEDBYNAME} - The name of who deleted the post, if applicable.
{COMMENTQUOTELINK} - A link to quote the post. Introduced in version 9.0.0.
{COMMENTHOSTNAME} - The host name associated with the IP address of the post submitter.

Forum and topic template variables can be used and will reflect the forum/topic the post is associated with.




Description Summary of all post tempalte variables.
Rating
Views 2412 views. Averaging 0 views per day.