WP-Plugins/glm-member-db-contacts.git
7 years agoUpdates for management of contact roles.
Steve Sutton [Thu, 26 Apr 2018 20:38:13 +0000 (16:38 -0400)]
Updates for management of contact roles.

To be able to modify the wordpress user role and contact_role.

7 years agoMerge branch 'develop' into customFields
Steve Sutton [Thu, 29 Mar 2018 14:41:42 +0000 (10:41 -0400)]
Merge branch 'develop' into customFields

7 years agoMove the add_filter for employees into commonHooks.php
Steve Sutton [Thu, 29 Mar 2018 14:40:49 +0000 (10:40 -0400)]
Move the add_filter for employees into commonHooks.php

This allows access to this hook on the front end.

7 years agoMerge branch 'develop' into customFields
Steve Sutton [Fri, 23 Mar 2018 19:19:34 +0000 (15:19 -0400)]
Merge branch 'develop' into customFields

7 years agoFilter for getting employees.
Steve Sutton [Fri, 23 Mar 2018 19:18:35 +0000 (15:18 -0400)]
Filter for getting employees.

Employees being the other members that a member contact can update.

7 years agoMerge branch 'develop' into customFields
Steve Sutton [Thu, 22 Mar 2018 17:46:25 +0000 (13:46 -0400)]
Merge branch 'develop' into customFields

7 years agoUpdate how the member contact are being listed.
Steve Sutton [Thu, 22 Mar 2018 17:42:55 +0000 (13:42 -0400)]
Update how the member contact are being listed.

Fixing an issue with contacts with no email address. This happens when
being imported. I have it now so if they were not imported with an email
they can still find their wordpress user and they get updated for other
member management properly.
Also updating how to pull list of contacts.
If the member has no original contact (like wmta) it will see if any
other contacts can edit that user and show them in the list.
If the member has an original contact then it will use that contact wp
users meta data to get the list of additional contact for the contact
list.

7 years agoMerge branch 'develop' into customFields
Steve Sutton [Tue, 20 Mar 2018 19:27:53 +0000 (15:27 -0400)]
Merge branch 'develop' into customFields

7 years agoUpdate to fix php notices.
Steve Sutton [Tue, 20 Mar 2018 18:23:54 +0000 (14:23 -0400)]
Update to fix php notices.

was getting notices about undefined indexes.

7 years agoDisable the submit button when using autocomplete
Steve Sutton [Thu, 1 Mar 2018 20:00:55 +0000 (15:00 -0500)]
Disable the submit button when using autocomplete

If they use autocomplete then hit the submit they get back no results.

7 years agoCheck the member for contacts that may have multiple members.
Steve Sutton [Thu, 22 Feb 2018 20:33:41 +0000 (15:33 -0500)]
Check the member for contacts that may have multiple members.

Query to get usermeta for anything that matches current memberID.
Then use that to query for any additional contacts that may be allowed
to edit the member.

7 years agoAdded GLM Members Site Manager role which combines Editor and Members Manager
Chuck Scott [Tue, 23 Jan 2018 22:00:17 +0000 (17:00 -0500)]
Added GLM Members Site Manager role which combines Editor and Members Manager

7 years agoadding search data values to the front list model for search
Anthony Talarico [Tue, 16 Jan 2018 20:59:50 +0000 (15:59 -0500)]
adding search data values to the front list model for search

sending the search values from the model to the view file for contacts list to preserve the
search in the search text field

7 years agofilter was accidentally added to wrong addon, removed and moved here
Anthony Talarico [Tue, 16 Jan 2018 20:28:30 +0000 (15:28 -0500)]
filter was accidentally added to wrong addon, removed and moved here

front hook filter for getting cities and cities associated to contacts

7 years agoadding filter for front end list and search for cities
Anthony Talarico [Tue, 16 Jan 2018 20:18:59 +0000 (15:18 -0500)]
adding filter for front end list and search for cities

getting cities by contact, returning list of cities associated with contacts for search

7 years agoMerge tag 'v1.1.4' into develop
Steve Sutton [Wed, 27 Dec 2017 15:47:37 +0000 (10:47 -0500)]
Merge tag 'v1.1.4' into develop

Version 1.1.4

7 years agoMerge branch 'hotfix/1.1.4' v1.1.4
Steve Sutton [Wed, 27 Dec 2017 15:47:31 +0000 (10:47 -0500)]
Merge branch 'hotfix/1.1.4'

7 years agoUpdate for deprecated wp function call.
Steve Sutton [Wed, 27 Dec 2017 15:46:52 +0000 (10:46 -0500)]
Update for deprecated wp function call.

Replace deprecated get_currentuserinfo with wp_get_current_user.

7 years agoMerge tag 'v1.1.3' into develop
Steve Sutton [Wed, 27 Dec 2017 14:48:39 +0000 (09:48 -0500)]
Merge tag 'v1.1.3' into develop

Version 1.1.3

7 years agoMerge branch 'release/1.1.3' v1.1.3
Steve Sutton [Wed, 27 Dec 2017 14:48:33 +0000 (09:48 -0500)]
Merge branch 'release/1.1.3'

7 years agoFor release
Steve Sutton [Wed, 27 Dec 2017 14:48:13 +0000 (09:48 -0500)]
For release

r 1.1.3

7 years agoIf user is role glm own entity manager then redirect to member dashboard
Steve Sutton [Wed, 20 Dec 2017 15:22:41 +0000 (10:22 -0500)]
If user is role glm own entity manager then redirect to member dashboard

Redirect to member dashboard if the current user belongs to the own
entity manager role.

7 years agoFilter to get contact data was using events path
Laury GvR [Mon, 18 Dec 2017 18:28:26 +0000 (13:28 -0500)]
Filter to get contact data was using events path

The filter to get contact data was using the wrong constant to
look for its path; probably due to code being copied from the
events plugin.

7 years agoAdded "read" capability to glm_members_manager, glm_members_own_entity_manager, and...
Chuck Scott [Fri, 17 Nov 2017 15:29:39 +0000 (10:29 -0500)]
Added "read" capability to glm_members_manager, glm_members_own_entity_manager, and glm_members_member_contact roles in activate.php.

To have those capabilities added to an existing system the Contacts add-on must be deactivated and reactivated.

7 years agoAdding custom fields to individual contacts profile admin pages
Laury GvR [Tue, 7 Nov 2017 19:27:36 +0000 (14:27 -0500)]
Adding custom fields to individual contacts profile admin pages

7 years agoFixed confusion with lib directory defines.
Chuck Scott [Mon, 6 Nov 2017 21:49:13 +0000 (16:49 -0500)]
Fixed confusion with lib directory defines.

7 years agoCleaned up excess whitespace.
Chuck Scott [Fri, 3 Nov 2017 13:59:36 +0000 (09:59 -0400)]
Cleaned up excess whitespace.

7 years agoadding db schema input option for import
Anthony Talarico [Thu, 2 Nov 2017 18:52:14 +0000 (14:52 -0400)]
adding db schema input option for import

adding db schema option for database imports

7 years agoContacts mgmt tabs standardized, custom-fields-friendly
Laury GvR [Wed, 25 Oct 2017 16:54:08 +0000 (12:54 -0400)]
Contacts mgmt tabs standardized, custom-fields-friendly

7 years agoRemoving references to "addNotice" function in glmPluginSupport that were causing...
Chuck Scott [Thu, 5 Oct 2017 20:02:26 +0000 (16:02 -0400)]
Removing references to "addNotice" function in glmPluginSupport that were causing problems.

7 years agoMerge tag 'v1.1.2' into develop
Laury GvR [Mon, 25 Sep 2017 16:46:10 +0000 (12:46 -0400)]
Merge tag 'v1.1.2' into develop

v1.1.2

7 years agoMerge branch 'release/1.1.2' v1.1.2
Laury GvR [Mon, 25 Sep 2017 16:46:07 +0000 (12:46 -0400)]
Merge branch 'release/1.1.2'

7 years agoVersion bump
Laury GvR [Mon, 25 Sep 2017 16:45:47 +0000 (12:45 -0400)]
Version bump

7 years agoAdded a class to the contact front list wrapper for easier styling
Laury GvR [Fri, 22 Sep 2017 18:23:35 +0000 (14:23 -0400)]
Added a class to the contact front list wrapper for easier styling

7 years agoShow profile image on contact list if the contact has an image
Laury GvR [Wed, 20 Sep 2017 20:59:48 +0000 (16:59 -0400)]
Show profile image on contact list if the contact has an image

7 years agoMerge tag 'v1.1.1' into develop
Laury GvR [Wed, 20 Sep 2017 20:50:26 +0000 (16:50 -0400)]
Merge tag 'v1.1.1' into develop

v1.1.1

7 years agoMerge branch 'release/1.1.1' v1.1.1
Laury GvR [Wed, 20 Sep 2017 20:50:20 +0000 (16:50 -0400)]
Merge branch 'release/1.1.1'

7 years agoChanging the field title 'Image' to 'Profile Image'
Laury GvR [Wed, 20 Sep 2017 20:50:13 +0000 (16:50 -0400)]
Changing the field title 'Image' to 'Profile Image'

7 years agoUpdated check for all common plugin PHP files being called directly and now sending...
Chuck Scott [Fri, 11 Aug 2017 20:24:26 +0000 (16:24 -0400)]
Updated check for all common plugin PHP files being called directly and now sending user to /assets/404.html

7 years agoMerge branch 'develop' of cvs2:WP-Plugins/glm-member-db-contacts into develop
Chuck Scott [Thu, 20 Jul 2017 20:19:27 +0000 (16:19 -0400)]
Merge branch 'develop' of cvs2:WP-Plugins/glm-member-db-contacts into develop

7 years agoAdded a test that we can actually get user information before trying to access that...
Chuck Scott [Thu, 20 Jul 2017 20:18:41 +0000 (16:18 -0400)]
Added a test that we can actually get user information before trying to access that data.

7 years agoMerge tag 'v1.1.0' into develop
Steve Sutton [Tue, 18 Jul 2017 19:39:30 +0000 (15:39 -0400)]
Merge tag 'v1.1.0' into develop

Version 1.1.0

7 years agoMerge branch 'release/1.1.0' v1.1.0
Steve Sutton [Tue, 18 Jul 2017 19:39:23 +0000 (15:39 -0400)]
Merge branch 'release/1.1.0'

7 years agoRelease 1.1.0
Steve Sutton [Tue, 18 Jul 2017 19:39:01 +0000 (15:39 -0400)]
Release 1.1.0

bump version number

7 years agoAdd required fields for member csv import
Steve Sutton [Mon, 17 Jul 2017 19:54:20 +0000 (15:54 -0400)]
Add required fields for member csv import

Adding the required fields for the member csv import for the contact.

7 years agoUpdate help tab text
Steve Sutton [Fri, 7 Jul 2017 15:46:47 +0000 (11:46 -0400)]
Update help tab text

update the help content for what is required.

7 years agoAdd help tab for contacts
Steve Sutton [Fri, 7 Jul 2017 14:58:26 +0000 (10:58 -0400)]
Add help tab for contacts

Add help menu tab for Member Contacts.

7 years agoAdding import file option for csv
Steve Sutton [Thu, 6 Jul 2017 18:43:09 +0000 (14:43 -0400)]
Adding import file option for csv

This will show up in the Import as a tab for member contact import.
Most of the code for this is taken from Chuck's csv import script he had
setup original in the management section for discoverkalamazoo csv
import

7 years agoRemoved debug code from testing roles and capabilities updates.
Chuck Scott [Fri, 23 Jun 2017 19:48:31 +0000 (15:48 -0400)]
Removed debug code from testing roles and capabilities updates.

7 years agoReworked how we were setting up roles and capabilities on activate.
Chuck Scott [Fri, 23 Jun 2017 19:30:11 +0000 (15:30 -0400)]
Reworked how we were setting up roles and capabilities on activate.
Was having a conflict with User Role Editor.
Removed setip/rolesAndCapabilities.php file and moved that poart of setup into activate.php.
Completely reworked management of roles and capabilities in activate.php.
We were adding capabilities to a role that were set to false, which wasn't needed and conflicted with User Role Editor.

