Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
pizzafiend
New Member
New Member



Joined: Jan 21, 2008
Posts: 19

PostPosted: Thu Jul 17, 2008 2:38 pm Reply with quote

I'm running phpnuke 7.6.3.5b and I've been downloading, editting and importing the phpBB tables from stopforumspam.com and discovered today that it's all been for nothing - registration via the phpnuke registration does not check those tables.

Is there a way to implement this without using the phpBB registration?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Jul 26, 2008 11:08 pm Reply with quote

Just turn the forum registration configuration setting to None and use the nuke registration function.
 
View user's profile Send private message
pizzafiend







PostPosted: Sun Jul 27, 2008 3:27 pm Reply with quote

I've got account activation set to None in phpBB admin, and am using the nuke registration. The problem is that it allows usernames in the nuke_bbdisallow table to register.

How can I get nuke registration to disallow usernames, shy of using Sentinel string blocker?
 
Raven







PostPosted: Sun Jul 27, 2008 5:55 pm Reply with quote

Edit modules/Your_Account/index.php. In function userCheck() you should see a line of code like this:

if (eregi("^((root)|(adm)|(linux)|(webmaster)|(admin)|(god)|(administrator)|(administrador)|(nobody)|(anonymous)|(anonimo)|(anĂ³nimo)|(operator))$",$username)) $stop = "<center>"._NAMERESERVED."</center>";

Just add the names that you want to disallow.
 
pizzafiend







PostPosted: Sun Jul 27, 2008 10:01 pm Reply with quote

With something like 19,000 usernames, Sentinel it is then... Confused

Thanks!
 
Raven







PostPosted: Mon Jul 28, 2008 12:31 am Reply with quote

19,000 names seems a bit over the top, wouldn't you say? If that is really the case then I would use Your_Account/index.php and rewrite the routine to load them into a separate table and then do an indexed lookup
 
pizzafiend







PostPosted: Mon Jul 28, 2008 7:51 am Reply with quote

Yes it is. I think I'll try to implement the API at http://www.stopforumspam.com/apis.

Thanks again!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©