merc Quick Account Switch [Paid] [Deleted]

  • Thread starter Thread starter ragtek
  • Start date Start date
Status
Not open for further replies.
R

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

With this add-on your users can link to other accounts(e.g. couples using different accounts on the same forum, or for authors using an universal news account for the news....)

You can also allow your users, that they can see who linked to there account.
View attachment 27033
View attachment 27031

View attachment 27036




Read more about this resource...
 
Excellent idea and very handy for club posters. Does this add-on require a "framework" ?
 
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!

Excellent idea and very handy for club posters. Does this add-on require a "framework" ?
 
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?
 
I have Quick Account Switch enabled only for Admins, and they will get the 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?
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
 
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!
 
Hey Ragtek always the same bug in file status check ;)
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
 
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
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>
 
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>
no, this won't work, but i'm having some plans for this.
should be ready next week:)
 
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?
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!
 
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!
this should be possible with the changes (back to original account) in 1.3 (which will be released today)
 
Status
Not open for further replies.
Top Bottom