7 years agoMerge tag 'v1.0.23' into develop
Steve Sutton [Wed, 21 Jun 2017 13:43:42 +0000 (09:43 -0400)]
Merge tag 'v1.0.23' into develop

Version 1.0.23

7 years agoMerge branch 'release/1.0.23' v1.0.23
Steve Sutton [Wed, 21 Jun 2017 13:43:32 +0000 (09:43 -0400)]
Merge branch 'release/1.0.23'

7 years agoRelease 1.0.23
Steve Sutton [Wed, 21 Jun 2017 13:41:56 +0000 (09:41 -0400)]
Release 1.0.23

Bug fixes.
Updating readme.txt

7 years agoUpdate the member contact import script for primary contact flag
Steve Sutton [Wed, 21 Jun 2017 13:37:51 +0000 (09:37 -0400)]
Update the member contact import script for primary contact flag

Setting the primary contact to true for all imported contacts as they
are indeed the primary contacts.

7 years agoRemoved old query that isn't used anymore.
Chuck Scott [Mon, 12 Jun 2017 16:47:56 +0000 (12:47 -0400)]
Removed old query that isn't used anymore.

7 years agoFixed auto-deactivate
Chuck Scott [Thu, 25 May 2017 19:30:16 +0000 (15:30 -0400)]
Fixed auto-deactivate

8 years agoChanged import to use process_email for contact rather than member_contact_email.
Chuck Scott [Thu, 20 Apr 2017 15:14:12 +0000 (11:14 -0400)]
Changed import to use process_email for contact rather than member_contact_email.

8 years agoUpdated update server code.
Chuck Scott [Thu, 13 Apr 2017 21:31:38 +0000 (17:31 -0400)]
Updated update server code.

8 years agoAdded Plugin Update Server Support
Chuck Scott [Tue, 11 Apr 2017 19:15:33 +0000 (15:15 -0400)]
Added Plugin Update Server Support

8 years agoFix error from profile index
Steve Sutton [Mon, 3 Apr 2017 16:23:24 +0000 (12:23 -0400)]
Fix error from profile index

Getting an error when get_user_meta doesn't return anything.
Checking for $contactMemberList first before trying to add it to the
query.

8 years agoMerge tag 'v1.0.22' into develop
Steve Sutton [Tue, 28 Mar 2017 14:15:56 +0000 (10:15 -0400)]
Merge tag 'v1.0.22' into develop

Version 1.0.22

8 years agoMerge branch 'hotfix/1.0.22' v1.0.22
Steve Sutton [Tue, 28 Mar 2017 14:15:50 +0000 (10:15 -0400)]
Merge branch 'hotfix/1.0.22'

8 years agoBug update for member contact listings
Steve Sutton [Tue, 28 Mar 2017 14:14:34 +0000 (10:14 -0400)]
Bug update for member contact listings

Was only showing the current members contacts when it should have been
listing out all member contacts on the front end.
Removing the sql part where it was adding to the where for only one
member.

8 years agoMerge tag 'v1.0.21' into develop
Steve Sutton [Mon, 27 Feb 2017 20:16:14 +0000 (15:16 -0500)]
Merge tag 'v1.0.21' into develop

Version 1.0.21

8 years agoMerge branch 'release/1.0.21' v1.0.21
Steve Sutton [Mon, 27 Feb 2017 20:16:05 +0000 (15:16 -0500)]
Merge branch 'release/1.0.21'

8 years agoBump version number
Steve Sutton [Mon, 27 Feb 2017 20:15:12 +0000 (15:15 -0500)]
Bump version number

Adding filter for the member contact to see if they're moderated or not.

8 years agoAdd a filter for is_user_moderated
Steve Sutton [Fri, 24 Feb 2017 17:01:15 +0000 (12:01 -0500)]
Add a filter for is_user_moderated

This will test the userLogginIn array to see if the contact user is
moderated.

