1
fdeconiac
Default affecting group is not working
  • 2011/1/9 22:17

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


Hi xoopsers,

I'm just blocking with the "Default affect group"

I change the default affect group "register users" by a new one i created "mynewgroup", but new users are still affect to the group "register user"

Can someone confirm me this option in "System/Preferences/Authentication Options" is working?



Otherwise, is there a way to change this option directly in a table in the database?


Thanks for your help?

2
phppp
Re: Default affecting group is not working
  • 2011/1/10 3:00

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Have you set up corresponding authentication method before change the option?

To change XOOPS system options, search the options in the table 'config' from your Xoops database.

3
fdeconiac
Re: Default affecting group is not working
  • 2011/1/10 7:26

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


hi phppp,

I'm actually using xoops database method for autentification... Is it wrong?

I already look for this data in the table config but didn't find it. I don't know the name of the corresponding field (i tried field with the actuel value "2" for registered users without success)

Thanks for your help :)

4
phppp
Re: Default affecting group is not working
  • 2011/1/11 1:36

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


I guess your problem has nothing to do with authentication method.

What you want is when a use is registered he will be assigned to the group 'mynewgroup', right?

Which version XOOPS do you use?

5
fdeconiac
Re: Default affecting group is not working
  • 2011/1/11 7:16

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


Yes, that's it! I'm using xoops 2.5


6
fdeconiac
Re: Default affecting group is not working
  • 2011/1/11 19:25

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


Anyone to help me change the default affectation groupe during user registration ? :(

Is that even possible ?

7
phppp
Re: Default affecting group is not working
  • 2011/1/12 2:27

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Do you have any specific business logic for the specific group?
If not, perhaps it is easier to change the name of 'registered user' instead of creating a new group.

8
fdeconiac
Re: Default affecting group is not working
  • 2011/1/12 7:04

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


I just add the xincode, that allow to add a "verification code" (that i give in my association magazine), so with this verification, new users are confirmed and could be directly in a specific group.

I would like to keep my existing "register user" in case i willl need it later. I also managed my permissions already (heavy work).

I'm sure we can change the default affecting group but i don't know where ...

Thanks for your help

9
fdeconiac
Re: Default affecting group is not working
  • 2011/2/13 16:20

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


I'm still looking how to change the default group of new user...

I would like new user in the group "13"... does anyone already hack this ?

10
redheadedrod
Re: Default affecting group is not working

Quote:

fdeconiac wrote:
I'm still looking how to change the default group of new user...

I would like new user in the group "13"... does anyone already hack this ?


At this time things are hard coded to ALWAYS start out at the registered user group level.

Unless you have more than one group to choose from at registration this should be sufficient and you just need to change the name of the registered users. I do this with my system.

You can always add them to a group afterwards. I have hacked a version of xroster where an entry is tied to a user when they apply. When the application is accepted they automatically go to a default user group. If they are deleted or deactivated they automatically are dropped from that group as well. (Xroster allows offsite users to have entries but it is nice that I can allow people to log into the site and make their own entry and edit it as well. These are NOT normal xroster features and are things I added. )

If however you need to have choices to which group someone goes to you will have to hack the profile module to make this happen. Or if you don't have profile installed you will have to hack the core profile stuff. As an example, if you want a female and a male group and all the males belong to the male group and all the females belong to the female group depending on what they choose at registration this is currently NOT possible without somewhat extensive coding changes.

Rodney

Login

Who's Online

137 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits