Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=117)
-   -   [TSSE 5.x] Plugin Birthday (http://www.bvlist.com/showthread.php?t=1339)

');
    }

    if (($cachesystem != 'yes' OR $no_cache))
    {
      $showbday .= '';
    }
  ?>
 


}
?>
FAZ 5th November 2008 14:16

As promised to who i cant remember...

Code:

require_once('global.php');

gzip();
dbconn(true);
maxsysop();

?>
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">



Happy Birthday



if($CURUSER){
   
    define ('SKIP_CACHE_MESSAGE', true);
    require_once INC_PATH . '/functions_cache2.php';
    $no_cache = false;
    if (!$showbday = cache_check2 ('tsf_bday'))
    {
      $no_cache = true;
    }

    if ($no_cache)
    {
      $todaybday = date ('j-n');
      $query = sql_query ('' . 'SELECT u.id,u.username,u.birthday,g.namestyle FROM users u LEFT JOIN usergroups g ON (u.usergroup=g.gid) WHERE u.birthday REGEXP \'^' . $todaybday . '-([1-9][0-9][0-9][0-9])\' AND u.enabled = \'yes\' AND u.status=\'confirmed\' AND u.usergroup != ' . UC_BANNED);
      $bdaycount = mysql_num_rows ($query);
     
      if (0 < $bdaycount)
      {
     
        while ($bday = mysql_fetch_assoc ($query))
        {
          $userbday = explode ('-', $bday['birthday']);
          $yearsold = date ('Y') - $userbday[2];
          $showbday .= ' ' . get_user_color ($bday['username'], $bday['namestyle']) . ' (' . $yearsold . ') ';
        }
      }else{
      $showbday .= '
No birthdays today!
';
      }
      cache_save2 ('tsf_bday', $showbday, '

FAZ 6th November 2008 14:43

Hey!! it is my mod

biba! viado! :chch:

schossler 6th November 2008 14:45

Quote:

Originally Posted by FAZ (Post 6331)
Hey!! it is my mod

biba! viado! :chch:

yes your mod ... but I create it.
:chch::chch::chch:

FAZ 6th November 2008 14:46

With my help,
viado!

Joshua 25th December 2008 00:29

Don't work on my TS 5.1

Why????:wallbash::wallbash::wallbash:

GaBoNtZ 25th December 2008 16:10

Quote:

Originally Posted by Joshua (Post 7648)
Don't work on my TS 5.1

Why????:wallbash::wallbash::wallbash:

check apache and php errors mate.
the logrs are gold!!

Jack 25th December 2008 18:21

cache
 
Thanks this mod, but how cahce this? Please help.

Joshua 25th December 2008 22:32

Quote:

Originally Posted by GaBoNtZ (Post 7653)
check apache and php errors mate.
the logrs are gold!!

I'm sorry

no error log's for this

any solutions

GaBoNtZ 26th December 2008 15:41

Quote:

Originally Posted by Joshua (Post 7660)
I'm sorry

no error log's for this

any solutions

well, what you mean by "not working"?
what does or what not does.
and how you installed it?

hhc 18th March 2009 08:34

:sos:
i install the plugin but it doesn't show me anything, i used the TS 5.1 any help


All times are GMT +2. The time now is 10:48.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.