By pshadow on
Is there any way for users to mark all posts as read (like in vBulletin)? There is always "New" posts but users can't mark all as read to flush out the "New" flag. Any ideas?
Is there any way for users to mark all posts as read (like in vBulletin)? There is always "New" posts but users can't mark all as read to flush out the "New" flag. Any ideas?
Comments
Would be costly
The new stamp is generated based on data in the history table. To mark all nodes as read for a given user, you would need to insert a row into the history table for each node for that user.
Potential alternatives:
1. override
theme('mark')in your theme, changing the logic (e.g., feeding a different timestamp tonode_mark())2. conditionally change the
NODE_NEW_LIMITconstant (but this would need to be done in a file loaded before node.module)