1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

merc Quick Account Switch [Paid] [Deleted]

Discussion in 'Add-on Releases' started by ragtek, Mar 14, 2012.

Thread Status:
Not open for further replies.
  1. ragtek

    ragtek Guest

    ragtek submitted a new resource:

    merc Quick Account Switch (version 1.2) - This modification gives users the ability to easily switch between linked accounts

     
  2. gordy

    gordy Well-Known Member

    Excellent idea and very handy for club posters. Does this add-on require a "framework" ?
     
  3. ragtek

    ragtek Guest

    no;)
    I've removed it from this add-on


    people didn't like this, so i had to remove the dependency:(
    Now we have to deal again with ugly copy & paste code, but who cares..:p
    There are some plans for automatic included helper files but ATM non other add-on is required to install this!

     
    gordy likes this.
  4. ragtek

    ragtek Guest

  5. giorgino

    giorgino Well-Known Member

    Hey ragtek and for us premium user? No update? :(
     
  6. ragtek

    ragtek Guest

    giorgino and yavuz like this.
  7. Archet

    Archet Member

    I have Quick Account Switch enabled only for Admins, and they will see the Quick Account Switch in the navbar. However, when switched to accounts that are not admins, the link doesn't show and there is no easy way to switch back to admin.

    From what I can see, the only way to make the link visible is to enable "Can use Quick Account Switch" for registered, moderators, premium etc which defeats the purpose of having admins only access.

    Is there a way to make the Navbar link show only if your account is actually linked?
     
    ragtek likes this.
  8. ragtek

    ragtek Guest

    Hm.

    You're right. That's ATM not possible because of the reason you've described.

    I#ll check if it's possible to have a "switch back to original account" permission
     
    Archet likes this.
  9. gldtn

    gldtn Well-Known Member

    Ragtek, I also have a situation where I would like to know if it's possible to be implemented or if it's already possible, what settings should I use.. I have a user account where I allow all my moderator to link there account to so they can post under this certain user.. The problem with the way it is now is that if this certain account is linked back to each individual moderator, each moderator will have access to each other account. Is there a way to restrict this some how?

    Thanks!
     
  10. giorgino

    giorgino Well-Known Member

    Hey Ragtek always the same bug in file status check ;)
     
  11. ragtek

    ragtek Guest

    I can't reproduce this.

    I've created a clean xf test installation, installed this add-on and some additional for other tests and run the file health check => everything was ok:)

    If you want, i'll check it in your installation
     
  12. giorgino

    giorgino Well-Known Member

    On my server error 500
    You've a MP ;)
     
  13. Markos

    Markos Well-Known Member

  14. Archet

    Archet Member

    Any news on this? I can't use the addon without it. Alternatively, is there a workaround solution I can use while waiting for an update?

    Was thinking of maybe use conditionals to only show the link to certain user ID's. How would I go about doing that? I have tried this, but it didn't work:

    HTML:
    <xen:if is="in_array({$visitor.user_id}, array(1, 2, 3, 29, 26, 23, 31, 17, 28, 27))">
     
    <li class="navTab qus Popup PopupControl PopupClosed">
     
        <a href="{xen:link qus/GetAccounts}" rel="Menu" class="navLink NoPopupGadget"><span class="accountswitch"><img src="images/account_switch.png" align="center" /></span>{xen:phrase ragtek_qus_switchAccount}</a>
     
        <div class="Menu JsOnly navPopup" id="QUSMenu2"
            data-contentSrc="{xen:link 'qus/getAccounts'}"
            data-contentDest="#QUSMenu2 .listPlaceholder">
     
    <div class="menuHeader primaryContent">
    <h3>
    <span class="Progress InProgress"></span>
    <a href="{xen:link account/alerts}" class="concealed">{xen:phrase ragtek_qus_linkedAccounts}</a>
    </h3>
    </div>
     
    <div class="listPlaceholder"></div>
     
            <div class="sectionFooter">
                <a href="{xen:link account/Qus}">{xen:phrase ragtek_qus_manageAccounts}</a>
            </div>
        </div>
     
    </li>
     
    <xen:elseif>
     
    </xen:if>
     
  15. ragtek

    ragtek Guest

    no, this won't work, but i'm having some plans for this.
    should be ready next week:)
     
  16. ragtek

    ragtek Guest

    ok have it:)

    qus.PNG
     
    Markos and Archet like this.
  17. Archet

    Archet Member

  18. ragtek

    ragtek Guest

    until the feature is included (i've finished it, but i've given it to some other coders for testing and reviewing, to be sure that it's 100% secure and nobody could hack and use this to log in with other accounts he's not allowed! ) you can use the USER PERMISSIONS (not group permissions! ) to allow using the quick account switch add-on!
     
    Archet likes this.
  19. ragtek

    ragtek Guest

    this should be possible with the changes (back to original account) in 1.3 (which will be released today)
     
    Archet and gldtn like this.
  20. ragtek

    ragtek Guest

    Archet likes this.
Thread Status:
Not open for further replies.

Share This Page