Page 2 of 4

Re: phpbb_Calendar_0_1_0 als Block

Posted: 28. December 2011 18:26
by Kirk
Hallo
Probier mal folgendes:
Benenne doch mal die Sprachdatei in portal_calendar_alightner_center_module um.
Benenne in der portal_calendar_alightner_center.php das hier

Code: Select all

public $language = 'portal_calendar_alightner_module';

in das hier um:

Code: Select all

public $language = 'portal_calendar_alightner_center_module';

Re: phpbb_Calendar_0_1_0 als Block

Posted: 28. December 2011 18:33
by Mr Strech
Supi, das wars. :)

Der Block funktioniert zwar noch überhaupt nicht, aber nun kann ich mich so nach und nach auf Fehlersuche machen.

Danke.

Re: phpbb_Calendar_0_1_0 als Block

Posted: 28. December 2011 18:39
by Kirk
Ich kenn diesen Mod zwar nicht, aber vielleicht mus noch ein php code der für die Anzeige zuständig ist noch in die portal_calendar_alightner_center.php

Wünsch dir viel Erfolg dabei!

Re: phpbb_Calendar_0_1_0 als Block

Posted: 28. December 2011 19:04
by Mr Strech
Danke, die Wünsche kann ich brauchen, :D mein Wissen in PHP ist äußerst begrenzt.

Es handelt sich um den [ABD] phpBB Calendar 0.1.0 (alightner) der aber leider schon lange nicht mehr weitergeführt wird. Ich war sehr froh, als ich gelesen habe, das neue Board3 Portal hätte ebenfalls einen Kalender mit drinne, aber wie mein Vorredner schon bemängelt hat, können nur Admins Events eintragen.
Wenn das Kalendermodul mit der Zeit an die Funktionalität des alightner-Mods rankommt, oder noch überholt, baue ich sofort den Mod wieder aus, weil spätestens, wenn er unter einer neueren phpbb Version nicht mehr läuft, wirds doof.

Re: phpbb_Calendar_0_1_0 als Block

Posted: 30. December 2011 15:47
by sammy65
Hast Du es hinbekommen???

Ich könnte auch Hilfe brauchen, ich bin am verzweifeln....

Re: phpbb_Calendar_0_1_0 als Block

Posted: 30. December 2011 18:56
by Mr Strech
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: 31. December 2011 11:14
by sammy65
Ich bin schwer begeistert, vielen Dank

guggst du hier:
http://www.kakteenforum.eu

Viele Grüße und ein gutes neues Jahr
Sammy

Re: phpbb_Calendar_0_1_0 als Block

Posted: 31. December 2011 11:53
by Mr Strech
Gerne.
Gsunds Neus.

Re: phpbb_Calendar_0_1_0 als Block

Posted: 31. December 2011 18:23
by novanilla
I'm sorry, I don't speak German, but I DID figure out how to use this block and it works wonderfully - I've been looking for it. DANKE VIELMALS!!!

If somebody who knows English could reply to my post over here - http://board3.de/viewtopic.php?f=49&t=5183 - I'd greatly appreciate it. I just need to understand how to create a custom block from existing mods. It looks VERY simple, but I just don't get it.

Re: phpbb_Calendar_0_1_0 als Block

Posted: 1. January 2012 21:44
by Mr Strech
You are welcome. :)

Re: phpbb_Calendar_0_1_0 als Block

Posted: 1. January 2012 22:10
by archivar
novanilla wrote:I'm sorry, I don't speak German, but I DID figure out how to use this block and it works wonderfully - I've been looking for it. DANKE VIELMALS!!!

If somebody who knows English could reply to my post over here - http://board3.de/viewtopic.php?f=49&t=5183 - I'd greatly appreciate it. I just need to understand how to create a custom block from existing mods. It looks VERY simple, but I just don't get it.
I can not speak English. You should translate the German contributions with Google in English. ;)
http://translate.google.com/?hl=de&tab= ... 0Englisch.
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: 14. January 2012 18:16
by STrike
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: 15. January 2012 11:14
by Mr Strech
Klingt gut. :) Kann man sich das auf deiner Seite mal anschauen?

Ich habe zwischenzeitlich etwas am Template geschraubt. Das schaut mittlerweile deutlich besser aus, als in der ersten Version. Ich werds mal online stellen.
www.mrstrech.de

Re: phpbb_Calendar_0_1_0 als Block

Posted: 19. January 2012 19:40
by MagicMusical
wenn ich die Portal Box Hochlade und akteviere kommt auf der Portal Seite folgender fehler

Code: Select all

NabendFatal error: Cannot redeclare calendar_display_month() (previously declared in C:\Inetpub\vhosts\>MEINEwebseite.de\httpdocs\ForumMM\includes\functions_calendar.php:38) in C:\Inetpub\vhosts\MEINEwebseite.de\httpdocs\ForumMM\includes\functions_calendar.php on line 279.....

was mache ich falsch ? :-(

Re: phpbb_Calendar_0_1_0 als Block

Posted: 19. January 2012 22:32
by Mr Strech
Hast du das Paket, so wie ich es bereit gestellt habe hochgeladen? oder hast du die Änderung noch mit eingebaut?

Was mich wundert "NabendFatal error: Cannot redeclare calendar_display_month", klingt, als wolle er den Monat anzeigen, in dem Mod werden aber lediglich die nächsten Events angezeigt.