WP-Plugins/glm-member-db-fields.git
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.

8 years agoremoving files filter from front hooks
Anthony Talarico [Wed, 12 Apr 2017 16:43:39 +0000 (12:43 -0400)]
removing files filter from front hooks

8 years agoAdding function and filter for cloning custom fields
Steve Sutton [Wed, 12 Apr 2017 16:25:59 +0000 (12:25 -0400)]
Adding function and filter for cloning custom fields

Used when the member info record is cloned.

8 years agoAdded Files container to fronthooks markup
Laury GvR [Wed, 12 Apr 2017 13:17:36 +0000 (09:17 -0400)]
Added Files container to fronthooks markup

The Files container div to be displayed on the member detail page
is now a part of the filter created in fronthooks to allow us to
only show it if there are indeed any files associated with this
member.

8 years agoadding target blank to the files href on detail page
Anthony Talarico [Wed, 12 Apr 2017 12:56:52 +0000 (08:56 -0400)]
adding target blank to the files href on detail page

8 years agoChange the permission required for custom fields.
Steve Sutton [Wed, 12 Apr 2017 12:47:46 +0000 (08:47 -0400)]
Change the permission required for custom fields.

Remove the check all together

8 years agoAdded a new filter so brewbakers could display the member_types in the search form...
Laury GvR [Tue, 11 Apr 2017 20:21:19 +0000 (16:21 -0400)]
Added a new filter so brewbakers could display the member_types in the search form on the member list'

8 years agoremoving print r test statements
Anthony Talarico [Tue, 11 Apr 2017 20:03:33 +0000 (16:03 -0400)]
removing print r test statements

8 years agoadding check for a caption in the files display on the detail output
Anthony Talarico [Tue, 11 Apr 2017 20:02:42 +0000 (16:02 -0400)]
adding check for a caption in the files display on the detail output

8 years agofixing the files in the detail page, used name instead of file name for the path
Anthony Talarico [Tue, 11 Apr 2017 19:50:52 +0000 (15:50 -0400)]
fixing the files in the detail page, used name instead of file name for the path

8 years agoadding hook to add files to the detail page
Anthony Talarico [Tue, 11 Apr 2017 19:47:02 +0000 (15:47 -0400)]
adding hook to add files to the detail page

8 years agoadding ajax action for search filtering between brands and manufacturers
Anthony Talarico [Tue, 11 Apr 2017 18:07:25 +0000 (14:07 -0400)]
adding ajax action for search filtering between brands and manufacturers
no logic yet, test content commented out currently.

8 years agoRemove the print_r
Steve Sutton [Mon, 10 Apr 2017 20:31:28 +0000 (16:31 -0400)]
Remove the print_r

was for debug

8 years agoUpdate the filter for custom fields query.
Steve Sutton [Mon, 10 Apr 2017 20:28:37 +0000 (16:28 -0400)]
Update the filter for custom fields query.

Setting up the custom fields query. This will look for the request
variable for each custom field and put it into the query if found in the
request array.

8 years agoadding check for new and used rv types
Anthony Talarico [Mon, 10 Apr 2017 18:42:35 +0000 (14:42 -0400)]
adding check for new and used rv types

8 years agoremoving the script tag from the list view file
Anthony Talarico [Mon, 10 Apr 2017 17:49:37 +0000 (13:49 -0400)]
removing the script tag from the list view file

8 years agoremoving the red hot deals logo from being appended to the main
Anthony Talarico [Mon, 10 Apr 2017 17:38:09 +0000 (13:38 -0400)]
removing the red hot deals logo from being appended to the main
member record container

8 years agoremoving console log statements
Anthony Talarico [Mon, 10 Apr 2017 17:26:28 +0000 (13:26 -0400)]
removing console log statements

8 years agoadding red hot deals logo to the top of the member record grid element
Anthony Talarico [Mon, 10 Apr 2017 17:24:46 +0000 (13:24 -0400)]
adding red hot deals logo to the top of the member record grid element

8 years agoAdding a filter to retrieve a particular attribute
Laury GvR [Mon, 10 Apr 2017 17:08:07 +0000 (13:08 -0400)]
Adding a filter to retrieve a particular attribute

Added a filter to fronthooks so that the theme can apply_filter to
get a given attribute. This was done so Brewbakers could get the
Year of a certain member.

8 years agochanging the view layout for grid
Anthony Talarico [Mon, 10 Apr 2017 15:10:45 +0000 (11:10 -0400)]
changing the view layout for grid

8 years agoUpdate the query for the custom fields
Steve Sutton [Fri, 7 Apr 2017 21:42:26 +0000 (17:42 -0400)]
Update the query for the custom fields

use get_var in some places to simplify the queries.

8 years agousing steve's inner join to get the member type name instead of 2 queries
Anthony Talarico [Fri, 7 Apr 2017 21:04:49 +0000 (17:04 -0400)]
using steve's inner join to get the member type name instead of 2 queries

8 years agoAdd another where part for the member type query.
Steve Sutton [Fri, 7 Apr 2017 21:02:29 +0000 (17:02 -0400)]
Add another where part for the member type query.

To get only those that match both tables.

8 years agoUpdate query to get member type
Steve Sutton [Fri, 7 Apr 2017 20:54:44 +0000 (16:54 -0400)]
Update query to get member type

using join for members and member_type

8 years agoadding member type checking in the list view
Anthony Talarico [Fri, 7 Apr 2017 20:41:20 +0000 (16:41 -0400)]
adding member type checking in the list view

8 years agoAdding a header and container for the specifications data on the detail page
Laury GvR [Fri, 7 Apr 2017 20:03:38 +0000 (16:03 -0400)]
Adding a header and container for the specifications data on the detail page

8 years agochanging the detail view output of the field name from slug to nice print
Anthony Talarico [Fri, 7 Apr 2017 19:46:53 +0000 (15:46 -0400)]
changing the detail view output of the field name from slug to nice print

8 years agoadding strike through for detail view prices
Anthony Talarico [Fri, 7 Apr 2017 19:36:03 +0000 (15:36 -0400)]
adding strike through for detail view prices

8 years agoadding strike through checking in list view
Anthony Talarico [Fri, 7 Apr 2017 19:31:16 +0000 (15:31 -0400)]
adding strike through checking in list view

8 years agoadding the list and detail view array to include slugs to make targeting the field...
Anthony Talarico [Fri, 7 Apr 2017 18:39:43 +0000 (14:39 -0400)]
adding the list and detail view array to include slugs to make targeting the field names
easier in the templates

8 years agoremoving references to the events data from the front hooks filters
Anthony Talarico [Thu, 6 Apr 2017 20:42:12 +0000 (16:42 -0400)]
removing references to the events data from the front hooks filters

8 years agosplitting the list and detail views to make the filter application in both the detail...
Anthony Talarico [Thu, 6 Apr 2017 20:40:30 +0000 (16:40 -0400)]
splitting the list and detail views to make the filter application in both the detail and list pages
more simple

8 years agoadding models, views and shortcode to add the custon fields data to the member detail...
Anthony Talarico [Thu, 6 Apr 2017 20:13:29 +0000 (16:13 -0400)]
adding models, views and shortcode to add the custon fields data to the member detail page

8 years agoAdd wp_editor and deal with formats
Steve Sutton [Wed, 29 Mar 2017 14:18:00 +0000 (10:18 -0400)]
Add wp_editor and deal with formats

Format text when adding into database.
Format text when using for value in input field.

8 years agoSetup the textarea custom fields as wp editor
Steve Sutton [Wed, 29 Mar 2017 12:16:12 +0000 (08:16 -0400)]
Setup the textarea custom fields as wp editor

use wp_editor function like the one used for the description for the
members.

8 years agoUpdate filters for when no custom field plugin is there
Steve Sutton [Tue, 28 Mar 2017 19:49:15 +0000 (15:49 -0400)]
Update filters for when no custom field plugin is there

Redoing the filters so if there's no field plugin then they don't output
anything.

8 years agoUpdate custom fields for saving custom field data
Steve Sutton [Tue, 28 Mar 2017 17:53:43 +0000 (13:53 -0400)]
Update custom fields for saving custom field data

Custom field plugin now will create custom fields with three types:
text, textarea, and checkbox.
All field data stores into text fields.

8 years agofirst sources
Steve Sutton [Wed, 22 Mar 2017 15:15:37 +0000 (11:15 -0400)]
first sources