bithdays on cal_lite

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
bum63
Beiträge: 2
Registriert: Do 16.Nov, 2006 18:58

bithdays on cal_lite

Beitrag von bum63 »

Hi all I can't read German so I'm not sure if this is right place to post this but anyways here it is, sorry if this is in wrong place to post it...

I installed some mods but still I have a problem with one of mods,
I installed Calendar Lite version: 1.4.6 then I installed Birthday version 1.5.9 and this works fine together I’m trying to install Birthdays_on_callite_1_1_1, all of these 3 mods should work together I mean that’s what it says in downloads area.

all 3 mods together

The problem is some of the code which supposed to be in Calendar Lite is not there:
This code should be in cal_lite.php file but it’s not there and I get error:

Code: Alles auswählen

Fatal error: Call to undefined function: button_prev_year() in /homepages/12/d175856246/htdocs/cal_lite.php on line 1289
missing code in cal_lite.php:

Code: Alles auswählen

# 
#-----[ FIND ]------------------------------------------
# 
function button_prev($url, $align='left')
{
	// Previous Month			
	$button_prev =  "<form method=post action=$url><td align='$align'>&nbsp;";
	$button_prev .=  "<input type=submit value='<<' class=mainoption>&nbsp;</td></form>";
	return $button_prev;
}

function button_next($url, $align='right')
{
	// Next Month			
	$button_next =  "<form method=post action=$url><td align='$align'>&nbsp;";
	$button_next .= "<input type=submit value='>>' class=mainoption>&nbsp;";
	$button_next .= "</td></form>";
	return $button_next;
}

#
#-----[ REPLACE WITH ]------------------------------------------
#
# // If the eventslist-mod from me is already installed, skip this part!
#
function button_prev($url)
{
	// Previous Month
	$button_prev =  '<a href="'.$url.'"><img src="images/icon_left_arrow.gif" border="0"></a>';
	return $button_prev;
}

function button_next($url)
{
	// Next Month
	$button_next =  '<a href="'.$url.'"><img src="images/icon_right_arrow.gif" border="0"></a>';
	return $button_next;
}

function button_prev_year($url)
{
	// Previous Year
	$button_prev =  '<a href="'.$url.'"><img src="images/icon_double_left_arrow.gif" border="0"></a>';
	return $button_prev;
}

function button_next_year($url)
{
	// Next Year
	$button_next =  '<a href="'.$url.'"><img src="images/icon_double_right_arrow.gif" border="0"></a>';
	return $button_next;
}
Link to cal_lite.php file

Any ideas what can I do with this?

Thanks in advance...
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Look on cal_functions.php for the missing code...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
bum63
Beiträge: 2
Registriert: Do 16.Nov, 2006 18:58

Beitrag von bum63 »

thanks
Antworten