HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Master User Accounts

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#82809 (In Topic #17261)
Avatar

Fan in action

Inquiring about 'Master User Accounts' (see post for details)

Frequently in my field, users will desire multiple accounts for various purposes.

Is there some manner of creating lesser 'profiles' underneath a 'Master User Account'? I did some searching of the tutorials but failed to unearth anything on the subject.

Ideally Users would create these underneath their primary account, in essence creating multiple 'aliases' recognized by the system.

If this is something OCP can do on it's own (or something any of you have any familiarity coding in PHP yourselves) I'd appreciate any input I can get.

Regardless, thanks for reading, here's hoping something good can come out of this thread.
Back to the top
 
Posted
Rating:
#82826
Avatar

Community saint

I don't recall seeing anything like that, and I would be very surprised if it existed.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#82828
Avatar

Community saint

I don't know how to code it for OCPortal myself but I believe Lukkassu is looking for something like this: http://www.vbulletin.org/forum/showthread.php?t=217771

Metal IS Forever & We WILL Rock You 'til You Choke! Rock Babe
Back to the top
 
Posted
Rating:
#82856
Avatar

Fan in action

Yes, something like those linked accounts, thanks for the link Petrikuhr!

Regrettably my PHP mojo is virtually non-existent at this point, so it will be a while before I can try cracking that open and basing something off it for OCP.

Regardless though, having that out in the open as a starting point is useful for further discussion, so again, thanks.

EDIT: oh wow, I finally got around to reading the commentary on that mod Petrikuhr. If I were to crack it for my OcPortal site I would need sufficient PHP mojo to fix a pretty glaring security risk in the functionality of it (the very last post of that thread highlights said risk.)


Last edit: by Lukkassu
Back to the top
 
Posted
Rating:
#83144
Avatar

Fan in action

First option I think of would involve LADP or maybe HTTP sessions but do not believe this would be what you are looking/trying to do based on your explanation. 

Although! I know OCP can handle this and even within its own system. Just need to think of where I read or picked up on some possible options. Have you read any docs and support literature here at the website?

I looked quickly a second ago and did not find what I was looking for but there is somewhere extensive documentation on merging two accounts within OCP. If I think of it or find whar I am thinking of I will post back. :)

"You Can't Always Get What You Want"
Mick Jagger, Rolling Stones: 1969~Let It Bleed Album 
Back to the top
 
Posted
Rating:
#83145
Avatar

Fan in action

Second thought, what version of ocPortal are you using? Not ideal but maybe looking into a cookie(s) handling access and authentication in v8 could yield a possibility which might work? 

"You Can't Always Get What You Want"
Mick Jagger, Rolling Stones: 1969~Let It Bleed Album 
Back to the top
 
Posted
Rating:
#83146
Avatar

Fan in action

My bad, I just re-read your request and picked up on exactly what you are looking for. I assume you want this as a feature or option the user can select during the registration process? Without building a custom module to handle this request, the only options I can place are ones where you or other admin handle additional aliases on a per user/request/client bases. Basically what I had in mind involved Admin having to manually handle this a per user/client/request basis.

It's possible, but without spending an hour or two to find out that it is not, in essence, handling this manually on a per user/client bases by Admin is done when assigning Super-Member privileges. Every user which comes after the GrandWaazoo who installed OCP starts out as a regular user. Permissions and additional profiles/fields are assigned after, but even co-Admin always have a core/layer of a lessor profile/perms because the master can send anyone who came after back when ever the master chooses to do so. It sounds like perms but ocPortal handles users on other levels than just permissions like 99.99% of anything else does. Maybe OCP has the abilty to do what it is you are looking for but handled in and on a different level using permission and field?   

ocPortal could handle what you ask, but it will take someone to create and develop it for your install. Not sure what the developers here at ocPortal would say but I know for me it would consist of at least a week or maybe two filled with anger, blank facial expressions and countless having to get up and get away from the PC sessions. LOL :lol: But I assume around week 5, maybe week 4 and not feeling week 3, a custom solution could mustered up. 

An idea might be to maybe check with Drupal, but I am not even feeling this and if I was to contemplate developing this within a budget and CMS, ocPortal would be on top of the list as it is THE most configurable  yet comes out secure and professional, CMS-ERP-CRM-WXYZ package on the open source market.

Best best is to contact the ocPortal developers team directly. ;) 


Scratch all that, have you read this any of this following to see if configuration within OCP's user management system could work for you?




