11
DuGris
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/5/22 0:34

  • DuGris

  • Core Developer

  • Posts: 67

  • Since: 2004/3/14


Hi

I translate some part of my website in english

You can download the module à this page : SecurityImage

And you find the hack code to insert in newbb 1.16 at this page : HERE

12
THEM1060
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/5/29 14:22

  • THEM1060

  • Just popping in

  • Posts: 33

  • Since: 2004/10/8


i got the hack to install and it works just great.

We shall see if it gets rid of the unwanted spam.

13
Tobias
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/7/10 20:20

  • Tobias

  • Not too shy to talk

  • Posts: 172

  • Since: 2005/9/13


Hi folks. I've eventually tried to install the module on my forums, and I'm running into a little problem. I'm trying it on my local install with XAMPP for Windows and PhP 5.0.5, I have XOOPS 2.23 installed (oops, perhaps I should update my sandbox as well?) and NewBB version 3 (ditto). Furthermore SecurityImage 1.5.

I've tried to insert the hack lines the author has provided for NewBB 1.16, and it seems to work fine, with the image being displayed at the bottom of the form. But when I hit "submit" (i.e. when it comes to checking whether the hopefully human being has entered the right combination), I get the following error on a white screen:

Fatal error: Using $this when not in object context in (path to xoops)\class\xoopsform\securityimage.php on line 495

I've tried to contact DuGris on the issue, but didn't get a reply so far. Perhaps someone here can help?

Thanks a bunch!!
www.affvu.org

14
THEM1060
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/7/10 22:32

  • THEM1060

  • Just popping in

  • Posts: 33

  • Since: 2004/10/8


BTW, this module has worked wonders! Zero forum spams since installation!

15
Tobias
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/7/10 23:12

  • Tobias

  • Not too shy to talk

  • Posts: 172

  • Since: 2005/9/13


THEM1060, did you get it to work on PhP 5+? It seems the "object context" issue might have to do with that.
www.affvu.org

16
GlaDiaC
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/7/27 7:09

  • GlaDiaC

  • Just popping in

  • Posts: 16

  • Since: 2003/9/21


Here are my bugfixes for PHP 5+

http://www.linux-gamers.net/uploads/securityimage.php.txt

if (defined('SECURITYIMAGE_INCLUDED')) {

    
$security_image = new SecurityImage(_SECURITYIMAGE_GETCODE);
        
$security_image->init();
    if (
$security_image->render()) {
        
$form->addElement($security_imagetrue);
    }
}


include_once(XOOPS_ROOT_PATH "/class/xoopsformloader.php");

$security_image = new SecurityImage(_SECURITYIMAGE_GETCODE);
if ( 
defined('SECURITYIMAGE_INCLUDED') && !$security_image->checkSecurityImage() ) {

    
redirect_header'lien de redirection'2_SECURITYIMAGE_ERROR ) ;

    exit();

}


Xoops should have a securityimage as a core functionality.

-- andreas

17
Tobias
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/7/28 16:29

  • Tobias

  • Not too shy to talk

  • Posts: 172

  • Since: 2005/9/13


Quote:

GlaDiaC wrote:
Here are my bugfixes for PHP 5+

http://www.linux-gamers.net/uploads/securityimage.php.txt


Hey man, you rock!! Many thanks! Shall try it later today and report if I run into a problem! Which, of course, will not be the case.

I agree, it should be part of the core. But I understand they're working on it.

Tobias
www.affvu.org

18
Swain
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/7/29 23:26

  • Swain

  • Not too shy to talk

  • Posts: 198

  • Since: 2006/6/27


Quote:

wizanda wrote:
I understand your point of the image, yet really isn't this just another name, for username and password, as such....


Actually, no, it is simply a way to make sure that folks are humans and not bots meaning to spam the forums. The way it works is when someone posts, they must enter the letters of an image as a way of verification. It requires no username or password. I use it on guestbooks on some of my sites and have not had a problem with spam since I started using it. I tried censoring words, but to no avail.

19
sailjapan
Re: NewBB Spam Posts - Any simple challenge hack avail?

anyone know how to apply this hack to Newbb 1 on XOOPS 2.013?
(I would have upgraded Newbb but I haven't got a clue which version to choose or where the relevant module is kept on xoops.org )
the instructions include directions to paste code into areas of code that my files don't have...
Never let a man who does not believe something can be done, talk to a man that is doing it.

20
Defkon1
Re: NewBB Spam Posts - Any simple challenge hack avail?
  • 2006/9/21 14:25

  • Defkon1

  • Not too shy to talk

  • Posts: 151

  • Since: 2005/1/27


Quote:

GlaDiaC wrote:
Here are my bugfixes for PHP 5+

[CUT]


thank you very much! with this hack i can use my xComments CrystalHack on php5 too!

but i think that in the first block of code on line 3:
$security_image->init();

should be:
$security_image->initImage();

Login

Who's Online

157 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits