WP-Plugins/glm-member-db-events.git
8 years agoBump version number
Steve Sutton [Tue, 6 Dec 2016 15:02:32 +0000 (10:02 -0500)]
Bump version number

New release for Develop branch.
Release contains updates for member notifications for submitted events
and approved events.

8 years agoUpdating settings used.
Steve Sutton [Mon, 5 Dec 2016 21:10:22 +0000 (16:10 -0500)]
Updating settings used.

Use the event setting for these notices.

8 years agoDouble check emails.
Steve Sutton [Mon, 5 Dec 2016 21:00:07 +0000 (16:00 -0500)]
Double check emails.

Check email for valid email by using php filter_var.
Check each email for the admin by exploding the string by commas.

8 years agoAdd check in admin email for notify email address.
Steve Sutton [Mon, 5 Dec 2016 20:49:01 +0000 (15:49 -0500)]
Add check in admin email for notify email address.

If empty then don't try to send out email.

8 years agoWrong change for admin url.
Steve Sutton [Mon, 5 Dec 2016 20:46:52 +0000 (15:46 -0500)]
Wrong change for admin url.

Admin url should be the index action.
So then it will list out pending events.

8 years agoUpdate admin url
Steve Sutton [Mon, 5 Dec 2016 20:42:21 +0000 (15:42 -0500)]
Update admin url

Need to goto the list not the index action

8 years agoUpdate to get member_id
Steve Sutton [Mon, 5 Dec 2016 20:34:24 +0000 (15:34 -0500)]
Update to get member_id

Needed for email notification

8 years agoAdd member/admin notices for events.
Steve Sutton [Mon, 5 Dec 2016 20:20:41 +0000 (15:20 -0500)]
Add member/admin notices for events.

When member edits an event it will send email notice out to notify.
When admin approves an event it will send email notice out to member.

8 years agoMerge branch 'develop' of cvs2:WP-Plugins/glm-member-db-events into develop
Chuck Scott [Fri, 2 Dec 2016 15:22:17 +0000 (10:22 -0500)]
Merge branch 'develop' of cvs2:WP-Plugins/glm-member-db-events into develop

8 years agoFixed events search at top of events list in admin so it works for both member events...
Chuck Scott [Fri, 2 Dec 2016 15:19:41 +0000 (10:19 -0500)]
Fixed events search at top of events list in admin so it works for both member events and all events.
  views/admin/events/list.html
Added support for the NearMe feature.
  models/front/events/eventDataByLatLon.php - Searches for events within a list of lat/lon boxes
  setup/adminHooks.php - Added a hook to provide list to NearMe addOn (or other)

8 years agoCheck for image first
Steve Sutton [Thu, 1 Dec 2016 16:10:05 +0000 (11:10 -0500)]
Check for image first

only create if image is in array.

8 years agoUpdating import for description and intro text.
Steve Sutton [Thu, 1 Dec 2016 16:05:15 +0000 (11:05 -0500)]
Updating import for description and intro text.

Removing the newlines in intro and description

8 years agoMerge tag 'v1.5.7' into develop
Steve Sutton [Fri, 18 Nov 2016 17:56:17 +0000 (12:56 -0500)]
Merge tag 'v1.5.7' into develop

Version 1.5.7

8 years agoMerge branch 'hotfix/1.5.7' v1.5.7
Steve Sutton [Fri, 18 Nov 2016 17:56:08 +0000 (12:56 -0500)]
Merge branch 'hotfix/1.5.7'

8 years agoAdd event form bug fix.
Steve Sutton [Fri, 18 Nov 2016 17:05:28 +0000 (12:05 -0500)]
Add event form bug fix.

When the event times are entered without the min set it goes to the 7pm.

8 years agoFix error for undefined venues
Steve Sutton [Thu, 17 Nov 2016 13:34:33 +0000 (08:34 -0500)]
Fix error for undefined venues

Add venues with false in tho top of the method.

8 years agoMerge tag 'v1.5.6' into develop
Steve Sutton [Tue, 15 Nov 2016 18:13:03 +0000 (13:13 -0500)]
Merge tag 'v1.5.6' into develop

Version 1.5.6

