Topic: QUESTION - Calendar-1.2. Mod.

Hi,

I loaded the Calandar Mod on my 1.2.6 and everything works fine! Thanks "Giz"!

My question, is their a way to "Disable" everyone's "B-Day" date from being displayed on the main calendar??

Anyone's help and advise on this would be most appreciated.

Cheers!:)

Re: QUESTION - Calendar-1.2. Mod.

if you comment out line 911 - 915 that will stop it from showing on the main calendar page.

Re: QUESTION - Calendar-1.2. Mod.

Thanks again giz for your help!!! BTW, is you site back up?

Cheers!

Re: QUESTION - Calendar-1.2. Mod.

Hi Giz,

Hea, I tryed commenting out lines 911, 912, 913, 914, 915, like you said in the root/calendar.php. But it doesn't seem to work? All I get is an errooooor page.


HHhmmmmm...   hmm

Re: QUESTION - Calendar-1.2. Mod.

odd because it works for me, how did you comment it out, did you just put a // infront of each line

Re: QUESTION - Calendar-1.2. Mod.

Hi Giz,

Thanks for the reply. And yes, I did

Some of this::

//    while($post_list = $db->fetch_assoc($result)){
              //    $time = date('j',$post_list['posted']);
           //    $posts[$time]++;
           //    };
          // }


And this::

/******************************************
           while($post_list = $db->fetch_assoc($result)){
                 $time = date('j',$post_list['posted']);
                           $posts[$time]++;
                      };
                }
******************************************/

I must be comment out the wrong lines huh?


sad

7 (edited by Gizzmo 2005-09-18 03:50)

Re: QUESTION - Calendar-1.2. Mod.

looks like your doin the wrong file. eather its my file or yours

just downloaed the file thats at punres and i have the right file. but you want to comment out these lines

if(!empty($bdays[$date_no]) && is_int($bdays[$date_no]))
    echo"<a href='calendar.php?view=bday&date=".$year.".".$month.".".$date_no."'>".$lang_calendar['Birthdays']." ".$bdays[$date_no]."</a><br />";
elseif(!empty($bdays[$date_no]) && !is_int($bdays[$date_no]))
    echo $bdays[$date_no]."<br />";

Re: QUESTION - Calendar-1.2. Mod.

Hi G!

Thanks for the code! That was the ticket!! Guess my "Editpad" did'nt show the numbered lines right. ...Hhhmmmmm


Thanks again for taking the time to strip-out that line of code for me! I appreciate it dude! U da man!

Thanks:):)