WP-Plugins/glm-member-db-fields.git
6 years agoMerge branch 'release/1.1.0' master v1.1.0
Chuck Scott [Tue, 12 Feb 2019 14:49:53 +0000 (09:49 -0500)]
Merge branch 'release/1.1.0'

6 years agoUpdated version numbers
Chuck Scott [Tue, 12 Feb 2019 14:49:32 +0000 (09:49 -0500)]
Updated version numbers

6 years agoUpdate for content
Steve Sutton [Fri, 18 Jan 2019 18:32:02 +0000 (13:32 -0500)]
Update for content

Correcting content variable

6 years agoFixed wp_editor to remove {php} tags.
Chuck Scott [Fri, 18 Jan 2019 18:22:57 +0000 (13:22 -0500)]
Fixed wp_editor to remove {php} tags.

6 years agoUpdate for json_decode
Steve Sutton [Fri, 18 Jan 2019 16:12:23 +0000 (11:12 -0500)]
Update for json_decode

Needed for the editor

6 years agoUpdating smarty code with {php} usage.
Steve Sutton [Fri, 18 Jan 2019 15:57:26 +0000 (10:57 -0500)]
Updating smarty code with {php} usage.

Removing {php} usage.

6 years agoUpdates for custom fields being in member export.
Steve Sutton [Fri, 29 Jun 2018 16:47:51 +0000 (12:47 -0400)]
Updates for custom fields being in member export.

This update allows the custom fields to be inserted into the member
export file.

6 years agoUpdate name of custom field tab in contacts.
Steve Sutton [Wed, 27 Jun 2018 14:48:08 +0000 (10:48 -0400)]
Update name of custom field tab in contacts.

For contact use 'Directory Info'.

6 years agoAdd specifier to plugin description and name
Laury GvR [Thu, 21 Jun 2018 16:19:21 +0000 (12:19 -0400)]
Add specifier to plugin description and name

6 years agoMerge tag 'v1.0.4' into develop
Laury GvR [Fri, 8 Jun 2018 16:37:42 +0000 (12:37 -0400)]
Merge tag 'v1.0.4' into develop

v1.0.4

6 years agoMerge branch 'release/1.0.4' v1.0.4
Laury GvR [Fri, 8 Jun 2018 16:37:38 +0000 (12:37 -0400)]
Merge branch 'release/1.0.4'

6 years agoVersion number increase for release
Laury GvR [Fri, 8 Jun 2018 16:37:32 +0000 (12:37 -0400)]
Version number increase for release

6 years agoComment test echos for release
Laury GvR [Fri, 8 Jun 2018 12:36:15 +0000 (08:36 -0400)]
Comment test echos for release

6 years agoSwitch back to member info
Steve Sutton [Thu, 31 May 2018 12:40:16 +0000 (08:40 -0400)]
Switch back to member info

Will need this to be an import select (member or contact)

6 years agoUpdate for contact custom fields
Steve Sutton [Thu, 24 May 2018 18:43:17 +0000 (14:43 -0400)]
Update for contact custom fields

This will need some more work.

7 years agofixing the contact sales links on the detail pages
Anthony Talarico [Fri, 9 Mar 2018 17:32:41 +0000 (12:32 -0500)]
fixing the contact sales links on the detail pages

fixing the form page links for contacts sales button on sales detail pages

7 years agoUpdate the clone custom fields function.
Steve Sutton [Fri, 2 Mar 2018 15:05:06 +0000 (10:05 -0500)]
Update the clone custom fields function.

Should be getting the custom field data not just the fields.

7 years agoUpdating the import for custom fields.
Steve Sutton [Wed, 24 Jan 2018 20:35:56 +0000 (15:35 -0500)]
Updating the import for custom fields.

Update for the change in field data type for old_member_id.

7 years agochanging the contact sales pages id for gravity forms
Anthony Talarico [Mon, 22 Jan 2018 21:47:58 +0000 (16:47 -0500)]
changing the contact sales pages id for gravity forms

changing the url get param id for gravity form contact sales

7 years agoadding member type to the detail model
Anthony Talarico [Mon, 22 Jan 2018 20:43:23 +0000 (15:43 -0500)]
adding member type to the detail model

adding check for member type to separate homes and rv contacts forms

7 years agoCorrect name case in docs.
Steve Sutton [Thu, 7 Dec 2017 13:48:42 +0000 (08:48 -0500)]
Correct name case in docs.

Change the case for $entityID to $entityId.

7 years agoUpdate docs for admin hooks.
Steve Sutton [Thu, 7 Dec 2017 13:45:27 +0000 (08:45 -0500)]
Update docs for admin hooks.

Writing the documentation for the admin hooks that were originally in
the custom field plugin.

7 years agoAdd docs in code
Steve Sutton [Wed, 29 Nov 2017 19:28:22 +0000 (14:28 -0500)]
Add docs in code

Adding php docs.

7 years agoAdd docs in code
Steve Sutton [Wed, 29 Nov 2017 19:28:22 +0000 (14:28 -0500)]
Add docs in code

Adding php docs.

7 years agoupdate on hooks comments
Steve Sutton [Wed, 29 Nov 2017 16:25:45 +0000 (11:25 -0500)]
update on hooks comments

7 years agoStarted adding some documentation to the admin hooks and started building the hooksHe...
Chuck Scott [Mon, 13 Nov 2017 18:38:25 +0000 (13:38 -0500)]
Started adding some documentation to the admin hooks and started building the hooksHelp.html file.

7 years agoOnly showing 'admin searchable' for glm-member-db fields
Laury GvR [Thu, 9 Nov 2017 22:03:54 +0000 (17:03 -0500)]
Only showing 'admin searchable' for glm-member-db fields

7 years agofixing errors relating to the required fields, checkig to make sure there are require...
Anthony Talarico [Wed, 8 Nov 2017 18:41:18 +0000 (13:41 -0500)]
fixing errors relating to the required fields, checkig to make sure there are required fields
before trying to build a fieldFail array

7 years agoadding required flag to checkboxes
Anthony Talarico [Mon, 6 Nov 2017 18:21:59 +0000 (13:21 -0500)]
adding required flag to checkboxes

custom fields checkboxes were missing the required flags

7 years agoadding new filter to get all fields and values by entity and uid
Anthony Talarico [Thu, 2 Nov 2017 19:11:50 +0000 (15:11 -0400)]
adding new filter to get all fields and values by entity and uid

adding a filter that can be called in the theme to get all values and fields by
entity id

7 years agoadding data attr tag to the fields edit anchor tag
Anthony Talarico [Mon, 30 Oct 2017 12:32:55 +0000 (08:32 -0400)]
adding data attr tag to the fields edit anchor tag

adding code to show whether or not the field is required and keep the checkbox
filled if it is

7 years agoadding check to makesure there is a customfieldsdata array before trying to pull...
Anthony Talarico [Thu, 26 Oct 2017 20:10:42 +0000 (16:10 -0400)]
adding check to makesure there is a customfieldsdata array before trying to pull out the
field fail

for a new profile, there is no field fail data from a previous submission, adding a check
to make sure there is a custom fields data array before trying to do any of the field fail
logic

7 years agoPlacing required flag back into the edit form in management
Laury GvR [Thu, 26 Oct 2017 19:54:46 +0000 (15:54 -0400)]
Placing required flag  back into the edit form in management

7 years agoFix the request vars being set unless they are true.
Steve Sutton [Thu, 26 Oct 2017 18:26:01 +0000 (14:26 -0400)]
Fix the request vars being set unless they are true.

When setting request only do so if the request custom field has value.

7 years agoadding fieldfail array that is merged in with the custom fields data
Anthony Talarico [Thu, 26 Oct 2017 15:44:21 +0000 (11:44 -0400)]
adding fieldfail array that is merged in with the custom fields data

using a custom field fail array merged in with the custom fields data to add
field fail styles in the view if a required field is empty

7 years agoadding required class and required data attribute to required fields
Anthony Talarico [Thu, 26 Oct 2017 13:54:38 +0000 (09:54 -0400)]
adding required class and required data attribute to required fields

adding required styles to the custom fields output and a required data attribute that
triggers a js check to make sure the field is filled in

7 years agoadding required fields and required fields checking
Anthony Talarico [Thu, 26 Oct 2017 12:02:28 +0000 (08:02 -0400)]
adding required fields and required fields checking

removed entity id from the fields table, using request array to re insert input
on failed attempts

7 years agoMaking custom field mgmt contacts-friendly
Laury GvR [Wed, 25 Oct 2017 16:50:27 +0000 (12:50 -0400)]
Making custom field mgmt contacts-friendly

No longer is the custom field plugin only accessible by the member
db on management. Fields can also be deleted, added and edited
which took some changes to option, option2, the form href, etc.

7 years agorenaming ref_dest in db. changing instances of memberID to entityID, adding new method
Anthony Talarico [Tue, 24 Oct 2017 17:34:46 +0000 (13:34 -0400)]
renaming ref_dest in db. changing instances of memberID to entityID, adding new method
to get fields to compare values with the required field values

7 years agoadding where clause to get custom fields by uid, fixing db changes in the update...
Anthony Talarico [Fri, 20 Oct 2017 18:09:16 +0000 (14:09 -0400)]
adding where clause to get custom fields by uid, fixing db changes in the update script

setting default uid to custom fields that already exist, changing layout of the admin view
for the custom fields to use glm grid instead of tables

7 years agoAdding UID to the management form so it can be saved and displayed
Laury GvR [Thu, 19 Oct 2017 20:27:28 +0000 (16:27 -0400)]
Adding UID to the management form so it can be saved and displayed

7 years agofixing data fields default db values
Anthony Talarico [Thu, 19 Oct 2017 19:22:38 +0000 (15:22 -0400)]
fixing data fields default db values

fixing default table values for the create and update scripts

7 years agofixing default values for the uid in the create db script
Anthony Talarico [Thu, 19 Oct 2017 19:20:34 +0000 (15:20 -0400)]
fixing default values for the uid in the create db script

updating create db script to set the default values and datatypes

7 years agorolling back database changes, changing the model action names
Anthony Talarico [Thu, 19 Oct 2017 19:18:20 +0000 (15:18 -0400)]
rolling back database changes, changing the model action names

changing the fields action to entity, adjusting database table column names and
datatypes

7 years agoremoving references to member info
Anthony Talarico [Thu, 19 Oct 2017 15:38:19 +0000 (11:38 -0400)]
removing references to member info

changing all filters and actions to reflect removal of member info

7 years agochanging the member info specific method names
Anthony Talarico [Thu, 19 Oct 2017 14:36:34 +0000 (10:36 -0400)]
changing the member info specific method names

admin hooks, and customfields support methods file, changed the member info specific
method names to something more generic

7 years agorolling back previous database changes
Anthony Talarico [Wed, 18 Oct 2017 20:09:17 +0000 (16:09 -0400)]
rolling back previous database changes

fixing database update script errors, rolling back previous changes

7 years agofixing the not null attr for the uid in the fields table
Anthony Talarico [Wed, 18 Oct 2017 19:42:35 +0000 (15:42 -0400)]
fixing the not null attr for the uid in the fields table

fields table uid need to be not null

7 years agoadding entity id and uid for group id to the database tables and the data class
Anthony Talarico [Wed, 18 Oct 2017 19:29:46 +0000 (15:29 -0400)]
adding entity id and uid for group id to the database tables and the data class

adding new columns for entity id and uid for the data abstract and the database tables

7 years agochanging the member info actions to a generic fields action
Anthony Talarico [Wed, 18 Oct 2017 18:55:52 +0000 (14:55 -0400)]
changing the member info actions to a generic fields action

using fields for actions instead of member_info and changing the model view structure

7 years agoupdating database files to add the required field option for the fields
Anthony Talarico [Wed, 18 Oct 2017 18:28:17 +0000 (14:28 -0400)]
updating database files to add the required field option for the fields

adding required field checkbox option in the mgmt view file when adding custom fields.
adjusted the index file, db versions, update and create db scripts

