Zodiac Images for dark styles

Mod that adds a birthday field to the users profile, theire age are displayed beside the posts, and on there birthday they will have a greeting popup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby 2LadyDi on Sat 28. Jun, 2003 16:40

Ok, Kooky :)
2LadyDi
Poster
Poster
 
Posts: 27
Joined: Mon 23. Jun, 2003 00:24

Erreur sur functions.php

Postby tigre on Sat 19. Jul, 2003 08:28

Hello Kookie !

Je n'ai pas une connaissance suffisante pour debuger ceci, merci pour votre aide.

Si j'installe le code dans functions.php, j'ai les erreurs suivantes :
Code: Select all
Parse error: parse error in /home/lousonna/public_html/forum/includes/functions.php on line 874

Warning: Cannot modify header information - headers already sent by (output started at /home/lousonna/public_html/forum/includes/functions.php:874) in /home/lousonna/public_html/forum/includes/sessions.php on line 327

Warning: Cannot modify header information - headers already sent by (output started at /home/lousonna/public_html/forum/includes/functions.php:874) in /home/lousonna/public_html/forum/includes/sessions.php on line 328

Warning: Cannot modify header information - headers already sent by (output started at /home/lousonna/public_html/forum/includes/functions.php:874) in /home/lousonna/public_html/forum/viewtopic.php on line 555

Fatal error: Call to undefined function: realdate() in /home/lousonna/public_html/forum/includes/page_header.php on line 370


Voici l'ancien code:
Code: Select all
['board_timezone']); }

function realdate($date_syntax="Ymd",$date=0)
{
   global $lang;
   $i=2;
   if ($date>=0)
   {
      $year=date%1461;
      $days = $date - $year*1461;
      while ($days > 364)
          {
         $year++;      
         $days-=365;    
         if ($i++==3)
         {
            $i=0;
            $days--;
         }
      }
      if (days<=0 && $i==0)
      {
         $days++;
      }
   } else
   {
      $year= -(date%1461);
      $days = $date + $year*1461;
         while ($days<0)
         {
            $year--;
            $days+=365;
            if ($i++==3)
            {
               $i=0;
               $days++;
            }
         }
      }
   $leap_year = ($i==0) ? TRUE : FALSE;
   $months_array = ($i==0) ?
      array (0,31,60,91,121,152,182,213,244,274,305,335,366) :
      array (0,31,59,90,120,151,181,212,243,273,304,334,365) ;
   for ($month=1;$month<12;$month++)
   {
      if ($days<$months_array[$month]) break;
   }

   $day=$days-$months_array[$month-1]+1;
   //you may gain speed performance by remove som of the below entry's if they are not needed/used
   return strtr ($date_syntax, array(
      'a' => '',
      'A' => '',
      '\\d' => 'd',
      'd' => ($day>9) ? $day : '0'.$day,
      '\\D' => 'D',
      'D' => $lang['day_short'][($date-3)%7],
      '\\F' => 'F',
      'F' => $lang['month_long'][$month-1],
      'g' => '',
      'G' => '',
      'H' => '',
      'h' => '',
      'i' => '',
      'I' => '',
      '\\j' => 'j',
      'j' => $day,
      '\\l' => 'l',
      'l' => $lang['day_long'][($date-3)%7],
      '\\L' => 'L',
      'L' => $leap_year,
      '\\m' => 'm',
      'm' => ($month>9) ? $month : '0'.$month,
      '\\M' => 'M',
      'M' => $lang['month_short'][$month-1],
      '\\n' => 'n',
      'n' => $month,
      'O' => '',
      's' => '',
      'S' => '',
      '\\t' => 't',
      't' => $months_array[$month]-$months_array[$month-1],
      'w' => '',
      '\\y' => 'y',
      'y' => ($year>29) ? $year-30 : $year+70,
      '\\Y' => 'Y',
      'Y' => $year+1970,
      '\\z' => 'z',
      'z' => $days,
      '\\W' => '',
      'W' => '') );
}


Et voici votre nouveau code :
Code: Select all
function realdate($date_syntax="Ymd",$date=0)
{
   global $lang;
   $i=2;
   if ($date>=0)
   {
      return create_date($date_syntax,$date*86400,$board_config['board_timezone']);
   {
      $year= -(date%1461);
      $days = $date + $year*1461;
      while ($days<0)
      {
         $year--;
         $days+=365;
         if ($i++==3)
         {
            $i=0;
            $days++;
         }
      }
   }
   $leap_year = ($i==0) ? TRUE : FALSE;
   $months_array = ($i==0) ?
      array (0,31,60,91,121,152,182,213,244,274,305,335,366) :
      array (0,31,59,90,120,151,181,212,243,273,304,334,365);
   for ($month=1;$month<12;$month++)
   {
      if ($days<$months_array[$month]) break;
   }

   $day=$days-$months_array[$month-1]+1;
   //you may gain speed performance by remove som of the below entry's if they are not needed/used
   return strtr ($date_syntax, array(
      'a' => '',
      'A' => '',
      '\\d' => 'd',
      'd' => ($day>9) ? $day : '0'.$day,
      '\\D' => 'D',
      'D' => $lang['day_short'][($date-3)%7],
      '\\F' => 'F',
      'F' => $lang['month_long'][$month-1],
      'g' => '',
      'G' => '',
      'H' => '',
      'h' => '',
      'i' => '',
      'I' => '',
      '\\j' => 'j',
      'j' => $day,
      '\\l' => 'l',
      'l' => $lang['day_long'][($date-3)%7],
      '\\L' => 'L',
      'L' => $leap_year,
      '\\m' => 'm',
      'm' => ($month>9) ? $month : '0'.$month,
      '\\M' => 'M',
      'M' => $lang['month_short'][$month-1],
      '\\n' => 'n',
      'n' => $month,
      'O' => '',
      's' => '',
      'S' => '',
      '\\t' => 't',
      't' => $months_array[$month]-$months_array[$month-1],
      'w' => '',
      '\\y' => 'y',
      'y' => ($year>29) ? $year-30 : $year+70,
      '\\Y' => 'Y',
      'Y' => $year+1970,
      '\\z' => 'z',
      'z' => $days,
      '\\W' => '',
      'W' => '') );
}
tigre
Poster
Poster
 
Posts: 1
Joined: Fri 14. Mar, 2003 11:20

Postby heavenfall admins on Thu 15. Apr, 2004 01:04

hello
the link to the dark images is dead
where can i find the images??
please!!
heavenfall admins
Poster
Poster
 
Posts: 1
Joined: Mon 29. Mar, 2004 17:50

Postby Squall on Thu 01. Jul, 2004 10:36

The link is dead! :? Can someone do something about it???

I would be really thankful.
Squall
Poster
Poster
 
Posts: 1
Joined: Tue 29. Jun, 2004 23:48

Re: images

Postby shof515 on Thu 05. Aug, 2004 22:01

parad0x wrote:Just finished zodiac images for a dark background. This will probably come to late for the original poster, but maybe others can benifit. The link is below if anyone would like to have them.

http://www.crucialpc.com/media/zodiac_images_drk.zip



Check out our forum at http://forum.crucialpc.com

anyone know where i can download this
shof515
Poster
Poster
 
Posts: 54
Joined: Sun 12. Oct, 2003 22:20

Re: images

Postby lechacal on Thu 12. Aug, 2004 23:17

parad0x wrote:Just finished zodiac images for a dark background. This will probably come to late for the original poster, but maybe others can benifit. The link is below if anyone would like to have them.
http://www.crucialpc.com/media/zodiac_images_drk.zip
Check out our forum at http://forum.crucialpc.com


hey ;)

excuse me but I have too a darkground, but I can't upload ??

can you help me please ??

thx and excuse me for my bad english !! :oops:

bye ;)
lechacal
Poster
Poster
 
Posts: 17
Joined: Tue 27. Jul, 2004 15:22

Postby myriell on Fri 03. Sep, 2004 01:00

i'd like to get the dark icons, too :\
myriell
Poster
Poster
 
Posts: 1
Joined: Tue 31. Aug, 2004 18:43

Postby AnaRQy on Tue 23. Nov, 2004 19:15

I need them as well. Could someone who got these while the link was still valid repost them somewhere locally on this board or e-mail them to me? Please PM me if you can e-mail and I'll give you my e-mail address there. Hopefully I have better luck then the last 5 unanswered requests for it lol. I'd be glad to host it if someone would give me the file.
AnaRQy
Poster
Poster
 
Posts: 24
Joined: Fri 12. Nov, 2004 05:18

PreviousNext

Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron