Switch Accounts isn't working

Go down

Solved Switch Accounts isn't working

Post by WolfStory on Mon 12 Jan - 10:37

I placed a code in a widget on my forum to let users switch accounts easely
This code: http://help.forumotion.com/t137292-log-in-account-switch-widget?highlight=switch+accounts

But now, when someone wants to switch and they click the 'switch user' button, nothing happens..

Can someone help me with this problem?

WolfStory
New Member

Posts : 7
Reputation : 1
Language : Nederlands

http://www.wolfstory.clicboard.com

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by Ange Tuteur on Mon 12 Jan - 21:56

Hello @WolfStory,

Have you modified or removed the {GENERATED_NAV_BAR} variable in the overall_header template ?
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by WolfStory on Tue 13 Jan - 12:09

Yes I use another nav bar
This is the website; http://www.wolf-story.com

WolfStory
New Member

Posts : 7
Reputation : 1
Language : Nederlands

http://www.wolfstory.clicboard.com

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by Ange Tuteur on Tue 13 Jan - 12:44

The script for the widget needs to access the logout link of the default navbar. Add this after your custom navbar :
Display > templates > general > overall_header Edit
Code:
<div style="display:none">{GENERATED_NAV_BAR}</div>

It'll readd the default navigation, but you wont see it. The script in the widget should then be able to find the logout href attribute again.
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by WolfStory on Wed 14 Jan - 5:44

It's working Smile Thank you!

WolfStory
New Member

Posts : 7
Reputation : 1
Language : Nederlands

http://www.wolfstory.clicboard.com

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by Ange Tuteur on Wed 14 Jan - 22:26

You're welcome ^^

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


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