Page 6 of 13

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 3. January 2009 17:21
by Kevin
derkubi wrote:2. Can i change the date from [1.4] to [4.1.2009] or [4.Jan.2009]?
Other way round this should be the solution: viewtopic.php?p=7870#p7870

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 3. January 2009 17:26
by wang5555
derkubi wrote:Hello

Two questions :

Image

1. Under style BF-VISTA the block is transparent .

2. Can i change the date from [1.4] to [4.1.2009] or [4.Jan.2009]?
1. Please paste style BF-VISTA download link.
2. Try it:

#
#-----[ OPEN ]-----
#
includes/functions_calendar.php

#
#-----[ FIND ]-----
#

Code: Select all

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

Code: Select all

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

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 3. January 2009 17:56
by derkubi
ty , works fine .....

You can find BF-Vista here : http://www.phpbb.com/community/viewtopi ... b5da2c1a74 , but i am using the 3.0.0 version

Here are 2 links :

original board3portal minical-block without transparency
http://dienstagstruppe.pytalhost.com/we ... lendar.txt

and the calendar0.0.8 portal block with transparency
http://dienstagstruppe.pytalhost.com/we ... lendar.txt

think you need only these two files to help ....

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 3. January 2009 18:48
by wang5555
derkubi wrote:ty , works fine .....

You can find BF-Vista here : http://www.phpbb.com/community/viewtopi ... b5da2c1a74 , but i am using the 3.0.0 version

Here are 2 links :

original board3portal minical-block without transparency
http://dienstagstruppe.pytalhost.com/we ... lendar.txt

and the calendar0.0.8 portal block with transparency
http://dienstagstruppe.pytalhost.com/we ... lendar.txt

think you need only these two files to help ....
Try it--Add class="row2":

#
#-----[ OPEN ]-----
#
styles/YOUR_THEME/template/portal/block/calendar.html

#
#-----[ FIND ]-----
#

Code: Select all

<table class="tablebg" cellspacing="1" cellpadding="0" width="100%">
         <tr>
            <td align="left" colspan="2"><!-- IF CALENDAR_PREV_MINI -->{CALENDAR_PREV_MINI}</a><!-- ENDIF --></td>
            <td colspan="3" align="center"><span class="genmed">{CALENDAR_HEADER_MINI}</span></td>
            <td align="right" colspan="2"><!-- IF CALENDAR_NEXT_MINI -->{CALENDAR_NEXT_MINI}</a><!-- ENDIF --></td>
         </tr>

</table>
#
#-----[ RPLACE WITH ]-----
#

Code: Select all

<table class="tablebg" cellspacing="1" cellpadding="0" width="100%">
         <tr class="row2">
            <td align="left" colspan="2"><!-- IF CALENDAR_PREV_MINI -->{CALENDAR_PREV_MINI}</a><!-- ENDIF --></td>
            <td colspan="3" align="center"><span class="genmed">{CALENDAR_HEADER_MINI}</span></td>
            <td align="right" colspan="2"><!-- IF CALENDAR_NEXT_MINI -->{CALENDAR_NEXT_MINI}</a><!-- ENDIF --></td>
         </tr>

</table>
#
#-----[ FIND ]-----
#

Code: Select all

  </tr>
  <!-- BEGIN mini_calendar_days -->
  <!-- IF mini_calendar_days.START_WEEK -->
  <tr>
#
#-----[ RPLACE WITH ]-----
#

Code: Select all

  </tr>
  <!-- BEGIN mini_calendar_days -->
  <!-- IF mini_calendar_days.START_WEEK -->
  <tr class="row2">
#
#-----[ SAVE & CLOSE ]-----
#

P.S.
Purge the cache.

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 3. January 2009 20:27
by derkubi
Ty wang , perfect ...

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 4. January 2009 17:14
by sloeri
Hey Guys,

For some reason events are not shown in the calendar...
(i have the Calendar mod 0.0.8 yes... :) i have done the required options for the block... added it to the portal and it is showing correct...)
when i click on it, the calendar indeed opens... (correct month etc...)
only thing not showing is the events i added to the calendar..

where could i have gone wrong ?

edit : The link where it should say "Calendar" also shows as { MINI_CAL_CALENDAR } ...???


EDIT 2 : GOT IT WORKING ;) i made a mistake... duh :)


Regards
Joeri

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 11. January 2009 13:14
by Onetimer
If I disable the default Board3 mini calendar (which anyone who installs this mod would obviously do) the name in the block header changes from Calendar to { MINI_CAL_CALENDAR }. But if I enable the mini calendar both have the Calender name displayed. Is this a bug or have I made a mistake somewhere?

*EDIT* Solved it by the fix posted below */EDIT*

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 15. January 2009 04:51
by Onetimer
Calendar 0.0.8 block and Mini Calander block seem to both use the same L_MINI_CAL_CALENDAR, right? The Calendar 0.0.8 block should have used the L_CALENDAR tag instead, I think?

I solved the above problem by exchanging the two instances of L_MINI_CAL_CALENDAR to L_CALENDAR in calendar.html.

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 18. January 2009 12:06
by Joschi
hallo,

kann jemand die zum Einbinden des Blocks benötigten Daten mal zusammen fassen?
Es sind mittlerweile so viele Fragen/Probleme hier drin dass ich nicht mehr durchblicke.......

Danke

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 19. January 2009 23:45
by Joschi
hmmm...... schade eigentlich........ :?

Grüße

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 22. January 2009 17:24
by steppe
Hallo!

Bei mir werden Termine im Block nicht angezeigt, wenn sie nicht im aktuellen Monat stattfinden. Sprich, jetzt ist Januar und ein Termin im Juni wird nicht angezeigt. Wenn ich mich bis Juni vorarbeite, wird dann auch der Termin angezeigt. Wie kann man das ändern?

Gruß Steppe

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 31. January 2009 15:06
by mk1200
Nice work on this one guys.

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 2. February 2009 21:26
by JeRicHoOL
I installed this block and all days look the same. Is there a ways to have the current day in another color or something like this, so people can see which day it is? (proSilver)

Thanks in advance.

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 4. February 2009 16:44
by amroth
Ich finde die Datei

Code: Select all

includes/functions_calendar.php
absolut nicht die gibts bei mir einfach nicht -.- und nu ?

Re: Calendar block for phpBB Calendar 0.0.8

Posted: 4. February 2009 17:53
by Christian_N
Hast du dir auch den phpBB Calendar 0.0.8 runtergeladen? Den brauchst du nähmlich.
Denke aber mal eher nicht, ok gibs zu regulär geht es eh schlecht da phpBB.com Down ist, wenn man kein Trick 17 anwendet. :lol:
Download wäre jedenfalls http://www.phpbb.com/index.php?f=70&t=666195 gewesen.

Da aber derzeit Down ist hab ich mit Trick 17 mal die Cache-Version genommen.

Und sehe da, der Download-Link des Kalender gefunden: http://phpbbcalendar.com/downloads/phpbb_Calendar.zip :lol:

Gruß Chris