Bravo List
Register
Go Back   Bravo List > Tracker Sources > Template Shares
Reply
  #11  
Old 12-10-09, 19:00
DrNet's Avatar
Elite
 
Join Date: May 2008
Egypt
Posts: 169
Activity Longevity
2/20 16/20
Today Posts
0/11 ssssss169
Default
lol , i found the same problem in v5.4.1
__________________
Life Is A Mix Of Sounds , So Listen To Your Life.
Reply With Quote
  #12  
Old 12-10-09, 19:02
Nightcrawler's Avatar
Staff
 
Join Date: Oct 2009
P2P
Posts: 69
Activity Longevity
1/20 4/20
Today Posts
0/11 sssssss69
Default
Quote:
Originally Posted by DrNet View Post
lol , i found the same problem in v5.4.1
Ok you lost me now :)
Reply With Quote
  #13  
Old 12-10-09, 19:04
DrNet's Avatar
Elite
 
Join Date: May 2008
Egypt
Posts: 169
Activity Longevity
2/20 16/20
Today Posts
0/11 ssssss169
Default
i don't know what's wrong , i hope some 1 will fix this soon
__________________
Life Is A Mix Of Sounds , So Listen To Your Life.
Reply With Quote
  #14  
Old 12-10-09, 19:10
Nightcrawler's Avatar
Staff
 
Join Date: Oct 2009
P2P
Posts: 69
Activity Longevity
1/20 4/20
Today Posts
0/11 sssssss69
Default
Quote:
Originally Posted by DrNet View Post
i don't know what's wrong , i hope some 1 will fix this soon

what part?
Reply With Quote
Sponsored Links
Advertisement
  #15  
Old 12-10-09, 19:12
DrNet's Avatar
Elite
 
Join Date: May 2008
Egypt
Posts: 169
Activity Longevity
2/20 16/20
Today Posts
0/11 ssssss169
Default
Quote:
Originally Posted by Nightcrawler View Post
what part?
(No user found!)
__________________
Life Is A Mix Of Sounds , So Listen To Your Life.
Reply With Quote
  #16  
Old 12-10-09, 19:14
Nightcrawler's Avatar
Staff
 
Join Date: Oct 2009
P2P
Posts: 69
Activity Longevity
1/20 4/20
Today Posts
0/11 sssssss69
Default
Quote:
Originally Posted by DrNet View Post
(No user found!)
theres nothing wrong with it you need to add a normal user for it to show it doesn't count staff.

this is the code....

Code:
  if (isset ($_GET['searchby'])) 
  { 
    if ($_GET['searchby'] == 'banned') 
    { 
      $query = '(u.enabled = \'no\' OR u.usergroup=' . UC_BANNED . ')'; 
    } 
    else 
    { 
      if ($_GET['searchby'] == 'warned') 
      { 
        $query = '(u.warned = \'yes\' OR u.leechwarn = \'yes\')'; 
      } 
      else 
      { 
        if ($_GET['searchby'] == 'donor') 
        { 
          $query = 'u.donor = \'yes\''; 
        } 
        else 
        { 
          if ($_GET['searchby'] == 'vip') 
          { 
            $query = 'u.usergroup = \'' . UC_VIP . '\''; 
          } 
          else 
          { 
            if ($_GET['searchby'] == 'poweruser') 
            { 
              $query = 'u.usergroup = \'' . UC_POWER_USER . '\''; 
            } 
            else 
            { 
              $query = 'u.usergroup = \'' . UC_USER . '\''; 
            } 
          } 
        } 
      } 
    } 
  } 
  else 
  { 
    $query = 'u.usergroup = \'' . UC_USER . '\''; 
  } 
 
  (($res = sql_query ('SELECT COUNT(*) FROM users WHERE ' . str_replace ('u.', '', $query)) OR sqlerr (__FILE__, 110)) OR sqlerr (__FILE__, 110)); 
  $row = mysql_fetch_array ($res); 
  $count = $row[0]; 
  $perpage = $ts_perpage; 
  list ($pagertop, $pagerbottom, $limit) = pager ($perpage, $count, $_this_script_ . '&' . ($_GET['searchby'] ? 'searchby=' . htmlspecialchars ($_GET['searchby'] . '&') : '')); 
  stdhead ('UsersList'); 
  if (mysql_num_rows ($res) == 0) 
  { 
    begin_main_frame (); 
  } 
 
  $users = number_format (tsrowcount ('id', 'users', 'usergroup=\'' . UC_USER . '\'')); 
  begin_frame ('' . 'Users List (' . $users . ')', true); 
  begin_table (true); 
  echo '<tr><td colspan=7>Search: <a href='; 
  echo $_this_script_; 
  echo '&searchby=all>Show ALL</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=banned>banned</a>| <a href='; 
  echo $_this_script_; 
  echo '&searchby=warned>warned</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=donor>donor</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=vip>vip</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=poweruser>poweruser</td></tr> 
 
<tr> 
<td class="colhead">ID</td> 
<td class="colhead" align="left">Username</td> 
<td class="colhead" align="left">e-mail</td> 
<td class="colhead" align="left">Joined</td> 
<td class="colhead" align="center">DELETE</td> 
<td class="colhead" align="center">BAN</td> 
<td class="colhead" align="center">UNBAN</td> 
</tr> 
'; 
  ($res = sql_query ('' . 'SELECT u.*, p.canupload, p.candownload, p.cancomment, p.canmessage, p.canshout, g.namestyle FROM users u LEFT JOIN ts_u_perm p ON (u.id=p.userid) LEFT JOIN usergroups g ON (u.usergroup=g.gid) WHERE ' . $query . ' ORDER BY u.id DESC '.$limit) OR sqlerr (__FILE__, 137)); 
  if (1 <= mysql_num_rows ($res)) 
  { 
    while ($arr = @mysql_fetch_array ($res)) 
    { 
      $pic = get_user_icons ($arr); 
      $cn = get_user_class_name ($arr['usergroup']); 
      echo '<tr> 
<td>' . $arr[id] . '</td> 
<td align="left"><b><a href=' . $BASEURL . '/userdetails.php?id=' . $arr[id] . '>' . get_user_color ($arr['username'], $arr['namestyle']) . ' ' . $pic . ' (' . $cn . ')</b> ' . (($arr['enabled'] == 'no' ? '<font color=red>(banned)</font>' : $arr['usergroup'] == 9) ? '<font color=red>(banned)</font>' : '') . (($arr['warned'] == 'yes' ? '<font color=red>(warned)</font>' : $arr['leechwarn'] == 'yes') ? '<font color=red>(leechwarned)</font>' : '') . '</a><br />' . htmlspecialchars_uni ($arr['ip']) . '</td> 
<td align="left"><a href=mailto:' . $arr[email] . '>' . $arr[email] . '</a></td> 
<td align="left">' . $arr[added] . '</td> 
<td align="center"> 
<form method=post action=' . $_this_script_ . ('' . '> 
<input type=hidden name=action value=deleteuser> 
<input type="hidden" name="delusr" value="' . $arr['id'] . '" /> 
<input class=button type="submit" value="DELETE"> 
</form></td> 
<td align="center"> 
<form method=post action=') . $_this_script_ . '> 
<input type=hidden name=action value=banuser> 
<input type="hidden" name="banusr" value="' . $arr[id] . '" /> 
<input class=button type="submit" value="BAN"> 
</form></td> 
<td align="center"> 
<form method=post action=' . $_this_script_ . '> 
<input type=hidden name=action value=unbanuser> 
<input type="hidden" name="unbanusr" value="' . $arr[id] . '" /> 
<input class=button type="submit" value="UNBAN"> 
</form></td></tr>'; 
    } 
 
    echo '</form> 
'; 
    echo '<tr><td colspan=7 align=center>' . $pagerbottom . '</td></tr>'; 
  } 
  else 
  { 
    echo '<td><td colspan=7><div class=error>No user found!</div></td></tr>'; 
  }
Reply With Quote
  #17  
Old 12-10-09, 19:21
DrNet's Avatar
Elite
 
Join Date: May 2008
Egypt
Posts: 169
Activity Longevity
2/20 16/20
Today Posts
0/11 ssssss169
Default
Quote:
Originally Posted by Nightcrawler View Post
theres nothing wrong with it you need to add a normal user for it to show it doesn't count staff.

this is the code....

Code:
  if (isset ($_GET['searchby'])) 
  { 
    if ($_GET['searchby'] == 'banned') 
    { 
      $query = '(u.enabled = \'no\' OR u.usergroup=' . UC_BANNED . ')'; 
    } 
    else 
    { 
      if ($_GET['searchby'] == 'warned') 
      { 
        $query = '(u.warned = \'yes\' OR u.leechwarn = \'yes\')'; 
      } 
      else 
      { 
        if ($_GET['searchby'] == 'donor') 
        { 
          $query = 'u.donor = \'yes\''; 
        } 
        else 
        { 
          if ($_GET['searchby'] == 'vip') 
          { 
            $query = 'u.usergroup = \'' . UC_VIP . '\''; 
          } 
          else 
          { 
            if ($_GET['searchby'] == 'poweruser') 
            { 
              $query = 'u.usergroup = \'' . UC_POWER_USER . '\''; 
            } 
            else 
            { 
              $query = 'u.usergroup = \'' . UC_USER . '\''; 
            } 
          } 
        } 
      } 
    } 
  } 
  else 
  { 
    $query = 'u.usergroup = \'' . UC_USER . '\''; 
  } 
 
  (($res = sql_query ('SELECT COUNT(*) FROM users WHERE ' . str_replace ('u.', '', $query)) OR sqlerr (__FILE__, 110)) OR sqlerr (__FILE__, 110)); 
  $row = mysql_fetch_array ($res); 
  $count = $row[0]; 
  $perpage = $ts_perpage; 
  list ($pagertop, $pagerbottom, $limit) = pager ($perpage, $count, $_this_script_ . '&' . ($_GET['searchby'] ? 'searchby=' . htmlspecialchars ($_GET['searchby'] . '&') : '')); 
  stdhead ('UsersList'); 
  if (mysql_num_rows ($res) == 0) 
  { 
    begin_main_frame (); 
  } 
 
  $users = number_format (tsrowcount ('id', 'users', 'usergroup=\'' . UC_USER . '\'')); 
  begin_frame ('' . 'Users List (' . $users . ')', true); 
  begin_table (true); 
  echo '<tr><td colspan=7>Search: <a href='; 
  echo $_this_script_; 
  echo '&searchby=all>Show ALL</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=banned>banned</a>| <a href='; 
  echo $_this_script_; 
  echo '&searchby=warned>warned</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=donor>donor</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=vip>vip</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=poweruser>poweruser</td></tr> 
 
<tr> 
<td class="colhead">ID</td> 
<td class="colhead" align="left">Username</td> 
<td class="colhead" align="left">e-mail</td> 
<td class="colhead" align="left">Joined</td> 
<td class="colhead" align="center">DELETE</td> 
<td class="colhead" align="center">BAN</td> 
<td class="colhead" align="center">UNBAN</td> 
</tr> 
'; 
  ($res = sql_query ('' . 'SELECT u.*, p.canupload, p.candownload, p.cancomment, p.canmessage, p.canshout, g.namestyle FROM users u LEFT JOIN ts_u_perm p ON (u.id=p.userid) LEFT JOIN usergroups g ON (u.usergroup=g.gid) WHERE ' . $query . ' ORDER BY u.id DESC '.$limit) OR sqlerr (__FILE__, 137)); 
  if (1 <= mysql_num_rows ($res)) 
  { 
    while ($arr = @mysql_fetch_array ($res)) 
    { 
      $pic = get_user_icons ($arr); 
      $cn = get_user_class_name ($arr['usergroup']); 
      echo '<tr> 
<td>' . $arr[id] . '</td> 
<td align="left"><b><a href=' . $BASEURL . '/userdetails.php?id=' . $arr[id] . '>' . get_user_color ($arr['username'], $arr['namestyle']) . ' ' . $pic . ' (' . $cn . ')</b> ' . (($arr['enabled'] == 'no' ? '<font color=red>(banned)</font>' : $arr['usergroup'] == 9) ? '<font color=red>(banned)</font>' : '') . (($arr['warned'] == 'yes' ? '<font color=red>(warned)</font>' : $arr['leechwarn'] == 'yes') ? '<font color=red>(leechwarned)</font>' : '') . '</a><br />' . htmlspecialchars_uni ($arr['ip']) . '</td> 
<td align="left"><a href=mailto:' . $arr[email] . '>' . $arr[email] . '</a></td> 
<td align="left">' . $arr[added] . '</td> 
<td align="center"> 
<form method=post action=' . $_this_script_ . ('' . '> 
<input type=hidden name=action value=deleteuser> 
<input type="hidden" name="delusr" value="' . $arr['id'] . '" /> 
<input class=button type="submit" value="DELETE"> 
</form></td> 
<td align="center"> 
<form method=post action=') . $_this_script_ . '> 
<input type=hidden name=action value=banuser> 
<input type="hidden" name="banusr" value="' . $arr[id] . '" /> 
<input class=button type="submit" value="BAN"> 
</form></td> 
<td align="center"> 
<form method=post action=' . $_this_script_ . '> 
<input type=hidden name=action value=unbanuser> 
<input type="hidden" name="unbanusr" value="' . $arr[id] . '" /> 
<input class=button type="submit" value="UNBAN"> 
</form></td></tr>'; 
    } 
 
    echo '</form> 
'; 
    echo '<tr><td colspan=7 align=center>' . $pagerbottom . '</td></tr>'; 
  } 
  else 
  { 
    echo '<td><td colspan=7><div class=error>No user found!</div></td></tr>'; 
  }
aha , sorry i got it
__________________
Life Is A Mix Of Sounds , So Listen To Your Life.
Reply With Quote
  #18  
Old 13-10-09, 18:14
PRODIGY's Avatar
Member
 
Join Date: Jun 2009
Greece
Posts: 13
Activity Longevity
0/20 6/20
Today Posts
0/11 sssssss13
Default
i cant login to staff panel neither change the pincode.....
Reply With Quote
  #19  
Old 13-10-09, 18:23
Nightcrawler's Avatar
Staff
 
Join Date: Oct 2009
P2P
Posts: 69
Activity Longevity
1/20 4/20
Today Posts
0/11 sssssss69
Default
Quote:
Originally Posted by PRODIGY View Post
i cant login to staff panel neither change the pincode.....
did you set the pincode during installation?
Reply With Quote
  #20  
Old 13-10-09, 18:30
PRODIGY's Avatar
Member
 
Join Date: Jun 2009
Greece
Posts: 13
Activity Longevity
0/20 6/20
Today Posts
0/11 sssssss13
Default
Quote:
Originally Posted by Nightcrawler View Post
did you set the pincode during installation?
yes but i cant login....
Reply With Quote
Reply

Tags
decoded , nightcrawler , nulled , tsse , v56

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:29. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Advertisement System V2.6 By   Branden