xoops forums

albogenius

Just popping in
Posted on: 2011/7/12 16:40
albogenius
albogenius (Show more)
Just popping in
Posts: 32
Since: 2010/12/9
#1

HELP with user registration.

Hi I have moved the xoops becouse of host problem to an another one.
Now everybody who will register in the website is administrator!!!
Wha have been changed?
Pleas help

Mamba

Moderator
Posted on: 2011/7/12 20:44
Mamba
Mamba (Show more)
Moderator
Posts: 10779
Since: 2004/4/23
#2

Re: HELP with user registration.

Quote:
What have been changed?

This should not happen, if you properly transferred the XOOPS installation to another host.

How did you do it? What did you change?

For the time being, till it is resolved, go to:

/modules/system/admin.php?fct=preferences&op=show&confcat_id=2

and set "Allow new user registration?" to No

Now to a root-cause possibilities:

1) It's possible that you've changed the "Registered Users Group" and gave them access to the System Admin Rights

2) It's possible that you've changed in the mainfile.php the designation of each group, which normally should be:

define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');

E.g., if right now it is:

define('XOOPS_GROUP_USERS', '1');

then switch it back to

define('XOOPS_GROUP_USERS', '2');
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

iHackCode

Module Developer
Posted on: 2011/7/13 3:52
iHackCode
iHackCode (Show more)
Module Developer
Posts: 1036
Since: 2004/6/29
#3

Re: HELP with user registration.

xoops version number and any profile modules?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

albogenius

Just popping in
Posted on: 2011/7/13 7:57
albogenius
albogenius (Show more)
Just popping in
Posts: 32
Since: 2010/12/9
#4

Re: HELP with user registration.

Thank you mamba.
I have forget to integrate my yogurt module to userinfo.php
thats why have come this error.

iHackCode I'm using xoops 2.0.18.2 My profile modules is just yogurt 3.3. RS
Also I have and the newest protector.

P.S can someone give me a good xoops .httpaccess that i can put in every folder:)
I have found one for joomla but not and for xoops.

For xoops I have just one using to protect userinfo and user.
Also and one other for mygallery.
If there is an another standard what is blocking good pleas share it.

Thanks in advance
Money is the wise man's religion

Mamba

Moderator
Posted on: 2011/7/13 9:02
Mamba
Mamba (Show more)
Moderator
Posts: 10779
Since: 2004/4/23
#5

Re: HELP with user registration.

Quote:
I have forget to integrate my yogurt module to userinfo.php
thats why have come this error.

I'm glad that this has been resolved
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

albogenius

Just popping in
Posted on: 2011/7/13 12:25
albogenius
albogenius (Show more)
Just popping in
Posts: 32
Since: 2010/12/9
#6

Re: HELP with user registration.

Yes now is ok.
Just the last question about good .httpaccess code.
Do you have any good?
Thanks in advance

/BR
albogenius
Money is the wise man's religion

ddmaxwell

Just popping in
Posted on: 2011/7/14 14:13
ddmaxwell
ddmaxwell (Show more)
Just popping in
Posts: 15
Since: 2011/7/14
#7

Re: HELP with user registration.

This should not happen, if you properly transferred the XOOPS installation to another host.

How did you do it? What did you change?

For the time being, till it is resolved, go to:

/modules/system/admin.php?fct=preferences&op=show&confcat_id=2

and set "Allow new user registration?" to No

Now to a root-cause possibilities:

1) It's possible that you've changed the "Registered Users Group" and gave them access to the System Admin Rights

2) It's possible that you've changed in the mainfile.php the designation of each group, which normally should be:

define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');

E.g., if right now it is:

define('XOOPS_GROUP_USERS', '1');

then switch it back to

define('XOOPS_GROUP_USERS', '2');

Nice one pal, thanks for the info!!