[edit] Introduction
An example of the horizontal postbit
An example of the classic postbit
The postbit is probably the most displays the most significant part of the board. It is the template in which posts, private messages, and forum announcements are shown.
There are two types of postbits: Horizontal and classic. The horizontal postbit has the user information above the post, while the classic postbit has user information to the left of the post.
[edit] Templates
- postbit
- Puts all the of other postbit templates together into one. This is the horizontal style postbit.
- postbit_attachments
- Generates the layout of the attachment area
- postbit_attachments_attachment
- Layout of one attachment
- postbit_attachments_attachment_unapproved
- Layout of one unapproved attachment
- postbit_attachments_images
- Layout of the area for attached images
- postbit_attachments_images_image
- One attached image
- postbit_attachments_thumbnails
- Layout of the area for thumbnailed images
- postbit_attachments_thumbnails_thumbnail
- One thumbnail image
- postbit_author_guest
- Author information if the user is a guest
- postbit_author_user
- Author information if the user is registered
- postbit_avatar
- Author's avatar
- postbit_away
- Author's away status
- postbit_classic
- Same as postbit templates, only this is the classic style postbit.
- postbit_edit
- Button to edit the post
- postbit_editedby
- "Edited By" line, located next to the date in horizontal postbit and below the post in classic style postbit.
- postbit_email
- Button to email the author
- postbit_find
- Button to search for all of the author's posts
- postbit_forward_pm
- Button to forward the Private Message to another user
- postbit_gotopost
- Quick jump link to take you to another post from the quote MyCode
- postbit_groupimage
- Author's group image
- postbit_ignored
- If the author of the post is on your ignore list, posts are hidden until you show the post manually.
- postbit_inlinecheck
- The checkbox for inline post moderation
- postbit_iplogged_hiden
- "IP Logged" link
- postbit_iplogged_show
- Shows the IP
- postbit_multiquote
- Button to activate the Multiquote feature
- postbit_offline
- User is offline
- postbit_online
- User is online
- postbit_pm
- Button to send a Private Message to the user
- postbit_posturl
- Contains the URL to the specific post, and the post's number within the thread
- postbit_profile
- Button to access the author's profile
- postbit_quickdelete
- Button to delete the post
- postbit_quote
- Button to post a reply to the post
- postbit_reply_pm
- Button to reply to the sender of the Private Message.
- postbit_replyall_pm
- Button to reply to the sender and all recipients of the Private Message.
- postbit_report
- Button to report the post
- postbit_reputation
- Author's Reputation
- postbit_seperator
- The region between posts
- postbit_signature
- Author's signature
- postbit_warn
- Button to warn the author.
- postbit_warninglevel
- Author's warning level
- postbit_www
- Button to the author's website
The postbit is generated in the file inc/functions_post.php when the build_postbit() method is called.
[edit] Plugin Hooks
These plugin hooks are called right before the postbit template is generated.
- postbit_prev
- Run when a message preview is being displayed
- postbit_pm
- Run when a PM is being displayed
- postbit_announcement
- Run when a forum announcement is being displayed
- postbit
- Run when a post is being displayed
[edit] Customization
Read more about customizing the Postbit.