Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: Coyote Keith on December 10, 2021, 04:48:10 PM

Title: Can't activate accounts [2.1]
Post by: Coyote Keith on December 10, 2021, 04:48:10 PM
I just noticed I can't manually activate new accounts or ones that have had an email change. Verified on my upgraded site as well as a clean install site. Can someone else please verify the issue? See image below.. the activate link.

Thanks, Keith

You cannot view this attachment.
Title: Re: Can't activate accounts
Post by: Doug Heffernan on December 10, 2021, 04:53:19 PM
Quote from: Coyote Keith on December 10, 2021, 04:48:10 PMI just noticed I can't manually activate new accounts or ones that have had an email change. Verified on my upgraded site as well as a clean install site. Can someone else please verify the issue? See image below.. the activate link.

Thanks, Keith

What happens if you click the activate account link?

What version are you using? The one downloaded from here or from the nightly install?
Title: Re: Can't activate accounts
Post by: Coyote Keith on December 10, 2021, 05:07:04 PM
I'm using the downloaded version. If I click activate it takes me to the Awaiting Approval tab.
Title: Re: Can't activate accounts
Post by: Doug Heffernan on December 10, 2021, 05:23:58 PM
Quote from: Coyote Keith on December 10, 2021, 05:07:04 PMI'm using the downloaded version. If I click activate it takes me to the Awaiting Approval tab.

I just tried this and I can reproduce it as well. It looks like a bug. I will have to check out the relevant code though to be sure.

In meanwhile, you can approve members from the acp.
Title: Re: Can't activate accounts
Post by: Coyote Keith on December 10, 2021, 05:47:40 PM
What's the acp?

I did take care of one account but I did it through phpmyadmin
Title: Re: Can't activate accounts
Post by: Dzonny on December 10, 2021, 05:52:58 PM
acp is admin control panel, or just admin panel :)
Title: Re: Can't activate accounts
Post by: Doug Heffernan on December 10, 2021, 06:16:36 PM
Quote from: Coyote Keith on December 10, 2021, 05:47:40 PMWhat's the acp?

I did take care of one account but I did it through phpmyadmin

As mentioned above, acp stands for admin control panel. Making changes to the db directly is not recommended btw, although in this case it was a simple thing. A word of advice if I may, whenever you do edits to the database directly, make a backup of it first. Like that, if things do not go according to plan, you can always roll/revert back.
Title: Re: Can't activate accounts
Post by: Coyote Keith on December 10, 2021, 06:44:23 PM
Got it. Thanks for all the help.
Title: Re: Can't activate accounts
Post by: Aleksi "Lex" Kilpinen on December 11, 2021, 01:54:36 AM
If someone could confirm if this issue is actually a bug, and if it's still valid for current code on Github, I would appreciate it. We could then move this and make a bug report on it :)
Title: Re: Can't activate accounts
Post by: Shades. on December 11, 2021, 06:33:13 PM
Quote from: Aleksi "Lex" Kilpinen on December 11, 2021, 01:54:36 AMIf someone could confirm if this issue is actually a bug, and if it's still valid for current code on Github, I would appreciate it. We could then move this and make a bug report on it :)
I have just successfully activated test accounts in ACP on two separate installs from the downloads from here, one modded that I've been using and one fresh install. No problems activating new accounts with either! ;)  8)
Title: Re: Can't activate accounts
Post by: Doug Heffernan on December 12, 2021, 08:07:48 AM
Quote from: Aleksi "Lex" Kilpinen on December 11, 2021, 01:54:36 AMIf someone could confirm if this issue is actually a bug, and if it's still valid for current code on Github, I would appreciate it. We could then move this and make a bug report on it :)

I looked at the relevant code and as far as I could see everything was fine. It is strange as the activation is still not working for me from members profiles though.
Title: Re: Can't activate accounts
Post by: Aleksi "Lex" Kilpinen on December 12, 2021, 08:38:01 AM
I've gone ahead and moved this to the bugs board for now - It seems to me like there might be an issue there, but we just haven't been able to pinpoint it just yet.
Title: Re: Can't activate accounts [2.1]
Post by: ozp on January 20, 2022, 10:10:46 AM
In 2.1 the activation link in the members profile is just a link into the admin panel, from where you can activate the account.
Though it is opening the wrong "tab". Awaiting approval instead of Awaiting activation.
Title: Re: Can't activate accounts [2.1]
Post by: shawnb61 on November 27, 2022, 08:26:05 PM
I see @ozp fixed this a while back - looks like 2.1.2.

Thanks, @ozp !