Skip to main content

Template Variables: post

post
board_idint
The id of the board the post belongs to
can
deleteint
If true, the current user has permission to delete the post
editint
If true, the current user has permission to edit the post
quoteint
If true, the current user has permission to quote the post
replyint
If true, the current user has permission to reply to the post
reply_if_logged_inint
If true, the current user has permission to reply to the post once they've logged in
category_idint
The id of the category the post belongs to
content_classstring
A class attribute to be applied to an html element that represents the post
content_idstring
A string that says "post-[id]". The [id] is replaced by the post's id
created_byuser
A link to the profile of the user who created the post
created_onobject
Displays when the post was created in an easily readable format
timestampint
The epoch timestamp for when the post was created
display_blocked_post_buttonanchor_hash
A button that will show the contents of a blocked post when clicked
edit_buttonanchor_hash
A button that will open the editor to allow the current user to make changes to the post
editedobject
If true, the post has been edited since it was originally posted
by_useruser
A link to the profile of the user who last edited the post
dateobject
Displays when the post was last edited in an easily readable format
timestampint
The epoch timestamp for when the post was last edited
reasonstring
A string containing the reason specified by the user for editing the post
how_postedstring
A string containing the name of the app used to create the post if the post was not created from the default desktop web view
idint
The unique numerical identifier of the post
ipstring
The IP address of the user who created the post
is_blockedint
If true, the creator of the post is on the current user's block list
likesobject
A string containing the names of users who liked the post and a link to a list of every user who liked the post if there are too many to display
buttonanchor_hash
A button that will add or remove a like from the post by the current user
by_userint
If true, the current user has liked the post
classstring
A class attribute to be applied to the element containing the post likes
moreint
If true, the post has enough likes to require a link to a list to display more
more_classstring
A class attribute to be applied to the anchor element that links to the list of users who liked the post
totalint
The number of users that have liked the post
useruser
A list containing the first users who liked the post
messagestring
A string containing the full contents of the post as typed by its creator
quote_buttonanchor_hash
A button that will open the editor to reply to the thread with the post quoted within the message
threaddummy_thread
A link to the thread the post belongs to