Skip to Content Skip to Menu

[SOLVED] Unsuscribe button

  • tonyhacks
  • tonyhacks
  • OFFLINE
  • Posts: 30
  • Thanks: 1
  • Karma: 1
11 years 7 months ago - 11 years 7 months 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:
Last edit: 11 years 7 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
11 years 7 months 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.
Code:
.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 or Create an account to join the conversation.

  • tonyhacks
  • tonyhacks
  • OFFLINE
  • Posts: 30
  • Thanks: 1
  • Karma: 1
11 years 7 months ago - 11 years 7 months ago #225382 by tonyhacks
Replied by tonyhacks on topic Unsuscribe button
It's done , and it was easy, thank you for your suport!
Last edit: 11 years 7 months ago by tonyhacks.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum