![]() |
|
Thread Tools |
#1
|
||||
|
||||
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?
__________________
vBulletin - 3.6.1 No members have liked this post.
|
#2
|
|||
|
|||
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.
No members have liked this post.
|
#3
|
||||
|
||||
This has been posted many times... but kind of hidden...
Change the 9 with the usergroup you want using it. No members have liked this post.
|
#4
|
||||
|
||||
Originally Posted by Dark Riku
I have that part fine.... What I am having trouble with is the conditional to only Show the events box IF an event is upcoming within next 7 days.
__________________
vBulletin - 3.6.1 No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 16:44.