+ Reply to Thread
Results 1 to 4 of 4

Thread: Resolving a spamming issue caused by spambots

  1. #1
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    606

    Resolving a spamming issue caused by spambots

    Hi everyone!

    Due to multiple spam reports that we have been receiving recently from our Customers we found a loophole in our software and here is a solution that will help you prevent bots from spamming on your site:

    1. open and edit the following file: /includes/classes/rlAccount.class.php
    2. find a string below (line ~980):
    Code:
    Only registered members can view the code.
    3. replace it with a line below:
    Code:
    Only registered members can view the code.
    4. save the changes
    5. open and edit the following file: /includes/controllers/registration.php
    6. find a string below (line ~143):
    Code:
    Only registered members can view the code.
    7. and post the following code below the line above
    Code:
    Only registered members can view the code.
    8. save the changes

    Feel free to ask your questions in the thread.

    John
    Last edited by John; May 5, 2012 at 07:25 AM.

  2. #2
    Hello John,

    I was unenable to find this line of code: if ( $security_code != $_SESSION['ses_security_code'] || empty($_SESSION['ses_security_code']) ) in the file: /includes/classes/rlAccount.class.php.

    Also what is the different between this line of code: if ( $security_code != $_SESSION['ses_security_code'] || empty($_SESSION['ses_security_code']) ) and this: if ( $security_code != $_SESSION['ses_security_code'] || empty($_SESSION['ses_security_code']) ).

    Unless if im getting it wrong. Sorry im no coder or programmer.

    Thanks

  3. #3
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    606
    Hello Chukwudi,
    Yep you are right, the first and the second conditions are the same, it was my bad.
    I have updated the first line, now you can find it in the file.

    John

  4. #4
    you mean this file - registration.inc.php- i assume

+ Reply to Thread