Mobile app for booking press?

👍 Gathering votes

Do you have mobile app for admin and staff members with push notifications?

Mulugeta

2 years ago

Activity
Nicholas

I am not a member of the BookingPress staff but thinking about this particular feature I am not completely sure I agree that it should be added despite the popularity of the request. I am however a website engineer by trade. Let me explain my reasoning.

  1. The amount of time to develop this could be considerable and it is simply another thing BookingPress will have to maintain.
  2. Accomplishing a mobile app can be done with other plugins that are centered around PWA (Progressive Web Applications). Which is ultimately what the team would most likely do to create this feature.
  3. Documentation of how to make a PWA using a plugin on the BookingPress documentation site would probably be the best approach. It will reduce the complexity of the plugin infrastructure that the team has to maintain and allow the customers to have an app.
  4. It might however be worth it for BookingPress to create a small plugin that piggybacks off of a PWA plugin and makes it more apparent how to install the PWA app to the end users, similar to what SetMore does when you land on their booking pages (they also simply implement through creating a PWA).

I hope this was concise enough to explain why I am against the full development of this feature, I personally think there are better features for the team to iterate on.

I should note that I was actually able to create a PWA for my booking site by simply installing and configuring the Super Progressive Web Apps plugin, I only used the free version. The only things I feel it lacks are:

  1. A banner of sorts to better inform the end users of the availability of the PWA. This should be easy enough to do by simply create some custom blocks or other marketing on the website. This style banner is exactly what SetMore has, it pops up at the bottom of the page and explains how to install a PWA to the customers.
  2. Push notifications for certain events, this may be able to be done by using SuperPWA's paid push notifications plugin but I have yet to mess with this.

So these last two features along with documentation are what I would concentrate on working out at the BookingPress team.

0    3 weeks ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Nicholas

Following up here. The Super Progressive Web App plugin is working beautifully. I have been able to make a very nice "app" for the website. I went so far as to create a separate stripped down page template and then create new pages with the same shortcodes used for the booking page and the my bookings pages. The stripped down template was all built in wordpress customizer and came out nicely.

Visiting the website I added this popover which can be dismissed (Easy Notification Bar plugin). Clicking on the button in the popover expands it to show instructions for installing the PWA (which I modeled after how Setmore does theirs):
image image

After that I installed and enabled the Super PWA plugin, it allows quite a bit of configuration for free. The page that is set to open in the PWA is a stripped down version as I explained, it offers no way to navigate outside of the pages in the stripped down version of the pages.

When you follow the instructions in the above screenshot you walk though like this and end up with an app on your homescreen:
image image image

Once you open the app you see the nice splash screen followed by our stripped down booking page:
image image

I only have a couple links available in the navigation for the page template so there isn't much available to mess with other than what I want to have in the app.
image image image image

No need to get approval from the app stores or wait on yet another enormous feature to be added to a plugin. Aside from installing and configuring the plugins/template I did only a little bit of css and js to accomplish this

0    2 weeks ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Nicholas

I additionally made a section for the staff member. It took some custom coding to make it look great but it wasn't crazy.

I created a new plugin with the following structure:

abc-staff-extras/
├── custom
│   ├── admin.css
│   └── admin.js
└── abc-staff-extras.php

abc-staff-extras.php:
<?php
wp_enqueue_style( 'admin-css', plugins_url( '/custom/admin.css', __FILE__ ) );
wp_enqueue_script( 'abc-admin-js', plugins_url( '/custom/admin.js', __FILE__ ), array( 'jquery' ), null, TRUE );

/* Hide the wordpress toolbar for staff members specifically and any other roles I don't have whitelisted */
function abc_disable_admin_bar() {
   $user = wp_get_current_user();
   $allowed_roles = ['administrator', 'contributor', 'editor', 'author'];

   if (empty(array_intersect($allowed_roles, $user->roles))) {
     show_admin_bar(false);
   }
}
add_action('after_setup_theme', 'abc_disable_admin_bar');

/** Add a body class so we can identify when to apply our css **/
function abc_customizations_body_class($classes) {
  $user = wp_get_current_user();
  $allowed_roles = ['administrator', 'bookingpress-staffmember'];

  $post = get_post();
  $slug = get_post_field('post_name', $post);

  if ($post->post_parent) {
    $parent_id = $post->post_parent;
    $parent_post = get_post($parent_id);
    $slug = $parent_post->post_name;
  }

  if (strpos($_GET['page'], 'bookingpress') === 0 && !empty(array_intersect($allowed_roles, $user->roles))) {
    $classes .= ' abc-staffmember';
  }

  return $classes;
}
add_filter('admin_body_class', 'abc_customizations_body_class');

custom/admin.js:
jQuery(document).ready(function($){
  if ($('body').hasClass('abc-staffmember')) {
    $('.bpa-ssn-logo--sm, .bpa-staff-header-navbar__mob > div > div > a').each(function() {
      $('> svg', this).replaceWith('<img src="/path-to-a-square-logo.jpg" style="margin: 0 auto; display: table;width: 64px; border-radius: 10%; overflow: hidden;" />');
    });

    $('.bpa-ssn-logo--lg').each(function() {
      $('> svg', this).replaceWith('<img src="/path-to-a-wide-logo.png" style="width: 124px; padding: 0 8px; margin: 0 auto; display: table;" />');
    });
  }
});

custom/admin.css
.abc-staffmember .bpa-fab-component {
  display: none;
}
/* lots more custom CSS simply added to make the backend area look more like my frontend form/site, which is pretty easy to do for most anyone I would hope */

/** One example rule, all the CSS rules are prefixed with body.abc-staffmember to make sure they don't cause havoc elsewhere on the site **/
body.abc-staffmember .bpa-staff-sidebar-navigation {
  background-color: #1A1A1A;
  border-right-color: #000000;
}

Then I added a menu item to the sidebar from my prior post, the menu item is set to only show for users with the bookingpress staffmember or administrator roles. I used the plugin Menu By User Roles to limit that.

image image imageimage image image

0    1 week ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Elliot

I agree this would be a really good addition

0    2 months ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Luciamariapiccolino

I would love that.

0    2 months ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Olgerxama

an app would make it 10x more valuable.

0    6 months ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Incercam

Will be greate

0    6 months ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Adrian N

we need a Google Play APP to login to Booking PRess Plugin and to Admin manage easily appointments made through Booking Press Plugin, take example from www.Setmore.com

0    6 months ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Adrian N

how to vote this ?

0    6 months ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

ContextGeek

I like the idea of an app for my website where the Bookingpress is part of and thus is integrated into the app. To create an app for only the plugin would work for some, but for others it would be a waist of money if they needed to buy an app for every WP plugin/app that exists. It would be more efficient to make it integratable into many populair app-converters/PWS/etc.

0    1 year ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Bbaig

Can we add this plugin to our ios app? I want to use the same booking features on my ios app but couldn't find API end points or something like that... Anyone can help???

0    1 year ago    Reply

Comment must be at least 20 characters.
Cancel

We love to listen to our customers.

Categories
🎉 Feature