phpBB Calendar block on Board3 Portal (Update 1.0.4)

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 1.0.x in this forum.
Locked
User avatar

Topic author
wang5555
Translator
Posts: 55
Joined: 18. December 2008 01:39
phpBB.com User: wang5555
Location: Taiwan

phpBB Calendar block on Board3 Portal (Update 1.0.4)

Post 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.
Last edited by wang5555 on 18. December 2009 13:14, edited 6 times in total.
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!
User avatar

Topic author
wang5555
Translator
Posts: 55
Joined: 18. December 2008 01:39
phpBB.com User: wang5555
Location: Taiwan

Re: [Mod] phpBB Calendar block on Board3 Portal

Post by wang5555 »

The known issue -- "Timezone" error.
viewtopic.php?p=9696#p9696
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!
User avatar

Topic author
wang5555
Translator
Posts: 55
Joined: 18. December 2008 01:39
phpBB.com User: wang5555
Location: Taiwan

Re: [Mod] phpBB Calendar block on Board3 Portal

Post by wang5555 »

Update v1.0.1,
See first post.
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!

Razer
Active Member
Posts: 34
Joined: 14. March 2009 15:14

Re: [Mod] phpBB Calendar block on Board3 Portal

Post 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?
User avatar

Topic author
wang5555
Translator
Posts: 55
Joined: 18. December 2008 01:39
phpBB.com User: wang5555
Location: Taiwan

Re: [Mod] phpBB Calendar block on Board3 Portal

Post 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".
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!
User avatar

Topic author
wang5555
Translator
Posts: 55
Joined: 18. December 2008 01:39
phpBB.com User: wang5555
Location: Taiwan

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

Post by wang5555 »

Update v1.0.2,
See first post.
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

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

Post by Mike »

Maybe the Versions Numbers could be al little bit confusing... ;)
kein Support per PN / Messenger
no Support via PM / Messenger

sitwi
Active Member
Posts: 3
Joined: 9. December 2008 19:42
phpBB.com User: sitwi

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

Post 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. :)
User avatar

Tobal
Active Member
Posts: 1
Joined: 12. June 2009 22:42

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

Post 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. :(
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

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

Post 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!
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

sitwi
Active Member
Posts: 3
Joined: 9. December 2008 19:42
phpBB.com User: sitwi

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

Post 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 :)

hmm
Active Member
Posts: 7
Joined: 1. July 2009 13:49
phpBB.de User: hmm
phpBB.com User: hmm

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

Post 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!
User avatar

Topic author
wang5555
Translator
Posts: 55
Joined: 18. December 2008 01:39
phpBB.com User: wang5555
Location: Taiwan

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

Post 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--
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!
User avatar

Topic author
wang5555
Translator
Posts: 55
Joined: 18. December 2008 01:39
phpBB.com User: wang5555
Location: Taiwan

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

Post 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".
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!

sitwi
Active Member
Posts: 3
Joined: 9. December 2008 19:42
phpBB.com User: sitwi

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

Post 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.
Locked

Return to “board3 Portal v1.0.x - Modifications”