Configuring SMSGlobal From PBBooking 4.
As of PBBooking 4.0.3 two different SMS plugins are included.
This knowledge base article will cover how to configure SMSGlobal in PBBooking v4. Twilio is covered in a separate article. How to configure Twilio SMS Plugin
Step 1: Create an SMSGlobal Account
You can sign up for an SMSGlobal account on their website at https://www.smsglobal.com.
You will need to provide an email address and valid phone number for your account to be verified.
Once you have successfully created and verified your account login to the SMS dashboard and from the left menu choose API & Integrations.
Under the API Keys section you will need the username and password when you configure PBBooking. Please note, this does not refer to your smsglobal username and password.
Step 2: Enable the plugin in Pbbooking
Log in your your Joomla website and go to the Plugin Manager from Extensions -> Plugin Manager. Then click the Search Tools button next to the search box and from the select type dialog scroll down to PBBooking. This will bring up all the installed PBBooking plugins.
Click on the Hot Chilli Software: Send SMS link to edit and enable the plugin.
Tell PBBooking which events you wish to send an SMS on. This can be:
- Send on Create: Sends an SMS when the event is first created and is still at a pending state (ie. not validated)
- Send on Validate: Sends an SMS after an event has been validated (regardless of whether it validated by an admin, user, or auto validation)
- Send on Reminder: Sent when an event meets the criteria for the reminder to be sent. This requires that reminders and enabled and the cron job is running successfully.
The SMSGlobal API username and password are entered from your SMSGlobal account. Please note: this is not your actual SMS global username and password but the API username and password.
The default country code to add specifies which country code should be added to the front of your mobile phone number. The plugin will check to see if this already exists before deciding whether to add or not to add.
The strip leading 0 specifies whether PBBooking should leave a 0 at the front of the number or remove. For example in Australia we commonly enter mobile phone numbers as 0468 123 123 but gateways generally expect the 0 to be removed. Your country may not work this way.
The mobile # for the custom field specifies which of the custom fields contains the customers phone number. This is the variable name of the custom field NOT the label. You can find the variable name of the custom field by accessing the Customfields from the dashboard.
Finally include the sender ID you wish to send from. At time of writing SMSGlobal supports alpha numeric sender IDs and DOESN’T require verification of the sender ID the same way Twilio does. This may change in the future.
Ensure that the status of the plugin is set to enabled and then click Save & Close.
Congratulations the SMSGlobal plugin is now configured and clients will receive SMS messages based on the event settings that you defined.
You can edit the SMS messages that are sent to clients by clicking the SMS Templates menu item on the dashboard. This uses the same place holders as defined in the emails and is the customfield variable name enclosed in |* characters.