Calendar block for phpBB Calendar 0.0.8
Forum rules
This forum is not for support requests.
Only post Modifications for Board3 Portal 1.0.x in this forum.
This forum is not for support requests.
Only post Modifications for Board3 Portal 1.0.x in this forum.
Re: Calendar block for phpBB Calendar 0.0.8
It does not update the mini calendar that comes with Board3, it gives you a new one.
The new mini Calendar do display current day and upcoming events using bold numbers on the calendar.
It does alos show next event below the mini Calender.
PS you do need to install "phpBB Calendar 0.0.8" before you install this mod.
The new mini Calendar do display current day and upcoming events using bold numbers on the calendar.
It does alos show next event below the mini Calender.
PS you do need to install "phpBB Calendar 0.0.8" before you install this mod.
Re: Calendar block for phpBB Calendar 0.0.8
Thanks jotne. Yes I was aware that it is a new calendar block. I must have done something wrong then since it is not displaying events.jotne wrote:It does not update the mini calendar that comes with Board3, it gives you a new one.
The new mini Calendar do display current day and upcoming events using bold numbers on the calendar.
It does alos show next event below the mini Calender.
PS you do need to install "phpBB Calendar 0.0.8" before you install this mod.
Re: Calendar block for phpBB Calendar 0.0.8
Minor bug in Calendar block.
All the standard block in Board3 portal do have rounded corner on the grey background, but not the Calendar block for phpBB Calendar 0.0.8. It does have square corner.
All the standard block in Board3 portal do have rounded corner on the grey background, but not the Calendar block for phpBB Calendar 0.0.8. It does have square corner.
Re: Calendar block for phpBB Calendar 0.0.8
I've got this mod laid out to where I really like it. Thank you for those contributing to it. Just a few questions:
1) How can I limit the number of events shown?
2) If I were to delete the mini calendar so it just showed events, what codes can I delete?
Thanks again.
[edit]
To clarify #1 above, what can I delete particularly from the php files? I'm pretty sure I know what to delete from the portal html file.
Also, would there be a way to limit the number of characters displayed for an event? So that events with particularly long names do not wrap too many times in the block.
1) How can I limit the number of events shown?
2) If I were to delete the mini calendar so it just showed events, what codes can I delete?
Thanks again.
[edit]
To clarify #1 above, what can I delete particularly from the php files? I'm pretty sure I know what to delete from the portal html file.
Also, would there be a way to limit the number of characters displayed for an event? So that events with particularly long names do not wrap too many times in the block.
Re: Calendar block for phpBB Calendar 0.0.8
Ok found this one in the functions file.the.ronin wrote:
1) How can I limit the number of events shown?
Code: Select all
// find next 5 events
$result = $db->sql_query_limit($sql, 5, 0);
Thanks!
Re: Calendar block for phpBB Calendar 0.0.8
Oh snap I’m on a roll ... I think I found the truncate piece.
Where $subject_limit is probably the same character limit in the ACP for the calendar mod. I’m going to try and hardcode a number there to limit the event description. What I have in the ACP is fine but I have far more limited space in my 180px portal block.
Ok so last piece is what I can delete if I remove the mini calendar? Anyone? Beuller?
Code: Select all
$event_output['EVENT_SUBJECT'] = censor_text($row['event_subject']);
if( $subject_limit > 0 )
{
if(utf8_strlen($event_output['EVENT_SUBJECT']) > $subject_limit)
{
$event_output['EVENT_SUBJECT'] = truncate_string($event_output['EVENT_SUBJECT'], $subject_limit) . '...';
}
}
Ok so last piece is what I can delete if I remove the mini calendar? Anyone? Beuller?
-
- Former Team Member
- Posts: 625
- Joined: 19. January 2008 23:56
- phpBB.de User: thomas.d
- phpBB.com User: thomas.d
- Contact:
Re: Calendar block for phpBB Calendar 0.0.8
Hi t.r.,the.ronin wrote:... Still wondering how I can truncate event descriptions ...
in your calendar's ACP you can set, how many characters of the subject will be shown ("0" = no limit)
The portal's calender block displays the same then.
Viele Grüße
Thomas
Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |
Thomas
Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |
Re: Calendar block for phpBB Calendar 0.0.8
Indeed you are right, thomas ... however, I want to set a different limit in the portal than in the main calendar mod.thomas.d wrote:Hi t.r.,the.ronin wrote:... Still wondering how I can truncate event descriptions ...
in your calendar's ACP you can set, how many characters of the subject will be shown ("0" = no limit)
The portal's calender block displays the same then.
Re: Calendar block for phpBB Calendar 0.0.8
There might be a bug when it is an all-day event. Someone setup an all day event for Christmas (12/25) in the main calendar and it is showing up in the block as 12/24.
-
- Translator
- Posts: 55
- Joined: 18. December 2008 01:39
- phpBB.com User: wang5555
- Location: Taiwan
Re: Calendar block for phpBB Calendar 0.0.8
Synthesize neaten (frold, Graceland) two means, with MODx 1.2.1 format writes become HACK.
Download here.
Demo:
http://220.134.232.37/phpBB3/portal.php?style=1
Download here.
Demo:
http://220.134.232.37/phpBB3/portal.php?style=1
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!!!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!
-
- Active Member
- Posts: 1
- Joined: 24. December 2008 11:19
- phpBB.com User: mattnyy
- Location: New Jersey
- Contact:
Re: Calendar block for phpBB Calendar 0.0.8
the.ronin wrote:There might be a bug when it is an all-day event. Someone setup an all day event for Christmas (12/25) in the main calendar and it is showing up in the block as 12/24.
I'm having this issue to, have u figured out a fix for it?
Re: Calendar block for phpBB Calendar 0.0.8
Hello,
I install this block, and after that I have troubles with Calendar.
Mini calander is one Year ahead, and events are not shown.
On click "CALENDAR" open big calendar (one year ahad), but on click on event, there open event.
There is always different view, depend of browser. IE show different as Firefox ...
Any idea ?
Development forum link: http://www.borovnica.eu/phpbb/index.php
I install this block, and after that I have troubles with Calendar.
Mini calander is one Year ahead, and events are not shown.
On click "CALENDAR" open big calendar (one year ahad), but on click on event, there open event.
There is always different view, depend of browser. IE show different as Firefox ...
Any idea ?
Development forum link: http://www.borovnica.eu/phpbb/index.php
Re: Calendar block for phpBB Calendar 0.0.8
There is something wrong with original calenadar version 0.0.8
Read http://www.phpbb.com/community/viewtopi ... start=2025
Read http://www.phpbb.com/community/viewtopi ... start=2025
-
- Translator
- Posts: 55
- Joined: 18. December 2008 01:39
- phpBB.com User: wang5555
- Location: Taiwan
Re: Calendar block for phpBB Calendar 0.0.8
My forum finded the issue too.mattnyy wrote:the.ronin wrote:There might be a bug when it is an all-day event. Someone setup an all day event for Christmas (12/25) in the main calendar and it is showing up in the block as 12/24.
I'm having this issue to, have u figured out a fix for it?
Example:
One event is from "01/06/2009 07:30" to "01/06/2009 08:30".
But it shows "[1.5]" on portal.
I settle the problem following:
#
#-----[ OPEN ]-----
#
includes/functions_calendar.php
#
#-----[ FIND ]-----
#
Code: Select all
$dayOfEvent = getdate($row["sort_timestamp"]);
#-----[ REPLACE WITH ]-----
#
Code: Select all
$dayOfEvent = getdate($row["sort_timestamp"]+8*60*60);// UTC+8
#-----[ SAVE & CLOSE ]-----
#
Now it shows normal on portal.
P.S.
Because the timezone of my forum is "UTC+8", so "+8*60*60".
Please change it by your timezone.
Example:
If your timezone is "UTC+5", you must change to "+5*60*60".
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!!!
Good luck ^_^
Welcome to visit my forum!!
https://wang5555.dnsfor.me/phpBB3/
p.s. Shut down computer before 11 clock night!!!
Re: Calendar block for phpBB Calendar 0.0.8
Hello
Two questions :
1. Under style BF-VISTA the block is transparent .
2. Can i change the date from [1.4] to Date : 1.4 ?
Two questions :
1. Under style BF-VISTA the block is transparent .
2. Can i change the date from [1.4] to Date : 1.4 ?
Last edited by derkubi on 3. January 2009 17:31, edited 4 times in total.