8 years agoMerge branch 'release/1.5.6' v1.5.6
Steve Sutton [Tue, 15 Nov 2016 18:12:57 +0000 (13:12 -0500)]
Merge branch 'release/1.5.6'

8 years agoBump version number
Steve Sutton [Tue, 15 Nov 2016 18:12:32 +0000 (13:12 -0500)]
Bump version number

Doing release for events.

8 years agoUpdate the meta tags that are being done by yoast.
Steve Sutton [Tue, 15 Nov 2016 18:09:39 +0000 (13:09 -0500)]
Update the meta tags that are being done by yoast.

These are for open graph and twitter.
This will add the intro and name of the event into the meta tags.

8 years agoMerge branch 'develop' of cvs2:WP-Plugins/glm-member-db-events into develop
Chuck Scott [Tue, 15 Nov 2016 14:58:17 +0000 (09:58 -0500)]
Merge branch 'develop' of cvs2:WP-Plugins/glm-member-db-events into develop

8 years agomodels/admin/ajax/eventsCalMonthAJAX.php - fixing a missing parameter issue.
Chuck Scott [Tue, 15 Nov 2016 14:57:22 +0000 (09:57 -0500)]
models/admin/ajax/eventsCalMonthAJAX.php - fixing a missing parameter issue.
* Commented 'message' out in return array. No $message parameter.

8 years agoMerge tag 'v1.5.5' into develop
Steve Sutton [Mon, 14 Nov 2016 20:38:19 +0000 (15:38 -0500)]
Merge tag 'v1.5.5' into develop

Version 1.5.5

8 years agoMerge branch 'hotfix/1.5.5' v1.5.5
Steve Sutton [Mon, 14 Nov 2016 20:38:11 +0000 (15:38 -0500)]
Merge branch 'hotfix/1.5.5'

8 years agoUpdate image upload
Steve Sutton [Mon, 14 Nov 2016 20:37:43 +0000 (15:37 -0500)]
Update image upload

For the front end form.
Need to process the image better.

8 years agoMerge tag 'v1.5.4' into develop
Steve Sutton [Mon, 14 Nov 2016 16:51:16 +0000 (11:51 -0500)]
Merge tag 'v1.5.4' into develop

Version 1.5.4

8 years agoMerge branch 'release/1.5.4' v1.5.4
Steve Sutton [Mon, 14 Nov 2016 16:51:10 +0000 (11:51 -0500)]
Merge branch 'release/1.5.4'

8 years agoBump version numbers
Steve Sutton [Mon, 14 Nov 2016 16:50:36 +0000 (11:50 -0500)]
Bump version numbers

Release 1.5.4

8 years agoremove {debug}
Steve Sutton [Fri, 11 Nov 2016 19:37:04 +0000 (14:37 -0500)]
remove {debug}

8 years agoUse the $term.term_member_cap for Member
Steve Sutton [Fri, 11 Nov 2016 19:35:12 +0000 (14:35 -0500)]
Use the $term.term_member_cap for Member

Don't hard code this.

8 years agoUse small-12 for mobile
Steve Sutton [Fri, 11 Nov 2016 18:16:50 +0000 (13:16 -0500)]
Use small-12 for mobile

Update the mobile form size for beerweek template (search)

8 years agoList for categories should have only active events.
Steve Sutton [Wed, 9 Nov 2016 20:40:29 +0000 (15:40 -0500)]
List for categories should have only active events.

Restrict the category list for event search to categories that are in
active events.

8 years agoFix end date on detail page.
Steve Sutton [Wed, 9 Nov 2016 20:33:38 +0000 (15:33 -0500)]
Fix end date on detail page.

If using beerweek venue locations then don't set the end date for the
detail page.

8 years agoFix for if no view template set in shortcode
Steve Sutton [Wed, 9 Nov 2016 20:20:48 +0000 (15:20 -0500)]
Fix for if no view template set in shortcode

Need to make sure the view template has something.

8 years agoMove the location of the beer, event and venue for detail page.
Steve Sutton [Wed, 9 Nov 2016 20:15:39 +0000 (15:15 -0500)]
Move the location of the beer, event and venue for detail page.

Moving them above the description field.

8 years agoUpdating form and detail page.
Steve Sutton [Wed, 9 Nov 2016 20:06:00 +0000 (15:06 -0500)]
Updating form and detail page.

Bring in the correct search form for beerweek using template attr from
shortcode.

8 years agoPush to remove print_r
Steve Sutton [Tue, 8 Nov 2016 19:31:24 +0000 (14:31 -0500)]
Push to remove print_r

Removing debug

8 years agoIf using event location then no end date.
Steve Sutton [Tue, 8 Nov 2016 19:29:55 +0000 (14:29 -0500)]
If using event location then no end date.

This is so we can get all kbw events.

8 years agoUpdate date format for Search by day.
Steve Sutton [Tue, 8 Nov 2016 14:05:50 +0000 (09:05 -0500)]
Update date format for Search by day.

Updating the date_format in Search by bay to include the Week day.

8 years agoChanging the addform structure from table to div
Laury GvR [Mon, 7 Nov 2016 16:58:46 +0000 (11:58 -0500)]
Changing the addform structure from table to div

The add new form viewfile was using a table-based structure. That
has now been changed to a div-based structure that emulates the
good bits of table-based.

8 years agoFix dateRange for one day search.
Steve Sutton [Mon, 7 Nov 2016 19:11:40 +0000 (14:11 -0500)]
Fix dateRange for one day search.

Fix the sql for times as sub select.

8 years agofix for day search
Steve Sutton [Mon, 7 Nov 2016 19:00:21 +0000 (14:00 -0500)]
fix for day search

8 years agoAdd Events By Day Drop Down.
Steve Sutton [Mon, 7 Nov 2016 18:02:21 +0000 (13:02 -0500)]
Add Events By Day Drop Down.

Adding to the search so it will only show events by the day of the
search.

8 years agoFix variable name
Steve Sutton [Mon, 7 Nov 2016 13:40:26 +0000 (08:40 -0500)]
Fix variable name

Should be $venueId not venueId

8 years agoSet Beer Types from the setting in event management.
Steve Sutton [Mon, 7 Nov 2016 13:37:34 +0000 (08:37 -0500)]
Set Beer Types from the setting in event management.

Should not be hard coded in the search form.

8 years agoUpdate admin edit event page
Steve Sutton [Fri, 4 Nov 2016 20:22:32 +0000 (16:22 -0400)]
Update admin edit event page

This is for locking the venue select when checking use member location
flag.

8 years agoSetting up jquery for venue select if the use_member_location checked
Steve Sutton [Fri, 4 Nov 2016 19:49:42 +0000 (15:49 -0400)]
Setting up jquery for venue select if the use_member_location checked

If they pick the use_member_loction then set the venue and lock it to
that member. unlocking it when the uncheck the field.

8 years agoSet the venue to the member if they select use member location.
Steve Sutton [Fri, 4 Nov 2016 19:14:46 +0000 (15:14 -0400)]
Set the venue to the member if they select use member location.

This is so we can grab all other_ref_dest for creating a venue list.
This will behave like beer week current does.

8 years agoAdding in the venue to search form and query for event list.
Steve Sutton [Fri, 4 Nov 2016 17:43:30 +0000 (13:43 -0400)]
Adding in the venue to search form and query for event list.

Add the venues so they get pulled into the select box for search.
Add venue id for search query.

8 years agoadding comma separation to the event types and the beer types in the beer week agenda...
Anthony Talarico [Fri, 4 Nov 2016 17:31:56 +0000 (13:31 -0400)]
adding comma separation to the event types and the beer types in the beer week agenda view event content

8 years agofixing selectors for the beer week agenda view event venue label
Anthony Talarico [Fri, 4 Nov 2016 16:49:27 +0000 (12:49 -0400)]
fixing selectors for the beer week agenda view event venue label

8 years agoadding beer types, event types and venues to the agenda view event content section
Anthony Talarico [Fri, 4 Nov 2016 16:46:46 +0000 (12:46 -0400)]
adding beer types, event types and venues to the agenda view event content section

