SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

My users get the error "ERROR: Email address already registered". Why, and can I disable the check?
Why? Because the e-mail used has already been used for an account on your site either by the same person (which means they have an account already) or by someone else in which case you may need to look into it on behalf of your user.

Disable? Yes...

Applies to Xoops 2.0 only - not tested with 2.2. if it works for 2.2 please place a comment here

Obviously Xoops is structured to prevent a single user registering multiple accounts. However, there may be occasions when you (as the site admin) want to enable this, at least for a short while.

To do so, change line 103 of 'register.php' (in the root of your Xoops site) from

if ( $count ) {


to
if ( $count ) {


This will allow the same e-mail to be used twice, but not more than twice. If you wanted to allow it to be used three times, then change the 0 to 2. For four times, change it from 0 to 3, etc.

See this post for more info.


The comments are owned by the author. We aren't responsible for their content.


Login

Who's Online

140 user(s) are online (1 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 140


more...

Donat-O-Meter

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

Did you know ?

Which folder to upload after unzipping a theme file?

Random question

What are the implications of making a core hack on my system?