I know someone a year or so back was doing something like this and their request was similar to yours, but maybe running two sites, side by side, by side at the same time directing clients who need this ability to 



Couldnt qoute the following so I brought it with:



As AEF does not support configurable cookie paths, it is necessary to modify the code to get it to correctly share cookies…

code changes

[AEF installation directory/folder]/main/login.php need the following changes:
- line 324: @setcookie($globals['cookie_name'].'[loguid]', $row['id'], (time()+(60*60*24*365)));
 to be changed to: @setcookie($globals['cookie_name'].'[loguid]', $row['id'], (time()+(60*60*24*365)), '/');

- line 327: @setcookie($globals['cookie_name'].'[logpass]', $logpass, (time()+(60*60*24*365)));
 to be changed to: @setcookie($globals['cookie_name'].'[logpass]', $logpass, (time()+(60*60*24*365)),'/');

[AEF installation directory/folder]/main/logout.php need the following changes:
- line 66: @setcookie($globals['cookie_name'].'[loguid]', "", (time()-(60*60*24*365)));
 to be changed to: @setcookie($globals['cookie_name'].'[loguid]', "", (time()-(60*60*24*365)), '/');

- line 69: @setcookie($globals['cookie_name'].'[logpass]', "", (time()-(60*60*24*365)));
 to be changed to: @setcookie($globals['cookie_name'].'[logpass]', "", (time()-(60*60*24*365)), '/');

[AEF installation directory/folder]/main/sessions.php need the following changes:
- line 148: @setcookie($globals['cookie_name'].'[aefsid]', $id);
 to be changed to: @setcookie($globals['cookie_name'].'[aefsid]', $id, 0, '/');

ocPortal will need a cookie path of "/" for this to work, and a blank cookie domain.





Also check this following out for anything which may fit.

The Staff Member Divide: 

http://ocportal.com/docs/tut_staff.htm


Could you by chance share with us what it is that your clients gain with this extra user account? Maybe ocPortal could achieve what it is you are looking for ,but by doing it from another direction?  





Last edit: by Captain Kirk

"You Can't Always Get What You Want"
Mick Jagger, Rolling Stones: 1969~Let It Bleed Album 
Back to the top
 
Posted
Rating:
#83785
Avatar

Fan in action

Thank you for your efforts Kirk.

First, I will be using OCP 8. I'm only just now building the website and playing with the configurations in a WAMP to see how far I can push it before I make the move to host the site.

My 'clients' (somewhat stretching the word, being that I'm building an OCP-powered Play by Post roleplaying game) would gain the ability to have separate user profiles tied to a single account for roleplaying purposes. They would sign into their primary account, the 'master account' so to speak, but could choose whichever profile they desired for posting purposes (with the 'User Name', avatar, and signature that goes with it.)

This would, naturally, also apply to private messages. The players would see all private messages addressed to all of their 'profiles' and would be able to reply to them without logging out and back in.

I've actually done a LOT of research on this system before I chose it, and I love what can be done with OCP. I wouldn't have made this thread if I had found an option in the core system, although it's always possible I missed it.

I have to apologize for abandoning this thread for a while, when it died for a few days I sort of gave up hope.

The reason I came back, actually, was because I DID come up with a possibility, and I was wondering if anybody with experience with OCP coding might be able to advise me in this (or at least help me formulate a feature request.)


In OCP, there is a function that allows administrators to post as any existing member.

Is there a possibility this feature could be adapted to allow user accounts to 'assign themselves under another user account' to give this privilege to it?


Thanks again for all the input guys, I really appreciate it.
Back to the top
 
Posted
Rating:
#83799
Avatar

Hi,

The short (but unhelpful I'm afraid) answer is that would require some expert coding, and it's very specialist, so you're unlikely to find a solution on the forum.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#83838
Avatar

Fan in action

Yeah, I figured it was a long shot. Even so, there's no harm in holding the discussion to its conclusion and seeing what else people have to say. There's a chance someone else has already begun working on something along these lines.

PHPBB3, Simple Machines Forum, MyBB and Jcink forums all have a sub-accounts mod of some kind, so I know it's totally doable. But… you guys made OcForum too awesome (and integrated too many of OCP's awesome subfeatures into OcForum) for me to just choose to integrate one of them :P

I'm actually digging up the code of as many of these mods (most of which are on open source forums) as I can find as we speak. I figure if nothing else, some satellite OCP programmers frequent the forum and might offer their services to help adapt something to OCP.


Last edit: by Lukkassu
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: