plainware
Forum Replies Created
-
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] Automating Schedule DownloadHello,
my apologies for not replying sooner.You can find the links for download and export in Administration, Shifts Feed. There will be several link options for CSV and JSON export.
Forum: Plugins
In reply to: [Locatoraid Store Locator] New URLHello,
you might have had a “Website” restriction for your Google Maps API key that limited the use of the key for the old site only? So you would need to update the restriction setting or remove it at all. Anyway, I’ve tried your site and it worked for me. So is it resolved?Forum: Plugins
In reply to: [Locatoraid Store Locator] Url’s trackingHello,
you would need to define the explicit label for the website link: in Locatoraid, Configuration, Locations Details, set the label text under “Website”. So it’ll show this label instead of the full URL.Forum: Plugins
In reply to: [Locatoraid Store Locator] Search form?Hello,
I’m sorry for not replying sooner.You’ll need to use the
[locatoraid]
shortcode in a page or a post content.Also Locatoraid comes with a widget named “Locatoraid Search Form” so you can include it your theme footer or header so the search form will appear on all pages.
Hello Jess,
I’m sorry for not replying sooner.We’ve just published a new version update, 4.9.22 where you can use custom fields as arguments for queries, both REST API and export feeds. For example:
JSON export:
https://www.yoursite.com/?hcs=sh4&hca=json/abcdef&misc123=CustomFieldValueREST API:
https://www.yoursite.com/wp-json/shiftcontroller/v4/shifts?misc123=CustomFieldValueWhere “misc123” is the custom field name which you can find out in:
ShiftController, Administration, Calendars, Custom Fields
ShiftController, Administration, Shifts Feed
ShiftController, Administation, REST APIRegarding multiple notifications emails currently it’s designed so that only one email can be sent.
But you can hook into ShiftController events and make a custom plugin, here’s a short example of custom code:
https://www.shiftcontroller.com/wordpress-api/#eventsI hope it helps, please let me know if it works for you.
Hello,
yes, just it can process a date range, i.e. from date to date rather than down to minutes. A link for this would look like this:https://yoursite.address/?hcs=sh4&hca=feed/someKey/calendarId/employeeId/YYYYMMDD/YYYYMMDD
where
someKey: random auth code that you can find on Administration, Shifts Feed page.calendarId: calendar id, you can insert a specific calendar id or use ‘x’ for all calendars
employeeId: employee id, you can insert a specific employee id or use ‘x’ for all employees
then from date and to date in YYYYMMDD format
For example,
https://yoursite.address/?hcs=sh4&hca=feed/1a2b3c/x/123/20230201/20230228
You can view example links in Administration, Shifts Feed.
By the way, in version 4.9.20 it was giving wrong links there pointing to the admin area which wouldn’t work if you are not logged in. It was fixed in 4.9.21, please update to the latest version.Hello,
you can make use of the “Schedule Limits” feature of the Pro version:
https://www.shiftcontroller.com/schedule-limits/So you can create a limit that only 1 shift is allowed within a day for the “Shift Type A” calendar.
Another option is to use an optional add-on plugin “Conflicts In Calendar”:
https://www.shiftcontroller.com/shiftcontroller-conflict-calendar-100.zipIt’ll raise a conflict when there’re overlapping shifts in any of the calendars.
But the “Schedule Limits” option is more flexible – you can enable it for certain calendars only, allow perhaps 3 shifts. The “Conflicts In Calendar” will work for all the calendars without exception and allows only 1 shift at a time.
I hope it helps!
Hello,
could you please check if that user is linked to an employee as this “myschedule” part is to manage shifts of the employee that the current user is linked to. If no employee is associated with this user, this error appears.Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] Only show next two weeksHello,
anyway, I went ahead and make a quick add-on plugin that simply doesn’t show shifts beyond 2 weeks from today, it applies only to the front end view on a page with shortcode, it won’t affect the wp-admin side. It’ll still let the user navigate to a further date range but no shifts will be displayed there.Here’s the link:
https://www.shiftcontroller.com/dist/shiftcontroller-frontend-maxdate.zipInstall it the usual way – in admin, Plugins, Add New, Upload.
If you wish, you can manually redefine the allowed range in the code, edit line 10:define( 'SHIFTCONTROLLER_FRONTEND_MAXDATE', '2 weeks' );
I hope it helps, please let me know if it works for you.
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] Only show next two weeksHello,
sorry for not replying sooner.There’s a partial solution for this, in the shortcode you can set the default date range to start with. It only works in the list view though. Like this:
[shiftcontroller4 end="+2 weeks" type="list"]
But it won’t prevent the user from choosing a different date range.
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] Export ScheduleHello,
I’m sorry for not replying sooner. Our plugin keeps its data in WordPress database tables so you can either move the whole WordPress database to the new site, or just export then import only ShiftController related data.wp_options: records where “option_name” starts with “sh4_”
wp_posts: records where “post_type” starts with “sh4_”
wp_postmeta: records where post_id in the results of the previous stepSpeaking in SQL, you’ll need to export the full results of the following queries, then load them into the new database keeping the records ids:
SELECT * FROM "wp_options" WHERE "option_name" LIKE "sh4_%" SELECT * FROM "wp_posts" WHERE "post_type" LIKE "sh4_%" SELECT * FROM "wp_postmeta" WHERE "post_id" IN(SELECT ID FROM "wp_posts" WHERE "post_type" LIKE "sh4_%")
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] Wrong Timezone used in iCal SyncIt appeared to be a bug introduced in version 4.9.9, now it’s fixed in the current version.
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] Wrong Timezone used in iCal SyncHello Frank,
I’ve not received an example of a correct iCal file of another app from you yet. Could you please resend it? As technically our feed seems properly built and we’ve not got negative feedback related to timezones. Please send it through https://www.plainware.com/support/Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] Wrong Timezone used in iCal SyncHello Frank,
well the timezone is set in the iCal code, but it can really depend on your iCal application (which one are you using?). Also would you mind giving me an example of an properly working feed of an other app so I could try to figure it out. You could send it to me through our support channel at https://www.plainware.com/support/index.php?a=add&category=2Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] Mail Template possible?Hello,
yes, the email template is configurable. The reminder e-mails reuse the template from notification e-emails, which depends on the calendar of the shift. So for this “Boarding” calendar, you can edit the template in Administration, Calendars, Boarding: Notifications. Edit the Email: Shift Published (Employee) template.At the moment, we don’t have separate placeholders for start and end time yet, there’s just the {DATETIME} one which includes both date and the shift type label/or the start-end time of the shift. In your example it says “Morning (Sunday)” which is the label of the shift type. If you need the exact start/end time, you can either modify the shift type label to include these times, or set it in Administration, Shift Types, Settings – uncheck Show Shift Type Title In Calendar. This will stop using the shift type label both in schedule view and in notifications, using start-end time of the shift instead.
I hope it helps.