solved Subscription Profile Access

SoftDesigns
SoftDesigns
@softdesigns
6 years ago
242 posts
I read you can sell subscription to a quota, not sure how that works, since only one user per quota.
--
We hope to use profile domains to offer a way to have specific module features on a profile, with its own domain name.
--
Can user1 in quota-A, subscribe to Profile2 in quota-B? User1 still is in quota-A, but can see and use features on Profile2 in quota-B.

How we would setup subscription access to a Profile something like in the above scenario?
updated by @softdesigns: 12/20/18 05:14:32AM
michael
@michael
6 years ago
7,746 posts
The concept behind "sell subscriptions to a quota" is this:
user1 has ProfileA in quota_basic.

User1 purchases a subscription and gets upgraded to quota_level1 which also has access to the Audio module. Now User1 can upload his songs to his profile.
SoftDesigns
SoftDesigns
@softdesigns
6 years ago
242 posts
Ok, If I understand this, something like:

From your example: Must clone lower level quota_basic, then include all items in quota_basic + additionally the Audio module in higher quota_level1

- One User can only be in One Quota
- If site has many different features to sell, cannot pick and choose, rather all features should be in a single quota.
- Can only sell access to quotas, not access to profiles.

Seems there is no direct way to sell access to a specific profile?
paul
@paul
6 years ago
4,331 posts
If you have a mix of features you want users to be able to subscribe to, then you'll need to have multiple subscription quotas -

Subscription Quota 1 - Users can upload audio
Subscription Quota 2 - Users can upload video
Subscription Quota 3 - Users can upload audio and video
etc.

You can then set appropriate subscription prices for each quota.

Quote: Seems there is no direct way to sell access to a specific profile?
This sentence is telling. Are you really wanting to give subscribed users access to specific profiles? If so, that can be done with simple template modifications.


--
Paul Asher - JR Developer and System Import Specialist
SoftDesigns
SoftDesigns
@softdesigns
6 years ago
242 posts
@paul - Thanks for your further clarification.
Quote: Are you really wanting to give subscribed users access to specific profiles? If so, that can be done with simple template modifications.

We are considering, instead of selling "quota" access, rather selling access to specific custom coded profiles.
Great news that you said this is possible! This shows the power of the JR platform :)

If we want to move forward with this idea, sounds like we would pay CUSTOM coding work from your team to make this happen...

Great Support - Status = Closed
paul
@paul
6 years ago
4,331 posts
All it would be is three lines of code in the skin profile_header template.
Let me know when and I’ll tell you how to do it :-)


--
Paul Asher - JR Developer and System Import Specialist
SoftDesigns
SoftDesigns
@softdesigns
6 years ago
242 posts
paul:
All it would be is three lines of code in the skin profile_header template.
Let me know when and I’ll tell you how to do it :-)

@paul - Wow, ok! Is the code to enable a profile for subscription access really that simple?
--
If you don't mind then, please go ahead and post the profile_header template code you mentioned below:
--
Great Support -:) Status = Study and Testing...
paul
@paul
6 years ago
4,331 posts
All I was thinking was to put the profiles being subscribed to in a quota with ID=x, build a Not Authorised page (with SiteBuilder, say), then if ID y is the subscription quota, add this code to the top of the profile_header template -

{if $profile_quota_id == 'x' && (!jrUser_is_logged_in() || $_user.profile_quota_id != 'y')}
    {jrCore_location("`$jamroom_url`/not_authorised")}
{/if}



--
Paul Asher - JR Developer and System Import Specialist
SoftDesigns
SoftDesigns
@softdesigns
6 years ago
242 posts
@paul - Cool, I can see your logic clearly. Since this idea is still in early stages, it will take some time to get everything setup for testing your code above. Will keep your above code in mind for future, after we get closer to testing subscriptions.
--
Closing this for now, but may re-open in future...
--
Great Support -:) Status = Study and Testing...

Tags