![]() |
Quote:
good question |
Quote:
|
Quote:
PHP Code:
|
I can't seem to have it get recurring events listed also. I would also like it to show only the date of the event
|
THX extra nice Mod
|
Quote:
PHP Code:
|
Quote:
from where? |
Looking at the way other widgets are getting cached, I think you can implement the same on this one, I've tried to do it myself but didn't have much time to get it all working
from what I have figured, all you need to do is get the widget id, generate the hash key, store the output using the widget id as an index/key, define time to live (ttl), write the whole thing into the cache using "vB_cache" thing, and the rest will be handled by the CMS, I know that because I stored the wrong info into the cache, set 5 as ttl and the widget showed up the first time I loaded the page, the next time it only showed the wrong data I cached |
I might be getting a little over the top on this one but I would like to have many calendars setup with just the one calendar widget though perhaps where users can choose which calendar is their preferred (times of sporting matches of different codes for example) maybe in their usercp? Just putting it out there :)
|
Is it possible to select events or Hide them from the widget?
Loads of my events are tiny routine things every day or every week. But for some special dates this would be great. |
I have the problem described that if a one day event is added to calendar for 15th Jan, it shows up in this widget as 14th Jan. I think others had this problem, but I don't see a solution. Please is there a fix for this or an edit I can do to the code? Thanks, Claudia
|
Its a good widget to have. Should have been there as default. I do wish that the updated version comes out soon as I would love to run it with 4.0.1
|
Quote:
|
Is anyone willing to fix this widget? I am prepared to donate $20 by paypal for a working version of it. Thanks, Claudia
|
Quote:
|
Widget is working fine now. We did not need to make any mods to the widget itself.
Our problem was that the date the upcoming events appeared to be offset by one day. From doing a few tests this was due to the server itself being on the wrong timezone for us. We rang the host and simply asked them to update the time and timezone on the server to our actual timezone, which was 6 hours off. The date/times for the events are stored as unix timestamps and these get converted using the php date function. As such they will be converted against the actual server time, rather than any setting you might have in vBulletin. Works a charm, thanks NG. |
It won't work if the time isn't correct, I can't use this unfortunately as it off a day. Needs to take the time from my settings, not the shared host server.
|
In the widget code you code force the time offset by adding or subtracting 3600 for every hour you need to offset to each of the unix timestamps. This should produce the same result, and easy enough to add in. Simply change the following:
if($event['dateline_to'] == 0 ) { $format = sprintf("On %s",date('jS M Y',$event['dateline_from'])); } else { $format = sprintf("From %s to %s",date('jS M Y',$event['dateline_from']),date('jS M Y',$event['dateline_to'])); } to: $tz_offset = 3600; if($event['dateline_to'] == 0 ) { $format = sprintf("On %s",date('jS M Y',($event['dateline_from']+$tz_offset))); } else { $format = sprintf("From %s to %s",date('jS M Y',($event['dateline_from']+$tz_offset)),date('jS M Y',($event['dateline_to']+$tz_offset))); } |
i think there is a bug on this script
the current date disappear on the same day it will show the next days how can fix to show the event of current day? |
It would be nice to have a Upcoming Events widget that uses UserGroup permissions and posts calendar information the same way as in the "Whats Going On?"section of the forum.
|
I set the offset to 86400 and it seems to work, thanks!
|
Is there a way to make this as a forum block too?
|
I have a question. Does anyone know how I could make this show the upcoming 5 as well as the previous 5 events?
|
Does this link with the Forum Calendar?
|
Installed this and it appears to be showing all events 1 day ahead of schedule on the calendar, any ideas or thoughts?
|
Quote:
|
it's in the dropdown
if you still can't find it try reuploading all the vbCMS files & contents of them (this happened to me and that solved the problem) |
Quote:
Installed. |
Quote:
|
Quote:
86400 is the offset for 24 hours, so this is not the best way to do it. |
so good hank you very much
|
I have done this and get the following Parse Error:
Quote:
|
It only worked one time.
I need it with german date / time. |
Quote:
Where can I set this in widget my is off by a day |
Quote:
Thank you |
Nice, gracias!
|
Works, thanks!
|
1 Attachment(s)
In vB 4.0.1 I entered an event to occur on March 1st, 2010. In the UPcoming Events block it shows the event occuring on Feb 28th, 2010.
The 2 images below show the correct calendar entry and the second shows the widget showing the wrong date. |
Hello,
How do you make it show up like this instead (without the "On" just simple m-d-y)... Date, time Event Date, time Event Date, time Event Also, can we set it to pull different calenders? Thanks |
can a mini calendar and a Create a new event button be added to this mod?
Cheers |
All times are GMT. The time now is 01:01 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:
|