7 years agoUpdating the custom field management tab to be under the member management.
Steve Sutton [Tue, 17 Oct 2017 16:05:18 +0000 (12:05 -0400)]
Updating the custom field management tab to be under the member management.

Adding new filters for:
active, edit, form, capture, and data.

7 years agoMerge tag 'v1.0.3' into develop revampCustomFields
Steve Sutton [Tue, 5 Sep 2017 15:26:23 +0000 (11:26 -0400)]
Merge tag 'v1.0.3' into develop

Version 1.0.3

7 years agoMerge branch 'release/1.0.3' v1.0.3
Steve Sutton [Tue, 5 Sep 2017 15:26:17 +0000 (11:26 -0400)]
Merge branch 'release/1.0.3'

7 years agoBump version for release
Steve Sutton [Tue, 5 Sep 2017 15:25:57 +0000 (11:25 -0400)]
Bump version for release

Release for changes from Laury.

7 years agoAdding hooks for the custom fields
Steve Sutton [Mon, 7 Aug 2017 18:10:21 +0000 (14:10 -0400)]
Adding hooks for the custom fields

Hooks for custom fields to get them into the list shortcode attributes
for members.

7 years agoUpdate field plugin for csv import feature.
Steve Sutton [Wed, 26 Jul 2017 17:23:10 +0000 (13:23 -0400)]
Update field plugin for csv import feature.

Adding csv import for the custom fields.

7 years agoglm_custom_fields filter only wpautop on textareas
Laury GvR [Fri, 30 Jun 2017 14:05:03 +0000 (10:05 -0400)]
glm_custom_fields filter only wpautop on textareas

wpautop() was being applied to all results from the glm_custom_fields,
so the query was expanded to check for the field's type, and only
apply to textareas, so that not every field gets a paragraph tag
wrapped around it.

7 years agoUsing wpautop instead of nl2br for textbox field front displays
Laury GvR [Wed, 28 Jun 2017 20:18:53 +0000 (16:18 -0400)]
Using wpautop instead of nl2br for textbox field front displays

7 years agoAdding the nl2br function to the custom fields retrieval for texbox fields to preserv...
Laury GvR [Wed, 28 Jun 2017 19:09:26 +0000 (15:09 -0400)]
Adding the nl2br function to the custom fields retrieval for texbox fields to preserve hard return on front-end display

8 years agoAdded a filter to get the count of a custom field compared to a given value
Laury GvR [Fri, 5 May 2017 17:06:47 +0000 (13:06 -0400)]
Added a filter to get the count of a custom field compared to a given value

8 years agoMerge tag 'v1.0.2' into develop
Steve Sutton [Wed, 26 Apr 2017 21:05:44 +0000 (17:05 -0400)]
Merge tag 'v1.0.2' into develop

Version 1.0.2

8 years agoMerge branch 'hotfix/1.0.2' v1.0.2
Steve Sutton [Wed, 26 Apr 2017 21:05:37 +0000 (17:05 -0400)]
Merge branch 'hotfix/1.0.2'

8 years agoUpdate the query to get the correct member type.
Steve Sutton [Wed, 26 Apr 2017 21:04:45 +0000 (17:04 -0400)]
Update the query to get the correct member type.

Need to match member info id not the member info member field.

8 years agoMerge tag 'v1.0.1' into develop
Steve Sutton [Wed, 26 Apr 2017 20:01:13 +0000 (16:01 -0400)]
Merge tag 'v1.0.1' into develop

Version 1.0.1

8 years agoMerge branch 'release/1.0.1' v1.0.1
Steve Sutton [Wed, 26 Apr 2017 20:01:01 +0000 (16:01 -0400)]
Merge branch 'release/1.0.1'

8 years agoBump version number of plugin.
Steve Sutton [Wed, 26 Apr 2017 19:59:57 +0000 (15:59 -0400)]
Bump version number of plugin.

Moving some of the add_filters calls into the theme.

8 years agoUpdate filter for use more than once.
Steve Sutton [Wed, 26 Apr 2017 19:41:05 +0000 (15:41 -0400)]
Update filter for use more than once.

Need to get param in and send back out.

8 years agoOne more filter to move into brewbakers theme.
Steve Sutton [Wed, 26 Apr 2017 17:36:01 +0000 (13:36 -0400)]
One more filter to move into brewbakers theme.

Pretty cool that we can just move them to the theme though.

8 years agoUpdate filter for front search.
Steve Sutton [Wed, 26 Apr 2017 17:28:53 +0000 (13:28 -0400)]
Update filter for front search.

Removing the brewbakers part for the pre-owned from here and putting in
the filter for the theme.

8 years agochange period to comma
Steve Sutton [Tue, 25 Apr 2017 12:59:32 +0000 (08:59 -0400)]
change period to comma

incorrect use of markup here

8 years agoMerge tag 'v1.0.0' into develop
Steve Sutton [Mon, 24 Apr 2017 15:43:04 +0000 (11:43 -0400)]
Merge tag 'v1.0.0' into develop

version 1.0.0

8 years agoMerge branch 'release/1.0.0' v1.0.0
Steve Sutton [Mon, 24 Apr 2017 15:42:54 +0000 (11:42 -0400)]
Merge branch 'release/1.0.0'

8 years agoBump version number
Steve Sutton [Mon, 24 Apr 2017 15:42:33 +0000 (11:42 -0400)]
Bump version number

in index file

8 years agoUpdate to have admin_search field for the fields
Steve Sutton [Mon, 24 Apr 2017 15:32:16 +0000 (11:32 -0400)]
Update to have admin_search field for the fields

Adding new field to custom field table for admin_search. If this is set
then the fields (checkbox or text) will show up in the member list as an
additional filter that can be used for searching members.

8 years agochanging the apply filter id
Anthony Talarico [Thu, 20 Apr 2017 15:42:02 +0000 (11:42 -0400)]
changing the apply filter id

the apply filter to get the contact sales form page permalink needs the id for the live site page

8 years agogetting the proper member name from the member info id record
Anthony Talarico [Thu, 20 Apr 2017 14:37:02 +0000 (10:37 -0400)]
getting the proper member name from the member info id record

changing the member name function to use the getEntry function from the data abstract
to pass the name from the detail model to the detail view

8 years agoadding contact sales button that links to the form with dynamically poplulate fields
Anthony Talarico [Thu, 20 Apr 2017 13:57:32 +0000 (09:57 -0400)]
adding contact sales button that links to the form with dynamically poplulate fields

applying filter that gets the permalink of of forms page. added function to get member name from
member info id.

8 years agoFix the search filter
Steve Sutton [Fri, 14 Apr 2017 20:47:06 +0000 (16:47 -0400)]
Fix  the search filter

Need to bring in the current array so it can add to it.

8 years agoCreate indexes for the custom fields tables.
Steve Sutton [Fri, 14 Apr 2017 20:25:16 +0000 (16:25 -0400)]
Create indexes for the custom fields tables.

Indexing field name and the ref_dest and field_id.

8 years agoFix for sub queries.
Steve Sutton [Fri, 14 Apr 2017 19:26:00 +0000 (15:26 -0400)]
Fix for sub queries.

Breaking the sub queries into join

8 years agoFixing query for admin side.
Steve Sutton [Fri, 14 Apr 2017 19:12:25 +0000 (15:12 -0400)]
Fixing query for admin side.

Trying to get the sub queries correct.

8 years agoadd distinct to help query
Steve Sutton [Fri, 14 Apr 2017 18:48:36 +0000 (14:48 -0400)]
add distinct to help query

Seems to be taking a long time on dev55

8 years agoAdding filters for the admin searching
Steve Sutton [Fri, 14 Apr 2017 18:43:34 +0000 (14:43 -0400)]
Adding filters for the admin searching

Adding the checkboxes to admin side for custom fields.
Only checkboxes so far.

8 years agoCheck just for Home member type
Steve Sutton [Fri, 14 Apr 2017 15:28:46 +0000 (11:28 -0400)]
Check just for Home member type

