Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] CBSubs SQL Actions

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
11 years 6 months ago - 11 years 6 months ago #224344 by nphic
[SOLVED] CBSubs SQL Actions was created by nphic
Folks,

We went through a migration from J1.5 to J2.5. As part of this migration, we changed the Joomla database table prefixes. I have a significant number of SQL statements to change in my CBSubs Plans. What I am trying to do is to use Nonumber DBReplace to replace these table prefixes. This will save me a ton of time and ensure I do not miss anything. What database tables are the SQL statements that are in the SQL Actions integration tab of Plans stored?

Thanks for the help!
Joe
Last edit: 11 years 6 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #224349 by krileon
Replied by krileon on topic CBSubs SQL Actions
I don't suggest doing that and suggest editing them by hand, but at any rate they're stored in the integrations column of _cbsubs_plans. For future reference do not use the actual database prefix in your queries as you can use #__ and it'll do the prefix replacement automatically for you.


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.

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
11 years 6 months ago #224364 by nphic
Replied by nphic on topic CBSubs SQL Actions
Kyle,

AWESOME! Thank you! Making the change.

Thanks again,
Joe

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

Moderators: beatnantkrileon
Powered by Kunena Forum