• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Simulate / trigger spam registration

Sim

Well-known member
#1
Is there a way to simulate or trigger a spam registration for testing?

I want to be able to register a user on my dev server and have it flagged as spam by the system so I can test some functionality. Is there a mechanism which would allow this to happen?
 

Martok

Well-known member
#2
Try registering a user with the name 'test'. I was checking something earlier and this was flagged as a spam registration via StopForumSpam which I have enabled in the ACP.
 

Sim

Well-known member
#4
Thanks - both of those did trigger a spam registration.

For future reference, if you want to use one of the username/email address pairs from the Stop Forum Spam website and have the registration blocked rather than moderated, you should change your setting for "Reject registrations when this many warning flags are detected:" to 2, because you (hopefully!) won't be simulating the third flag of IP address if posting yourself.
 

Sim

Well-known member
#7
Arty's method of using the usernames and email addresses from the StopForumSpam website is a much more reliable approach IMO.