CB Subscriptions ACL

15 years 10 months ago #65777 by undoIT
CB Subscriptions ACL was created by undoIT
The Subscriptions plugin will be very useful for setting up user permissions at the time of registration. Such ACL functionality has been sorely lacking with Joomla. I'm curious, will it be possible to limit access to specific functions via PHP? For example, if I want to limit displaying a bit of code to a user subscripition level would it be possible to do something like this:

[code:1]<?php $user=& $config->getUser();
if ($user->cb_subscription == "Gold Member" ) {
echo "Show me the goodies";
} ?>[/code:1]

This would provide very granular control for ACL. Looking forward to the RC.

:)

Please Log in to join the conversation.

15 years 10 months ago #65811 by KurtSteiner
Replied by KurtSteiner on topic Re:CB Subscriptions ACL
:) The dev team does a great and outstanding job with pushing CB1.2 and subscription in parallel.

the early versions of paidsub shown an amazing potential of possibility´s to give access related to a subscription plan.

Related to the fantastic feature set, the effort for developing testing bugfixing testing developing loop is amazing too :S

I´m sure that we all give standing ovation when it will be released. Untill then, we have to waiit paitently:whistle:



btw.
please don´t ask for a release date :angry:

sunny regards from Germany

BERND (Kurt Steiner)

Please Log in to join the conversation.

15 years 10 months ago #65840 by undoIT
Replied by undoIT on topic Re:CB Subscriptions ACL
I already have CB1.2 RC up and running on a site and it is fantastic. I've looked into JACL, but it lacks the ability to set user permission level during registration. Also, checked out Mambocharge which isn't that great and has a commercial license.

I have two projects where CB subs would help bring in more income by offering premium subscriptions at the time of registration. The first one I started developing over a year ago but haven't launched yet.

Very excited that this is going to be available and glad that I will be able to give more back to the community that has helped me build the websites I've been working on :)

Please Log in to join the conversation.

15 years 10 months ago #65855 by ehits
Replied by ehits on topic Re:CB Subscriptions ACL
undoIT wrote:

[code:1]<?php $user=& $config->getUser();
if ($user->cb_subscription == "Gold Member" ) {
echo "Show me the goodies";
} ?>[/code:1]

Do we have to say "Show me the goodies"

or can we use our own text?

Please Log in to join the conversation.

15 years 10 months ago #65857 by undoIT
Replied by undoIT on topic Re:CB Subscriptions ACL
This was just an idea for an example of possibly using the ACL system with CB subscriptions with code snippets.

It is made up and won't work, so please don't use it on your site unless you want, "Show me the goodies" showing up all over the place along with error warnings :P

Please Log in to join the conversation.

15 years 10 months ago #65865 by KurtSteiner
Replied by KurtSteiner on topic Re:CB Subscriptions ACL
ehits wrote:

undoIT wrote:

[code:1]<?php $user=& $config->getUser();
if ($user->cb_subscription == "Gold Member" ) {
echo "Show me the goodies";
} ?>[/code:1]

Do we have to say "Show me the goodies"

or can we use our own text?



Hello ehits !
wellcome to the Joomlapolis Community B)

don´t panik !

it will be cool - i promise !!!

sunny regards from Germany

BERND (Kurt Steiner)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.206 seconds

Facebook Twitter LinkedIn