Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support

Z3R0

Mitglied
  • Content count

    64
  • Joined

  • Last visited

About Z3R0

  • Rank
    Beginner
  • Birthday 27.03.1989

Contact Methods

  • MSN
    SpitFire144_@hotmail.com
  • Website URL
    http://
  • ICQ
    178711970
  • Yahoo
    xxxZeroCFxxx

IP.Board Informationen

  • IP.Board Version
    1.3.x
  1. Rigo, ich hab da eine Frage, dieser Mod könnte ja auch auf einen Kaleder-Event-Titel Prefix erweiterbar sein??? Ich würde nämlich dringend soetwas benötigen ... Wäre nett wenn du mir ein paar Tipps geben könntest mfg
  2. Hi Kann man da statt dem Datum auch ein Custom Field voranstellen? Ich hab aber keine Ahnung wie der befehl zum aufrufen dieses Feldes geht jedenfalls müsste ja nur das ".$c_time." geändert werden oder?? schonmal DANKE im Voraus
  3. Kann es sein das das irgendwie so gehen könnte?? In der skin_calender: function calendar_event_title($data="") { global $ibforums; return <<<EOF <tr> <td class="pformleft"><strong>{$ibforums->lang['calendar_title']}</strong></td> <td class="pformright"><input type='text' size='40' maxlength='40' name='event_title' class='forminput' value='$data' /></td> </tr> EOF; } einfach bei event_title soetwas wie {$author['member_group']} davorsetzen??
  4. Hi Ich hätte da eine Frage zum Kalender: Ich habe bei uns im Forum 4 Klassen (Schule) und da jede Klasse ihre Tests zu anderen Terminen hat, weiß dann keiner welche Klasse jetz gemeint is (im Kalender) Und ich wollte fragen ob es irgendwie möglich wäre vor den Events einen Prefix zu machen, welcher der Klassennahmen angibt. (also den Gruppennamen des Posters als Prefix dazuschreibt) Würde mich über ein paar antworten freuen.
  5. hm, sry, aber ich bin schon wieder lestig ... STEFAN :P
  6. Irgendwo da muss die Verschiebung eingebaut werden, aber wo weiß ich nicht function show_month() { global $ibforums, $DB, $std, $print; //----------------------------------------- // Get the birthdays from the database //----------------------------------------- $birthdays = $this->get_month_birthdays(); //----------------------------------------- // Get recurring events //----------------------------------------- $recurring = $this->get_month_recurring(); //----------------------------------------- // Get the single day events //----------------------------------------- $events = $this->get_events('single'); //----------------------------------------- // Get the ranged events //----------------------------------------- $r_events = $this->get_events('ranged'); //----------------------------------------- // Figure out the next / previous links //----------------------------------------- $prev_month = array(); $next_month = array(); $prev_month['year_id'] = $this->chosen_year; $next_month['year_id'] = $this->chosen_year; $prev_month['month_id'] = $this->chosen_month - 1; $prev_month['month_name'] = $this->month_words[$this->chosen_month - 2]; $next_month['month_name'] = $this->month_words[$this->chosen_month]; $next_month['month_id'] = $this->chosen_month + 1; if ($this->chosen_month == 1) { $prev_month['month_name'] = $this->month_words[11]; $prev_month['month_id'] = 12; $prev_month['year_id'] = $this->chosen_year - 1; } else if ($this->chosen_month == 12) { $next_month['month_name'] = $this->month_words[0]; $next_month['month_id'] = 1; $next_month['year_id'] = $this->chosen_year + 1; } $this->output .= $this->html->cal_main_content($this->month_words[$this->chosen_month - 1], $this->chosen_year, $prev_month, $next_month); //----------------------------------------- // Print the days table top row //----------------------------------------- $day_output = ""; $cal_output = ""; foreach ($this->day_words as $day) { $day_output .= $this->html->cal_day_bit($day); } $day_output .= $this->html->cal_new_row(); //----------------------------------------- // Print the main calendar body //----------------------------------------- $seen_days = array(); // Holds yday $seen_ids = array(); $weekinfo=$this->helper_get_week_info(); //do weeks for( $c = 1; $c <= $weekinfo['num_weeks']; $c++ ) { $r_week_events = $this->get_events('ranged',$weekinfo[$c]); //do we have starting blank days in this week? -> do blank cells on date cell row for( $i = 0; $i <$weekinfo[$c]['start_blank']; $i++ ) { $cal_output .= $this->html->cal_blank_cell(); } //do weeks date cells for( $i = 0; $i <count($weekinfo[$c]['days']); $i++ ) { $cal_date = "<a class='caldatelink' href='{$ibforums->base_url}&act=calendar&code=showday&y=".$this->chosen_year."&m=".$this->chosen_month."&d=".$weekinfo[$c]['days'][$i]."'>{$weekinfo[$c]['days'][$i]}</a>"; if ( ($weekinfo[$c]['days'][$i] == $this->now_date['mday']) and ($this->now_date['mon'] == $this->chosen_month) and ($this->now_date['year'] == $this->chosen_year)) { $cal_output .= $this->html->cal_date_cell_today($cal_date); }else{ $cal_output .= $this->html->cal_date_cell($cal_date); } } //do we have ending blank days in this week? -> do blank cells on date cell row for( $i = 0; $i <$weekinfo[$c]['blank_end']; $i++ ) { $cal_output .= $this->html->cal_blank_cell(); } $cal_output .= $this->html->cal_new_row(); //do this weeks ranged event rows + one row for all other events for( $rwe = 1; $rwe <= max(count($r_week_events),4)+1; $rwe++ ) { //do we have starting blank days in this week? for( $i = 0; $i <$weekinfo[$c]['start_blank']; $i++ ) { $cal_output .= $this->html->cal_blank_cell(); } //first do a row for each ranged event in this week if($rwe<max(count($r_week_events),4)+1) { //add the non-blank days of this week. With and without events $shown=0; for( $i = 0; $i <(count($weekinfo[$c]['days'])-max(1,$r_week_events[$rwe-1]['week_duration'])+1); $i++ ) { if($shown==0 AND $r_week_events[$rwe-1]['unix_stamp'] < ($weekinfo[$c]['daystamps'][$i]+86399) AND $r_week_events[$rwe-1]['end_unix_stamp'] > ($weekinfo[$c]['daystamps'][$i])) { $event_title=$this->html->cal_events_wrap_range( "code=showevent&eventid=".$r_week_events[$rwe-1]['eventid'], $r_week_events[$rwe-1]['title'], $r_week_events[$rwe-1]['event_color'], $r_week_events[$rwe-1]['event_bgcolor']); $cal_output .= $this->html->cal_event_cell($event_title,$r_week_events[$rwe-1]['week_duration']); $shown=1; }else{ $cal_output .= $this->html->cal_event_cell("",1); } } //now do the row for the single day events of this week }else{ for( $i = 0; $i <(count($weekinfo[$c]['days'])-max(1,$r_week_events[$rwe-1]['week_duration'])+1); $i++ ) { $this_day_events=""; $day_array = getdate($this->our_datestamp); //---------------------------------------- // Recurring Events... //---------------------------------------- $this_day_events.=$this->html_month_recurring($recurring, $day_array); //---------------------------------------- // Normal Events... //---------------------------------------- $this_day_events.=$this->html_month_normal($events, $day_array); //---------------------------------------- // Birthdays //---------------------------------------- $this_day_events.=$this->html_month_birthdays($birthdays, $day_array); $cal_output .= $this->html->cal_event_cell($this_day_events,1); $this->our_datestamp += 86400; } } //do we have ending blank days in this week? for( $i = 0; $i <$weekinfo[$c]['blank_end']; $i++ ) { $cal_output .= $this->html->cal_blank_cell(); } $cal_output .= $this->html->cal_new_row(); } } //----------------------------------------- // Switch the HTML tags... //----------------------------------------- if ( $this->chosen_year < 1500 ) { $this->month_words[$this->chosen_month - 1] = str_replace(",", ';&#', "Y,101,32,111,108,100,32,99,97,108,101,110,100,97,114,32,111,102;").' '.$this->month_words[$this->chosen_month - 1]; } $this->output = str_replace( "<!--IBF.DAYS_TITLE_ROW-->", $day_output, $this->output ); $this->output = str_replace( "<!--IBF.DAYS_CONTENT-->" , $cal_output, $this->output ); $this->output = str_replace( "<!--IBF.MONTH_BOX-->" , $this->get_month_dropdown(), $this->output ); $this->output = str_replace( "<!--IBF.YEAR_BOX-->" , $this->get_year_dropdown() , $this->output ); $this->nav[] = "<a href='{$ibforums->base_url}&act=calendar'>{$ibforums->lang['page_title']}</a>"; $this->nav[] = $this->month_words[$this->chosen_month - 1]." ".$this->chosen_year; } Bitte kann sich das mal wer anschaun *ganzliebguck*
  7. Jo, ich hatte dem Mod jo schon installiert, aber mit der Änderung von chris5000 finde ich die passende Zeile nicht ... :(
  8. plz, plz, plz, plz .... Ich komm wirklich nicht auf den fehler ... Screen vom Problem: --> klick <-- Die Datei die normal geändert werden müsste befindet sich im Anhang .. Könnte sich die bitte jemand mal anschaun?? Wäre echt dankbar ...
  9. Hello Habe ein Problem: Ich habe den Mod installiert, und er funktioniert wunderbar, das einzige Problem das ich habe ist ... ... das ich die zeilen // Start Modifikation Mod_Calendarview /* Start originaler Quelltext if ( ($c < $this->first_day_array['wday']) or ($day_array['mon'] != $this->chosen_month) ) Ende originaler Quelltext */ $this->first_day_array['wday'] = $this->first_day_array['wday'] == 0 ? 7 : $this->first_day_array['wday']; if ( ($c+1 < $this->first_day_array['wday']) or ($day_array['mon'] != $this->chosen_month) ) // Ende Modifikation Mod_Calendarview //+++++++++++++++++++++++++++++++++++++ wieder irgendwo brauche, da sonst das Samstag als Sonntag angezeigt wird, weil ich einen Mod installiert hab der den Montag als 1. Wochentag einttägt ... plz HELP
  10. Kalender

    kleine Ideen??? plz
  11. Im Kalender von der V2.0 sind ja links die 3 kleinen monatsübersichten zu sehen, das hätte auch gerne in der v 1.3 final, geht das irgendwie?? thx im voraus!!
  12. [Mod] Gruppensymbole und Pips

    nö, anscheinend nicht, ich hab den mod jedenfalls wieder ausgebaut, weil er mir die sache nur verschlechtert ...
  13. [Tip] Flash Games

    aber ...... man kann nix downloaden
  14. [Tip] Flash Games

    Eine kuze Frage: Wo muss den der Teil genau hin?? Ich hab ihn in der skin topic gehabt, aber habe dann eine Fehlermeldung bekommen! wie immer: thx im Voraus! ;)
×