News:

Wondering if this will always be free?  See why free is better.

Main Menu

Subaccounts

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

Previous topic - Next topic

sildenafil

I'm running 2.0 RC3, and just lastnight installed the sub accounts mod (using the fix someone posted.)

Now, when a new member joins or creates a sub account, I receive two emails saying the new member has joined. I'm assuming something got duplicated somewhere, but I have no idea what file to look in.

Can someone help me?

Caltan

Quote from: Mikirin on March 10, 2012, 06:12:25 PM
I've performed all of the edits and still the account switcher doesn't appear. It's also missing from quick reply.
Help?

Did you enable Subaccounts under Core Features?

Mikirin

Quote from: Caltan on March 19, 2012, 01:33:02 PM
Quote from: Mikirin on March 10, 2012, 06:12:25 PM
I've performed all of the edits and still the account switcher doesn't appear. It's also missing from quick reply.
Help?

Did you enable Subaccounts under Core Features?
Yes. I have a subaccount.
I installed a clean version of SMF and it seems to work now, odd.

NanoSector

What theme are you using? If not default, did you install the edit in that theme?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Maiden1

This mod is just what we've been looking for, but we were wondering if it was possible for PM's sent to the subaccounts to be seen on the parent account? Or forwarded to them? Or to disable PMing to subaccounts? Most of our users won't log into their subaccounts properly, just use them to post from.

Thanks for this great mod and any help you can give us.

-Milady

I'm not sure why these won't show up as links so that I can use them:

Quote
This is where you can manage your subaccounts. Depending on what your administrator has allowed, you can create and delete subaccounts, and also merge subaccounts together, turn regular accounts into subaccounts (if you can supply the correct password) and unlink subaccounts to make regular accounts.

Deleting a subaccount will transfer all of its posts, polls, topics, moderation actions, bans, and errors to the parent user.
Merging subaccounts will transfer everything from the mergee('s) to the merger

    DeleteDelete
    MergeMerge
    UnlinkUnlink
    Set as parentSet as parent
    Make (un)shareableMake (un)shareable

I'm not sure where/how to fix that. Everything else seems to be working for the most part.

Caltan

Those links use images as their anchors (subaccount_X.gif) that your custom theme seems to be missing; copy them from Themes/default/images to Themes/YourTheme/images and you should be good.

-Milady

That was exactly the problem! Thank you so much :D

babsbatgirlfan

I downloaded this and it doesnt work with SMF 2.0.2 is there a newer version??

FireDitto

Babs; you need to emulate it to the correct version so that it accepts the modification. As far as I'm aware, there is not a recent edition of it.
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Goss

So, I have my memberlist modified so that it does not display members from one particular group.  It is a group of inactive members.  However, there are also subaccounts in this inactive group.  The inactive subaccounts are still listed under each active primary account.  I want to remove the display of all subaccounts in this 'inactive' group from the memberlist.  Does anybody have an idea of how I can do this?

This is one of the queries I modified to remove the display of all members in the "inactive" group.

$request = $smcFunc['db_query']('', '
SELECT mem.id_member
FROM {db_prefix}members AS mem' . ($_REQUEST['sort'] === 'is_online' ? '
LEFT JOIN {db_prefix}log_online AS lo ON (lo.id_member = mem.id_member)' : '') . ($_REQUEST['sort'] === 'id_group' ? '
LEFT JOIN {db_prefix}membergroups AS mg ON (mg.id_group = CASE WHEN mem.id_group = {int:regular_id_group} THEN mem.id_post_group ELSE mem.id_group END)' : '') . '
LEFT JOIN {db_prefix}subaccounts AS sub ON (sub.id_member = mem.id_member)
WHERE mem.is_activated = {int:is_activated}' . (empty($where) ? '' : '
AND ' . $where) . '
AND sub.id_member IS NULL
AND mem.id_group != 22
ORDER BY {raw:sort}
LIMIT ' . $limit . ', ' . $modSettings['defaultMaxMembers'],
$query_parameters
);


I added "mem.id_group != 22" to the where statement to remove the display of all members who are in membergroup ID 22

I tried modifying all of these: LEFT JOIN {db_prefix}subaccounts AS sub ON (sub.id_member = mem.id_member)

To  this:

LEFT JOIN {db_prefix}subaccounts AS sub ON (sub.id_member = mem.id_member AND mem.id_group != 22)

I had hoped that would remove the display of inactive subaccounts, but it didn't work.

Any ideas?

FireDitto

Ugh.

I deleted a Parent account without removing the Subaccount; I don't want to delete the Sub, they get reassigned to the NPC Account (RPG forum) but because it no longer has a parent, I am unable to turn it on to share in order to re-assign it.

How can I reassign it??

Thanks ><
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Yudd

Hi,

I'm using the sub-accounts mod for SMF 2.0.2 and it works fantastically. That is, until it reaches the portal page (home page). If I try to switch an account from there, a "Not Found" error appears and I press back or go to the forum itself, the account is switched. So the issue is just that when I switch accounts from the portal, it shows the error and I'm not that SMF-savvy (in fact, I'm probably the least now that I've forgotten how to do anything), so I don't know why that is.

Here's copy of the message itself:

"Not Found

The requested URL /action=forum was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

What could be done to fix it?

NanoSector

It's missing the index.php? Part, stuff a ? Right before action=
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Yudd

Quote from: Yoshi2889 on September 16, 2012, 04:36:21 AM
It's missing the index.php? Part, stuff a ? Right before action=

Okay, how can I do that? And would I do it like: http://sitelink.net/index.php?action=forum [nofollow]? Would that solve the issue of trying to switch sub-accounts on the index page?


NanoSector

http://sitelink.net/index.php?action=forum will do.

It won't solve your problem though, someone forgot to put the ? in the code...somewhere. I have no idea where, sorry.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Yudd

Thanks.

Can anyone else help me with this? I'm not really good with codes.

CaviarDreams

#417
I have SMF 2.02, but I REALLY want this mod. What should I do? Any suggestions? Is there a way to rollback? What's the latest compatible version? Thanks. :)


EDIT:

After five hours straight of trying to manually install 2.0 RC 5, I get this error: "The package you are trying to download or install is either corrupt or not compatible with this version of SMF." Except, of course, it IS compatible. All I did was download the zip file, and upload it.



EDIT EDIT:

I got the message:

"An Error Has Occured! Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."

I followed the instructions, and now the mod is viewable under "browse packages", but I still don't know how to install it.

Shambles

Quote from: CaviarDreams on September 23, 2012, 08:02:38 PM
I followed the instructions, and now the mod is viewable under "browse packages", but I still don't know how to install it.

Solution supplied in your other topic on this matter ;)

CaviarDreams

I have installed the mod, but I can't see it, use it, or anything. I have enabled the mod in Core Features, but I still have no settings or anything. It's as if it isn't installed. :/

I have a support topic here: http://www.simplemachines.org/community/index.php?topic=487067

Advertisement: