Linked Accounts

Redirect after account switching. - Linked Accounts

Redirect after account switching.

by niftysmith » Wed Dec 26, 2018 1:50 am

Is there a way to set the page to which the extension redirects to upon switching accounts? It seems to redirect to a blank page instead of last page visited or the index page or whatever.

If I wanted to point it to the last page viewed, is that possible?
niftysmith
Registered User
Posts: 23
Joined: Wed Mar 28, 2018 3:24 pm
Contact:

Re: Redirect after account switching.

by Flerex » Wed Dec 26, 2018 8:27 pm

In theory, the extension should redirect to the same page you were in by default. This looks like something is not working like it should. Can you please check you have the latest version of the extension installed?
User avatar
Flerex
Registered User
Posts: 99
Joined: Sun Oct 14, 2012 8:35 pm
Location: Galicia, Spain
Name: Flerex
Contact:

Re: Redirect after account switching.

by niftysmith » Wed Dec 26, 2018 9:03 pm

Image

Everything looks up to date as far as I can tell. I'm not using a Prosilver theme, but Milk v2.

When I switch accounts, even from the index, it refreshes to ../app.php/switchaccount/58 ... so I'm not sure what's up.

Let me know what you think!
niftysmith
Registered User
Posts: 23
Joined: Wed Mar 28, 2018 3:24 pm
Contact:

Re: Redirect after account switching.

by potku » Sun Oct 27, 2019 3:25 am

Hello! And thank you for a great EXT. :)

When I switch accounts, I am redirected to our main page (https://potku.net/). Our forum is at https://potku.net/forum/index.php. Is there anything I can do to change that? :)

EDIT: OK, it does that when I switch accounts on the forum index. If I am browsing a topic, it gives me a blank page, like OP.
Potku.net

"Before I speak, I have something important to say."

- Groucho Marx
User avatar
potku
Registered User
Posts: 859
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland
Contact:

Re: Redirect after account switching.

by 3Di » Sun Oct 27, 2019 3:59 am

It works by my side under every circumstance, UCP, ACP index, viewforum, viewtopic etc..
Be sure you got the 1.2.4 version.

Edit: I see there is an issue with controllers, my topic: https://www.phpbb.com/customise/db/exte ... 51#p712351
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
πŸ‘¨β€πŸ« | Take a tour to | The Studio | πŸ‘¨β€πŸ«
User avatar
3Di
Former Team Member
Posts: 14356
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Redirect after account switching.

by Flerex » Sun Oct 27, 2019 11:41 am

Will be working on a fix ASAP.

Sorry for the inconvenience.
User avatar
Flerex
Registered User
Posts: 99
Joined: Sun Oct 14, 2012 8:35 pm
Location: Galicia, Spain
Name: Flerex
Contact:

Re: Redirect after account switching.

by Flerex » Sun Oct 27, 2019 3:08 pm

Should be fixed in 1.3.0. Will be available in a few minutes in the repository.
User avatar
Flerex
Registered User
Posts: 99
Joined: Sun Oct 14, 2012 8:35 pm
Location: Galicia, Spain
Name: Flerex
Contact:

Re: Redirect after account switching.

by potku » Mon Oct 28, 2019 10:46 am

I can confirm this has been fixed with the latest release. Thank you! :)
Potku.net

"Before I speak, I have something important to say."

- Groucho Marx
User avatar
potku
Registered User
Posts: 859
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland
Contact:

Re: Redirect after account switching.

by Flerex » Mon Oct 28, 2019 5:34 pm

Image
User avatar
Flerex
Registered User
Posts: 99
Joined: Sun Oct 14, 2012 8:35 pm
Location: Galicia, Spain
Name: Flerex
Contact: