![]() |
Posttime condition
I need a condition or simple plugin to show or not is post date older than a year it should not be shown to guests. Can some one help thank you.
|
Try this
Code:
<if condition="$bbuserinfo[userid] != 0 OR $post['dateline'] > TIMENOW - 86400 * 365"> |
thank you for the answer but it seems does not accepted this ">" symbol and asked me to go back and fix where implemented. I plan to use it here in the postbit template
<if condition="!$show['announcement']"> $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime] </if> |
Apparently the template compiler didn't like the parens, so I removed them in the above post (they weren't necessary).
|
Thanks friend it really worked!
|
All times are GMT. The time now is 02:31 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:
|