Page 3 of 4

Re: phpbb_Calendar_0_1_0 als Block

Posted: 20. January 2012 08:26
by MagicMusical
Guten Morgen,

Update: 12:39 Uhr
FEHLER GEFUNDEN:... Wochenansicht musste deakteviert werden um Termine anzeigen zu lassen


also ich muss zu meiner Schande gestehen das ich noch Codeschnipsel von "Installations-Anweisung für 'phpBB Calendar block on Board3 Portal' Version 1.0.4"
viewtopic.php?f=53&t=1567
im Forum hatte. habe diese mal gelöscht und nun wird
ein leerer ( Update 23:39 Uhr ) Calendar Block angezeigt...... leider sehe ich noch keine Termine darin.....

also ich habe das Paket so wie es zum Download angeboten worden ist Hochgeladen. habe keine Änderungen an Files vorgenommen. War aber aber nicht ersichtlich aus dem
Download das man noch etwas verändern müsste.... Wenn doch wäre ich über eine genaue Anleitung Dankbar.....

ng Kai

Re: phpbb_Calendar_0_1_0 als Block

Posted: 20. January 2012 14:07
by STrike
Mr Strech wrote: Momentan kann man sich nur die nächsten Events ansehen, in der Anzahl, wie sie im ACP eingestellt ist. Die Wochenansicht geht (noch) nicht. Das Template gefällt mir auch noch nicht so wirklich, aber das ist ja immer Geschmackssache.
STrike wrote:Ich habe es nun so bei mir eingestellt, dass im Portal die nächsten Events angezeigt werden und im Forum einen Wochenkalender.


Fügt das in includes/function_calendar.php:

Code: Select all

function display_portal_termine()
{
	global $auth, $db, $user, $config, $template;

	$user->setup('calendar');
	
		//see if we should display X number of upcoming events
		$index_display_next_events = get_calendar_config_value( "index_display_next_events", 0 );
		$s_next_events = false;
		if( $index_display_next_events > 0 )
		{
			$s_next_events = true;
		}

		$template->assign_vars(array(
			'S_CALENDAR_WEEK'	=> false,
			'S_CALENDAR_NEXT_EVENTS'	=> $s_next_events,
		));
		display_next_events( $index_display_next_events );
	}
open portal\modules/portal_calendar_alightner_center.php:
Wechsel

Code: Select all

calendar_display_calendar_on_index();
in

Code: Select all

display_portal_termine();
mfg

Re: phpbb_Calendar_0_1_0 als Block

Posted: 20. January 2012 18:03
by Mr Strech
Für meine Version muss nichts weiter geändert werden. Schaust du: www.mrstrech.de

Die Termine werden über dem Forum und auch als Block angezeigt.
Wie ist denn deine URL?

Re: phpbb_Calendar_0_1_0 als Block

Posted: 20. January 2012 18:09
by STrike
Also ich sehe bei deinem Forum keine Art vom Kalender nur das Symbol im Mainmenu. Also die Verlinkung.

Wenn du Termine im Forum anzeigen geklickt hast (also so, dass die Woche darunter nicht angezeigt wird unter allen Foren) dann wird das im Portal angezeigt, aber sobald du die Kalenderwoche unter dem Forum aktivierst geht es nicht mehr und die Termine werden im Portal nicht mehr angezeigt. Bei meiner Lösung geht dann aber beides ;)

Re: phpbb_Calendar_0_1_0 als Block

Posted: 22. January 2012 11:37
by MagicMusical
Danke für eure Hilfe.... habe die Einstellung im ACP Panel " Zeige aktuelle Woche " abgeschaltet und nun werden auch die Termine angezeigt....
Danke für eure Hifle...... wird denn mal eine Wochenansicht möglich sein ?

ng Kai

Re: phpbb_Calendar_0_1_0 als Block

Posted: 22. January 2012 20:22
by Mr Strech
Hmm, ich sage mal vielleicht. :D

Hab die nächste Woche Schicht. Wenn ich ruhe habe, setze ich mich mal hin und probiere mal rum.

Re: phpbb_Calendar_0_1_0 als Block

Posted: 28. January 2012 22:11
by STrike
STrike wrote:Ich habe es nun so bei mir eingestellt, dass im Portal die nächsten Events angezeigt werden und im Forum einen Wochenkalender.


Fügt das in includes/function_calendar.php:

Code: Select all

function display_portal_termine()
{
	global $auth, $db, $user, $config, $template;

	$user->setup('calendar');
	
		//see if we should display X number of upcoming events
		$index_display_next_events = get_calendar_config_value( "index_display_next_events", 0 );
		$s_next_events = false;
		if( $index_display_next_events > 0 )
		{
			$s_next_events = true;
		}

		$template->assign_vars(array(
			'S_CALENDAR_WEEK'	=> false,
			'S_CALENDAR_NEXT_EVENTS'	=> $s_next_events,
		));
		display_next_events( $index_display_next_events );
	}
open portal\modules/portal_calendar_alightner_center.php:
Wechsel

Code: Select all

calendar_display_calendar_on_index();
in

Code: Select all

display_portal_termine();
mfg
Damit kannst du die Wochenansicht beibehalte. Ich poste aber das jetzt nicht nochmal zum 3. mal!

Re: phpbb_Calendar_0_1_0 als Block

Posted: 7. March 2012 21:14
by fnys
I'm not the best coder or German language speaking/understanding person...
I've used Google translate as much as possible to understand if you've got a working calendar block but I didn't understand much tho Google translate is not the best translator from German to English :(
Could anyone give me an answer on my question and how to get it to work, like what files and guides I need? I got no problems follow and understand mod installation guides :)

Thanks in advance

Re: phpbb_Calendar_0_1_0 als Block

Posted: 8. March 2012 02:47
by Mr Strech
Ok and my English isnt the Best. :D

Download my Zip-File and upload it at ACP as a "normal Block", but it will only show you the next Events (you can see at http://www.mrstrech.de) as many you configured at the alightner-Mod in ACP. When you follow the changes of STrike, you can also display the next Week.

... and i have updated the Template.


Das Template ist nun auch (endlich) aktuell.
Mr Strech wrote:Also haben tu ich was.

Momentan kann man sich nur die nächsten Events ansehen, in der Anzahl, wie sie im ACP eingestellt ist. Die Wochenansicht geht (noch) nicht. Das Template gefällt mir auch noch nicht so wirklich, aber das ist ja immer Geschmackssache.

http://www.mrstrech.com/phpbb_calendar_block.zip

Einfach Block hochladen und einfügen, wie gehabt.

Großartig Fragen dazu kann ich nicht beantworten. Habs auch nur durch Try and Error hinbekommen.

Re: phpbb_Calendar_0_1_0 als Block

Posted: 25. August 2012 20:54
by DocSommer
Good news for the calendar mod: alightner is back and the mod status isn't abandoned anymore. There's also a new version available - heven't had time to check it out yet but I think it's good to have the dev back on track. Maybe there will be a new and official portal add on showing up with the same specs/features the old one came with. I know there's a workaround available here but I prefer to have the upcoming events displayed below the tiny board3 calender.

Re: phpbb_Calendar_0_1_0 als Block

Posted: 26. August 2012 19:22
by Mr Strech
Very good. :)

Re: phpbb_Calendar_0_1_0 als Block

Posted: 11. November 2012 02:50
by niwes
gibt es eine möglich keit nun die Wochenansicht auf dem portal (2.0.0) anzeigen zu lassen
(also so wie in der Foren Übersicht?)

Re: phpbb_Calendar_0_1_0 als Block

Posted: 7. July 2013 17:54
by fnys
Everything works great but my standard portal calendar gets no meaning in the right column.
Is it possible to get the same information (info from alightners calendar) in the calendar block info?

Image

Re: phpbb_Calendar_0_1_0 als Block

Posted: 8. July 2013 16:24
by Kirk
No this is not possible,
You have to manually edit the events for this calendar in the ACP.

Re: phpbb_Calendar_0_1_0 als Block

Posted: 8. July 2013 17:07
by fnys
The code is already made, is it really that hard to publish same code in another place?
for me, yes but for a person that knows coding it doesn't feels like a huge problem.
so I'm asking one more time:
Please, is there someone how could check this up?