8 years agoUpdate category and amenity for editing events.
Steve Sutton [Fri, 4 Nov 2016 16:01:15 +0000 (12:01 -0400)]
Update category and amenity for editing events.

Need to check for option to be either submit or update for the deleting
of amenities or categories if none are set.

8 years agoAdding the dates field to events when using getFeaturedEvents
Steve Sutton [Fri, 4 Nov 2016 12:21:43 +0000 (08:21 -0400)]
Adding the dates field to events when using getFeaturedEvents

Was set in the other get events method.

8 years agoin the beerweek search form template file, increasing the columns for the icons so...
Anthony Talarico [Thu, 3 Nov 2016 18:14:45 +0000 (14:14 -0400)]
in the beerweek search form template file, increasing the columns for the icons so that the search icon can fit inside and float next to the date fields

8 years agoMerge branch 'develop' of cvs2:WP-Plugins/glm-member-db-events into develop
Steve Sutton [Thu, 3 Nov 2016 17:59:45 +0000 (13:59 -0400)]
Merge branch 'develop' of cvs2:WP-Plugins/glm-member-db-events into develop

8 years agoMerge tag 'v1.5.3' into develop
Steve Sutton [Thu, 3 Nov 2016 17:59:31 +0000 (13:59 -0400)]
Merge tag 'v1.5.3' into develop

Version 1.5.3

8 years agoMerge branch 'hotfix/1.5.3' v1.5.3
Steve Sutton [Thu, 3 Nov 2016 17:58:20 +0000 (13:58 -0400)]
Merge branch 'hotfix/1.5.3'

8 years agoSort the events array if action is featured. hotfix/1.5.3
Steve Sutton [Thu, 3 Nov 2016 17:57:27 +0000 (13:57 -0400)]
Sort the events array if action is featured.

This is for templates that don't use the events grouped by day.

8 years agoadding classes to the beerweek search form labels
Anthony Talarico [Thu, 3 Nov 2016 17:05:05 +0000 (13:05 -0400)]
adding classes to the beerweek search form labels

8 years agoRemove debug
Steve Sutton [Thu, 3 Nov 2016 16:58:36 +0000 (12:58 -0400)]
Remove debug

turn off debug for smarty

8 years agoCheck for undefined variables.
Steve Sutton [Thu, 3 Nov 2016 16:54:57 +0000 (12:54 -0400)]
Check for undefined variables.

Turning on debug and testing out form.

8 years agoRemove flush
Steve Sutton [Thu, 3 Nov 2016 16:46:54 +0000 (12:46 -0400)]
Remove flush

not correct anyway

8 years agoAdd amenities and venues to frontAdd form.
Steve Sutton [Thu, 3 Nov 2016 16:44:25 +0000 (12:44 -0400)]
Add amenities and venues to frontAdd form.

Adding the amenities as checkboxes.
Add function for checking that at least one of them are required.
Adding venue list to the front end add event form.

8 years agoFix for front list page and edit form.
Steve Sutton [Thu, 3 Nov 2016 12:39:56 +0000 (08:39 -0400)]
Fix for front list page and edit form.

Edit form needs to set hidden field for other_ref_dest if venues are
off.
Front page fix for when to stop getting next end date.

8 years agoAdding new field into dataEvents.
Steve Sutton [Thu, 3 Nov 2016 12:04:27 +0000 (08:04 -0400)]
Adding new field into dataEvents.

This is to get the actual ref id stored in other_ref_dest field.

8 years agoSetup the venue for the member if set on event.
Steve Sutton [Wed, 2 Nov 2016 21:31:10 +0000 (17:31 -0400)]
Setup the venue for the member if set on event.

If the event has other_ref_dest set then get the member info record from
the name that was set. This will be used for the detail page.

8 years agoSetup the event form for venue location.
Steve Sutton [Wed, 2 Nov 2016 20:34:02 +0000 (16:34 -0400)]
Setup the event form for venue location.

If other_ref_dest is set it will hide the location.

8 years agoUpdating db tables with new fields.
Steve Sutton [Wed, 2 Nov 2016 19:03:28 +0000 (15:03 -0400)]
Updating db tables with new fields.

Adding new field for event management.
    use_venue_locations - To use other member locations as event
    locations.

