Coder Social home page Coder Social logo

alextselegidis / easyappointments-integrations Goto Github PK

View Code? Open in Web Editor NEW
38.0 10.0 21.0 7.51 MB

📅 Add appointment bookings to your WordPress site

Home Page: https://developers.easyappointments.org

License: GNU General Public License v3.0

CSS 2.28% JavaScript 20.20% PHP 77.53%
wordpress plugin appointment book-appointments wordpress-plugin appointment-booking php mysql javascript calendar events time collaboration open-source

easyappointments-integrations's Introduction


Easy!Appointments
Easy!Appointments - WordPress Plugin


Easy!Appointments appointment scheduling integration for WordPress.

GitHub GitHub release (latest by date)

AboutSetupInstallationLicense

banner

About

Leverage your conversion rates by integrating the booking form directly in your WordPress pages. Customers will never have to leave your website for booking an appointment. Take advantage of the scheduling power of Easy!Appointment which will run smoothly with your WordPress installation. Include the booking form in your pages with the [easyappointments] shortcode.

Minimum Requirements: WordPress v5.0 & PHP v5.6

Connecting Easy!Appointments with WordPress

Install and activate the plugin and navigate to Settings > Easy!Appointments menu of the WordPress admin section. Create a new Easy!Appointments installation or connect to an existing one by providing the preferred URL and destination path in the page form. Once a connection is established you'll be able to include the booking form in your pages.

Include Booking in your Pages

WordPress supports the use of custom shortcodes which allow plugins to insert custom content into pages. This plugin takes advantage of this functionality and creates an iframe that displays the booking form of Easy!Appointments. Include the [easyappointments] shortcode in the correct place of your published contents as shown in the following example.

[easyappointments width="100%" height="500px" style="border: 5px solid #1A865F; box-shadow: #454545 1px 1px 5px;"]

The "width", "height" and "style" attributes are optional but can help you to fine tune the styling of the iframe.

Translations

This plugin uses the i18n localization system of WordPress and the translations are po & mo files located in the languages directory. Contributions are more than welcome so feel free to make pull requests with your translations or send them directly to [email protected].

Setup

To clone and run this application, you'll need Git, Node.js (which comes with npm) and Composer installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/alextselegidis/easyappointments-wordpress-plugin.git

# Go into the repository
$ cd easyappointments-wordpress-plugin

# Install dependencies
$ npm install && composer install

# Build the plugin
$ npm run build

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

You can build the files by running npm run build. This command will bundle everything to a build directory.

Installation

After building the plugin you will get a zip file that can be used with in the WordPress plugin installation page.

License

Code Licensed Under GPL v3.0 | Content Under CC BY 3.0


Website alextselegidis.com  ·  GitHub alextselegidis  ·  Twitter @alextselegidis

More Projects On Github

easyappointments-integrations's People

Contributors

alextselegidis avatar dependabot[bot] avatar nextdoorpanda avatar petrtodorov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

easyappointments-integrations's Issues

woo commerece

Is it possible to make this link up with woo commerce so that services are products in woo?

Cannot link wordpress to E!A installation

Hi

I've got a problem with current E!A version + wordpress plugin (v1.0). After changing few lines in route.php i see both buttons: install and link.

Wordpress data:
PATH: /home/colorfil/domains/portal.vetsandpets.pl/public_html
URL: https://portal.vetsandpets.pl

E!A
PATH: /home/colorfil/domains/app.vetsandpets.pl/public_html
URL: https://app.vetsandpets.pl

after clicking LINK I got error:

An unexpected error occured in file /home/colorfil/domains/portal.vetsandpets.pl/public_html/wp-content/plugins/easyappointments-wp-1.0.0/core/ValueObjects/Path.php (line 36): Invalid $path argument provided: /home/colorfil/domains/app.vetsandpets.pl/public_html/

Vertical scroll bar when embedding with shortcode

When using the shortcode to embed easyappointments, it shows with a vertical scroll bar that only scrolls a little bit to show the bottom content. This is ugly and shouldn't happen. I believe it should just display the booking form without any scroll bars.

Screenshot 2023-09-08 143054

Wont install due to unexpected error

An unexpected error occured in file /home/peterzapfella/public_html/wp-content/plugins/easyappointments/core/ValueObjects/Path.php (line 36): Invalid $path argument provided:

I am not sure what else to tell you... I have the latest wordpress, and tried to add your plugin and got this when i went to settings/yourapp and clicked install

Intermittent CSRF issue.

Hi,

Occasionally when going to the page with the iframe on my WP install, I get an AJAX error pop-up -- the JS request is for easyapp/index.php/appointments/ajax_get_available_hours.

Tracing this back through the code, the function csrf_verify() in system/core/Security.php is failing with the isset($_COOKIE[]) test - the isset($_POST[]) passes. (Line 151)

A reload of the page fixes this. Both WP and EA are under the same vhost/hostname/site, EA in a subdirectory. I can't find a pattern between browsers (occurs in Chrome, FF, IE, Edge on Windows and Chrome on Android). Trying with a fresh browser doesn't always give it. Logging out/in doesn't always give it.

Any ideas?

ajax error trying to connect to existing easyappointments installation

I am trying to connect to an existing easyappointments installation.

I have entered the correct path to the installation and the correct URL, but when I click the connect button I get the following error message:

The AJAX request could not be completed due to an unexpected error: undefined

message in DevTools console:
Failed to load resource: the server responded with a status of 500 () /wp-admin/admin-ajax.php:1

Enable FTP operations for installing Easy!Appointments.

Most of the times PHP will not have the required permissions to create a directory in the server for installing Easy!Appointments. This can be done though with FTP, so the plugin needs to use the admin's FTP credentials to perform the required operations without errors.

WordPress plugin cannot connect to EA installation on other server

Not sure if this has been covered before, but I'm somewhat confused as to how I'm supposed to integrate EA with the WordPress plugin.

I have EA on server1 and a WordPress site on server2.

In the WordPress plugin, I enter nothing in the path field (because it's installed on server1), and then the URL in the URL field.

Then I click "CONNECT", and am given this in return:

"The AJAX request could not be completed due to an unexpected error: undefined"

In the PHP log, I see this:

[16-Jan-2023 13:06:42 UTC] PHP Fatal error: Uncaught Exception: Provided path does not point to an Easy!Appointments installation: "" in /var/www/server2.com/public_html/wp-content/plugins/easyappointments/admin/class-easyappointments-admin.php:185 Stack trace: #0 /var/www/server2.com/public_html/wp-includes/class-wp-hook.php(308): Easyappointments_Admin->connect('') #1 /var/www/server2.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #2 /var/www/server2.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/server2.com/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_easyapp...') #4 {main} thrown in /var/www/server2.com/public_html/wp-content/plugins/easyappointments/admin/class-easyappointments-admin.php on line 185

WordPress iframe not showing up with shortcode.

Hey i want to thanke you for your greate work. But unfortunatly i am facing the Problem that nothing is showing up on the Page. Could you please help me? I am using the latest Wordpress version. Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.