+ Reply to Thread
Results 1 to 9 of 9

Thread: auto ban script xhtml

  1. #1
    Junior Member realcoder is on a distinguished road
    Join Date
    Apr 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default auto ban script xhtml

    i want a codeing that auo bans the user for spamming and sends a pm to the owner saying the user has been banned for spamming
    brandon rules the codeing industry

  2. #2
    Senior Member GiLL GiLL's Avatar
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    313
    Thanks
    3
    Thanked 28 Times in 17 Posts
    Blog Entries
    2
    Rep Power
    0

    Default

    which script are you using ?
    Last edited by GiLL; 13-01-10 at 12:42.
    Build Own site Free



    Add your site here



    Free downloads


  3. #3
    Junior Member realcoder is on a distinguished road
    Join Date
    Apr 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    i have the waplive script



    Lavalair edited version (xhtml)
    brandon rules the codeing industry

  4. #4
    Member gunshots is on a distinguished road
    Join Date
    Nov 2009
    Posts
    53
    Thanks
    20
    Thanked 0 Times in 0 Posts
    Rep Power
    1

    Default

    yes also want to abt this plzzz some one help me,,,,,,,,,,,,,,,,,,,,,,,,,

  5. #5
    Senior Member thanatos
    Join Date
    Feb 2007
    Posts
    308
    Thanks
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    0

    Default

    use the SEARCH button. if people are lazy to search and want everything to be spoon fed, SEARCH function should be removed.. LoL! :-D

  6. #6
    Member gunshots is on a distinguished road
    Join Date
    Nov 2009
    Posts
    53
    Thanks
    20
    Thanked 0 Times in 0 Posts
    Rep Power
    1

    Angry

    i already try to search but i didn't find it, if i found it i'm not posting this forum dont be lazy

  7. #7
    Senior Member thanatos
    Join Date
    Feb 2007
    Posts
    308
    Thanks
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    0

    Default

    yeah goodluck..

  8. #8
    Senior Member djlee
    Join Date
    Jun 2008
    Posts
    257
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    0

    Default

    sounds silly to me, why not be proactive and stop spamming before it happens rather than banning someone after the damage has been done. Heres a few ideas:

    1. Message timer: you can only send 1 message every 2 minutes (i think thats fair) . Example theory code, wont work on any specific source Something like this should go before the message is inserted (this way people can still write the message but not send it, i recommend adding a timer to the message creation page if their is a wait time so people know not to hit the send button until the timer has elapsed, you could use javascript to make it tick down for javascript enabled browsers.
    Code:
    $time = time() - 120; //the 2 minute wait time
    $res=mysql_query("SELECT id FROM messages WHERE sent >= $time LIMIT 1");
    if(mysql_num_rows($res) > 0)
     die("2 minute wait time in effect");
    
    2. Stop duplicate messages from a single user, this has a timer of 1 hour, this means a duplicate message cant be sent by the same user unless the duplicate already in the database is atleast 1 hour old. ive added a timer so that if someone sends just "lol" as a reply then it wont error out as they sent lol to someone else 5 days ago.
    Code:
    $body = $_POST['body'];
    $time = time()-3600;
    $res = mysql_query("SELECT id FROM messages WHERE sent >= $time AND body LIKE '".$body."' LIMIT 1");
    if(mysql_num_rows($res) > 0)
    die("feck off");
    
    3. You could also change the above two by appending them to a reply, so people can reply without the wait timer or duplicate message, but can initiate a conversation with a dupe message or in less than 2 mins since last message

    There are many things you can do to stop spamming before it happens, a ban for spamming script should be a last resort or after thought, since there is lag time between detection and message purging the damage could have already taken effect.

  9. #9
    Member gunshots is on a distinguished road
    Join Date
    Nov 2009
    Posts
    53
    Thanks
    20
    Thanked 0 Times in 0 Posts
    Rep Power
    1

    Default

    thankz djlee

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Need Auto Index Script
    By ray- in forum Marketplace
    Replies: 1
    Last Post: 17-12-09, 14:21
  2. plz help me i need this auto index plz send me this script
    By crazyjatt123 in forum REQUEST FORUM
    Replies: 1
    Last Post: 02-09-09, 09:59
  3. I need this auto index script
    By crazyjatt123 in forum REQUEST FORUM
    Replies: 4
    Last Post: 02-09-09, 05:28
  4. Auto subdomain script
    By shad0w in forum REQUEST FORUM
    Replies: 1
    Last Post: 22-07-09, 09:26
  5. Ad Google Adsense Xhtml Code To Lavalair Xhtml Script
    By khan1 in forum Site / Script testing and error fixing
    Replies: 3
    Last Post: 20-03-08, 18:35

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO