The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Account Switch (Widget) Issue

4 posters

Go down

Account Switch (Widget) Issue Empty Account Switch (Widget) Issue

Post by Eyeball April 21st 2019, 9:31 am

Good Evening, and Happy Easter!

I have an issue with the Account Switcher widget that was found https://help.forumotion.com/t118184-switch-accounts-widget?highlight=Switch+Characters though the widget shows up and it allows me to enter my information, it simply loops without activating any switch to the current account and remains on the account that was previous logged into.

When entering the account information of the account I am attempting to switch to, it redirects me to my forum main page.

Any suggestions on how this might be fixed?

Current widget code:
Code:
<form name="form_login" method="post" action="/login" style="display:inline">
   <table cellpadding="0" cellspacing="0" border="0"><tbody></tbody>
      <tr style="">
         <td>
            Username:
         </td>
         <td>
            <input style="width: 100px;" value="" onfocus="this.value=''" name="username" size="10" class="forminput" type="text" />
         </td>
      </tr><tbody></tbody>
      <tr style="">
         <td>
            Password:
         </td>
         <td><input style="width: 100px;" value="" onfocus="this.value=''" name="password" size="10" class="forminput" type="password" />
         </td>
      </tr><tbody></tbody>
   </table><input value="Switch User" name="login" class="forminput" type="submit" /> <br /><br />
</form>

Forum address: http://fukitsuna-clan.forumotion.com
Eyeball
Eyeball
Forumember

Male Posts : 43
Reputation : 1
Language : English

http://fukitsuna-clan.forumotion.com/

Back to top Go down

Account Switch (Widget) Issue Empty Re: Account Switch (Widget) Issue

Post by Ape April 21st 2019, 10:10 am

Hello and happy Easter to you also.

Can i ask was this only installed today or was this some thing that was working before and has just stopped working?

I am asking this as we have found that some codes are no longer working and need to be updated by the member that made them.

As the Widget was not made by Forumotion it is not anything we give full support for but one of us may have  the skills to rework the code or at least try.


Account Switch (Widget) Issue Left1212Account Switch (Widget) Issue Center11Account Switch (Widget) Issue Right112
Account Switch (Widget) Issue Ape_b110
Account Switch (Widget) Issue Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19123
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Account Switch (Widget) Issue Empty Re: Account Switch (Widget) Issue

Post by Eyeball April 21st 2019, 4:31 pm

@APE
This was only just installed the night before, we have not had it on the forum previously.
Perhaps this is one of those codes that do not work with the forum as you have mentioned.
Would you have any particular members in mind that could possibly rework such a code?
Eyeball
Eyeball
Forumember

Male Posts : 43
Reputation : 1
Language : English

http://fukitsuna-clan.forumotion.com/

Back to top Go down

Account Switch (Widget) Issue Empty Re: Account Switch (Widget) Issue

Post by SLGray April 21st 2019, 8:35 pm

Is your forum version ModernBB?  That code was for an Invision forum.


Account Switch (Widget) Issue Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51493
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Account Switch (Widget) Issue Empty Re: Account Switch (Widget) Issue

Post by Asciugamano April 21st 2019, 9:13 pm

Not sure if I can answer here, but to save some time:
Forum version doesn't matter here. <:
This code still sends a POST request, but nowadays you need to send the data not in the request body, but as a query. Also, you should logout before.

https://help.forumotion.com/t137292-log-in-account-switch-widget#927262
Here is a working code of such a widget. It sends first a logout request and then the correct login request. Users won't really notice this though (since it happens in the background).
Asciugamano
Asciugamano
New Member

Posts : 8
Reputation : 5
Language : German, English, Italian, French

Back to top Go down

Account Switch (Widget) Issue Empty Re: Account Switch (Widget) Issue

Post by Ape April 22nd 2019, 1:15 pm

The one who could maybe help you is @Thecrow but i know he is really busy but maybe if he logs on then he could take a look.

Sadly I don't know much about the codes side of things so i can't really help.


Account Switch (Widget) Issue Left1212Account Switch (Widget) Issue Center11Account Switch (Widget) Issue Right112
Account Switch (Widget) Issue Ape_b110
Account Switch (Widget) Issue Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19123
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum