Support » Plugin: Church Community Builder Core API » Won’t Save API Settings

  • Resolved gregmattison

    (@gregmattison)


    Hi, now that the plugin is working (Thanks!), I’ve entered the proper settings from our CCB in the API Settings page but it won’t save. Each time I save it, the subdomain field is cleared out and it isn’t saved. It then says, “Please enter your Church Community Builder subdomain.” The subdomain is the-vineyard. I put in a fake subdomain and it saved but of course the test credentials doesn’t work. I can’t get it to work with our correct subdomain. Thanks for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jared Cobb

    (@jaredcobb)

    Hi Greg,

    I see the problem. I wasn’t aware that CCB issued subdomains that could include dashes. (I have some validation that happens in the plugin and it assumes that letters and numbers are the only valid characters).

    I can get an update published in a few hours. I’ll reply once the update is available (and you’ll be able to update the plugin from within the Plugins page in your dashboard).

    Thanks for catching this bug!

    Plugin Author Jared Cobb

    (@jaredcobb)

    Hi Greg,

    This should now be fixed in the latest version (1.0.2). Let me know if you run into any problems.

    Jared, super awesome, it’s working now. Thank you! When it saved a username without a dash, I figured that was the issue.

    Now, I have all the events synced from our CCB to our site. However, it created a new Events section in WordPress but the theme already has an events calendar. I would like the CCB events to synch directly into that Events calendar. How can I do that? Thank you!

    Plugin Author Jared Cobb

    (@jaredcobb)

    Hi Greg,

    This is actually something that the plugin doesn’t do by default, however it’s certainly possible with some customization. It sounds like your theme has already defined some custom post types, but without seeing the theme’s code it’s hard to say.

    In any case, it should be possible to integrate the data with your theme using the filters available in the plugin (specifically the ccb_core_synchronizer_post_api_map filter). That’s the filter that will allow you to customize the configuration of “where” events get mapped to. (i.e. instead of the default post type that the plugin provides, you should be able to map it to your theme’s event post type).

    Thanks again Jared, your responsiveness is awesome. This level of coding is probably above my pay grade. 🙂 I’ll see if I can take a swing at it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Won’t Save API Settings’ is closed to new replies.