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.


where in ocportal backend I can manage usergroups?

Login / Search

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

Fan in action

Hi there,

I have a paid membership website. As well as using the OCportal membership system for cool stuff like the forum, comments and user polls, I also have a 3rd party membership script that registers users but in regards the payment side of things.

I have asked the 3rd party membership software people to develop a plug in so that when a new user creates an account in their software at payment, automatically the user account is simultaneously created in the OCportal membership system also.

I have given them access to my OCportal admin but have asked "where in ocportal backend we can manage usergroups?"
I thought they might have been able to figure this out, but I think they need a hand where to look to see if the customization/integration is possible.

Thanks people!









Back to the top
 
Posted
Rating:
#102695
Avatar

Community saint

This page has some details of the ocPortal functions specific to adding, editing, and deleting usergroups and members: ocPortal API documentation

More API and framework documentation can be found at ocPortal Code Book - ocPortal.com

I'll assume they're going to do a plugin for their own membership script that runs within the framework of their own software instead of a plugin that runs within the ocPortal framework. I wouldn't recommend it unless they are going to run the ocPortal specific usergroup and member functions from within the ocPortal framework. I'm not sure how, or even if it is possible, to load up the ocPortal framework in a 3rd party script to make use of those ocPortal usergroup and member functions. They may need to create a module addon for ocPortal to act as a bridge between ocPortal and their membership script. It would be possible to look at the source code of the ocPortal usergroup and member functions, sidestep the ocPortal framework altogether, and recreate those functions within their own framework to update the ocPortal database directly from their own framework. But if an ocPortal update changes any of those functions or modifies the database structure, that would likely break their plugin and possibly corrupt your ocPortal usergroup and member database tables.

Just make sure the developers of the membership script do things in a way that won't break your site next time you upgrade ocPortal.
Back to the top
 
Posted
Rating:
#102708
Avatar

Fan in action

Thanks Jason, your reply has really helped!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: