Skip to Content Skip to Menu

User display of CBSubs subscription history?

  • cpaschen
  • cpaschen
  • OFFLINE
  • Posts: 328
  • Thanks: 42
  • Karma: 9
7 years 11 months ago #287556 by cpaschen
Is there a way (a tab or something) that I can add to allow users to view their CBSubs transactions history?

I've got the 'Subscription' tab published and working properly, but that appears to only display active subscriptions and the upgrade options.
Will historical (old subscription) data be displayed there once a subscription expires (or is renewed)?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
7 years 11 months ago #287559 by nant

cpaschen wrote: Is there a way (a tab or something) that I can add to allow users to view their CBSubs transactions history?

I've got the 'Subscription' tab published and working properly, but that appears to only display active subscriptions and the upgrade options.
Will historical (old subscription) data be displayed there once a subscription expires (or is renewed)?


Nope - no such feature.

2 workarounds I can think of:

1. Just let them see their past invoices from their tab
2. Do a CB query field that actually finds these in the relevant CBSubs table (sorry I have no idea which ones exactly - you would have to investigate and experiment).

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

  • cpaschen
  • cpaschen
  • OFFLINE
  • Posts: 328
  • Thanks: 42
  • Karma: 9
7 years 11 months ago #287585 by cpaschen
Replied by cpaschen on topic User display of CBSubs subscription history?

1. Just let them see their past invoices from their tab


That would be a great work-around.

Any tips how to do that?

I'd also be fine with #2 ... but how do I create my own custom tab (or display a module within a CB Profile)? Are there any tutorials or examples?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
7 years 11 months ago #287586 by krileon
Replied by krileon on topic User display of CBSubs subscription history?

That would be a great work-around.

Any tips how to do that?

That should be the case by default. If not then within CBSubs > Settings > Display > Invoices ensure "Show invoices" is set to "Yes" then adjust "Show in user profile subscription tab invoices of last" as needed.

I'd also be fine with #2 ... but how do I create my own custom tab (or display a module within a CB Profile)? Are there any tutorials or examples?

#2 was referring to using CB Query Field to query the database for this information and display it however you like using HTML. Tutorials for CB Query Field can be found below, but this is a pretty complex usage as you'll need to become familiar with CBSubs database tables.

www.youtube.com/playlist?list=PLp0puRITgC7MM9iP9FooKB1qk8f5MLWVp

Specifically the below video is probably most relevant in this usage.



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 or Create an account to join the conversation.

  • cpaschen
  • cpaschen
  • OFFLINE
  • Posts: 328
  • Thanks: 42
  • Karma: 9
7 years 11 months ago #287594 by cpaschen
Replied by cpaschen on topic User display of CBSubs subscription history?
AHH ... yes it is automatic (to display the invoices) ... EXCEPT when the subscription is a free subscription.
SORRY for not catching that sooner (that I was testing with free subscriptions).

Also, sorry for not reading the option 2 more clearly. That CBQuery has some huge potential for cool functionality within tabs!

I keep finding cool new features with CB.

Thanks for a great extension - keep up the great coding (and thinking about my needs before I think about them :-) )
The following user(s) said Thank You: nant, krileon

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

  • activha
  • activha
  • ONLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
7 years 11 months ago #288194 by activha
Replied by activha on topic User display of CBSubs subscription history?
I come back on this subject as we moved displaying user subscription from tab to a single page, using a menu item.

In this case, the invoice link is not displayed any longer at the end of the plan page. Is it possible to add it again ? or is there a workaround to get a menu item with the invoice page (better for users)?

thanks
Jean

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

Moderators: beatnantkrileon
Powered by Kunena Forum