Re: Calendar Mod
well im still stumped about Rods probem.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Calendar Mod
well im still stumped about Rods probem.
OK ... link appears with Paul's solution ...
but http://www.sortons.net/forum/calendar.php
is still blank ...
OK ... erase the files ... upload them : work perfectly
good to know its workin now, looks great to, with all the topics made
Apart from timezone problems, there seems to be some trouble too with the month start/ends.
http://www.shuttertalk.com/forums/calendar.php
In the middle of the month, the post count on the calendar page lines up with the calendar_view display. But when you click on day 1 of the month (or the last day of the month), the view display doesn't show the right number.
I've only modified it to add the post count... no playing around with the timezone stuff etc.
Any ideas?
i dono whats goin on.
i looked at yours and than i look at mine and i dont have the problem.(probley cuz i dont have any posts made on the first of the month)
but i dont know why its giving you a wrong error
Yeah, it's very wierd too. I can't figure it out either...
It's much more complicated than your previous version...
Did you include the timezone fix as well?
I managed to do it on the 0.5 code:
I've downloaded and am running 0.6 but am having problems as posts made today are showing as yesterday (obviously my server timezone)
I would like to use your code but have no idea how to do it. Is this new code that you add or do you mod existing code? Also, which files do we change?
Would it be possible to post the relevant files (version 0.6) with your code added so I could use them, or explain what I need to do to change them?
Any help would be greatly appreciated.
Who would like to have a new class in the css files for the calendar days?
there are 3:
td.calendar_today //todays date
td.calendar_date //any other date
td.calendar_nodate //the other TD areas that are no days
oh and Johns, in my next version, i will include the timezones fixed. i should be uploading version 0.7 soon.
Who would like to have a new class in the css files for the calendar days?
there are 3:
td.calendar_today //todays date td.calendar_date //any other date td.calendar_nodate //the other TD areas that are no days
If possible, no CSS changes please
Want to keep this mod as independant as possible.
new version out, its got the timezone difference problem, and i added a post count for the day, i will soon get to work on another page for viewing posts made the said day. than ill from than on it will be version one cuz thats all i realy wanted to do.
next to come, admin set dates, user set dates(if allowd by admin), birthdays,
awsome, this mod is just rocking
when you are done with that birthday thing etc im installing it
man im stuck on how to make the viewposts section look, i dono if i wana make it look like viewtopic.php, or viewforum.php. anyone got any ideas on how im gona make it look, or if i should even make a list of posts made on "said" day.
"make a list of posts" as like search results
new version out, its got the timezone difference problem
Gizzmo
Not sure what you mean by this.. Do you mean it still has the timezone difference problem or has it been fixed in release 0.7?
BTW: Great mod.. keep up the good work.
yes that problem is fixed in the new update, thanx to cuteseal.
Actually I downloaded 0.7, and it seems there are some bugs still...
in the header.php - the nextday and lastday at the bottom is buggered (explains why i was seeing problems with the first and last days of the month) - also switch the order around, so that you test day before month.
In calendar.php you need to add +diff in a couple of places to take into account timezone I believe...
I've uploaded some diff files and the changed files if you want them:
http://www.shuttertalk.com/gizzmo.zip
I hope it's fixed things... could people from different timezones please test out on my site: http://www.shuttertalk.com/forums/calendar.php to see if things are ok?
I must say that you've done an excellent job, Gizzmo, by the way. All that date logic just confuses me completely!
Just a couple of minor things Gizzmo.
In calendar_view.php there is a set of redundant " which show up after the statement Viewing Topic.. etc.
Also Navigation is spelt wrong (you have it as Navagition) this also needs to be changed in the en_calendar.php file.
Otherwise a brilliant mod. I take my hat off to you.
I must say that you've done an excellent job, Gizzmo, by the way. All that date logic just confuses me completely!
Thanx cuteseal, and in the next version ill have timezone bugs fixed, the next virsion should be 1.0, and i went and took the end_day, and end_month and made sure it was down to the last second of the day
Just a couple of minor things Gizzmo.
In calendar_view.php there is a set of redundant " which show up after the statement Viewing Topic.. etc.
Also Navigation is spelt wrong (you have it as Navagition) this also needs to be changed in the en_calendar.php file.
Otherwise a brilliant mod. I take my hat off to you.
1st.) i cant find that redundant " that shouldnt be, and
2nd.) thanx for pointing out my spelling error, i have a bad spelling problem.
Hi,
I've read this topic with much interest and I've got one question: would it be easy to modify this calendar to only display posts from a specified topic? I mean like you make a forum topic called 'Events' (I suppose you already catch my drift :-) ) and the calendar only displays posts from that topic on their specified dates. That way I could implement an event calendar, it's really the only thing I lack on PunBB :-(
i cant find that redundant " that shouldnt be
It's the last " in the following line in calendar_view.php
<tr class="punhead"><td class="punheadcent" ><?echo$lang_calendar['Viewing_Topics']." ".$monthtext." ".$dayfull." ".$year?>"</td></td></tr>
If you click on a topic in the calendar you'll then see that it shows after the heading Viewing Topics Made.. etc.
Hi,
I've read this topic with much interest and I've got one question: would it be easy to modify this calendar to only display posts from a specified topic? I mean like you make a forum topic called 'Events' (I suppose you already catch my drift :-) ) and the calendar only displays posts from that topic on their specified dates. That way I could implement an event calendar, it's really the only thing I lack on PunBB :-(
maybe a tick box in admin for forums (include in calendar)
I've uploaded some diff files and the changed files if you want them:
http://www.shuttertalk.com/gizzmo.zip
Cuteseal
the diff file refers to calendar_header.php but the file included is calendar_view.php
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Calendar Mod
Powered by PunBB, supported by Informer Technologies, Inc.