![]() |
Tagged. Will wait for birthdays. They are the only events on my forum.
|
Quote:
|
Quote:
|
Can you please provide a demo?
I would like to add this for my website http://www.alteredgamers.com/ where it says "Featured Event" I like the idea of having the ability show the picture with a set size, and use it as a "widget" if that makes sense... Thanks! |
Quote:
http://www.united-battlezone.de (not based on your work, based on the idea here: https://vborg.vbsupport.ru/showthrea...pcoming+events ) But heavily heavily modified. Maybe 5 lines of code are left. :D Anyway - since our users rely on weekly recurring events i rewrote the code to account for that and set them in the right order. I thought it might help you with your work. vB saves the recurring events in two seperate columns: recurring and recuroption I know for most of them what they mean (brute force testing :p). But the only one i have implemented so far is weekly. Code:
elseif($event['recurring'] == 3) { The recurroption for weekly events is saved like that: 1|5 -> event takes place every week on tuesdays and sundays. 3|32 -> event takes place every 3 weeks on fridays. So we need that first part of the string, which i write into $teile[0] - then i'm using a loop to change the startdate to the actual week we are in (+ some offset to show events which are today). I do that for all events which i take out of the database (usually 5ish more than i will show in the end - to account for database missorting based on the wrong dates). Then i resort the array via Code:
//getting database results I hope that helps. :) |
Any chance of showing the complete code for the changes you made?
I'm having the problem of the recurring event showing at the top of the widget even though the recurring event is next scheduled until after the next 2 single events... |
Bumping. Any chance someone would know how to convert a time from the date of the calendar event to the date settings the user has specified?
|
works on 4.2.5 php 7.2
|
anyway to get this to show IE: april 15, 2023, april 15, 2022, april 15, 2021 on so on?
|
All times are GMT. The time now is 05:12 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:
|