![]() |
Adding a Conditional
Hey,
I have moved parts of the What's going on Box to the top of my forum. Only have the Upcoming Events and Birthday's there. I made a conditional to only have it show to specific groups and that was fine. Now I want to add a second conditional to only show the box If there is actually an Event (Birthday/Calender Event) in the next 7 days. Any suggestions on how to go about this? |
I know it can be done, but I'm sure of the exact code. You would just need to say if event time minus current time is the current time with the event time and if it is less than or equal to 241920 (one week unix) then show the table.
|
This has been posted many times... but kind of hidden...
PHP Code:
|
Quote:
|
All times are GMT. The time now is 02:16 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:
|