Checking the member type for Home

8 years agoUpdate for member info id
Steve Sutton [Fri, 14 Apr 2017 15:20:56 +0000 (11:20 -0400)]
Update for member info id

This hopefully will fix issue with wrong member info id.

8 years agoFix issue with member or member info
Steve Sutton [Fri, 14 Apr 2017 15:03:37 +0000 (11:03 -0400)]
Fix issue with member or member info

For the custom field data abstract it needs to link to member info not
member.

8 years agoUse the member attribute as member info id
Steve Sutton [Fri, 14 Apr 2017 14:50:32 +0000 (10:50 -0400)]
Use the member attribute as member info id

Remove the other part.

8 years agoUpdate the filter for the search query for text and textarea.
Steve Sutton [Thu, 13 Apr 2017 21:21:34 +0000 (17:21 -0400)]
Update the filter for the search query for text and textarea.

Only had the checkbox in there. Adding the search part for text and
textarea to do like search.

8 years agoRemoved the container from the specifications, since it threw off the nth-row counter...
Laury GvR [Thu, 13 Apr 2017 20:48:33 +0000 (16:48 -0400)]
Removed the container from the specifications, since it threw off the nth-row counter styles

8 years agodetail view for members no empty rows
Laury GvR [Thu, 13 Apr 2017 20:19:55 +0000 (16:19 -0400)]
detail view for members no empty rows

Ensuring that the detail viewfile for members doesn't produce empty
rows, while still allowing it to create the msrp slash-class. The
extra rows were throwing off the nth-row styles, and really had no
business existing in the first place.

8 years agoAdding filter to create the get parameters for custom fields.
Steve Sutton [Thu, 13 Apr 2017 20:11:26 +0000 (16:11 -0400)]
Adding filter to create the get parameters for custom fields.

This will be used in the member list or grid when it builds the Alpha or
the Previous Next page links.

8 years agoUse order for the custom fields.
Steve Sutton [Thu, 13 Apr 2017 19:43:39 +0000 (15:43 -0400)]
Use order for the custom fields.

Use the field_order to sort the order of custom fields.

8 years agoUpdating search for default non pre-owned rvs.
Steve Sutton [Thu, 13 Apr 2017 17:11:19 +0000 (13:11 -0400)]
Updating search for default non pre-owned rvs.

If there's no pre-owned search flag then only get the new rvs.

8 years agoUpdate filters for search query and the order by.
Steve Sutton [Thu, 13 Apr 2017 16:51:22 +0000 (12:51 -0400)]
Update filters for search query and the order by.

For the search query replace space and dash with underscore.
For the order by clause to sort the rvs by just arrived, red hot then
coming soon.

8 years agoUpdate sql for memberInfoid
Steve Sutton [Thu, 13 Apr 2017 15:48:18 +0000 (11:48 -0400)]
Update sql for memberInfoid

MemberInfoId is what is in the main plugins list view. Because it is
based on the data class for member info. So updating the code here to
get the correct id set for getting member types.

8 years agothe front-search-query filter no longer produces errors
Laury GvR [Thu, 13 Apr 2017 13:49:28 +0000 (09:49 -0400)]
the front-search-query filter no longer produces errors

The glm-member-db-front-search-query filter was being given a string
which was then used as an array. It's now changed to no longer have
a parameter, and instead declares queryParts as an empty array.

8 years agoAdded a check to make the id passed to glm_custom_fields filter default to 0
Laury GvR [Wed, 12 Apr 2017 19:25:53 +0000 (15:25 -0400)]
Added a check to make the id passed to glm_custom_fields filter default to 0

8 years agochanging column sizes for the detail and list view files
Anthony Talarico [Wed, 12 Apr 2017 19:24:53 +0000 (15:24 -0400)]
changing column sizes for the detail and list view files

8 years agoAvoid duplicate field-containers markup
Laury GvR [Wed, 12 Apr 2017 13:49:59 +0000 (09:49 -0400)]
Avoid duplicate field-containers markup

In the detail view file, the check for value.slash has been
rearranged ensure there aren't any duplicate empty rows being
created.