Page 1 of 1

Portal 2.0.0 Calendar Block Events

Posted: 23. May 2012 11:03
by ixl
I love the calendar block in Portal 2.0.0 however, is there a way to change it so that normal users can post "events" instead of them having to be done by an Administrator in the ACP?

I currently am testing on :

3.0.10 PHPBB3
Portal 2.0.0
Default Themes - Various browsers.

I seem to be going round in circles and I imagine that this is a PHPBB mod, but just am asking.

Thanks for your time.

IXL

Re: Portal 2.0.0 Calendar Block Events

Posted: 8. June 2012 17:31
by ixl
Just to add, if anyone has any suggestions to use instead, I would appreciated it.

IXL :)

Re: Portal 2.0.0 Calendar Block Events

Posted: 7. July 2012 07:19
by urednik
It works calendar mode from Portal 1.4

Changes are only in installation.

1. Download viewtopic.php?f=21&t=1567

2. open install.xml and change code from 95 row with this: (or from <open src="portal.php"> )

Code: Select all

	<open src="portal.php">
			<edit>
				<find>$user->setup('mods/portal');</find>
				<action type="after-add">// START Display phpBB Calendar next events.
				$user->setup('calendar');

// If you want to see more events than 5, only change the number.
display_next_events(7);

// END Display phpBB Calendar next events.

</action>
			</edit>
			
		</open>

		<open src="styles/prosilver/template/portal/portal_body.html">
			<edit>
				<find> portal/block/calendar.html  </find>
				<action type="after-add"><![CDATA[  <!-- INCLUDE portal/block/calendar.html -->  ]]></action>
			</edit>
		</open>

		<diy-instructions lang="en">Purge the cache.</diy-instructions>
	</action-group>
</mod>
3. Install

Re: Portal 2.0.0 Calendar Block Events

Posted: 25. July 2012 18:41
by sssubito
I'm kindly asking for some advice. I'm migrating an existing phpBB2-Board to phpBB3. To make the long story as short as necessary: as portal we use Board3 Portal 2.0.0 (gallery 1.1.6 and download 6.5.5 mods and more); I need some kind of user and moderator friendly calendar, too!
  • The calendar block that's already with b3p lacks some features:
  • creating events without the need to go into the ACP
  • showing a big enough calendar with selectable month's view where the events are listed on the days
  • if I had a wish (or two) free :lol:, I'd like to have the following in the portal's block:
    current month's events somehow highlighted in the small month's view
    current day highlighted by different background color (I guess this might only be a css-thing, but not sure)
    real luxury would be if the highlighted event could be clickable and would lead to a provided (mostly) internal event topic
I have been searching for a decent calendar mod for phpBB3 but didn't find something to be really happy with. I'd give the abandoned alightner calendar mod a chance because it seems to be something that at least meets some of my wishes. Not sure if I have overseen some other calendar mod for phpBB3. Any hints and pointers are of course welcome.

I'm not sure if I did understand the previous post properly. Can I have at least the basically needed functionality when I use alightner's calendar mod with b3p 2.0.0 and the given instructions to migrate the calendar of b3p 1.4 into b3p 2.0.0? I fear a little bit that this might be pretty difficult, but I haven't tried it yet. (Well, my PHP knowledge is still limited, yet a long way to go...)

------8<-----------------8<---------
Hier das ganze in Kurzform auch auf Deutsch:
Ich bräuchte ein bißchen Hilfe. Ich arbeite an der Portierung eines gestandenen phpBB2-Boards nach phpBB3. Für die Portalseite nehme ich B3P 2.0.0 (naja, siehe oben); Ich bräuchte noch einen user- und moderatorfreundlichen Kalender!
  • Dem in B3P eingebauten Kalenderblock fehlen ein paar Features:
  • Anlegen von Terminen und Events, ohne ins ACP gehen zu müssen
  • Anzeige einer "großen" Monatsübersicht (Monat wählbar), wo jeder Event innerhalb der stattfindenden Tage gelistet ist
  • Wenn ich jetzt noch ein paar Wünsche frei hätte, dann wäre folgendes im Portalblock ganz große Klasse:
    Events (bei mir häufiger mehrtägig) werden geeignet hervorgehoben in der kleinen Monatsansicht
    Den aktuellen Tag hätte ich gerne durch einen hervorgehobenen Hintergrund angezeigt (vielleicht nur eine css-Einstellung?)
    Ganz großer Luxus wäre natürlich, wenn man in der kleinen Monatsansicht einen hervorgehobenen Event anklicken könnte und man dann auf einen (in der Regel internen) Thread weitergeleitet wird, wo der Event ausführlicher angekündigt ist. Die Adresse der Ankündigung würde man natürlich beim Anlegen des Events hinterlegen, so wie es jetzt schon möglich ist.
Ich habe schon nach Kalender-Mods für phpBB3 gesucht, aber nicht wirklich etwas gefunden, was mir Mut macht. Der calendar mod von alightner scheint nicht mehr weiterentwickelt zu werden. Ich gebe zu, daß ich mir den noch nicht angeschaut habe, weil ich fürchte, daß es für mich etwas schwierig werden könnte. Ich habe die Anleitung meines vorherigen Posters nicht hundertprozentig verstanden. Wenn ich den calendar mod von alightner in mein Board einbaue und den Kalender(block) von B3P 1.4 wie beschrieben installiere und anpasse, dann hätte ich 'ne Chance in etwa das zu bekommen, was ich suche?

Da meine PHP-Kenntnisse relativ limitiert sind, bin ich schnell aufgeschmissen, wenn es hakt. Jemand einen Tipp oder etwas ausführlichere Hinweise, was geht und was noch nicht geht?

Jeder Hinweis auf einen vielversprechenden Kalender-MOD, der nicht nur über das ACP oder direktes Editieren von Dateien benutzt werden kann, ist ausdrücklich willkommen. Alle anderen sachdienlichen Hinweise, Erklärungen und Anleitungen natürlich auch!

Re: Portal 2.0.0 Calendar Block Events

Posted: 31. August 2012 09:52
by faethor
Hallo zusammen

Ich würde auch gerne im Portal einen Kalender haben, wo Benutzer Events eintragen können. Den Weg der oben beschrieben wurde mit diesem Mod funktioniert glaube ich nicht, da man Files hochladen muss die in Ordner gehören die ich nicht habe.
Es heisst in der Anleitung:
Copy: root/styles/prosilver/template/portal/block/calendar.html
To: styles/prosilver/template/portal/block/calendar.html

Nun, ich habe kein calendar.html unter template/portal/block. Bei mir siehts so aus: /template/portal/modules

Weiss jemand rat? :)

Danke im Voraus!

Re: Portal 2.0.0 Calendar Block Events

Posted: 17. October 2012 18:24
by ixl
urednik wrote:It works calendar mode from Portal 1.4

Changes are only in installation.

1. Download viewtopic.php?f=21&t=1567

2. open install.xml and change code from 95 row with this: (or from <open src="portal.php"> )

Code: Select all

	<open src="portal.php">
			<edit>
				<find>$user->setup('mods/portal');</find>
				<action type="after-add">// START Display phpBB Calendar next events.
				$user->setup('calendar');

// If you want to see more events than 5, only change the number.
display_next_events(7);

// END Display phpBB Calendar next events.

</action>
			</edit>
			
		</open>

		<open src="styles/prosilver/template/portal/portal_body.html">
			<edit>
				<find> portal/block/calendar.html  </find>
				<action type="after-add"><![CDATA[  <!-- INCLUDE portal/block/calendar.html -->  ]]></action>
			</edit>
		</open>

		<diy-instructions lang="en">Purge the cache.</diy-instructions>
	</action-group>
</mod>
3. Install
I havent yet tried this, I have been very busy lately but will try it this weekend. In the meantime, Thanks for your help and suggestion, I will let you know how I get on. :D

Re: Portal 2.0.0 Calendar Block Events

Posted: 19. March 2013 00:55
by the.ronin
I just wanted to clarify that this " phpBB Calendar block on Board3 Portal (Update 1.0.4)" here:

viewtopic.php?f=53&t=1567

Will work with the latest beta " [Beta] phpBB Calendar 0.1.1 (alightner)" here:

https://www.phpbb.com/community/viewtop ... 0&t=666195

Is that accurate? Thanks!