How can you prevent porn & casino registrations????

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
2Gals
Registered User
Posts: 70
Joined: Thu Mar 31, 2005 4:16 pm
Location: Ontario, Canada
Contact:

How can you prevent porn & casino registrations????

Post by 2Gals » Thu Apr 20, 2006 12:56 pm

I was just looking over my memberlist, and came across quite a few weird names that had registered - and then spent the last half an hour deleting a bunch of member names that had registered their porn or casino websites....

Is there a way to prevent this? Can I set it up so I need to approve registrations???

Thanks!
Kellie Barclay
2 Gals Scrappin'

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69222
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Post by KevC » Thu Apr 20, 2006 1:07 pm

Easiest thing to do is look in the admin panel >configuration and turn on visual confirmation.

Also helps to have account activation on user or admin so at least an active email address is needed along with some action taken by the user or the admin to turn the account on.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

2Gals
Registered User
Posts: 70
Joined: Thu Mar 31, 2005 4:16 pm
Location: Ontario, Canada
Contact:

Post by 2Gals » Thu Apr 20, 2006 1:16 pm

Thanks for the tip! I'll be turning that on today.......
Kellie Barclay
2 Gals Scrappin'

ung
Registered User
Posts: 13
Joined: Tue Apr 12, 2005 7:54 am

Post by ung » Thu Apr 20, 2006 2:30 pm

I have the same problem. Visual confirmation is turned on. Account must be activated by admin. But the entries in the memberlist are still to be deleted - even if the account is not activated.

Any ideas how to prevent entries in the memberlist before the account is activated?

Is there a way to delete multiple members with a single click?

St.Ives
Registered User
Posts: 2
Joined: Thu Apr 20, 2006 2:44 pm
Location: Ireland
Contact:

Post by St.Ives » Thu Apr 20, 2006 3:10 pm

ung wrote: I have the same problem. Visual confirmation is turned on. Account must be activated by admin. But the entries in the memberlist are still to be deleted - even if the account is not activated.

Any ideas how to prevent entries in the memberlist before the account is activated?

Is there a way to delete multiple members with a single click?


Similar situation to me but the advice given so far is of little use as my forum don't even have the "Visual confirmation" option 8O .

I have to remove three or four self-promotional types manually every day and would really appreciate some advice on how to get around this.
St. Ives.

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69222
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Post by KevC » Thu Apr 20, 2006 3:23 pm

St.Ives wrote: Similar situation to me but the advice given so far is of little use as my forum don't even have the "Visual confirmation" option 8O .


Either your phpbb version is (very) out of date, or your template was written before VC was introduced and not updated accordingly.

You can add VC to it though by doing this
http://www.phpbb.com/phpBB/viewtopic.ph ... ght=visual
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

jhb8426
Registered User
Posts: 4
Joined: Fri May 07, 2004 4:14 am
Location: Mpls, MN

Post by jhb8426 » Thu Apr 20, 2006 3:47 pm

Is there a hack to get around/defeat the visual confirmation for registration? The forum I am on still gets 5-6 bogus registrations a week from the profesional board spammers. I checked out two of them on google and they are registered on literally hundreds of forums all within the same day. That's not to say all of these boards are using VC, but it has to be a spam bot doing this.

Chagrined
Registered User
Posts: 18
Joined: Thu Mar 31, 2005 4:58 am

Post by Chagrined » Thu Apr 20, 2006 4:16 pm

When phpBB was first introduced, it was probably a good idea to add new registration requests directly to the user table. Now, however, because of these spammers it would probably be a good idea to have a temporary holding tank for new users and not add them to the user table until they've completed the registration confirmation process.

In this way, none of these junk registrations would ever show up in the memberlist.

aziz2598
Registered User
Posts: 36
Joined: Thu Sep 30, 2004 9:58 pm

Post by aziz2598 » Thu Apr 20, 2006 5:14 pm

You could put a notice on registration page in red that website urls will not be displayed on memberlist unless account is activated.

Then on memberlist.php you change:

** Note, I did not write the complete line (just the begining, do not erase the rest of the line just edit where I edit ***

around line 170, find:

Code: Select all

$sql = "SELECT username, 

// change to

$sql = "SELECT  user_active, username, 
around line 263:

Code: Select all


$www_img = ( $row['user_website'] ) ?
$www = ( $row['user_website'] ) ?

// change to

if($row['user_active'] != '0'){
      $www_img = ( $row['user_website'] ) ?
      $www = ( $row['user_website'] ) ?
}

that takes care of memberlist page, you might also consider the view profile page, its easier:

on line 155 find:

Code: Select all


$www_img = ( $profiledata['user_website'] ) ?
$www = ( $profiledata['user_website'] ) ?

//change to

if($profiledata['user_active'] != '0'){
      $www_img = ( $profiledata['user_website'] ) ?
      $www = ( $profiledata['user_website'] ) ?
}
Hope this helps

Peace,

~AJK~
Registered User
Posts: 1807
Joined: Fri Feb 03, 2006 7:19 pm
Location: Not sure anymore

Post by ~AJK~ » Thu Apr 20, 2006 5:17 pm

You may want to read this thread: Fight the spam registration bots!
If the solutions posted above worked can you add [SOLVED] to beginning the subject of your first post to help others? Click on the "EDIT" button next to your FIRST post in the thread.
Click the following: Help for Newbies | Support Request Template
No PM's Please

User avatar
Deceptakon
Registered User
Posts: 658
Joined: Sat May 28, 2005 12:31 pm

Post by Deceptakon » Thu Apr 20, 2006 5:17 pm

Click on "Fighting spam bots " link in my signature.

It will help 8)

EDIT:
Dang, late again :lol:

St.Ives
Registered User
Posts: 2
Joined: Thu Apr 20, 2006 2:44 pm
Location: Ireland
Contact:

Post by St.Ives » Mon Apr 24, 2006 11:47 am

Sorry for this late reply but thanks to everyone for your responses. Much to work on so I'll get stuck in. :)
St. Ives.

Locked

Return to “2.0.x Support Forum”