![]() |
Show Newest PM If Unread On Forum Home
This is similar to the IPB 2.x feature, where if you have a PM which is unread, or several, it will display the newest PM which you have unread on the forum home page below navigation.
This modification will do the same to your forums, if no unread PM's are found, nothing will be shown. It will also cut-off the message after 400 characters to stop the whole message (if big) from been shown. A preview of it in action can be found below :) For those who are concerned about the amount of queries this will execute, heres info on that: If Unread PM Is Found And Displayed: 1 Query Used If Nothing Is Displayed: 0 Queries Used Installation Information Files To Edit: 1 Templates To Edit: 1 Templates To Add: 1 Estimated Installation Time: 10 - 15 Minutes Enjoy the modification, - Zero Tolerance |
if it doesn't get cut off and you read it (on your forum home) is it now labled as read? or is it still unread?
|
No matter if it is cut off or not, the PM is not registered as read, there are links given to go to the message or your inbox to read it properly from there. This modification is merly to show the PM upon visiting the forum index if you have just got online, then you can decide if you need to read it fully and reply or just ignore it.
Also setting it as read would mean 1 extra query, which is not really needed, so i didn't implement it. - Zero Tolerance |
Very nice!
You're really desperate of getting that Master Coder title, aren't you ^^? |
Quote:
- Zero Tolerance |
Hehe, well, I wish you good luck :).
[high]* Deaths installs[/high] |
well couldnt you setup if that that the strlen is not over 400 that it will automatically run the query and mark the post read....
good idea anyways but i think it woudl take up too much room;) |
I could, but thats a query, and i don't like them :p
As for taking up room, thats the whole point about the 400 char cut-off limit :) - Zero Tolerance |
This is a great hack... I havent tried it though yet lol
|
There is no 'forumhome_stats_thread', in index.php
|
All times are GMT. The time now is 06:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|