Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Staffmessage Alert
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2010-11-16 11:53:09
hi all a little hack from me


go in shoutbox.php and find this
 

if (isset($_GET['history'])) {
if (isset($_GET['page'])) {
if($_GET['page'] > '1') {
$lowerlimit = $_GET['page'] * 100 - 100;
$upperlimit = $_GET['page'] * 100;
} else {
$lowerlimit = 0;
$upperlimit = 100;
}
} else {
$lowerlimit = 0;
$upperlimit = 100;
}
$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT '.$lowerlimit.','.$upperlimit;
} else {
$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT 20';
}and under it make this
 

//Check staffmessage
if ($CURUSER["class"] >= "5") {
$staffmessres= mysql_query("SELECT * FROM staffmessages WHERE answered=0");
if (mysql_num_rows($staffmessres)>0)
{
if ($unreadmail) print ("<br>");

print("<font color=#FF0000 size=3><B><center>Neue Team-Pm </font></b>[<a href=staffbox.php class=link2 target=_blank><font color=#FF0000>".mysql_num_rows($staffmessres)."</font></a>]</center>");

}
}
//Check staffmessage ende


if ($CURUSER["class"] >= "5") {

musst replace with you moderator group id

thats it have a nice day greets bolzen
Unknown User
2011-08-23 11:43:29
Thank you.
Unknown User
2015-03-27 16:11:47
Very very good. Thanks.
Unknown User
2015-03-30 10:03:01
thx you
2015-03-30 10:13:45
Thanks you!  ;)
Unknown User
2017-04-12 02:39:57
"bolzen, post: 67519":
hi all a little hack from me


           go in shoutbox.php and find this
         
if (isset($_GET['history'])) {

if (isset($_GET['page'])) {

if($_GET['page'] > '1') {

$lowerlimit = $_GET['page'] * 100 - 100;

$upperlimit = $_GET['page'] * 100;

} else {

$lowerlimit = 0;

$upperlimit = 100;

}

} else {

$lowerlimit = 0;

$upperlimit = 100;

}

$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT '.$lowerlimit.','.$upperlimit;

} else {

$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT 20';

}

           and under it make this
         

//Check staffmessage
if ($CURUSER["class"] >= "5") {
$staffmessres= mysql_query("SELECT * FROM staffmessages WHERE answered=0");
if (mysql_num_rows($staffmessres)>0)
{
if ($unreadmail) print ("<br>");

print("<font color=#FF0000 size=3><B><center>Neue Team-Pm </font></b>[<a href=staffbox.php class=link2 target=_blank><font color=#FF0000>".mysql_num_rows($staffmessres)."</font></a>]</center>");

}
}
//Check staffmessage ende

   

   

       


if ($CURUSER["class"] >= "5") {


           musst replace with you moderator group id

           thats it have a nice day greets bolzen




go in shoutbox.php and find this
 

if (isset($_GET['history'])) {
if (isset($_GET['page'])) {
if($_GET['page'] > '1') {
$lowerlimit = $_GET['page'] * 100 - 100;
$upperlimit = $_GET['page'] * 100;
} else {
$lowerlimit = 0;
$upperlimit = 100;
}
} else {
$lowerlimit = 0;
$upperlimit = 100;
}
$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT '.$lowerlimit.','.$upperlimit;
} else {
$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT 20';
}


   and under it make this
 


//Check staffmessage
if ($CURUSER["class"] >= "5") {
   $staffmessres= SQL_Query_exec("SELECT * FROM staffmessages WHERE answered=0");
if (mysql_num_rows($staffmessres)>0) {
if ($unreadmail)
   print("<br>");
   print("<font color=#FF0000 size=3><b><center>New PM Staff </font></b>[<a href=staffbox.php class=link2 target=_blank><font color=#FF0000>".mysql_num_rows($staffmessres)."</font></a>]</center>");
}
}
//Check staffmessage ende
Unknown User
2019-04-04 16:29:45
if you have staff is with banned in it the users will get banned
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728