News:

Join the Facebook Fan Page.

Main Menu

Subaccounts

Started by SlammedDime, November 12, 2009, 09:59:09 AM

Previous topic - Next topic

RustyBarnacle

I've looked and looked and can't find something obvious.  How do I share a subaccount?  I have made an account, I want to share it with one other person, but can't for the life of me figure it out.

Everything else works except for the drop down switcher but I've read the whole thread so I see the fix and I'll get around to putting it in eventually.

Arantor

I don't believe it works that way.

RustyBarnacle

Oh, I thought it did.  I thought that was what the whole (un)sharable thing was for.

Arantor

Don't think so. This mod works by creating actual new accounts and tying them to a parent. I think, though it's been a while, that it's to do with who can see that it's a subaccount. (Though I could be wrong.)

Certainly the description doesn't mention it.

RustyBarnacle

Cool, thanks, I guess I misread.

AnOracle

Actually, this is do-able.  From the manage subaccounts section, as the person that currently "owns" the subaccount, choose "Make (un)shareable."

As the person that's then adding the subaccount, click "Create / Link."  Enter the name and password of the account you want to link.  If it's set shareable and the password is correct, you and its current owner will be able to access it, the same as if it was your own normal subaccount.

RustyBarnacle

DOH!  Of course.  I had the buttons backwards but that makes a lot more sense.  Thanks!

FireDitto

Quote from: AnOracle on April 23, 2013, 10:47:53 AM
Actually, this is do-able.  From the manage subaccounts section, as the person that currently "owns" the subaccount, choose "Make (un)shareable."

As the person that's then adding the subaccount, click "Create / Link."  Enter the name and password of the account you want to link.  If it's set shareable and the password is correct, you and its current owner will be able to access it, the same as if it was your own normal subaccount.

Indeed! And you can share an account between several people, not just one other. We have a "group Admin" account for "site" postings, which is joined to all the team members (currently 3, was 4). It is very useful!
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

babsbatgirlfan

ok I tried to emulate the earlier version but I cannot get my subaccount mod to work also I cannot get my Users Online Today mod to work. can anyone join my site and ill admin you and look see what I have done wrong??

http://vampirethemasquraderpg.com/index.php

thank you,

Wendy

Caltan

What specifically isn't working?  Is it not installing, are you not seeing account selection dropdown, can you not add a sub account, what?

Wallaby_65

I am working on the same site as Babs.  This is what we've tried;

Went to Browse Packages, selected Advanced, emulate SMF 1.0.1
Downloaded Sub Account Mod
Attempted to install (from the page that comes up after download.
Error message received, stating that the package was not compatible with version of SMF


Other things we've tried:
Download Sub Account Mod
Emulate version 1.0.1
Went to Browse Packages - Package is there with no option to install or uninstall
Deleted Mod

Revert
Download Sub Account Mod
Emulate version 1.0.1
Went to Browse Packages - Package is there with no option to install or uninstall
Deleted Mod

I am thinking we are emulating the wrong version, but I haven't found which mod we are supposed to emulate.

Thank you in advance for your interest in our problem

~ Wallaby

FireDitto

You are correct; you're emulating the wrong version. You want to emulate 2.0 RC2 or, if you use the Update Here you need to emulate to 2.0 RC3 in order to get the mod to work.
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Wallaby_65

Quote from: FireDitto on June 12, 2013, 05:30:34 AM
You are correct; you're emulating the wrong version. You want to emulate 2.0 RC2 or, if you use the Update Here you need to emulate to 2.0 RC3 in order to get the mod to work.

Thank you very much! 

babsbatgirlfan

And thank you very much, It's ALIVE :D heh.

Now to find other nifty mods for my VTM RPG Site :)

babsbatgirlfan

Another new problem, I got the sub account mod to work, it had the drop down menu and everything, but I added the ambassador theme to my site, and lost the main drop down menu, it is only available when you go to post, is there a fix for this that's easy?? Help!!!

http://www.vampirethemasquraderpg.com

Burke ♞ Knight

Have to manually install the mod into the index.template.php of the theme.

babsbatgirlfan

Okay I need to manually install the sub-account mod into the template?? That sounds to hard lol. think I will deal with it how it is lol. its a minor issue that bugs me, if I try anything manually I think itll end up bad haha.


babsbatgirlfan

ok I looked at the tutorial, and then tried to find the area on my site, is there anyone here that would be willing to help me with it??

http://www.vampirethemasquraderpg.com

:-*

:D

Wendy

FireDitto

#459
Babs -- Stick this in a Portal PHP Block. It will NOT work on the default theme (due to the code already being installed on the theme itself), but it will work on any other theme, and means you don't have to do any edits. It creates a dropdown option within the block.

global $context, $settings, $options, $txt, $user_info, $scripturl;


$context['subaccount_dropdown'] = '';
if (!empty($user_info['subaccounts']))
{
$context['subaccount_dropdown'] = '
<form style="display: inline; margin-left: 1em;" class="smalltext" action="' . $scripturl . '?action=switchsubaccount" method="post" name="subaccount_drop" id="subaccount_drop" enctype="multipart/form-data">
<select name="subaccount" size="1" onchange="document.subaccount_drop.submit()">
<option selected="selected">' . $txt['change_subaccount'] . '</option>';
foreach($user_info['subaccounts'] as $id => $subaccount)
$context['subaccount_dropdown'] .= '
<option value="' . $id . '">' . $subaccount['name'] . '</option>';
$context['subaccount_dropdown'] .= '
</select>
<input type="hidden" name="' . $context['session_var'] . '" value="' . $context['session_id'] . '" />
</form>';
}
echo $context['subaccount_dropdown'];
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Advertisement: