Skip to Content Skip to Menu

[SOLVED] [#4513] How to disable cbsubs_currencies and resulting cbsubs_history table bloat

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
9 years 1 month ago - 6 years 8 months ago #272519 by boyjahq
I use only Japanese Yen as my cbsubs currency. I have Multi-currency mode: Secondary Currency set to OFF. But the History function continues to fill up with exchange rate information. This causes the table to grow unnecessarily while filling the History with numerous records that I don't want to see. I have tried emptying the table cbsubs_currencies but it automatically fills up again with 32 different currencies and the exchange rate info continues to be constantly updated. Please tell me how to make this stop.

I am using Joomla 3.4.5 and newest CBSubs
Last edit: 6 years 8 months ago by beat. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
9 years 1 month ago #272549 by krileon
You can't disable the currency exchange rate updating at this time. We've a pending feature ticket to implement turning off updating of exchange rates in a later release.


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.

  • lousyfool
  • lousyfool
  • OFFLINE
  • Posts: 141
  • Thanks: 46
  • Karma: 5
8 years 8 months ago #278988 by lousyfool
Stumbled over this in search for what's been asked for in the thread's subject.

Obviously, there's been no development since. So, here an interim solution that works for me, and might do for others as well: use a simple Auto Action to delete the relevant rows from the history table.

Triggers: None
Type: Query
Action > Query:
Code:
DELETE FROM `#__cbsubs_history` WHERE `table_name` = '#__cbsubs_currencies';

Use a CRON job to fire it daily, and life is good. B)

However, yes, it'd be nice to have a yes/no switch for turning on/off exchange rate updating; just as it would be nice to be able to manage the currencies: e.g. setting base currency, (un-)publishing currencies, adding more/others...
Maybe one day. ;)
The following user(s) said Thank You: boyjahq, krileon

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

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
8 years 8 months ago #279133 by boyjahq
THANK YOU SO MUCH!

This will do until the logical functionality of on/off is provided.

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

  • cliffvt
  • cliffvt
  • OFFLINE
  • Posts: 180
  • Thanks: 27
  • Karma: 6
8 years 8 months ago #279815 by cliffvt
HI there

Please can you let us know whether this turn-off feature is available yet? We do not use multiple currencies and the amount of ECb etc updating is causing spikes in our server resource usage possibly at this time so it would be good to eliminate this.

Thanks

Cliff

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
8 years 8 months ago #279834 by krileon
No, it has not been implemented yet.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum