-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
UnreadPosts
Description
Handles unread topics and replies.
Syntax
void UnreadPosts ()
Notes
- Called in one of three ways...
- index.php?action=unread - Unread Topics (since your last visit)
- index.php?action=unread;all - All Unread Topics
- index.php?action=unreadreplies - Updated Topics (topics that you've read that have been replied to since you last viewed them)
- If "board" is specified in the querystring (board=board_id), only shows items from that board
- Uses the Recent template
- Uses either the unread or the replies sub-template depending on the action
- Skips topics with polls if polls are disabled
Context ($context) Variables Name Description $context['topics'] The unread topics (keys are topic IDs - see code for more info) Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search