CBSubs plan CSS classes

1 year 6 months ago #331008 by activha
Replied by activha on topic CBSubs plan CSS classes
Hi Kyle
Coming back on these it seems like these triggers do not act on a plan already subscribed but only on offered plans.
What I meant earlier was trying to change the buttons behavior of plans already subscribed to allow only mods to unsubscribe users.
Is there any trigger acting on subscribed plans retrieved by ids and allowing to change the buttons output ?
Thanks

Please Log in to join the conversation.

1 year 6 months ago #331012 by krileon
Replied by krileon on topic CBSubs plan CSS classes
onCPayBeforeDrawSomething works with existing subscriptions. CBSubs Family Plans uses it to add its share subscription button for example. It has a $controlButtons variable which is the HTML of the already processes buttons and is the only way to modify them. This was explained in my below reply.

www.joomlapolis.com/forum/developer-members-support/244524-cbsubs-plan-css-classes?start=0#327337

There is no easy way to do what you're wanting. We already have a feature ticket to review per-plan unsubscribe support and will also look into adding some access permissions to it (e.g. moderator only unsubscribe). It is at the top of my TODO list after I'm done with CB Activity 6.0.0 (I cannot keep pushing its development due to other tasks I'm sorry).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.345 seconds

Facebook Twitter LinkedIn