Strange Activation Email Problems...Help!

Started by frankiejr, January 15, 2005, 01:32:49 AM

Previous topic - Next topic

frankiejr

Okay, I'll try to keep this short and to the point. I've looked over the forum and couldn't find any similar problems. Please forgive me if I missed something.

I installed Mambo. I installed SMF. I installed the bridge. Everything worked perfectly. I registered a name through the registration and it worked perfectly. At one point, while building the theme, I changed activation to Immediate through SMF but NOT through Mambo. This is when the problem started.

First, everything has been reset now. Both Mambo and SMF have the registration set to Member Activation.

it does something very strange. When you register for a new account, you get redirected to a page saying the account was created and to check your email to activate your account. Clicking on the email brings up the proper page, saying the account was activated.

Now, when I try to log in with that account, it says it's not activated. Looking at the account through Mambo, it says it's active. Looking at it through SMF says it's not activated.

Here's the strange part. When i click on the link to resend an activation email, it does, and upon clicking on the link I am sent to a page that says there's an error, and that the account has already been activated. BUT...then the account works properly.

Strange, or what?

Does anyone know what the heck is going on? Is this a problem that anyone else has had? I'm about at my wit's end, and I don't really want to go through all the trouble of uninstalling/reinstalling SMF and the bridge just to see if that works.

Any ideas?

Thanks in advance,
.frankiejr

Edit: oops, almost forgot this:
Mambo 4.5.1a
SMF 1.0
Bridge 2.11stable

Edit #2: Reading another post in this forum, chadness said:

"Part of the installation of the bridge is to turn off the Mambo registration and Login modules and install the new ones."

I did not do this manually, and don't recall this being in the installation instructions. I just looked them over and couldn't find anything about it. What did I miss? Did he just mean turning off the modules, or turning off registration entirely?

Orstio

QuoteFirst, everything has been reset now. Both Mambo and SMF have the registration set to Member Activation.

it does something very strange. When you register for a new account, you get redirected to a page saying the account was created and to check your email to activate your account. Clicking on the email brings up the proper page, saying the account was activated.

Now, when I try to log in with that account, it says it's not activated. Looking at the account through Mambo, it says it's active. Looking at it through SMF says it's not activated.

The bridge uses Mambo's activation settings, not SMF's.  You were correct to set Mambo to user activation, and to set SMF to immediate registration.

This confusion will be gone in the next version.  It will work regardless of what type of registration you set in SMF.

frankiejr

Nope, that didn't do the trick.

Now, when I try to register, it just says "An Error Has Occurred!"

This is with the following settings using Bridge 2.11stable:

Mambo 4.5.1a:
  Allow User Registration: Yes
  Use New Account Activation: Yes

SMF 1.0:
Method: Immediate Activation
Notify administrators when a new member joins: Yes
Require reactivation after email change: No
Send welcome email to new members: No

If I set both to Immediate activation, it works fine. Right now, when I get the error message, it adds the user to Mambo but NOT to SMF.

If it worked before, but doesn't now, could it be an issue with the theme editing I did?

I'll reinstall the default theme & bridge (but not the forum itself) and see if that helps. I'll start it now and let you all know how it goes.

Thanks,
.frankiejr

frankiejr

Okay, reinstalling the bridge worked. I just deleted both components and the module and reinstalled them.

I then replaced the mod_smf_login.php with the one I modified before, and the problem did not come back. *phew*

I really don't know what caused it since I'm not familiar with the way all the code works together, but my less-than-edumacated guess is that somehow I screwed it up by not setting the SMF forum to immediate activation before trying to register.

I did register one person successfully before this problem arose, but I think I might have just activated it through Mambo.

But thanks to Orstio's mentioning that setting, I'm on my way to finishing this thing.

Thanks!
.frankiejr

frankiejr

Okay, another update:

I had some more problems, and I figured out what the problem was.

In Mambo, if you set " Require Unique Email:" to "No" it clashes with the way com_smf_registration works. This wasn't a setting I was planning on keeping, I was just using it for development so it was easier to mess around with different accounts at the same time.

So that's that...just wanted to doc that in case anyone else runs into the same problem.

.frankiejr

Advertisement: