51

Re: Calendar Mod

well im still stumped about Rods probem.

52

Re: Calendar Mod

OK ... link appears with Paul's solution ...

but http://www.sortons.net/forum/calendar.php

is still blank ...

53

Re: Calendar Mod

OK ... erase the files ... upload them : work perfectly smile

54

Re: Calendar Mod

good to know its workin now, looks great to, with all the topics made

Re: Calendar Mod

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?

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

56 (edited by Gizzmo 2004-09-23 22:57)

Re: Calendar Mod

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

Re: Calendar Mod

Yeah, it's very wierd too.  I can't figure it out either...

It's much more complicated than your previous version...

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

58

Re: Calendar Mod

cuteseal wrote:

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.

I've been down so long it's beginning to look like up..

59 (edited by Gizzmo 2004-09-24 23:11)

Re: Calendar Mod

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

60

Re: Calendar Mod

oh and Johns, in my next version, i will include the timezones fixed. i should be uploading version 0.7 soon.

Re: Calendar Mod

Gizzmo wrote:

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 smile

Want to keep this mod as independant as possible.

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

62

Re: Calendar Mod

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,

63

Re: Calendar Mod

awsome, this mod is just rocking smile
when you are done with that birthday thing etc im installing it big_smile

64

Re: Calendar Mod

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.

65

Re: Calendar Mod

"make a list of posts" as like search results

If your people come crazy, you will not need to your mind any more.

66

Re: Calendar Mod

Gizzmo wrote:

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.

I've been down so long it's beginning to look like up..

67

Re: Calendar Mod

yes that problem is fixed in the new update, thanx to cuteseal.

68 (edited by cuteseal 2004-09-28 06:24)

Re: Calendar Mod

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?

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

Re: Calendar Mod

I must say that you've done an excellent job, Gizzmo, by the way.  All that date logic just confuses me completely! smile

Digital photography news, reviews, discussions and more!
http://www.shuttertalk.com

The online bible for all
http://www.publicbible.com

70

Re: Calendar Mod

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've been down so long it's beginning to look like up..

71

Re: Calendar Mod

cuteseal wrote:

I must say that you've done an excellent job, Gizzmo, by the way.  All that date logic just confuses me completely! smile

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


JohnS wrote:

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.

72

Re: Calendar Mod

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 :-(

73

Re: Calendar Mod

Gizzmo wrote:

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.

I've been down so long it's beginning to look like up..

Re: Calendar Mod

Don Pablo wrote:

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)

75

Re: Calendar Mod

cuteseal wrote:

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

I've been down so long it's beginning to look like up..