Grapevine Interactive SMS Plugin

Plugin Banner

Grapevine Interactive SMS Plugin

by gvilabs

Download
Description

This plugin makes a function available to allow WordPress developers to send an sms/text message to whichever phone
number they want.

Usage of this plugin requires signing up and registering for a paid-for account with Grapevine Interactive.

This is a service plugin only, it does not do anything by itself, it just makes the smsing/texting functionality available
for developers to call at appropriate times.

Usage in code

As an example, use the following code wherever you want an sms/text message to be sent:

<?php if (function_exists("za_co_vine_sms_sendSms")) {
        za_co_vine_sms_sendSms("0821234567","message content here");
} ?>

Try to use this code close to the end of the WordPress Loop execution, as the function will block while doing the HTTP post.

  1. Sign up for a test account with Grapevine Interactive at www.grapevinedirect.co.za
  2. Upload za.co.vine.wordpress.sms.php to your /wp-content/plugins folder
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Enter the account details you would have received after signing up, on the Settings->Grapevine SMS page
    • Affiliate Code
    • Authentication Code
    • Post URL

What does this plugin actually do?

It makes a function called za_co_vine_sms_sendSms available to the whole of WordPress, to allow plugin and theme developers
to use to send sms/text messages to whichever phone number they want.

What is the cost?

Usage of this plugin requires the user to sign up for an account with Grapevine Interactive, on either a pre- or post-paid
system. Costs can be discussed with your sales person.

0.2

  • Tested with WordPress 3.1
  • Wrapped message content in XML with CDATA to prevent XML errors

0.1

  • Initial release
  • Adds SMSApplink support to WordPress
Back to top