Results 1 to 29 of 29

Thread: Stop (Most) Spam Bot Registrations on phpBB
      
   

  1. #1
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Stop (Most) Spam Bot Registrations on phpBB

    Just thought I'd pass this along for those of you who've had problems with spam bot registration and posting on your phpBB forum. I didn't write it, I'm just passing it along.

    The edits are easy to do, but I can email the files with the edits complete to anyone who is having problems. NOTE: This means you need to try on your own first.


    http://www.phpbb.com/files/mods/Easy...opper__100.mod is the download link, support thread is here: http://www.phpbb.com/phpBB/viewtopic...er=asc&start=0

  2. #2
    Vasili's Avatar
    Vasili is online now Moderator
    Join Date
    Mar 2006
    Posts
    13,595

    Thumbs up Re: Stop (Most) Spam Bot Registrations on phpBB

    Great Post, General!

    As always, your support and expertise is always welcome.....
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  3. #3
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Good mod Race, does this take away the website altogether or untill they have registered ? i put the humanizer on which seems to work.

    How do you install this ? he he he just messing

  4. #4
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Quote Originally Posted by Aliens Anonymous
    Good mod Race, does this take away the website altogether or untill they have registered ? i put the humanizer on which seems to work.

    How do you install this ? he he he just messing
    Your registered users can still add their website through their profiles, but not on registration. I added this on a forum a friend runs - he's been having a helluva time with bot registrations and this stopped them cold.

    The Humanizer is another really good one and I'll probably add it as well for that added layer of protection.

    Install instructions can be found by dialing 800-DONTASKME.

  5. #5
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    installed my good friend, went straight in using easymod even with three skins.

    Intall info phone No did not work got redirected to 800-doityourself.

  6. #6
    Join Date
    Oct 2005
    Location
    England, UK
    Posts
    4,207

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Quote Originally Posted by racefan20
    Install instructions can be found by dialing 800-DONTASKME.

    Quote Originally Posted by Aliens Anonymous
    Intall info phone No did not work got redirected to 800-doityourself.
    LMAO!! Too funny.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  7. #7
    Vasili's Avatar
    Vasili is online now Moderator
    Join Date
    Mar 2006
    Posts
    13,595

    Talking Re: Stop (Most) Spam Bot Registrations on phpBB

    Quote:
    Originally Posted by racefan20
    Install instructions can be found by dialing 800-DONTASKME.



    Quote:
    Originally Posted by Aliens Anonymous
    Intall info phone No did not work got redirected to 800-doityourself.



    Did an online number search and discoverd the REAL number was 1-888-ImPouredOut.

    Was answered by a message left by what sounded like a lady with no teeth and such a raspy voice dogs were heard howling in the background.
    The short message was "To publish in BV you have to have an account, and if you want a Forum, you need to learn to install it yourself. DOB does NOT mean date of birth, and beyond that submit a ticket. Don't call again! Cough-cough"

    I slowly hung up the phone and immediately started longing for the good old days before a Clone button ....
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  8. #8
    limebrook1's Avatar
    limebrook1 is offline Brigadier General
    Join Date
    Jun 2005
    Location
    Essex, UK
    Posts
    1,580

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Hi Race - this post was manna from heaven for me as I am sick to death of all the spammers on my forum!

    But I couldn't get the link to open - it said page not found.

    Any ideas? (You know how challenged I am with all of this!)

  9. #9
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Here ya go, Trish!

    #
    #-----[ OPEN ]------------------------------------------
    #
    includes/usercp_register.php

    #
    #-----[ FIND ]------------------------------------------
    #
    $unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
    $unhtml_specialchars_replace = array('>', '<', '"', '&');

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #

    if ( $mode == 'editprofile' )
    {
    $template->assign_block_vars('only_show_notbot', array());
    }

    #
    #-----[ FIND ]------------------------------------------
    #
    if ( !($row = $db->sql_fetchrow($result)) )
    {
    message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
    }
    $user_id = $row['total'] + 1;

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    if( $website != '' )
    {
    die();
    }

    #
    #-----[ OPEN ]------------------------------------------
    #
    templates/subSilver/profile_add_body.tpl

    #
    #-----[ FIND ]------------------------------------------
    #
    <tr>
    <td class="row1"><span class="gen">{L_WEBSITE}:</span></td>

    #
    #-----[ BEFORE, ADD ]------------------------------------------
    #
    <!-- BEGIN only_show_notbot -->

    #
    #-----[ FIND ]------------------------------------------
    #
    <input type="text" class="post" style="width: 200px" name="website" size="25" maxlength="255" value="{WEBSITE}" />
    </td>
    </tr>

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    <!-- END only_show_notbot -->

    #
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
    #
    # EoM

  10. #10
    limebrook1's Avatar
    limebrook1 is offline Brigadier General
    Join Date
    Jun 2005
    Location
    Essex, UK
    Posts
    1,580

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    thanks Race - I'll give it a try!

  11. #11
    limebrook1's Avatar
    limebrook1 is offline Brigadier General
    Join Date
    Jun 2005
    Location
    Essex, UK
    Posts
    1,580

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Help! I put the code in, but got an unexpected parse string error on line 632 when I tried the registration! Took it out again and the board works again.

    I copied it all in exactly - any idea where i am going wrong?

  12. #12
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    You probably missed a small character or something, that's easy to do.

    For your convenience, here are both files edited, tested and ready to go.

    http://daysofblunder.com/botsmod.zip

  13. #13
    limebrook1's Avatar
    limebrook1 is offline Brigadier General
    Join Date
    Jun 2005
    Location
    Essex, UK
    Posts
    1,580

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    What can I say, Race? Worked fine! Thank you so much for your help!

    One other strange thing - do you remember the trouble I had with disappearing avatars each time I upgrade? Well, I haven't upgraded the Limebrook Forum (too much trouble with the adsense), but I have another forum on the Bearded Dragon site. I upgraded this one, and lo and behold - lost the avatars! Something very strange happening with my forums - I haven't touched that one at all!

  14. #14
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Hi limebrook1 this is one of the problems with upgrading. any modifacations or avatars or or images go walkies. when you upgrade it replaces old files with the new files. so any changes you have made will disappear. best to use the same forum then add things to it.
    i am still useing 2.19 with 23 mods in it if i upgrade i would lose most and have to do them all again by hand. for the small change the upgrade does it's not worth it.

  15. #15
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Going along with what Alien Dude posted - before you upgrade, download the images folder from the forum to your pc and then ftp it back in place after the upgrade.

  16. #16
    limebrook1's Avatar
    limebrook1 is offline Brigadier General
    Join Date
    Jun 2005
    Location
    Essex, UK
    Posts
    1,580

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    thanks folks - I will remember that!

  17. #17
    strakallah is offline Private
    Join Date
    Oct 2006
    Location
    Australia
    Posts
    1

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Hey guys

    Found this thread through google

    I uploaded those files and can still register with a website.

    Anyone else having the same issue?

    I'm so sick of BOT's promoting their **** on my forums

    http://www.drunkencombat.com

  18. #18
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Quote Originally Posted by strakallah
    Hey guys

    Found this thread through google

    I uploaded those files and can still register with a website.

    Anyone else having the same issue?

    I'm so sick of BOT's promoting their **** on my forums

    http://www.drunkencombat.com
    Make sure you edited the files on your phpbb correctly

    Files To Edit: includes/usercp_register.php
    templates/subSilver/profile_add_body.tpl

    the mod takes away the website part on registry,

    as your useing php nuke the file may be different.

  19. #19
    thesamet is offline Private
    Join Date
    Jan 2007
    Posts
    1

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Another easy way to stop spam is to ask a simple question like "How much is 5+2?".

    I've written in my blog an explanation how to stop spam on phpbb forums, and there is a link
    to a mod in the comments.

  20. #20
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    You make one post on this forum, try to direct traffic to YOUR site, and you're here to help cut down on spam? LOL

  21. #21
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Good Morning Race.

    Quote Originally Posted by thesamet
    Another easy way to stop spam is to ask a simple question like "How much is 5+2?".

    I've written in my blog an explanation how to stop spam on phpbb forums, and there is a link
    to a mod in the comments.
    WOW whot a excellent idea putting a load of code into the forum files that by the looks of it you would have to change every week , and oh hang on there's no database queries. so how does this work there's is no proper coding and to be honest is very dangerous. I see that you wrote this on the Dec 21st, 2006, now if you had done your home work you would have known that the recent releases of phpBB 20 / 21 / 22 come with the Visual Confirmation. also the humanizer mod and the new Anti-bot Question mod had been released as well as Racefan20's website mod. these mods have all been tested and approved by phpBB.com.
    These sort of so called quick fix answers are not the way to go, you would be well advised to rewrite that entry before you cause a security problem on someones forum.

  22. #22
    beebrothers's Avatar
    beebrothers is offline Captain
    Join Date
    Dec 2006
    Location
    Albany, NY
    Posts
    226

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Quote Originally Posted by Vasili
    800-doityourself....
    I got a busy signal
    http://www.beebrothers.org

    Success is not a doorway. It is a staircase.

  23. #23
    beebrothers's Avatar
    beebrothers is offline Captain
    Join Date
    Dec 2006
    Location
    Albany, NY
    Posts
    226

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    tried, went over my head...not ever sure where to start looking for the files that belong to my forum...try to manipluate them..O BOY..and the spammers are about two a day now...not so bad deleting their posts now, but seems like it could blossom...
    the support thread did very little to help..did i miss something?

    thanks
    i called 1-800-itwasbusy

    :p
    http://www.beebrothers.org

    Success is not a doorway. It is a staircase.

  24. #24
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Quote Originally Posted by beebrothers
    tried, went over my head...not ever sure where to start looking for the files that belong to my forum...try to manipluate them..O BOY..and the spammers are about two a day now...not so bad deleting their posts now, but seems like it could blossom...
    the support thread did very little to help..did i miss something?

    thanks
    i called 1-800-itwasbusy

    :p

    You're using a vanilla installation of phpBB, so you can use the files in the zip file I posted in post #16 of this thread. Download and unzip the folder to your pc.

    Then, open your ftp manager and navigate to your forum. Open your Includes folder and upload usercp_register.php into it, allowing it to overwrite the file you have in place.

    Open your Templates > Subsilver folder and upload profile_add_body.tpl into it, allowing it to overwrite the file you have in place.

    Done.

  25. #25
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    Woh that is some heavy spamming i counted 8 going backward from the last joined 23,22,21,20,19,17,16,15

  26. #26
    beebrothers's Avatar
    beebrothers is offline Captain
    Join Date
    Dec 2006
    Location
    Albany, NY
    Posts
    226

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    8 might not be a lot [now] but it's more then i want to deal with...and i like to tie up loose ends,

    i guess on the bright side it makes it appear like i have lots of members :)

    thanks racefan, i'll give it a whirl
    http://www.beebrothers.org

    Success is not a doorway. It is a staircase.

  27. #27
    beebrothers's Avatar
    beebrothers is offline Captain
    Join Date
    Dec 2006
    Location
    Albany, NY
    Posts
    226

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    ok, easy enough, how can i tell by looking at the forum that something is different and that both files are working?

    Thanks for the help
    http://www.beebrothers.org

    Success is not a doorway. It is a staircase.

  28. #28
    Aliens Anonymous is offline Special Status
    Join Date
    Jan 2006
    Location
    Dark side of the moon
    Posts
    1,161

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    It's working Ok,

    go to register you will see that the website entry has been removed.

  29. #29
    beebrothers's Avatar
    beebrothers is offline Captain
    Join Date
    Dec 2006
    Location
    Albany, NY
    Posts
    226

    Default Re: Stop (Most) Spam Bot Registrations on phpBB

    oic
    http://www.beebrothers.org

    Success is not a doorway. It is a staircase.

Thread Information

Users Browsing this Thread

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

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49