Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...
Author Message
sak
Worker
Worker


Joined: Jul 06, 2005
Posts: 172

PostPosted: Sun Apr 03, 2011 3:33 pm Reply with quote

Is there a fairly simple way to make a script to automatically add a user to a usergroup upon account activation?

I want to keep my forums open/free for everyone, but we've been having some real issues with spammers lately. I can't seem to keep them away. I'm using captcha and everything, but it's not doing the trick (likely they are manually registering and then flooding the forums with spam posts with a bot later on).

I want to have a volunteer to help be able to stop a user from being able to post, but I don't want to have to go through the trouble of setting up admin accounts for people. I would rather just have all users added to a usergroup, and then when a spammer shows up, they can remove the user from the general access group and that user will no longer be able to post.

I could send someone a little money via PayPal for a solution to this.

_________________
Only registered users can see links on this board! Get registered or login! Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sun Apr 03, 2011 5:13 pm Reply with quote

Only registered users can see links on this board! Get registered or login!

Drop the files within the "html" folder into your site. Then use phpmyadmin to execute default_user_group.sql. Once installation is complete go into "Your_Account Admin -> Configuration -> Registration" and set "Default User Group" to the desired group.

If you have any questions or problems post back. You should not have any problems, but please backup all affected files and your database before trying this.

If this works out please make a small donation to this site if you are able.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
duck
Involved
Involved


Joined: Jul 03, 2006
Posts: 273

PostPosted: Sun Apr 03, 2011 11:42 pm Reply with quote

I am currious but wouldn't this solution also provide the spammer the ability to remove legitimate users access as well? I mean if all users of the default group can remove a group membership then when a spammer is signed up and added automatically to the group he has that same rights initially and I would be a littel concerned about that?
 
View user's profile Send private message
sak
PostPosted: Mon Apr 04, 2011 8:13 am Reply with quote

I believe only 1 user account (the user account set as group moderator) in addition to any administrator accounts would be able to remove someone from group membership. So this shouldn't create any new concerns.
 
duck
PostPosted: Mon Apr 04, 2011 12:28 pm Reply with quote

I am totally lost I think, I apologize. The way you said it above is you don't want to go to the trouble of setting up a bunch of admins so you want to lump everyone under a default group so the can self moderate if a spammer shows up and remove his access? But if only 1 Moderator or admins can remove him then where in lies the savings of setting up those admins?
 
Palbin
PostPosted: Mon Apr 04, 2011 4:50 pm Reply with quote

I think the best way to summarize is that we wants to make users moderators of a PhpBB group rather than giving them forum admin ability.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...

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 ©