Rolitoon 0 Report post Posted July 27, 2005 Ich hab den Fehler im offiziellen englischen Forum auch schon mitgeteilt. Dort war er anscheinend schon bekannt, doch das ist mir auch keine Hilfe, wenn die mir sagen, dass sie den Fehler schon kennen. Ich hätte gerne einen Workaround wenn möglich. Hier meine Fehlerbeschreibung: I found a bug together with the german language pack in the IPS 2.0.3 (20013). There is the lang_calender.php where it says 'bd_birthday' => "'s Geburtstag", right at the beginning. But the calendar itself still shows "· Username's Birthday". Only when switching into the weekly display mode it says "· Username's Geburtstag" as it should be. Strange. The responsible skin template for this is cal_events_wrap as a subset of Calendar. In there you can find<div class="divpad">·<a href="{ipb.script_url}act=calendar&$link">$text</a></div> and $text already contains the output string with the english 's Birthday. I'd rather like to have s Geburtstag (without high comma) Any chance for a quick workaround there? As I cannot use php commands in the templates (like str_replace) Kann man php-Code in den Templates zur Anwendung bringen, um geänderte Variableninhalte auszugeben? Sowas z.B. <?php $text1=str_replace("'s Birthday","s Geburtstag",$text); ?> funktioniert nicht, wenn ich das in den cal_events_wrap reinschreibe Thanks for a hint, cu, Rolitoon °¿° Share this post Link to post
Stefan 0 Report post Posted July 27, 2005 Willkommen im Forum. Datei calendar.php (Ordner sources) Suchen: $this_day_events .= $this->html->cal_events_wrap( "code=birthdays&y=".$day_array['year']."&m=".$day_array['mon']."&d=".$day_array['mday'], $user['name']."'s Birthday" ); Ändern in: $this_day_events .= $this->html->cal_events_wrap( "code=birthdays&y=".$day_array['year']."&m=".$day_array['mon']."&d=".$day_array['mday'], $user['name'].$ibforums->lang['bd_birthday'] ); Das war es schon. :) Share this post Link to post
Rolitoon 0 Report post Posted July 27, 2005 (edited) Danke Stefan, du bist ja wohl so ziemlich der großartigste Helper, der hier abhängt ... Naja kein Wunder als Admin und Forumsbetreiber *g*. Also ich danke mal ganz herzlichst! cu, Rolitoon °¿° Edited July 27, 2005 by Rolitoon Share this post Link to post
WalleniuM 1 Report post Posted July 29, 2005 ist schon bekannt & gemeldet, matt hat sich leider noch nicht geäußert ob diese dinge im 2.1er behoben werden, denke aber schon. http://forums.invisionpower.com/index.php?showtopic=133668 ^^da sind alle bekannten sachen... Share this post Link to post
Stefan 0 Report post Posted July 29, 2005 Ich finde es nur schade, das er da keinen kleinen Workaround für unbedarfte Benutzer schreibt. Wäre ja nur ein Sache von Minuten und könnte man ruhig verlangen, wenn man schon Geld dafür ausgibt. Ist jedenfalls meine Meinung dazu. ;) Share this post Link to post
WalleniuM 1 Report post Posted July 29, 2005 jo. ich nerv ihn auch schn kräftig per email... mittlerweile antwortet er mir nicht mal mehr :P Share this post Link to post