8 years agoFixed issues with plugin not reporting hooksHelp.html correctly
Chuck Scott [Fri, 24 Feb 2017 16:43:29 +0000 (11:43 -0500)]
Fixed issues with plugin not reporting hooksHelp.html correctly

8 years agoMerge tag 'v1.0.20' into develop
Chuck Scott [Mon, 13 Feb 2017 19:06:10 +0000 (14:06 -0500)]
Merge tag 'v1.0.20' into develop

Fixed loss of all primary_contact settings when setting only one.

8 years agoMerge branch 'hotfix/1.0.20' v1.0.20
Chuck Scott [Mon, 13 Feb 2017 19:05:44 +0000 (14:05 -0500)]
Merge branch 'hotfix/1.0.20'

8 years agoFixing problem with primary_contact being cleared for all contacts for all members...
Chuck Scott [Mon, 13 Feb 2017 19:03:11 +0000 (14:03 -0500)]
Fixing problem with primary_contact being cleared for all contacts for all members when setting primary_contact true for one member contact.
Updated query in entryPostProcessing() to fix this.
Updated version to 1.0.20 in index

8 years agoMerge tag 'v1.0.19' into develop
Steve Sutton [Thu, 2 Feb 2017 13:49:19 +0000 (08:49 -0500)]
Merge tag 'v1.0.19' into develop

Version 1.0.19

8 years agoMerge branch 'release/1.0.19' v1.0.19
Steve Sutton [Thu, 2 Feb 2017 13:49:12 +0000 (08:49 -0500)]
Merge branch 'release/1.0.19'

8 years agoRelease 1.0.19
Steve Sutton [Thu, 2 Feb 2017 13:48:51 +0000 (08:48 -0500)]
Release 1.0.19

8 years agoChanges related to proper login/out behavior.
Chuck Scott [Wed, 1 Feb 2017 19:48:44 +0000 (14:48 -0500)]
Changes related to proper login/out behavior.
Main members plugin must also be udated.
Some changes in the theme to remove login/out redirection are also required.

8 years agoremoved code used for testing.
Chuck Scott [Tue, 31 Jan 2017 20:41:43 +0000 (15:41 -0500)]
removed code used for testing.

8 years agoReworked how decisions are made for redirecting users on log-in
Chuck Scott [Tue, 31 Jan 2017 18:11:47 +0000 (13:11 -0500)]
Reworked how decisions are made for redirecting users on log-in

8 years agoFixing query for counties and ordering by alpha
Laury GvR [Wed, 18 Jan 2017 14:14:44 +0000 (09:14 -0500)]
Fixing query for counties and ordering by alpha

The array for counties was retaining empty values and using them
as options on the contact list county dropdown. The query for
counties has been changed to order the result alphabetically.

8 years agoOrder county list alphabetically on contacts list view dropdown
Laury GvR [Tue, 17 Jan 2017 22:26:05 +0000 (17:26 -0500)]
Order county list alphabetically on contacts list view dropdown

8 years agoContact list on small view looked squished
Laury GvR [Mon, 16 Jan 2017 14:28:21 +0000 (09:28 -0500)]
Contact list on small view looked squished

Changed the 6-column on small to small-12 medium-6 so it all fits
in small view.

8 years agoFixed alpha selection
Laury GvR [Mon, 16 Jan 2017 14:18:47 +0000 (09:18 -0500)]
Fixed alpha selection

Alpha selection wasn't filtering the results. Moved some code
around into the right place.

8 years agoRemoving some test code for the start on contact list
Laury GvR [Mon, 16 Jan 2017 13:57:33 +0000 (08:57 -0500)]
Removing some test code for the start on contact list

8 years agoFix for the pagination
Laury GvR [Mon, 16 Jan 2017 13:54:39 +0000 (08:54 -0500)]
Fix for the pagination

The list query wasn't making use of the new start position when
'next' or 'previous' page was selected.

8 years agoSmall change to alpha list buttons on contact list
Laury GvR [Fri, 13 Jan 2017 22:28:36 +0000 (17:28 -0500)]
Small change to alpha list buttons on contact list

8 years agoFixed alpha list for contact list display
Laury GvR [Fri, 13 Jan 2017 22:07:27 +0000 (17:07 -0500)]
Fixed alpha list for contact list display

Alpha list was producing errors on the contact list due to wrong
code in the model and shortcodes.php, thinking alpha was undefined.

8 years agoCapitalised the 'C' in county
Laury GvR [Fri, 13 Jan 2017 16:12:07 +0000 (11:12 -0500)]
Capitalised the 'C' in county

8 years agomailto on list & 'county' word added
Laury GvR [Fri, 13 Jan 2017 15:51:20 +0000 (10:51 -0500)]
mailto on list & 'county' word added

Added mailto to the email link on contact list. Added the word
'county' to the end of county display on contact list.

8 years agoMerge tag 'v1.0.18' into develop
Laury GvR [Thu, 12 Jan 2017 22:29:01 +0000 (17:29 -0500)]
Merge tag 'v1.0.18' into develop

v1.0.18

8 years agoMerge branch 'hotfix/1.0.18' v1.0.18
Laury GvR [Thu, 12 Jan 2017 22:28:57 +0000 (17:28 -0500)]
Merge branch 'hotfix/1.0.18'

8 years agoRemoved extraneous page titles from contact lists
Laury GvR [Thu, 12 Jan 2017 22:28:50 +0000 (17:28 -0500)]
Removed extraneous page titles from contact lists

8 years agoMerge tag 'v1.0.17' into develop
Laury GvR [Thu, 12 Jan 2017 22:25:09 +0000 (17:25 -0500)]
Merge tag 'v1.0.17' into develop

v1.0.17

8 years agoMerge branch 'release/1.0.17' v1.0.17
Laury GvR [Thu, 12 Jan 2017 22:25:04 +0000 (17:25 -0500)]
Merge branch 'release/1.0.17'

8 years agoVersion number bump
Laury GvR [Thu, 12 Jan 2017 22:24:45 +0000 (17:24 -0500)]
Version number bump

8 years agoAdded some styles and classes for better display
Laury GvR [Thu, 12 Jan 2017 22:24:02 +0000 (17:24 -0500)]
Added some styles and classes for better display

8 years agoFixed the county search hidden on contact list
Laury GvR [Thu, 12 Jan 2017 18:39:58 +0000 (13:39 -0500)]
Fixed the county search hidden on contact list

The county search was not being properly hidden when there were no
counties.

8 years agoContact list ordered, county search hidden if empty
Laury GvR [Thu, 12 Jan 2017 18:21:35 +0000 (13:21 -0500)]
Contact list ordered, county search hidden if empty

The county search is now hidden if there are no counties. The
contact list is also ordered by lname, fname.

8 years agoFixed database update script, disabled pagination
Laury GvR [Thu, 12 Jan 2017 15:59:21 +0000 (10:59 -0500)]
Fixed database update script, disabled pagination

We're disabling pagination for now until we get it working for
this plugin, and I fixed a database update script which was
applying the wrong update.

8 years agoAdded contact list and contact/county search
Laury GvR [Thu, 12 Jan 2017 15:33:09 +0000 (10:33 -0500)]
Added contact list and contact/county search

This plugin now has a shortcode for displaying the contact list and
a contact search above it, and a county search to its side.

8 years agoAdded ability of contact users to select other specific members to manage.
Chuck Scott [Fri, 30 Dec 2016 20:43:37 +0000 (15:43 -0500)]
Added ability of contact users to select other specific members to manage.
defines.php - Added a secret string to use for the idCheck when changing to another member.
Added output of member selection to member dashoard via a filter.
Added management and display of which members a contact user may manage.
Added checks to make sure nobody tampers with member IDs for selection.

8 years agoSetup filter for fetching the primary email for member.
Steve Sutton [Fri, 2 Dec 2016 18:38:28 +0000 (13:38 -0500)]
Setup filter for fetching the primary email for member.

Looks for a primary contact record.
If that is not found then it looks for the email from the members active
record.