![]() |
Last Reply Alert: Add last reply alert under new reply button
Last Reply Alert: Add last reply alert under new reply button
The alert warns members that the thread is days, weeks, months, or years old. You can set when the alert first starts to show. See screenshots. Import one product. Edit one template. That's it. Enjoy! |
great idea........
|
love it.....thanks ;)
|
BTW what would I have to do so its in more detail? As of right now, the oldest post makes the hack say more than 2 months. What would I have to do to make it say for example more than 3 months, 4 months, 5 months ect. Also can it also include years? I have people on my board that sometimes reply to really old threads
|
Nice hack but I agree with the post above. Installed.
|
Probably a silly question, but what's the default age of the last reply required to show the phrase?
|
At one week it starts to show. It has one week, two weeks, one month, and two months. More can be added, but at that point it should probably be a plugin, so to avoid the big if-else bit in a template. Maybe I'll do it later.
|
So if I only wanted the two month notification, the only conditional in there would be just '60 * 86400', correct? (Or am I horrible at math? :D)
|
If you only want two months, use this in the template:
Code:
<if condition="$show[closethread] AND (TIMENOW - $thread[lastpost] > 60 * 86400)"> |
Thanks much. :D
|
All times are GMT. The time now is 09:41 PM. |
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:
|