Exclusive eBooks, Software Solutions, Quality Guaranteed
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00


ForumsPlus » DragonflyCMS Projects » AccountPlus » [done] add user to group on Registration
[done] add user to group on Registration
Upgrade of Your Account module.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  Community » AccountPlus

View previous topic :: View next topic  
Author Message
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 27, 2007
Posts: 35

PostPosted: Thu Dec 24, 2009 3:18 pm    Post subject: [done] add user to group on Registration

Can we get a feature to add the new user to a specified group when they register? this would make controlling forum permissions a bit easier we could take away individual abilities. Thanks

Initiated by Bugger (Original Entry) - Comments Here Please.

_________________
DizWebDesign
Class 2 and 3 Dealers Directory

Dizfunkshunal please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1335
Location: Netizen
PostPosted: Thu Dec 24, 2009 10:43 pm    Post subject: Re: add user to group on Registration

Individual forum permissions can be controlled at group level but it operates on the basis of access rather than denial of access.
  • forums must have all or most authorisation levels set to PRIVATE (or higher, like MOD and ADMIN) so that access is controllable by groups
  • then you edit the "New" Group for each authorisation level for each forum
  • all registrations are assigned to the "New" group via this new feature.
  • to remove a user's access you would remove him from the "New" group
However you will need a different group for every single different combination of those levels.
i.e. view, read, post, reply, edit, delete, vote etc.

The other way to control privileges is within the user table but then it is only at a global level, and since it requires changes to core, I avoid it.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.9 / 5.0.67 / 5.2.5 / 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 27, 2007
Posts: 35

PostPosted: Sat Dec 26, 2009 10:18 pm    Post subject: Re: add user to group on Registration

If i can add users to a group upon registration the forums support individual user settings for each action that is set to private. I want to make a group that would act like the REG does now but say a user abuses his posting rights. I can take him out of that group.

Actually come to think of it. How hard would it be to set forum permissions at registration? Say if any forum action(post, reply, edit, etc.) are set to private. When a user registers they are given permission to post,etc. by default then if needed admin can just go into user permissions in forum admin and disable there ability to post or other actions.

_________________
DizWebDesign
Class 2 and 3 Dealers Directory

Dizfunkshunal please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1335
Location: Netizen
PostPosted: Sun Dec 27, 2009 12:17 pm    Post subject: Re: add user to group on Registration

Yep, understood Diz - what I listed above will do that, in conjunction with the group being assigned at registration.

Quote::
How hard would it be to set forum permissions at registration?
Almost impossible without a radical, major overhaul of the whole user/forum/block/module system.
Currently best done by groups, per my previous post.
You can define a range of groups for different permutations of view, read, post, reply etc. and that will give you some options to play with.

User level controls are via the users table, like allow avatar and allow pm, but they are global. You could add extra user controls like can_post, allow_sig etc. but they would apply to all forums - that's a whole different ball game and it's a core table that I prefer to avoid, for now.

Nano has already done some groundwork on such a radical overhaul of the whole permissions system but it is a massive task.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.9 / 5.0.67 / 5.2.5 / 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 27, 2007
Posts: 35

PostPosted: Sun Dec 27, 2009 9:48 pm    Post subject: Re: add user to group on Registration

ok cool thanks

_________________
DizWebDesign
Class 2 and 3 Dealers Directory

Dizfunkshunal please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1335
Location: Netizen
PostPosted: Thu Dec 31, 2009 1:13 am    Post subject: Re: [wip] add user to group on Registration

This ForumsPlus enhancement will do most of what you want for registered users:
nukebiz.com/Forums/viewtopic/t=673/


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.9 / 5.0.67 / 5.2.5 / 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
radiogetswild
Nice Poster
Nice Poster

Offline Offline
Joined: Aug 29, 2006
Posts: 78

PostPosted: Fri Jan 15, 2010 2:11 am    Post subject: Re: [wip] add user to group on Registration

Hi there

I found this on Espen website I think its what you might be looking for, as a new member joins they are auto added to a group here below is the write up on this..

here is the page download link mod.krypinn.net/index....tails&id=1

cheers Tim

AutoUsers is a autologin-module based on the incomming url. You can make standard users for the theme and usergroup with the access to those modules you want.
If you include the url for the content page, you can make an automatic redirect also.

All restirction to content must be done as standard DF setup
- Diffrent access for diffrent users must be controlled by usergroups

MODIFICATIONS TO DF-Core
- Added a new group-type to groupmanagement. This allow admin to set up preset usergroup where all new users automaticly becomes a member of.
- Changed Your_Account for autousers not beeing able to access the acount settings.

How is this working?
- When a user come to your site with the 'Referer url'.
- He will then be redirected to the page/module of your choice.
- Only users from a approved 'Refered from' url will be accepted.
- All autousers is counting the approved hits.
- All autousers is updatert with the last unautorised url.
- Controlpanel for create, edit, copy, test, and activate autousers.
- Customised header/footer for each autousers loginpage.

This way other users comming directly to your site will not be able to access this part of your site.
Even if the use the same url, they will be refused sins the referer is checked.


radiogetswild's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL Version 5.0.45 PHP Version 4.4.7 apache is 1.3.39 Dragonfly 9.2.1 windows Vista
Back to top
View user's profile Visit poster's website Yahoo Messenger
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 27, 2007
Posts: 35

PostPosted: Fri Jan 15, 2010 5:05 am    Post subject: Re: [wip] add user to group on Registration

Thanks. I don't edit core files tho. If i start doing that i will go crazy with it and then upgrading DF would be a nightmare. I have had to upgrade core modified sites before for others and its not fun.

_________________
DizWebDesign
Class 2 and 3 Dealers Directory

Dizfunkshunal please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1335
Location: Netizen
PostPosted: Fri Jan 15, 2010 6:00 am    Post subject: Re: [wip] add user to group on Registration

Never fear - I have a policy of leaving core files alone - the change will be simple and will be achieved without all that mess.

_________________


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.9 / 5.0.67 / 5.2.5 / 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1335
Location: Netizen
PostPosted: Mon Jan 25, 2010 2:42 am    Post subject: Re: [edit] add user to group on Registration

Done - just requires selection of a group in members config and it happens automatically whenever a member is activated - simple upgrade of AccountPlus, available in downloads.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.9 / 5.0.67 / 5.2.5 / 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  Community » AccountPlus
Page 1 of 1
All times are GMT



Jump to:  


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 cannot attach files in this forum
You cannot download files in this forum