Page 1 of 8

phpBB Calendar block on Board3 Portal (Update 1.0.4)

Posted: 22. January 2009 04:24
by wang5555
About this MOD:
Title:phpBB Calendar block on Board3 Portal
Description:Adds a phpBB Calendar block (not mini calendar block by default) to your forum on Board3 Portal.
Version:1.0.4
Installation Level:Easy
Installation Time:~5 minutes

Author Notes:This is not a official MOD.
Essential condition--Your forum already install two mods following:
1. Board3 Portal 1.0.4
http://www.phpbb.com/community/viewtopi ... &t=1179085
2. phpBB Calendar 0.1.0 (alightner)
http://www.phpbb.com/community/viewtopi ... 0&t=666195


History:
2008-12-28 - Version1.0.0
-Release of version 1.0.0.

2009-02-10 - Version1.0.1
-Fixed Timezone bug
-Fixed if ACP set "Display Next Events" will appear wrong
-Added one language variable
-Updated MODX 1.2.2 format

2009-05-20 - Version1.0.2
-Fixed calendar.php bug
-Changed calendar.html and calendar_2.html codes cooperated with "Board3 Portal" mod update 1.0.3
-Added portal_calendar.gif

2009-07-29 - Version1.0.3
-Cooperated with original "phpBB Calendar" mod update 0.1.0

2009-12-18 - Version1.0.4
-Cooperated with original "Board3 Portal" mod update 1.0.4
-Updated MODX 1.2.3 format

Download:
phpBB_Calendar_block_on_Board3_Portal_104.zip

--
P.S.
1.0.3 to 1.0.4:
No file needs to change.

Re: [Mod] phpBB Calendar block on Board3 Portal

Posted: 22. January 2009 04:29
by wang5555
The known issue -- "Timezone" error.
viewtopic.php?p=9696#p9696

Re: [Mod] phpBB Calendar block on Board3 Portal

Posted: 10. February 2009 16:19
by wang5555
Update v1.0.1,
See first post.

Re: [Mod] phpBB Calendar block on Board3 Portal

Posted: 14. March 2009 15:39
by Razer
I have a problem with this mod. In the install.xml I have to edit the includes/functions_calendar.php, but I haven't one!

What I can do?

Re: [Mod] phpBB Calendar block on Board3 Portal

Posted: 20. March 2009 16:00
by wang5555
Razer wrote:I have a problem with this mod. In the install.xml I have to edit the includes/functions_calendar.php, but I haven't one!

What I can do?
See first post "Author Notes".

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 20. May 2009 07:10
by wang5555
Update v1.0.2,
See first post.

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 20. May 2009 19:55
by Mike
Maybe the Versions Numbers could be al little bit confusing... ;)

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 2. June 2009 12:02
by sitwi
One little question for this, please - the list of mini-events on the portal displays dates in the American format, i.e. 25th July = 7/25.

Can someone tell me how to reverse this to display as 25/7, please?

Thanks. :)

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 13. June 2009 22:16
by Tobal
Hey!Thanks for the mod.
I installed it, but it gives me this error message in my portal:

Code: Select all

Error General
Language file ./language/es_ar/mods/calendar.php couldn't be opened.
Could it be because I don't use the "En" default language?
I installed it in my "es_ar" language, because I don't use "En"

Please help. :(

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 14. June 2009 03:25
by Kevin
You need to copy the language files also to your language directory.
More information:
Knowledge Base: Solution: Language file xyz.php couldn't be opened!

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 24. June 2009 13:37
by sitwi
sitwi wrote:One little question for this, please - the list of mini-events on the portal displays dates in the American format, i.e. 25th July = 7/25.

Can someone tell me how to reverse this to display as 25/7, please?

Thanks. :)
Sorry to repeat - any help for this, please?

Thanks :)

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 2. July 2009 22:45
by hmm
Thanks for this!
Work fine ! But... how I can edit my events? :lol:

Other question:
My block of calendar is:
Image

But I want it like this:
Image

And the last..
I did the translation to Portuguese of the calendar, but the mini calendar how i change Su, Mo, etc. (weekdays) for D, S, etc. (in Portuguese)?
I did .. But in a way wrong, because I moved on page calendar.html and calendar2.html

And .. What is the difference between the two pages?


Thanks, and sorry my english!

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 5. July 2009 00:04
by wang5555
sitwi wrote:
sitwi wrote:One little question for this, please - the list of mini-events on the portal displays dates in the American format, i.e. 25th July = 7/25.

Can someone tell me how to reverse this to display as 25/7, please?

Thanks. :)
Sorry to repeat - any help for this, please?

Thanks :)
Try it:

--OPEN--
includes/functions_calendar.php

--FIND--

Code: Select all

            //$event_output['NUMBER'] = $dayOfEvent["mday"].".".$dayOfEvent["mon"].".";
            $event_output['NUMBER'] = $dayOfEvent["mon"].".".$dayOfEvent["mday"]."";
--REPLACE WITH--

Code: Select all

            $event_output['NUMBER'] = $dayOfEvent["mday"].".".$dayOfEvent["mon"].".";
--SAVE % CLOSE--

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 5. July 2009 00:15
by wang5555
hmm wrote:Thanks for this!
Work fine ! But... how I can edit my events? :lol:
Edit your events In phpBB Calendar.
hmm wrote: Other question:
My block of calendar is:
Image

But I want it like this:
Image
Must mend some files following:
includes/functions_calendar.php
styles/YOUR_STYLE/template/portal/block/calendar.html
styles/YOUR_STYLE/template/portal/block/calendar2.html
hmm wrote: And the last..
I did the translation to Portuguese of the calendar, but the mini calendar how i change Su, Mo, etc. (weekdays) for D, S, etc. (in Portuguese)?
I did .. But in a way wrong, because I moved on page calendar.html and calendar2.html

And .. What is the difference between the two pages?


Thanks, and sorry my english!
If your phpBB Calendar display with "week", use "calendar.html";
Elseif your phpBB Calendar display with "next events", use "calendar2.html".

Re: phpBB Calendar block on Board3 Portal (Update 1.0.2)

Posted: 5. July 2009 23:58
by sitwi
wang5555 wrote: Try it:

--OPEN--
includes/functions_calendar.php

--FIND--

Code: Select all

            //$event_output['NUMBER'] = $dayOfEvent["mday"].".".$dayOfEvent["mon"].".";
            $event_output['NUMBER'] = $dayOfEvent["mon"].".".$dayOfEvent["mday"]."";
--REPLACE WITH--

Code: Select all

            $event_output['NUMBER'] = $dayOfEvent["mday"].".".$dayOfEvent["mon"].".";
--SAVE % CLOSE--
Thanks; makes perfect sense now that I look at it, and I've no idea why it doesn't work, but it doesn't! I've purged everything. :?:

Just to be clear, it's the text on the calendar block itself, within the portal, that I'd like to change.

Thanks again.