TenthPres / TouchPoint-WP

A WordPress Plugin for integrating with TouchPoint Church Management Software.
GNU Affero General Public License v3.0
2 stars 2 forks source link

Add Campuses #78

Closed jkrrv closed 1 year ago

iamandrewpeters commented 1 year ago

Hi! I see campuses in the backend settings, and that it should be imported as a taxonomy. Should these auto show on the an involvement's archive? Like small groups should have the Campus taxonomy by default? Or is there some step we are missing to accomplish that?

jkrrv commented 1 year ago

Hello! Campuses aren't fully implemented yet. We're a single-campus church, so I haven't had a ton of motivation to finish that. Though, hearing that there's someone interested is good motivation, so I'll work on it soon.

iamandrewpeters commented 1 year ago

Awesome sauce! I appreciate that. :) The church we are working with just started using Touchpoint, so this was definitely a God send. Happy to send our dev site. I’d never heard of TP before this, so I’m diving in a bit to learn. On May 11, 2023 at 3:40 PM -0400, James K. @.***>, wrote:

Hello! Campuses aren't fully implemented yet. We're a single-campus church, so I haven't had a ton of motivation to finish that. Though, hearing that there's someone interested is good motivation, so I'll work on it soon. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

jkrrv commented 1 year ago

What church are you working with? I'd be happy to see the dev site, and do let me know if you have questions.

iamandrewpeters commented 1 year ago

Hey! It’s dev.rockbridge.cc. Sent from my iPhoneOn May 11, 2023, at 3:50 PM, James K. @.***> wrote: What church are you working with? I'd be happy to see the dev site, and do let me know if you have questions.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

jkrrv commented 1 year ago

@iamandrewpeters : I expect this will be deployed in an update late this week. The plugin update should pop up in WordPress in the usual plugin-update ways.

iamandrewpeters commented 1 year ago

Awesome sauce man. Very appreciative! Sent from my iPhoneOn May 21, 2023, at 9:05 AM, James K. @.***> wrote: @iamandrewpeters : I expect this will be deployed in an update late this week. The plugin update should pop up in WordPress in the usual plugin-update ways.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

iamandrewpeters commented 1 year ago

Alrighty. I see that this was closed. But I'm not seeing anything in the interface or the wiki about adding this filter to involvements.

jkrrv commented 1 year ago

@iamandrewpeters Sorry for the delayed response. Make sure you're on version 0.0.31. The updates should come through the automatic process; let me know if it doesn't. Then, Settings > TouchPoint WP > Basic Settings. Check the box for "Enable Campuses" and save. Once you enable campuses, go to to the Involvements settings tab, and there should be a Campus option under the "Default Filters" setting.

iamandrewpeters commented 1 year ago

@jkrrv Made a quick video as well. Campus filter is there, and selectable, but it doesn't seem to save the value?

https://www.loom.com/share/b6fbcffa99ed44c8b0337241b6314323?from_recorder=1&focus_title=1

iamandrewpeters commented 1 year ago

This error went away but then came back. Fatal error still. [22-Jun-2023 21:45:23 UTC] CLIENT -> SERVER: An error of type E_ERROR was caused in line 1252 of the file /var/www/dev.rockbridge.cc/htdocs/wp-content/plugins/TouchPoint-WP-master/src/TouchPoint-WP/TouchPointWP.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/dev.rockbridge.cc/htdocs/wp-content/plugins/TouchPoint-WP-master/src/TouchPoint-WP/TouchPointWP.php:1252

On Jun 22, 2023 at 5:46 PM -0400, Andrew Peters @.***>, wrote:

Gotcha. There is no auto update available, but I have downloaded it from Git and installed it. Caused a fatal error it seems. Seeing this.

 Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/dev.rockbridge.cc/htdocs/wp-content/plugins/TouchPoint-WP-master/src/TouchPoint-WP/TouchPointWP.php on line 1252 Call stack:

  1. tp\TouchPointWP\TouchPointWP::registerTaxonomies() wp-content/plugins/TouchPoint-WP-master/src/TouchPoint-WP/TouchPointWP.php:717
  2. tp\TouchPointWP\TouchPointWP::init() wp-includes/class-wp-hook.php:308
  3. WP_Hook::apply_filters() wp-includes/class-wp-hook.php:332
  4. WP_Hook::do_action() wp-includes/plugin.php:517
  5. do_action() wp-settings.php:623
  6. require_once() /var/www/dev.rockbridge.cc/wp-config.php:117
  7. require_once() wp-load.php:55
  8. require_once() wp-admin/admin.php:34
  9. require_once() wp-admin/options-general.php:10

On Jun 22, 2023 at 12:46 PM -0400, James K. @.***>, wrote:

@iamandrewpeters Sorry for the delayed response. Make sure you're on version 0.0.31. The updates should come through the automatic process; let me know if it doesn't. Then, Settings > TouchPoint WP > Basic Settings. Check the box for "Enable Campuses" and save. Once you enable campuses, go to to the Involvements settings tab, and there should be a Campus option under the "Default Filters" setting. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

jkrrv commented 1 year ago

@iamandrewpeters I'm having a bunch of trouble trying to replicate this, but I think I've found the issue, and it should be fixed here: touchpoint-wp.zip

The fact that your plugin install directory is TouchPoint-WP-master rather than touchpoint-wp makes me wonder if you installed a zip of the repo, rather than the build. It should mostly work either way, but the build should auto-update, use minified js files, and should work with WP's native i18n (if you use that). So, you'll probably need to uninstall the existing before reinstalling this.

Let me know if you have other errors. Since replication is tricky, I'm not sure what else you'll encounter.

iamandrewpeters commented 1 year ago

Alrighty. I reinstalled, checked off the campus box, regenerated and submitted the scripts, and checked the box in the involvement.

No luck though. https://dev.rockbridge.cc/smallgroups On Jun 23, 2023 at 12:12 AM -0400, James K. @.***>, wrote:

@iamandrewpeters I'm having a bunch of trouble trying to replicate this, but I think I've found the issue, and it should be fixed here: touchpoint-wp.zip The fact that your plugin install directory is TouchPoint-WP-master rather than touchpoint-wp makes me wonder if you installed a zip of the repo, rather than the build. It should mostly work either way, but the build should auto-update, use minified js files, and should work with WP's native i18n (if you use that). So, you'll probably need to uninstall the existing before reinstalling this. Let me know if you have other errors. Since replication is tricky, I'm not sure what else you'll encounter. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

jkrrv commented 1 year ago

Found the problem. I created issue #140 so I can track it better. But, I'll try to get an updated release to you later tonight.

Sorry this has been such a rough experience for you. I really thought I had been better about catching bugs than this!

iamandrewpeters commented 1 year ago

You’re awesome man. I just saw that issue was closed. I’ll grab the release when it’s made! On Jun 28, 2023 at 10:05 AM -0400, James K. @.***>, wrote:

Found the problem. I created issue #140 so I can track it better. But, I'll try to get an updated release to you later tonight. Sorry this has been such a rough experience for you. I really thought I had been better about catching bugs than this! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

jkrrv commented 1 year ago

You may have seen the latest release: https://github.com/TenthPres/TouchPoint-WP/releases/download/v0.0.32/touchpoint-wp.zip

It should auto-update, though WordPress only checks for plugin updates once every 12 hours.