phpBB

Development Wiki

Viewtopic Template Variables

From phpBB Development Wiki

Corresponding template files: quickreply_editor.html, viewtopic_body.html


General Variables

Variable Description Raw Code Example Rendered Example
AIM_IMG Type: Image
AOL Instant Messenger button. Defined as img_icon_contact_aim in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_contact_aim.gif" width="20" height="20" alt="AIM" title="AIM" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_contact_aim.gif
DELETE_IMG Type: Image
Delete post button. Defined as img_icon_post_delete in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_post_delete.gif" width="20" height="20" alt="Delete post" title="Delete post" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_post_delete.gif
EDIT_IMG Type: Image
Edit post button. Defined as img_icon_post_edit in imageset.cfg.
  <img src="./styles/prosilver/imageset/en/icon_post_edit.gif" width="42" height="20" alt="Edit post" title="Edit post" />  
http://www.phpbb.com/community/styles/prosilver/imageset/en/icon_post_edit.gif
EMAIL_IMG Type: Image
Email button. Defined as img_icon_contact_email in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_contact_email.gif" width="20" height="20" alt="E-mail" title="E-mail" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_contact_email.gif
FORUM_DESC Type: String
Forum description.
  This is a description for the normal forum. Inside find examples of various kinds of topics.  
FORUM_ID Type: Integer
Forum ID.
  2  
FORUM_NAME Type: String
Forum name.
  Normal Forum  
FORUM_RULES Type: String
Forum rules text. Note that this value is completely separate from {U_FORUM_RULES}.
  <span style="font-weight: bold">READ: <a href="http://www.phpbb.com/rules/" class="postlink">phpBB.com Board-Wide Rules and Regulations</a></span>  
READ: phpBB.com Board-Wide Rules and Regulations
ICQ_IMG Type: Image
ICQ button. Defined as img_icon_contact_icq in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_contact_icq.gif" width="20" height="20" alt="ICQ" title="ICQ" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_contact_icq.gif
INFO_IMG Type: Image
Post information button. Defined as img_icon_post_info in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_post_info.gif" width="20" height="20" alt="Post details" title="Post details" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_post_info.gif
JABBER_IMG Type: Image
Jabber button. Defined as img_icon_contact_jabber in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_contact_jabber.gif" width="20" height="20" alt="Jabber" title="Jabber" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_contact_jabber.gif
L_BOOKMARK_TOPIC Type: Conditional language string
Returns Remove from bookmarks or Bookmark topic based on whether the user has bookmarked the topic or not.
  Bookmark topic  
L_MAX_VOTES Type: Language string
Maximum number of options that a user may vote for in the topic's poll.
  You may select <strong>1</strong> option  
You may select 1 option
L_POLL_LENGTH Type: Language string
Length of time that the poll will run.
  Poll runs till Fri Dec 24, 2010 1:55 am  
L_WATCH_TOPIC Type: Conditional language string
Returns Subscribe topic or Unsubscribe topic based on the user's subscription status to the topic.
  Subscribe topic  
MODERATORS Type: String
List of moderators assigned to the forum. Only those assigned through the Forum moderators section in the ACP will be displayed.
  <a href="./memberlist.php?mode=viewprofile&u=54">BertieZilla</a>, <a href="./memberlist.php?mode=viewprofile&u=2" style="color: #AA0000;" class="username-coloured">kenny</a>, <a style="color:#0000CC;" href="./memberlist.php?mode=group&g=8">Moderator Team</a>  
BertieZilla, kenny , Moderator Team
MSN_IMG Type: Image
MSN button. Defined as img_icon_contact_msnm in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_contact_msnm.gif" width="20" height="20" alt="MSNM/WLM" title="MSNM/WLM" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_contact_msnm.gif
NEXT_PAGE Type: URL
View the next page of the topic.
  ./viewtopic.php?f=2&t=11&start=10  
ON_PAGE Type: Integer
Current page number.
  1  
PAGE_NUMBER Type: Language string
Current page.
  Page <strong>1</strong> of <strong>2</strong>  
Page 1 of 2
PAGINATION Type: String
Pagination HTML for the topic.
  <strong>1</strong><span class="page-sep">, </span><a href="./viewtopic.php?f=2&t=11&start=10">2</a>  
PER_PAGE Type: String
Total number of posts displayed per page.
  10  
PM_IMG Type: Image
Private message button. Defined as img_icon_contant_pm in imageset.cfg.
  <img src="./styles/prosilver/imageset/en/icon_contact_pm.gif" width="28" height="20" alt="Send private message" title="Send private message" />  
http://www.phpbb.com/community/styles/prosilver/imageset/en/icon_contact_pm.gif
POLL_LEFT_CAP_IMG Type: Image
Left cap image for the poll bar. Defined as img_poll_left in imageset.cfg.
  <img src="./styles/subsilver2/imageset/poll_left.gif" width="4" height="12" alt="" title="" />  
http://www.phpbb.com/community/styles/subsilver2/imageset/poll_left.gif
POLL_QUESTION Type: String
Poll question.
  Are you satisfied with Bertie's world domination plans?  
POLL_RIGHT_CAP_IMG Type: Image
Right cap image for the poll bar. Defined as img_poll_right in imageset.cfg.
  <img src="./styles/subsilver2/imageset/poll_right.gif" width="4" height="12" alt="" title="" />  
http://www.phpbb.com/community/styles/subsilver2/imageset/poll_right.gif
POST_IMG Type: Image
Post a new topic button. Defined as img_button_topic_new in imageset.cfg.
  <img src="./styles/prosilver/imageset/en/button_topic_new.gif" width="96" height="25" alt="Post new topic" title="Post new topic" />  
http://www.phpbb.com/community/styles/prosilver/imageset/en/button_topic_new.gif
PREVIOUS_PAGE Type: URL
View the previous page of the topic.
  ./viewtopic.php?f=2&t=11&start=0  
PROFILE_IMG Type: Image
User profile button. Defined as img_icon_user_profile in imageset.cfg.
  <img src="./styles/subsilver2/imageset/en/icon_user_profile.gif" alt="Profile" title="Profile" />  
http://www.phpbb.com/community/styles/subsilver2/imageset/en/icon_user_profile.gif
QR_HIDDEN_FIELDS Type: String
Hidden form data for the quick reply form.
  <input type="hidden" name="topic_cur_post_id" value="36" /> <input type="hidden" name="lastclick" value="1292919832" /> <input type="hidden" name="topic_id" value="18" /> <input type="hidden" name="forum_id" value="9" /> <input type="hidden" name="attach_sig" value="1" />  
QUOTE_IMG Type: Image
Quote post button. Defined as img_icon_post_quote in imageset.cfg.
  <img src="./styles/prosilver/imageset/en/icon_post_quote.gif" width="54" height="20" alt="Reply with quote" title="Reply with quote" />  
http://www.phpbb.com/community/styles/prosilver/imageset/en/icon_post_quote.gif
REPLY_IMG Type: Image
Reply to topic button. Defined as img_button_topic_reply in imageset.cfg.
  <img src="./styles/prosilver/imageset/en/button_topic_reply.gif" width="96" height="25" alt="Reply to topic" title="Reply to topic" />  
http://www.phpbb.com/community/styles/prosilver/imageset/en/button_topic_reply.gif
REPORTED_IMG Type: Image
Reported post icon. Defined as img_icon_topic_reported in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_topic_reported.gif" width="16" height="14" alt="Click to view report" title="Click to view report" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_topic_reported.gif
REPORT_IMG Type: Image
Report post button. Defined as img_icon_post_report in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_post_report.gif" width="20" height="20" alt="Report this post" title="Report this post" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_post_report.gif
SEARCH_IMG Type: Image
Search user's posts button. Defined as img_icon_user_search in imageset.cfg.
  <img src="./styles/subsilver2/imageset/en/icon_user_search.gif" alt="SEARCH_USER_POSTS" title="SEARCH_USER_POSTS" />  
http://www.phpbb.com/community/styles/subsilver2/imageset/en/icon_user_search.gif
SUBJECT Type: String
Topic subject.
  Re: Friends/Foes Test  
S_CAN_VOTE Type: Boolean
Returns true if the user can vote in the poll.
  1  
S_DISPLAY_POST_INFO Type: Boolean
Returns true if the Post a new topic button ought to be displayed.
  1  
S_DISPLAY_REPLY_INFO Type: Boolean
Returns true if the Reply to topic button ought to be displayed.
  1  
S_DISPLAY_RESULTS Type: Boolean
Returns true if the poll results ought to be displayed -- if the user is not allowed to vote, has already voted, or clicked the View results link.
  0  
S_ENABLE_FEEDS_TOPIC Type: Boolean
Returns true if per-topic feeds are enabled for this forum.
  0  
S_FORM_TOKEN Type: String
Form token.
  <input type="hidden" name="creation_time" value="1292919832" /> <input type="hidden" name="form_token" value="b19d4240f34cfde27d6eb34e771511999b43e620" />  
S_FORUM_RULES Type: Boolean
Returns true if the forum has either rules or a rules link defined.
  1  
S_HAS_POLL Type: Boolean
Returns true if the topic contains a poll.
  1  
S_IS_LOCKED Type: Boolean
Returns true if the topic is locked.
  0  
S_IS_MULTI_CHOICE Type: Boolean
Returns true if the user can vote for multiple options in the topic poll.
S_MOD_ACTION Type: URL
Quick mod-tools form action.
  ./mcp.php?f=2&t=10&quickmod=1&redirect=.%2Fviewtopic.php%3Ff%3D2%26t%3D10&sid=ede34833a00079ee99c6d39d36877d68  
S_NUM_POSTS Type: Integer
Total number of posts in the topic.
  2  
S_POLL_ACTION Type: URL
Poll form action.
  ./viewtopic.php?f=2&t=30  
S_QUICK_REPLY Type: Boolean
Returns true if quick reply is enabled in the forum and the user has permission to reply to the topic.
  1  
S_SEARCHBOX_ACTION Type: URL
Topic search form action.
  ./search.php?t=10  
S_SELECT_SORT_DAYS Type: String
Time span options for sorting the topic.
  <select name="st" id="st"><option value="0" selected="selected">All posts</option><option value="1">1 day</option><option value="7">7 days</option><option value="14">2 weeks</option><option value="30">1 month</option><option value="90">3 months</option><option value="180">6 months</option><option value="365">1 year</option></select>  
S_SELECT_SORT_DIR Type: String
Ascending/descending options for sorting the topic.
  <select name="sd" id="sd"><option value="a" selected="selected">Ascending</option><option value="d">Descending</option></select>  
S_SELECT_SORT_KEY Type: String
Topic data options for sorting the topic.
  <select name="sk" id="sk"><option value="a">Author</option><option value="t" selected="selected">Post time</option><option value="s">Subject</option></select>  
S_SINGLE_MODERATOR Type: Boolean
Returns false if the forum has more than one moderator assigned. As with {MODERATORS}, only those assigned through the Forum moderators section in the ACP will be taken into account.
S_TOPIC_ACTION Type: URL
Topic form action.
  ./viewtopic.php?f=2&t=30  
S_TOPIC_MOD Type: String
Quick mod-tools selection box.
  <select name="action" id="quick-mod-select"><option value="lock">Lock topic</option><option value="delete_topic">Delete topic</option><option value="move">Move topic</option><option value="split">Split topic</option><option value="merge">Merge posts</option><option value="merge_topic">Merge topic</option><option value="fork">Copy topic</option><option value="make_sticky">Change to “Sticky”</option><option value="make_announce">Change to “Announcement”</option><option value="make_global">Change to “Global”</option><option value="topic_logs">View logs</option></select>  
S_VIEWTOPIC Type: Boolean
Returns true in viewtopic.php.
  1  
S_WATCHING_TOPIC Type: Boolean
Returns true if the user is subscribed to the topic.
  0  
TOPIC_AUTHOR Type: String
Topic author.
  prototech  
TOPIC_AUTHOR_COLOUR Type: String
Topic author color.
  #AA0000  
TOPIC_AUTHOR_FULL Type: String
Returns an HTML tag (anchor or span depending on whether the user's profile is accessible) with the user color assigned as an inline style.
  <a href="./memberlist.php?mode=viewprofile&u=53" style="color: #AA0000;" class="username-coloured">prototech</a>  
TOPIC_ID Type: Integer
Topic ID.
  10  
TOPIC_POSTER Type: Integer
Topic author ID.
  53  
TOPIC_TITLE Type: String
Topic title.
  Reported topic  
TOTAL_PAGES Type: String
Total number of pages in the topic.
  2  
TOTAL_POSTS Type: Language string
Total number of posts in the topic.
  2 posts  
TOTAL_VOTES Type: Integer
Total number of votes cast in the poll.
  1  
UNAPPROVED_IMG Type: Image
Unapproved post icon. Defined as img_icon_topic_unapproved in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_topic_unapproved.gif" width="16" height="14" alt="This post is waiting for approval" title="This post is waiting for approval" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_topic_unapproved.gif
U_BOOKMARK_TOPIC Type: URL
Bookmark the topic.
  ./viewtopic.php?f=2&t=10&bookmark=1&hash=eda6f15b  
U_BUMP_TOPIC Type: URL
Bump the topic to the top of the list in viewforum.php.
  ./posting.php?mode=bump&f=2&t=30&hash=55b4c460  
U_EMAIL_TOPIC Type: URL
Email the topic to a friend.
  ./memberlist.php?mode=email&t=10  
U_FORUM Type: URL
Returns the complete domain and path to the board in print view.
  http://localhost/design/  
U_FORUM_RULES Type: URL
Link to the forum's rules. Note that this value is completely separate from {FORUM_RULES}.
  http://www.phpbb.com/rules/  
U_MCP Type: URL
Moderate the topic.
  ./mcp.php?i=main&mode=topic_view&f=2&t=10&sid=ede34833a00079ee99c6d39d36877d68  
U_POST_NEW_TOPIC Type: URL
Post a new topic in the current forum.
  ./posting.php?mode=post&f=2  
U_POST_REPLY_TOPIC Type: URL
Reply to the topic.
  ./posting.php?mode=reply&f=2&t=10  
U_PRINT_TOPIC Type: URL
Print the topic.
  ./viewtopic.php?f=2&t=10&view=print  
U_QR_ACTION Type: URL
Quick reply form action.
  ./posting.php?mode=reply&f=9&t=18  
U_TOPIC Type: URL
Returns the complete domain and path to the topic in print view.
  http://localhost/design/viewtopic.php?f=2&t=3  
U_VIEW_FORUM Type: URL
View the forum in which the topic is located.
  ./viewforum.php?f=2  
U_VIEW_NEWER_TOPIC Type: URL
View the next topic.
  ./viewtopic.php?f=2&t=10&view=next  
U_VIEW_OLDER_TOPIC Type: URL
View the previous topic.
  ./viewtopic.php?f=2&t=10&view=previous  
U_VIEW_RESULTS Type: URL
View the poll results.
  ./viewtopic.php?f=2&t=4&view=viewpoll  
U_VIEW_TOPIC Type: URL
View the topic.
  ./viewtopic.php?f=2&t=10  
U_VIEW_UNREAD_POST Type: URL
Basic anchor for the first unread post.
  #unread  
U_WATCH_TOPIC Type: URL
Subscribe to the topic.
  ./viewtopic.php?uid=56&f=2&t=10&watch=topic&start=0&hash=eda6f15b  
WARN_IMG Type: Image
Warn user button. Defined as img_icon_user_warn in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_user_warn.gif" width="20" height="20" alt="Warn user" title="Warn user" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_user_warn.gif
WWW_IMG Type: Image
User website button. Defined as img_icon_contact_www in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_contact_www.gif" width="20" height="20" alt="WWW" title="WWW" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_contact_www.gif
YIM_IMG Type: Image
Yahoo Instant Messenger button. Defined as img_icon_contact_yahoo in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_contact_yahoo.gif" width="20" height="20" alt="YIM" title="YIM" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_contact_yahoo.gif


poll_option Block

Variable Description Raw Code Example Rendered Example
POLL_OPTION_CAPTION Type: String
Poll option.
  Absolutely!  
POLL_OPTION_ID Type: Integer
Option ID.
  1  
POLL_OPTION_IMG Type: Image
Central image of the poll bar. Defined as img_poll_center in imageset.cfg. The width is determined by the percentage of votes cast for the option with 250 pixels being the highest possible value (meaning that it received 100% of the votes).
  <img src="./styles/subsilver2/imageset/poll_center.gif" width="250" height="12" alt="100%" title="100%" />  
http://www.phpbb.com/community/styles/subsilver2/imageset/poll_center.gif
POLL_OPTION_PCT Type: Integer
Option percentage.
  100  
POLL_OPTION_PERCENT Type: String
Option percentage.
  100%  
POLL_OPTION_RESULT Type: Integer
Total number of votes cast for the option.
  1  
POLL_OPTION_VOTED Type: Boolean
Returns true if the user voted for the option.
  1  
S_FIRST_ROW Type: Boolean
Returns true if the row is the first iteration of the block.
  1  
S_ROW_COUNT Type: Integer
Current row iteration count. The first row is 0.
  0  
S_LAST_ROW Type: Boolean
Returns true if the row is the last iteration of the block.
  1  


postrow Block

Variable Description Raw Code Example Rendered Example
BUMPED_MESSAGE Type: Language string
Notification about the post's last bumped time.
  Last bumped by prototech on Tue Dec 21, 2010 1:45 am.  
EDITED_MESSAGE Type: Language string
Notification about the post's edit history.
  Last edited by <a href="./memberlist.php?mode=viewprofile&u=56" style="color: #AA0000;" class="username-coloured">x14</a> on Sun Dec 19, 2010 9:48 pm, edited 1 time in total.  
Last edited by x14 on Sun Dec 19, 2010 9:48 pm, edited 1 time in total.
EDIT_REASON Type: String
Reason the post was edited.
  Updated topic  
ICQ_STATUS_IMG Type: Image
ICQ icon which changes based on the user's online status in ICQ.
  <img src="http://web.icq.com/whitepages/online?icq=123456&img=5" width="18" height="18" alt="" />  
http://web.icq.com/whitepages/online?icq=123456&img=5
L_IGNORE_POST Type: Language string
Message notifying the user that the post is authored by a user on his foes list.
  This post was made by <strong><a href="./memberlist.php?mode=viewprofile&u=54">BertieZilla</a></strong> who is currently on your ignore list. <a href="./viewtopic.php?f=9&t=18&p=36&view=show#p36">Display this post</a>.  
This post was made by BertieZilla who is currently on your ignore list. Display this post.
MESSAGE Type: String
Post message.
  Lorem ipsum dolor sit amet consectetuer a sollicitudin et nunc mus. Curabitur neque tincidunt. <img src="./images/smilies/icon_e_smile.gif" alt=":)" title="Smile" />  
Lorem ipsum dolor sit amet consectetuer a sollicitudin et nunc mus. Curabitur neque tincidunt. http://www.phpbb.com/community/images/smilies/icon_e_smile.gif
MINI_POST_IMG Type: Image
Returns a read or unread icon based on the status of the post. They are defined as img_icon_post_target and img_icon_post_target_unread respectively in imageset.cfg.
  <img src="./styles/prosilver/imageset/icon_post_target_unread.gif" width="11" height="9" alt="Unread post" title="Unread post" />  
http://www.phpbb.com/community/styles/prosilver/imageset/icon_post_target_unread.gif
ONLINE_IMG Type: Image
Returns the online or offline image depending on the user's online status. They are defined as img_icon_user_online and img_icon_user_offline respectively in imageset.cfg.
  <img src="./styles/prosilver/imageset/en/icon_user_online.gif" width="58" height="58" alt="Online" title="Online" />  
http://www.phpbb.com/community/styles/prosilver/imageset/en/icon_user_online.gif
POSTER_AGE Type: Integer
Post author's age.
  19  
POSTER_AVATAR Type: Image
Post author's avatar.
  <img src="http://www.phpbb.com/community/download/file.php?avatar=304651_1243194435.gif" width="120" height="120" alt="User avatar" />  
http://www.phpbb.com/community/download/file.php?avatar=304651_1243194435.gif
POSTER_FROM Type: String
Post author's location.
  California  
POSTER_ID Type: Integer
Post author ID.
  53  
POSTER_JOINED Type: Language string
Date on which the post author joined the board.
  Sun Dec 19, 2010 8:13 pm  
POSTER_POSTS Type: Integer
Post author's total post count.
  13  
POSTER_WARNINGS Type: Integer
Number of warnings served to the post author.
  0  
POST_AUTHOR Type: String
Post author's username.
  prototech  
POST_AUTHOR_COLOUR Type: String
Post author's color.
  #AA0000  
POST_AUTHOR_FULL Type: String
Returns an HTML tag for the username (anchor or span depending on whether the user's profile is accessible) with the user color assigned as an inline style.
  <a href="./memberlist.php?mode=viewprofile&u=53" style="color: #AA0000;" class="username-coloured">prototech</a>  
prototech
POST_DATE Type: Language string
Date on which the post was made.
  Sun Dec 19, 2010 8:13 pm  
POST_ICON_IMG Type: URL
Basic source of the post icon within the icons directory. Prefix the variable with {T_ICONS_PATH} for a valid source.
  smile/mrgreen.gif  
POST_ICON_IMG_HEIGHT Type: Integer
Post icon height.
  16  
POST_ICON_IMG_WIDTH Type: Integer
Post icon width.
  16  
POST_ID Type: Integer
Post ID.
  59  
POST_SUBJECT Type: String
Post subject.
  Lorem ipsum dolor  
RANK_IMG Type: Image
Post author's rank image.
  <img src="./images/ranks/team/bot-styles.png" alt="Styles Robot" title="Styles Robot" />  
http://www.phpbb.com/community/images/ranks/team/bot-styles.png
RANK_IMG_SRC Type: URL
Source of the post author's rank image.
  ./images/ranks/team/bot-styles.png  
RANK_TITLE Type: String
Post author's rank title.
  Styles Robot  
SIGNATURE Type: String
Post author's signature
  <span style="font-size: 85%; line-height: 116%;"><a href="http://www.phpbb.com/styles/db/" class="postlink"><span style="color: #898275"><span style="text-decoration: underline">Styles Database</span></span></a></span>  
Styles Database
S_CUSTOM_FIELDS Type: Boolean
Returns true if there are custom profile fields defined.
  0  
S_DISPLAY_NOTICE Type: Boolean
Returns true if the post contains attachments but the user does not have the necessary permissions to view them.
S_FIRST_ROW Type: Boolean
Returns true if the row is the first iteration of the block.
  1  
S_FIRST_UNREAD Type: Boolean
Returns true if the post is the first unread post in the topic.
  1  
S_FRIEND Type: Boolean
Returns true if the post author is on the user's friends list.
  0  
S_HAS_ATTACHMENTS Type: Boolean
Returns true if the post contains attachments.
  0  
S_IGNORE_POST Type: Boolean
Returns true if the post author is on the user's foes list, meaning that the author's posts are ignored.
  0  
S_LAST_ROW Type: Boolean
Returns true if the row is the last iteration of the block.
  1  
S_ONLINE Type: Boolean
Returns true if the post author is online.
  1  
S_POST_REPORTED Type: Boolean
Returns true if the post is reported.
  1  
S_POST_UNAPPROVED Type: Boolean
Returns true if the post is unapproved.
  0  
S_ROW_COUNT Type: Integer
Current row iteration count. The first row is 0.
  0  
S_TOPIC_POSTER Type: Boolean
Returns true if the post author is the topic author.
  1  
S_UNREAD_POST Type: Boolean
Returns true if the status of the post is unread.
  1  
U_AIM Type: URL
Send AIM message.
  ./memberlist.php?mode=contact&action=aim&u=53  
U_DELETE Type: URL
Delete the post.
  ./posting.php?mode=delete&f=2&p=59  
U_EDIT Type: URL
Edit the post.
  ./posting.php?mode=edit&f=2&p=59  
U_EMAIL Type: URL
Send an email to the post author.
  mailto:user@example.com  
U_ICQ Type: URL
Send ICQ message.
  http://www.icq.com/people/webmsg.php?to=123456  
U_INFO Type: URL
View the post information.
  ./mcp.php?i=main&mode=post_details&f=2&p=59&sid=e8787534973d999192284baf499bef36  
U_JABBER Type: URL
Send Jabber message.
  ./memberlist.php?mode=contact&action=jabber&u=53  
U_MCP_APPROVE Type: URL
Approve the post.
  ./mcp.php?i=queue&mode=approve_details&f=2&p=10&sid=ede34833a00079ee99c6d39d36877d68  
U_MCP_REPORT Type: URL
View the post report.
  ./mcp.php?i=reports&mode=report_details&f=2&p=10&sid=ede34833a00079ee99c6d39d36877d68  
U_MINI_POST Type: URL
Anchor to the post.
  ./viewtopic.php?p=10#p10  
U_MSN Type: URL
Send MSN message.
  ./memberlist.php?mode=contact&action=msnm&u=53  
U_NEXT_POST_ID Type: Integer
Next post ID.
  58  
U_NOTES Type: URL
View the post author's user notes.
  ./mcp.php?i=notes&mode=user_notes&u=53&sid=ede34833a00079ee99c6d39d36877d68  
U_PM Type: URL
Send the post author a private message. A quote of the post is automatically entered into the message field in the PM form.
  ./ucp.php?i=pm&mode=compose&action=quotepost&p=10  
U_POST_AUTHOR Type: URL
View the post author's profile.
  ./memberlist.php?mode=viewprofile&u=53  
U_PREV_POST_ID Type: Integer
Previous post ID.
  56  
U_PROFILE Type: URL
View the post author's profile.
  ./memberlist.php?mode=viewprofile&u=56  
U_QUOTE Type: URL
Quote the post.
  ./posting.php?mode=quote&f=2&p=10  
U_REPORT Type: URL
Report the post.
  ./report.php?f=2&p=10  
U_WARN Type: URL
Warn the post author.
  ./mcp.php?i=warn&mode=warn_post&f=2&p=10&sid=ede34833a00079ee99c6d39d36877d68  
U_WWW Type: URL
Visit the post author's website.
  http://www.phpbb.com/community/index.php  
U_YIM Type: URL
Send YIM message.
  http://edit.yahoo.com/config/send_webmesg?.target=test%40yahoo.com&.src=pg  


rules Block

The rules block provides a basic list of the user's permissions within the current forum.

Variable Description Raw Code Example Rendered Example
RULE Type: Language string
Permission explanation.
  You <strong>can</strong> post new topics in this forum  
You can post new topics in this forum
S_FIRST_ROW Type: Boolean
Returns true if the row is the first iteration of the block.
  1  
S_ROW_COUNT Type: Integer
Current row iteration count. The first row is 0.
  0