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