The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
PHP Code help
I have released a mod for a simple forum block upcoming events
It pulls the data from the calendar but when it is sowing, It is showing for the day before Can anyone help on this ? So i can update the mod for others to use ? The code i have is: PHP Code:
|
#2
|
||||
|
||||
Where are you getting the date/time? And are you adjusting the date to the users timezone?
|
#3
|
||||
|
||||
All i know is it takes it from the calendar, In the mod i put up i stated this and that i am no coder and do not support it, but if i could get it working to the exact date then others can use it better
|
#4
|
||||
|
||||
I just put this mod on my forum. It says Upcoming Events and then it shows me something coming up tomorrow. That seems to be acting correct (tomorrow is upcoming). What is it you want it to do?
|
#5
|
||||
|
||||
In my calendar, I posted an event for the 5th, In my forum block, It has the event, But the date says the 4th
|
#6
|
||||
|
||||
Ah, now I see what you mean (I titled mine by the date, so it looked correct to me). All the stuff to get the dates is in the forum.php file. I've never really played with the calendar dates to see how they get manipulated, so all I can really do is point you to forum.php which is where they prepare it for the Events area on the forum page.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|