Adding new field for event table.
    other_ref_dest - Another members id for location.

8 years agoMerge branch 'feature/beerweek' into develop
Steve Sutton [Wed, 2 Nov 2016 16:38:23 +0000 (12:38 -0400)]
Merge branch 'feature/beerweek' into develop

8 years agoUpdating the get events function in baseAction.php
Steve Sutton [Wed, 2 Nov 2016 16:35:42 +0000 (12:35 -0400)]
Updating the get events function in baseAction.php

Updating these so you can have more than one of these given and it will
select events properly.
Before it would only goto one case.
Building an array for the wherePart and imploding it with AND to build
the where part for the event list call.

8 years agoWIP for adding amenities
Steve Sutton [Tue, 1 Nov 2016 21:04:12 +0000 (17:04 -0400)]
WIP for adding amenities

Working on the amenities.

8 years agoWIP for event search.
Steve Sutton [Mon, 31 Oct 2016 21:12:57 +0000 (17:12 -0400)]
WIP for event search.

Adding amenities, members to search.

8 years agoFix for adding event with Categories and Amenities
Steve Sutton [Fri, 28 Oct 2016 21:05:12 +0000 (17:05 -0400)]
Fix for adding event with Categories and Amenities

Adding an event wasn't saving the Category or Amenity when first
inserted. Updated the code to insert the event get the event id then add
categories and amenities.

8 years agoMerge branch 'develop' into feature/beerweek feature/beerweek
Steve Sutton [Fri, 28 Oct 2016 18:26:22 +0000 (14:26 -0400)]
Merge branch 'develop' into feature/beerweek

8 years agoMerge branch 'feature/eventAmenities' into develop
Steve Sutton [Fri, 28 Oct 2016 15:31:14 +0000 (11:31 -0400)]
Merge branch 'feature/eventAmenities' into develop

8 years agoRemove parent drop down in add event amenity on the event edit page. feature/eventAmenities
Steve Sutton [Fri, 28 Oct 2016 15:25:03 +0000 (11:25 -0400)]
Remove parent drop down in add event amenity on the event edit page.

This was using same name as the category one. Parent of amenities not
used right now.

8 years agoUpdate the sql scripts so there's default names.
Steve Sutton [Fri, 28 Oct 2016 15:19:12 +0000 (11:19 -0400)]
Update the sql scripts so there's default names.

For the singular and plural names to have default of Amenity and
Amenities.

8 years agoUpdate events so the use_event_amenity flag works on edit and settings.
Steve Sutton [Fri, 28 Oct 2016 15:06:49 +0000 (11:06 -0400)]
Update events so the use_event_amenity flag works on edit and settings.

Setting up the use_event_amenity settings to turn off and
on the event amenities in settings page and the event edit add pages.

8 years agoWIP Event Amenities:
Steve Sutton [Fri, 28 Oct 2016 14:48:18 +0000 (10:48 -0400)]
WIP Event Amenities:

Event Amenity setting now using the event management name for amenities (beer types).
Event amenities now working on edit event page.
Event amenities now working for the setting page.
Setting: add edit delete amenities working.
Event edit page: adding editing deleting amenities to event working.

8 years agoMerge branch 'develop' into feature/eventAmenities
Steve Sutton [Fri, 28 Oct 2016 12:12:19 +0000 (08:12 -0400)]
Merge branch 'develop' into feature/eventAmenities

8 years agoMerge tag 'v1.5.2' into develop
Steve Sutton [Thu, 27 Oct 2016 18:32:25 +0000 (14:32 -0400)]
Merge tag 'v1.5.2' into develop

Version 1.5.2

8 years agoMerge branch 'hotfix/1.5.2' v1.5.2
Steve Sutton [Thu, 27 Oct 2016 18:32:19 +0000 (14:32 -0400)]
Merge branch 'hotfix/1.5.2'

8 years agoFix for the agenda view dates shown.
Steve Sutton [Thu, 27 Oct 2016 18:31:29 +0000 (14:31 -0400)]
Fix for the agenda view dates shown.

Looping through each recurrence and finding the correct one to output
the date.

8 years agoMerge tag 'v1.5.1' into develop
Steve Sutton [Thu, 27 Oct 2016 17:11:00 +0000 (13:11 -0400)]
Merge tag 'v1.5.1' into develop

Version 1.5.1

8 years agoMerge branch 'hotfix/1.5.1' v1.5.1
Steve Sutton [Thu, 27 Oct 2016 17:10:53 +0000 (13:10 -0400)]
Merge branch 'hotfix/1.5.1'

8 years agoAdd google map api key
Steve Sutton [Thu, 27 Oct 2016 17:10:27 +0000 (13:10 -0400)]
Add google map api key

Also bump version number.

8 years agoBROKEN Work in progress for adding event Amenities
Laury GvR [Wed, 26 Oct 2016 20:14:05 +0000 (16:14 -0400)]
BROKEN Work in progress for adding event Amenities

Amenities are added to the Edit Event form - but they are not
functional. A new amenity can be added successfully but is then
not attached to the event.

The "Add a new amenity" popup currently has a needless dropdown
but needs to optimally be like the "Add an amenity" in the member
DB settings. It will in fact -not- be like the category button in
that it shall nto have a parent, but needs to show the amenity
groups, which are not yet properly handled in the model.

Then the corresponding button for adding amenities, along with the
one for adding categories, needs to not be displayed if the user
lacks admin privileges.

8 years agoWorking on the beer week templates.
Steve Sutton [Wed, 26 Oct 2016 13:52:56 +0000 (09:52 -0400)]
Working on the beer week templates.

8 years agoMerge branch 'feature/memberOnlyFrontEndForm' into develop
Steve Sutton [Mon, 24 Oct 2016 18:21:12 +0000 (14:21 -0400)]
Merge branch 'feature/memberOnlyFrontEndForm' into develop

8 years agoUpdate shortcode text.
Steve Sutton [Mon, 24 Oct 2016 18:16:12 +0000 (14:16 -0400)]
Update shortcode text.

Explain the member_only attribute.

8 years agoIf the logged in user is member manager then allow adding to any member.
Steve Sutton [Mon, 24 Oct 2016 18:11:19 +0000 (14:11 -0400)]
If the logged in user is member manager then allow adding to any member.

Add event form is now working for member contact and member manager to
add event from the front end event form.

8 years agoSetting up the member ref_dest hidden field
Steve Sutton [Fri, 21 Oct 2016 20:59:45 +0000 (16:59 -0400)]
Setting up the member ref_dest hidden field

Setting up hidden fields for when member contact is logged in and
submits an event.

8 years agoMerge branch 'develop' into feature/memberOnlyFrontEndForm
Steve Sutton [Fri, 21 Oct 2016 18:37:56 +0000 (14:37 -0400)]
Merge branch 'develop' into feature/memberOnlyFrontEndForm

8 years agoUpdate edit event form for enable_members flag.
Steve Sutton [Fri, 21 Oct 2016 14:55:48 +0000 (10:55 -0400)]
Update edit event form for enable_members flag.

If the members are disabled then just output hidden field.

8 years agoUpdate to get enable_member flag.
Steve Sutton [Fri, 21 Oct 2016 14:23:33 +0000 (10:23 -0400)]
Update to get enable_member flag.

This is for turning off members in the glmAssociate plugins.

8 years agoStarting WIP for member only front end form.
Steve Sutton [Fri, 21 Oct 2016 13:03:57 +0000 (09:03 -0400)]
Starting WIP for member only front end form.

This form could be used on the front end for member only. So they can
quickly add events.

8 years agoadding view link to the admin events list page
Anthony Talarico [Wed, 19 Oct 2016 14:33:14 +0000 (10:33 -0400)]
adding view link to the admin events list page

8 years agoMerge tag 'v1.5.0' into develop
Steve Sutton [Wed, 19 Oct 2016 13:44:47 +0000 (09:44 -0400)]
Merge tag 'v1.5.0' into develop

Version 1.5.0

8 years agoMerge branch 'release/1.5.0' v1.5.0
Steve Sutton [Wed, 19 Oct 2016 13:44:42 +0000 (09:44 -0400)]
Merge branch 'release/1.5.0'