MyBB Community Forums

Full Version: Enhanced Account Switcher 2.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hello! I have a few issues I hope I can get some help on Smile

1) My accounts are not showing up in the header. I've enabled "Account list shown in header" and this is what my header looks like ->
[Image: SS1.png]

2) Because of the issue above, I'm not sure how to allow users to switch back and forth between accounts without logging out and logging back in.

3) When users go to post "change user" comes up next to their name. If they click on it, it logs them out. However, down near the submit button is the option to switch users. Is there a way to move this?
[Image: SS2.png]
[Image: SS3.png]
Your theme seems to differ considerably from MyBB's default theme, hence the template changes weren't applied at installation.

1. The variables {$menu_accountlist} (behind the memberlist link) and {$pm_switch_notice} (behind the pm notice) belong in the header template.

2. The code <!-- AccountSwitcher -->{$as_header}<!-- /AccountSwitcher --> belongs in the template header_welcomblock_member

You also can check the function accountswitcher_apply_template_edits() in the file inc/plugins/accountswitcher/as_admincp.php for all template changes the plugin requires to work properly.

3. The "Change User" link in your last image is MyBB default and has nothing to do with the account switcher.
Thank you so much for your quick reply - that fixed it all!
I did have one more thing - the {$menu_accountlist} option sends a link to an accountlist.php page that is blank.
Could you send me your forum url and a test account, if you want me to have a look at it?
I seem to have run into another problem. This was working FABULOUS, then I switched my forum to a new site...and now it doesn't work. It allows you to connect accounts, however switching from one to the other just loads the same page with a # at the end and no switch in account.

http://www.beqanna.com/forum if you'd like to look for yourself
There are javascript errors on your site. It looks like they are caused by a missing file: images/vienna/jquery.tipsy.js
These errors could also cause the account swticher to stop working.
(2015-03-04, 09:24 AM)doylecc Wrote: [ -> ]There are javascript errors on your site. It looks like they are caused by a missing file: images/vienna/jquery.tipsy.js
These errors could also cause the account swticher to stop working.

That fixed it! You are the best!
What about the option that allows you to change the user after a post has been made? I have it enabled on my ACP, but it doesn't give an option when you edit the post to change users.
By default you can open the dropdown menu for it by clicking the small arrow behind your username in postbit.
The arrow image seems missing in your theme.
http://beqanna.com/forum/mages/arrow_down.png

You can either upload an image named arrow_down.png to your "images" folder or change the image in the template accountswitcher_author_button
(2015-03-05, 06:25 PM)doylecc Wrote: [ -> ]By default you can open the dropdown menu for it by clicking the small arrow behind your username in postbit.
The arrow image seems missing in your theme.
http://beqanna.com/forum/mages/arrow_down.png

You can either upload an image named arrow_down.png to your "images" folder or change the image in the template accountswitcher_author_button

The arrow is showing up when I see it? http://beqanna.com/forum/images/arrow_down.png
My question is this - say you have Account A and Account B. Account A makes a post, but they meant to make it under "Account B." So they click on "edit post" and there's no option to switch to Account B.
Pages: 1 2 3