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

jerkstore
Active Member
Posts: 26
Joined: 10. October 2008 06:45

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

Post by jerkstore »

Foulou - you need to also Refresh your Templates.

In the ACP goto Styles > Templates > Refresh Template and it should appear correctly. You need to do this with each change you make to any template/theme/image file for it to show up.

foulou
Active Member
Posts: 6
Joined: 20. August 2009 03:24

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

Post by foulou »

late reply but thx, i find my mistake, was editing my template problack instead of prosilver :/
User avatar

DeaQ
Valued Contributor
Posts: 74
Joined: 8. November 2008 20:03
phpBB.de User: DeaQ
phpBB.com User: DeaQ
Location: Kerpen / NRW
Contact:

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

Post by DeaQ »

Hi,

da mein Englisch nicht das beste ist werde ich es hier in Deutsch wiedergeben.

Ich würde gerne in meinen Termin Block das so einrichten wenn keine Termine anstehen das dies auch angegeben wird. Ich stelle mir das etwa so vor das dort dann sowas wie " Es stehen keine Termine an" steht. Sowas gibt es ja beim Geburtstagblock, dort steht ja dann das keiner Geburtstag hat. Ich habe aber absolut keine Ahnung wie ich das umsetzen kann.

Es wäre super wenn mir da jemand sagen könnte was ich machen muss.

Code: Select all

<!--version $Id: mini_calendar.html 481 2009-03-15 23:16:32Z Christian_N $ //-->
{$LR_BLOCK_H_L}<img src="{T_THEME_PATH}/images/portal/portal_minical.png" width="16px" height="16px" alt=""/>&nbsp;{L_MINI_CAL_CALENDAR}{$LR_BLOCK_H_R}   
   <table width="100%" cellspacing="1">
      
<tr class="row1">
      <td style="width: 100%; text-align: center" class="bg4" colspan="7">Termine</td>
  </tr>
  <tr>
    <td class="row1" colspan="7">

      <!-- BEGIN events -->
      <!-- IF events.S_FIRST_ROW -->
      <!-- ELSE --><hr><!-- ENDIF -->
      <a href="{events.EVENT_URL}"><!-- IF events.COLOR --><span style="color:#{events.COLOR}"><!-- ENDIF -->
      [{events.START_TIME}]<!-- IF events.COLOR --></span><!-- ENDIF --></a>
      <a href="{events.EVENT_URL}" title="{events.FULL_SUBJECT}">
      <!-- IF events.COLOR --><span style="color:#{events.COLOR}"><!-- ENDIF -->
      <!-- IF events.DISPLAY_BOLD --><strong><!-- ENDIF -->
      <!-- IF events.IMAGE --><img src="{events.IMAGE}" title="{events.ETYPE_DISPLAY_NAME}"><!-- ENDIF -->
      <!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}:<!-- ENDIF -->
      {events.SUBJECT}
      <!-- IF events.DISPLAY_BOLD --></strong><!-- ENDIF -->
      <!-- IF events.SHOW_TIME --><br /><!-- IF events.ALL_DAY -->{events.START_TIME}<!-- ELSE -->
      {L_FROM_TIME}: {events.START_TIME} <br />{L_TO_TIME}: {events.END_TIME}<!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF events.COLOR --></span><!-- ENDIF --></a><br />
      <!-- END events -->

    </td>
  </tr>
   </table>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
greetz
DeaQ [di_kju]
:D

RedSpider
Active Member
Posts: 9
Joined: 23. September 2009 21:08

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

Post by RedSpider »

Hi.

This is my mini_calendar.html code

Code: Select all

<!--version $Id: mini_calendar.html 481 2009-03-15 23:16:32Z Christian_N $ //-->
{$LR_BLOCK_H_L}<img src="{T_THEME_PATH}/images/portal/portal_minical.png" width="16px" height="16px" alt=""/>&nbsp;<a href="{U_CALENDAR}" title="{L_CALENDAR}">{L_CALENDAR}</a>{$LR_BLOCK_H_R}   
   <table width="100%" cellspacing="1">
      <tr>
         <td align="left" colspan="2">{U_PREV_MONTH}</td>
         <td colspan="3" align="center"><span class="genmed">{L_MINI_CAL_MONTH}</span></td>
         <td align="right" colspan="2">{U_NEXT_MONTH}</td>
      </tr>
      <tr>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_SUN}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_MON}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_TUE}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_WED}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_THU}</span></td>
         <td style="width: 14%;"><span class="gensmall">{L_MINI_CAL_FRI}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#FF0000">{L_MINI_CAL_SAT}</span></td>
      </tr>
      <!-- BEGIN mini_cal_row -->
      <tr>
         <!-- BEGIN mini_cal_days -->
          <td class="row1" align="center"><span class="gensmall">{mini_cal_row.mini_cal_days.MINI_CAL_DAY}</span></td>  
		<!-- END mini_cal_days -->
      </tr>

      <!-- END mini_cal_row -->

<tr class="row1">
      <td style="width: 100%; text-align: center" class="bg4" colspan="7">Próximos eventos</td>
  </tr>
  <tr>
    <td class="row1" colspan="7">

      <!-- BEGIN events -->
      <!-- IF events.S_FIRST_ROW -->
      <!-- ELSE --><hr><!-- ENDIF -->
      <a href="{events.EVENT_URL}"><!-- IF events.COLOR --><span style="color:#{events.COLOR}"><!-- ENDIF -->
      [{events.START_TIME}]<!-- IF events.COLOR --></span><!-- ENDIF --></a>
      <a href="{events.EVENT_URL}" title="{events.FULL_SUBJECT}">
      <!-- IF events.COLOR --><span style="color:#{events.COLOR}"><!-- ENDIF -->
      <!-- IF events.DISPLAY_BOLD --><strong><!-- ENDIF -->
      <!-- IF events.IMAGE --><img src="{events.IMAGE}" title="{events.ETYPE_DISPLAY_NAME}"><!-- ENDIF -->
      <!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}:<!-- ENDIF -->
      {events.SUBJECT}
      <!-- IF events.DISPLAY_BOLD --></strong><!-- ENDIF -->
      <!-- IF events.SHOW_TIME --><br /><!-- IF events.ALL_DAY -->{events.START_TIME}<!-- ELSE -->
      {L_FROM_TIME}: {events.START_TIME} <br />{L_TO_TIME}: {events.END_TIME}<!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF events.COLOR --></span><!-- ENDIF --></a><br />
      <!-- END events -->

    </td>
  </tr>
   </table>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
And this is the result:
Image

The problem is that when I click on a day, it shows all topics without answer ...
Image

...and I think it should display the events (if there are) or the day of the calendar where you click.
Any idea about what must I modify to get this function?

Many thanks.

RedSpider
Active Member
Posts: 9
Joined: 23. September 2009 21:08

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

Post by RedSpider »

Nobody with this mod in Spanish?

jerkstore
Active Member
Posts: 26
Joined: 10. October 2008 06:45

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

Post by jerkstore »

Any word on a 1.0.4 update on this?

jerkstore
Active Member
Posts: 26
Joined: 10. October 2008 06:45

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

Post by jerkstore »

bump

sureshot007
Active Member
Posts: 6
Joined: 7. October 2009 17:21

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

Post by sureshot007 »

RedSpider wrote:...
The problem is that when I click on a day, it shows all topics without answer ...


...and I think it should display the events (if there are) or the day of the calendar where you click.
Any idea about what must I modify to get this function?

Many thanks.
I'm trying to get the same thing to work, but I have no idea where to start with it. Anyone have any suggestions???


EDIT: Here is something I just figured out -

Code: Select all

<!-- BEGIN mini_cal_days -->
            <td class="row1" align="center"><span class="gensmall"><a href="http://www.mydomain.com/calendar.php?view=day&calD={mini_cal_row.mini_cal_days.MINI_CAL_DAY}&calM={mini_cal_row.mini_cal_days.MINI_CAL_MONTH}&calY={mini_cal_row.mini_cal_days.MINI_CAL_YEAR}">{mini_cal_row.mini_cal_days.MINI_CAL_DAY}</a></span></td>
         <!-- END mini_cal_days -->
That makes all days in the future of the current month jump to the calendar properly (on my board at least). It doesn't work for past days, which seems to link automatically to "Unanswered Posts". And days in different months are still linking to current month. But it's a step in the right direction if that helps anyone. I'm going to keep working at it.

tueftler19
Active Member
Posts: 1
Joined: 7. December 2009 22:17

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

Post by tueftler19 »

Hallo!

Leider komme ich nicht weiter :-(

Ich habe die aktuellen Versionen (Board 3.06, Portal 1.04 Calender 0.1.0 und "Block-Mod" 103) installiert. Grundsätzlich funktioniert es auch, aber ich wünsche mir eigentlich einen Kalender im Portal bei dem man auch den Kalender sehen kann. Leider sieht es bei mir wie folgt aus:

Image

Da ich jetzt die ganze Sache zweimal installiert habe und jedesmal beim gleichen Problem lande bin ich mir eigentlich sicher dass das Problem vor dem Bildschirm sitzt aber ich weiß nicht weiter. Habt Ihr einen Tipp für mich?

Danke, viele Grüße
Tueftler19

P.S: The short english version: I´d like to have not only the events on the calendar but a real calender with the ability to edit, add and delete the events.
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 »

Update v1.0.4,
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!!!

kutt
Active Member
Posts: 16
Joined: 8. October 2008 13:55

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

Post by kutt »

tueftler19 wrote: Image
i have exactly the same problem

i use v1.0.4

on subsilver2 it looks good but when using prosilver there see to be some kind of format error.

any idea how this can be fixed ?

kutt
Active Member
Posts: 16
Joined: 8. October 2008 13:55

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

Post by kutt »

ok .. looks like that I fixed that problem

seems to be a small error in the calendar.html (./styles/prosilver/templates/portal/block/calendar.html)

my current version looks now like this:

Code: Select all

{$LR_BLOCK_H_L}<img src="{T_THEME_PATH}/images/portal/portal_calendar.gif" width="18px" height="15px" alt=""/>&nbsp;{L_CALENDAR}{$LR_BLOCK_H_R}
        <div class="portal-navigation">
                <div class="menutitle">{L_UPCOMING_EVENTS}</div>
                        <ul>
                        <!-- BEGIN events -->
                                <li class="row"<!-- IF events.IMAGE --> style="background-image: url({events.IMAGE}); background-repeat: no-repeat;"<!-- ENDIF -->>
                                                <dt><a href="{events.EVENT_URL}" title="<!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}: <!-- ENDIF -->{events.FULL_SUBJECT}">
                                                        <span style="<!-- IF events.COLOR -->color:#{events.COLOR};<!-- ENDIF --> font-weight: bold;">
                                                                <!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}: <!-- ENDIF -->{events.SUBJECT}</span><br /><!-- IF events.ALL_DAY -->{events.START_TIME}<!-- ELSE -->{event$
                                                </dt>
                                </li>
                        <!-- END events -->
                        </ul>
        </div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
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.3)

Post by wang5555 »

kutt wrote:
tueftler19 wrote: Image
i have exactly the same problem

i use v1.0.4

on subsilver2 it looks good but when using prosilver there see to be some kind of format error.

any idea how this can be fixed ?
Sorry, I don't think that is a problem.

Refer:
http://phpbb-tw.net/phpbb/viewtopic.php?f=133&t=52716

If you don't display event image, you can use 'class="row"' replace ''class="icon"'.
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!!!

kutt
Active Member
Posts: 16
Joined: 8. October 2008 13:55

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

Post by kutt »

hmm still looks strange ...

I rewrote it so, that the image is shown if there is none the arrow is shown

for that I had to tweak the portal.css a bit aswell :)

aliraj
Active Member
Posts: 10
Joined: 12. May 2010 20:28
phpBB.de User: aliraj
phpBB.com User: aliraj

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

Post by aliraj »

can anyone help me out with phpBB Calendar 0.1.0 (alightner) instalation with aerored style thankx
Locked

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