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] List of current CB 1.9 mysql tables (for housekeeping)

  • Rik Brown
  • Rik Brown
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
11 years 3 months ago - 11 years 3 months ago #230481 by Rik Brown
Is there a list of all current Community Builder 1.9 mysql tables?

I'm going through the tables and find many of them to be empty. If they are leftover from an older installation of CB, I'd like to remove them.

Thanks. -- Rik

PS: I'm trying to write queries to synchronize between a 3rd party program & CB. It would be much easier if I knew which tables are used or not.
Last edit: 11 years 3 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago #230482 by krileon
All of them are used. You may have some CB plugin tables for a plugin that you uninstalled as CB doesn't delete database data to avoid accidental data loss, but in general all tables prefixed with _comprofiler are used. Plugin tables are usually structured as _comprofiler_plugin_PLUGINTABLE or _comprofiler_plug_PLUGINTABLE. The exception being CBSubs which is _cbsubs and GJ which is _groupjive. Additional tables are _comprofiler_provinces from CBSubs, _comprofiler_countries from CBSubs, _comprofiler_privacy from CB Privacy (old version), and _comprofiler_ratingfield_log from the rating field.

You could use CB Auto Actions with a Query action with a substitution supported query to push data to your 3rd party table or use a Code action with PHP method if your 3rd party usage has an API you can use. You could then use normal field substitutions to grab user data and push it through. You'd normally want to do this on the after profile update and after registration triggers.


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.

  • Rik Brown
  • Rik Brown
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
11 years 3 months ago #230488 by Rik Brown
Kyle:

Thanks for the detailed response which helps a lot. -- Rik

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

Moderators: beatnantkrileon
Powered by Kunena Forum