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
User Posts

Go to Profile

Thanks for this mod....  :D

How many time i wait for receive a list of bad member ratio.... :D
"OGGY, post: 45379":
I found my problem to modify the code:


Replace with:

Find:

$query = "SELECT COUNT(*) FROM shoutbox WHERE message='".$shbmsg."' AND user='".$CURUSER['username']."' AND UNIX_TIMESTAMP()-UNIX_TIMESTAMP(date) < 30";
Replace with:




$query = "SELECT COUNT(*) FROM staff_shoutbox WHERE message='".$_POST['message']."' AND user='".$CURUSER['username']."' AND UNIX_TIMESTAMP()-UNIX_TIMESTAMP(date) < 30";





Find:





$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, '".$CURUSER['username']."', '".unesc($shbmsg)."', '".get_date_time()."', '".$CURUSER['id']."')";





Replace with:





$query = "INSERT INTO staff_shoutbox (msgid, user, message, date, userid) VALUES (NULL, '".$CURUSER['username']."', '".unesc($_POST['message'])."', '".get_date_time()."', '".$CURUSER['id']."')";



it works now   :D

I make this change but i receive this message now:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/mister23/domains/xpresstorrent.com/public_html/staff_shoutbox.php on line 39
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728