[SOLVED] Unsuscribe button

11 years 1 week ago - 11 years 1 week ago #225310 by tonyhacks
[SOLVED] Unsuscribe button was created by tonyhacks
hi everybody,

for my first plan (Free plan) I want Hide/disallow "unsuscribe button".
Cause sometimes I have users with no plan (none) and it must be forbidden.

I saw I can put off in global settings but not in each plan.
Any idea?


Attachments:

Please Log in to join the conversation.

11 years 1 week ago #225348 by krileon
Replied by krileon on topic Unsuscribe button
Unfortunately there's no parameter to disable it on a plan by plan basis. You can however hide it using CSS. First you need to edit your plan and on the presentation tab of your plan add "no_cancel" to the "CSS class (e.g. 'cbreg_green cbreg_admin_green' ):" parameter. Then add the below CSS to your Joomla template CSS file.
.regPlansList .no_cancel .cpay_button_unsubscribe_wrapper {
	display: none;
}


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.
The following user(s) said Thank You: andrew432

Please Log in to join the conversation.

11 years 1 week ago - 11 years 1 week ago #225382 by tonyhacks
Replied by tonyhacks on topic Unsuscribe button
It's done , and it was easy, thank you for your suport!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.610 seconds

Facebook Twitter LinkedIn