Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
Thread Tools
  #1  
Old 3rd June 2013, 22:10
FENIX FENIX is offline
Member
 
Join Date: Dec 2012
P2P
Posts: 13
Default automatic promoted and degraded
hello. I would like to do more importance to automatic promoted and degraded over power user, such as power user-maxi-user power user, etc.
does anyone have an idea how to do this in TS 5.6
Reply With Quote
  #2  
Old 4th June 2013, 00:12
lafouine022 lafouine022 is offline
Senior Member
 
Join Date: Feb 2010
P2P
Posts: 120
Default
look include/cron/daily_cleanups.php
Reply With Quote
The Following 2 Users Say Thank You to lafouine022 For This Useful Post:
FENIX (4th June 2013), Marco (4th June 2013)
  #3  
Old 4th June 2013, 14:56
FENIX FENIX is offline
Member
 
Join Date: Dec 2012
P2P
Posts: 13
Default
thank Lafouine

uhuhu this black magic for me. see , how I can not handle, then ask for any helping
I will be
Reply With Quote
  #4  
Old 7th June 2013, 07:56
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
Hello

I am very interested too for this please maybe you share with us :) thank you
Reply With Quote
  #5  
Old 12th June 2013, 09:44
FENIX FENIX is offline
Member
 
Join Date: Dec 2012
P2P
Posts: 13
Default
Hello. so I did. The question is, how well did I do? If it is bad, wanted ask for the correction of errors. Thank you very much.
Attached Files
File Type: php daily_cleanups.php (39.3 KB, 28 views)
Reply With Quote
The Following User Says Thank You to FENIX For This Useful Post:
Marco (16th July 2013)
  #6  
Old 29th July 2013, 15:24
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by FENIX View Post
Hello. so I did. The question is, how well did I do? If it is bad, wanted ask for the correction of errors. Thank you very much.
Hi: there is no way that the above would work.

Try this

PHP Code:


<?
/***********************************************/
/*===============[The Best v.5.6]==============*/
/*=============[Special Thanks To]=============*/
/*        DrNet - wWw.SpecialCoders.CoM        */
/*          Vinson - wWw.Decode4u.CoM          */
/*    MrDecoder - wWw.Fearless-Releases.CoM    */
/*           Fynnon - wWw.BvList.CoM           */
/***********************************************/


  
if (!defined ('IN_CRON'))
  {
    exit ();
  }

  require 
INC_PATH '/functions_pm.php';
  
mysql_query ('DELETE FROM shoutbox WHERE date < \'' . (TIMENOW 604800) . '\'');
  ++
$CQueryCount;
  
mysql_query ('DELETE FROM loginattempts WHERE banned=\'no\' AND UNIX_TIMESTAMP(added) < \'' . (TIMENOW 86400) . '\'');
  ++
$CQueryCount;
  
mysql_query ('DELETE FROM invites WHERE UNIX_TIMESTAMP(time_invited) < \'' . (TIMENOW 172800) . '\'');
  ++
$CQueryCount;
  
mysql_query ('DELETE FROM ts_social_group_members WHERE type=\'inviteonly\' AND joined < \'' . (TIMENOW 172800) . '\'');
  ++
$CQueryCount;
  
$query mysql_query ('SELECT id, added FROM funds');
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$nowmonth date ('m');
    
$dfid = array ();
    while (
$funds mysql_fetch_assoc ($query))
    {
      
$funds['added'] = @explode ('-'$funds['added']);
      if (
$funds['added'][1] != $nowmonth)
      {
        
$dfid[] = $funds['id'];
        continue;
      }
    }

    if (
count ($dfid))
    {
      
mysql_query ('DELETE FROM funds WHERE id IN (0, ' implode (','$dfid) . ')');
      ++
$CQueryCount;
    }

    unset (
$nowmonth);
    unset (
$dfid);
    unset (
$funds);
  }

  
$query mysql_query ('SELECT id FROM users WHERE status = \'pending\' AND UNIX_TIMESTAMP(added) < \'' . (TIMENOW 172800) . '\'');
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$deleteuncousers '';
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$deleteuncousers .= ',' intval ($arr['id']);
    }

    if (!empty (
$deleteuncousers))
    {
      
mysql_query ('DELETE FROM users WHERE id IN (0' $deleteuncousers ')');
      ++
$CQueryCount;
    }

    unset (
$deleteuncousers);
    unset (
$arr);
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE warned=\'yes\' AND warneduntil < NOW() AND enabled=\'yes\'');
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET warned = \'no\', timeswarned = IF(timeswarned > 0, timeswarned - 1, 0), warneduntil = \'0000-00-00 00:00:00\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Warning removed by System.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
    }

    unset (
$userids);
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE enabled=\'yes\' AND timeswarned >= \'' $ban_user_limit '\'');
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    
$reason 'Reason: Automaticly banned system. (Max. Warn Limit [' $ban_user_limit '] reached!';
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET enabled = \'no\', usergroup = \'' UC_BANNED '\', notifs = ' sqlesc ($reason) . ', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ('' ' - ' $reason '
\', modcomment) WHERE id IN (0,'
) . implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been banned: ' implode (', '$userids) . '. ' $reason);
      ++
$CQueryCount;
    }

    unset (
$userids);
    unset (
$reason);
  }

  
$query mysql_query ('' 'SELECT DISTINCT id FROM users WHERE leechwarn = \'yes\' AND uploaded / downloaded >= ' $leechwarn_remove_ratio ' AND enabled=\'yes\'');
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET leechwarn = \'no\', leechwarnuntil = \'0000-00-00 00:00:00\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Leech-Warning removed by System.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      unset (
$userids);
    }
  }

  
$downloaded $leechwarn_gig_limit 1024 1024 1024;
  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_USER . ('' '\' AND leechwarn = \'no\' AND enabled=\'yes\' AND uploaded / downloaded < ' $leechwarn_min_ratio ' AND downloaded >= ' $downloaded));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    
$until strtotime ('+' $leechwarn_length ' week' . ($leechwarn_length 's' ''));
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET leechwarn = \'yes\', leechwarnuntil = FROM_UNIXTIME(' $until '), modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Leech-Warned by System - Low Ratio.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been leech-warned: ' implode (', '$userids) . '. Reason: Automatic Leech-Warn System!');
      ++
$CQueryCount;
      foreach (
$userids as $wid)
      {
        
send_pm ($widsprintf ($lang->cronjobs['lwarning_message'], $leechwarn_remove_ratio$leechwarn_length), $lang->cronjobs['lwarning_subject']);
        ++
$CQueryCount;
      }

      unset (
$downloaded);
      unset (
$userids);
      unset (
$until);
      unset (
$wid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_USER '\' AND enabled = \'yes\' AND leechwarn = \'yes\' AND leechwarnuntil < NOW()');
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    
$reason 'Reason: Banned by System because of Leech-Warning expired!';
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET enabled = \'no\', usergroup = \'' UC_BANNED '\', notifs = ' sqlesc ($reason) . ', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ('' ' - ' $reason '
\', modcomment) WHERE id IN (0,'
) . implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been banned: ' implode (', '$userids) . '. ' $reason);
      ++
$CQueryCount;
    }

    unset (
$reason);
    unset (
$userids);
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE donor = \'yes\' AND donoruntil < NOW() AND donoruntil <> \'0000-00-00 00:00:00\' AND enabled = \'yes\'');
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = IF(usergroup < ' UC_UPLOADER ', ' UC_PLATINIUM_USER ', ' UC_GOLD_USER ', ' UC_SILVER_USER ', ' UC_BRONZE_USER ', ' UC_VETERAN ', ' UC_FANATIC ', ' UC_MANIAC ', ' UC_POWER_EXTREME ', ' UC_EXTREME ', ' UC_POWER_SEEDER ', ' UC_SEEDER ', ' UC_POWER_USER ', ' UC_USER '), donor = \'no\', donoruntil = \'0000-00-00 00:00:00\', title=\'\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Donor status removed by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted: ' implode (', '$userids) . '. Reason: Donor status has been expired!');
      ++
$CQueryCount;
      foreach (
$userids as $rid)
      {
        
send_pm ($rid$lang->cronjobs['donor_message'], $lang->cronjobs['donor_subject']);
        ++
$CQueryCount;
      }
    }

    unset (
$userids);
    unset (
$rid);
  }

  
