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
Spam ajshoutbox
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2022-06-08 20:40:08
is there a way to add antispamm or antiflood on ajshoutbox?

Ex: User to shout lets say 5 time and if he exceed 5 shouts to have a wait time until he can shout again, i want that they wont do this

ex:

spam
spam
spam
spam
spam
I think you understand waht i mean THX in advance
2022-06-08 23:25:20
Its possible by comparing recorded date against your choosing, like '-5 minutes' for example.


if (strtotime($row['added']) < strtotime('-2 minutes')) {
  // Last post was 2 minutes ago, lets do something now
}


$row['added'] should point to the shoutbox tables last post DATETIME field.
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728