$query mysql_query ('SELECT v.userid as id, v.old_gid, u.modcomment, g.gid FROM ts_auto_vip v LEFT JOIN users u ON (v.userid=u.id) LEFT JOIN usergroups g ON (u.usergroup=g.gid) WHERE v.vip_until < NOW() AND g.cansettingspanel != \'yes\' AND g.canstaffpanel != \'yes\' AND g.issupermod != \'yes\' AND g.isforummod != \'yes\' AND u.enabled=\'yes\' AND u.usergroup != ' UC_BANNED '');
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$RemoveVStatus = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
send_pm ($arr['id'], $lang->cronjobs['vip_message'], $lang->cronjobs['vip_subject']);
      ++
$CQueryCount;
      
$RemoveVStatus[] = $arr['id'];
      
mysql_query ('UPDATE users SET usergroup = \'' . ($arr['old_gid'] ? $arr['old_gid'] : UC_POWER_USER) . '\', modcomment = ' sqlesc (gmdate ('Y-m-d') . ' - VIP status removed by -AutoSystem.
$arr['modcomment']) . ' WHERE id = ' sqlesc ($arr['id']));
      ++
$CQueryCount;
      
mysql_query ('DELETE FROM ts_auto_vip WHERE userid = ' sqlesc ($arr['id']));
      ++
$CQueryCount;
    }

    
savelog ('Following user(s) has been demoted: ' implode (', '$RemoveVStatus) . '. Reason: KPS VIP status has been expired!');
    ++
$CQueryCount;
    unset (
$RemoveVStatus);
  }

 if (
intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_USER . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_POWER_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to POWER USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to Power User Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_POWER_USER . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to User Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
/*======================================================================================================================================================SEEDER*/
 
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_POWER_USER . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_SEEDER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to SEEDER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to SEEDER Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_SEEDER . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_POWER_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to POWER USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to Power User Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
/*====================================================================================================================================================================POWER SEEDEER*/
 
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_SEEDER . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_POWER_SEEDER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to POWER SEEDER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to Power Seeder Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_POWER_SEEDER . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_SEEDER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to SEEDER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to Seeder Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*======================================================================================================================================================EXTREME*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_POWER_SEEDER . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_EXTREME '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to EXTREME by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to EXTREME Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_POWER_SEEDER . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_POWER_SEEDER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to SEEDER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to POWER SEEDER Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*===========================================================================================================================================================POWER EXTREME*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_POWER_SEEDER . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_POWER_EXTREME '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to POWER EXTREME by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to Power User Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_EXTREME . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_EXTREME '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to EXTREME by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to EXTREME Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*========================================================================================================================================================MANIAC*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_POWER_EXTREME . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_MANIAC '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to MANIAC by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to MANIAC Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_POWER_EXTREME . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_POWER_EXTREME '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to POWER EXTREME Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*===============================================================================================================================================================FANATIC*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_MANIAC . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_FANATIC '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to FANATIC by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to FANATIC Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_MANIAC . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_MANIAC '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to MANIAC by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to MANIAC Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*===========================================================================================================================================================VETERAN*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_FANATIC . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_VETERAN '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to VETERAN by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to VETERAN Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_FANATIC . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_FANATIC '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to FANATIC by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to FANATIC Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*==========================================================================================================================================================BRONZE USER*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_VETERAN . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_BRONZE_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to BRONZE USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to BRONZE User Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_VETERAN . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_VETERAN '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to VETERAN by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to VETERAN Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*===============================================================================================================================================================SILVER USER*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_BRONZE_USER . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_SILVER_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to SILVER USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to Silver User Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_BRONZE_USER . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_BRONZE_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to BRONZE USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to BRONZE User Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*==================================================================================================================================================================GOLD USER*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_SILVER_USER . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_GOLD_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to GOLD USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to GOLD User Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_SILVER_USER . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_SILVER_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to SILVER USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to SILVER User Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
    
/*======================================================================================================================================================PLATINIUM USER*/
     
if (intval ($promote_gig_limit))
  {
    
$limit $promote_gig_limit 1024 1024 1024;
    
$maxdt TIMENOW 86400 $promote_min_reg_days;
    
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_GOLD_USER . ('' '\' AND enabled = \'yes\' AND uploaded >= ' $limit ' AND uploaded / downloaded >= ' $promote_min_ratio ' AND UNIX_TIMESTAMP(added) < ' $maxdt));
    ++
$CQueryCount;
    if (
mysql_num_rows ($query))
    {
      
$userids = array ();
      while (
$arr mysql_fetch_assoc ($query))
      {
        
$userids[] = $arr['id'];
      }

      if (
count ($userids))
      {
        
mysql_query ('UPDATE users SET usergroup = \'' UC_PLATINIUM_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Promoted to PLATINIUM USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
        ++
$CQueryCount;
        
savelog ('Following user(s) has been promoted to PLATINIUM User Class: ' implode (', '$userids) . '. Reason: Automatic Promotion System!');
        ++
$CQueryCount;
        foreach (
$userids as $pid)
        {
          
send_pm ($pid$lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject']);
          ++
$CQueryCount;
        }
      }

      unset (
$limit);
      unset (
$maxdt);
      unset (
$userids);
      unset (
$pid);
    }
  }

  
$query mysql_query ('SELECT DISTINCT id FROM users WHERE usergroup = \'' UC_GOLD_USER . ('' '\' AND uploaded / downloaded < ' $demote_min_ratio ' AND enabled=\'yes\''));
  ++
$CQueryCount;
  if (
mysql_num_rows ($query))
  {
    
$userids = array ();
    while (
$arr mysql_fetch_assoc ($query))
    {
      
$userids[] = $arr['id'];
    }

    if (
count ($userids))
    {
      
mysql_query ('UPDATE users SET usergroup = \'' UC_GOLD_USER '\', modcomment = CONCAT(\'' gmdate ('Y-m-d') . ' - Demoted to GOLD USER by -AutoSystem.
\', modcomment) WHERE id IN (0,' 
implode (','$userids) . ')');
      ++
$CQueryCount;
      
savelog ('Following user(s) has been demoted to GOLD User Class: ' implode (', '$userids) . '. Reason: Automatic Demotion System!');
      ++
$CQueryCount;
      foreach (
$userids as $did)
      {
        
send_pm ($didsprintf ($lang->cronjobs['demote_message'], $demote_min_ratio), $lang->cronjobs['demote_subject']);
        ++
$CQueryCount;
      }
    }
      

    unset(
$userids);
    unset(
$did);
  }

?>
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
The Following 2 Users Say Thank You to firefly007 For This Useful Post:
FENIX (12th August 2013), Marco (31st July 2013)
  #7  
Old 31st July 2013, 10:37
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
it's look fine

just a question?
it not need to define those classes somewhere???

or these?
UC_PLATINIUM_USER, UC_GOLD_USER ,UC_SILVER_USER . UC_BRONZE_USER , UC_VETERAN , UC_FANATIC , UC_MANIAC , UC_POWER_EXTREME , UC_EXTREME , UC_POWER_SEEDER , UC_SEEDER
i mean every class must have an ID

excuse for caps lock - i just copy paste them
Reply With Quote
  #8  
Old 31st July 2013, 17:14
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by Marco View Post
it's look fine

just a question?
it not need to define those classes somewhere???

or these?
UC_PLATINIUM_USER, UC_GOLD_USER ,UC_SILVER_USER . UC_BRONZE_USER , UC_VETERAN , UC_FANATIC , UC_MANIAC , UC_POWER_EXTREME , UC_EXTREME , UC_POWER_SEEDER , UC_SEEDER
i mean every class must have an ID

excuse for caps lock - i just copy paste them
1) In your original post of yours, youhad this....

PHP Code:
============ 
Where it needs to look like this
PHP Code:
/*===========*/ 
2) You define classes like this

PHP Code:
define ('PLATINIUM_USER'1);
define ('UC_GOLD_USER'2); 
and so on...

I'm not 100% sure what you trying to do, but I would do the following if you won't to define custom classes.
As TSSE uses groups where you define in to admin pan as I'm you know.
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me


Last edited by firefly007; 31st July 2013 at 18:03.
Reply With Quote
The Following 2 Users Say Thank You to firefly007 For This Useful Post:
FENIX (25th November 2014), Marco (1st August 2013)
  #9  
Old 12th August 2013, 17:49
FENIX FENIX is offline
Member
 
Join Date: Dec 2012
P2P
Posts: 13
Default
firefly ,thank you very much for your help, 10 x thank you
Reply With Quote
Reply

Tags
automatic , degraded , promoted


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 16:28. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.