=== Wordpress SMS === Contributors: mostafa.s1990 Donate link: http://mostafa-soufi.ir/donate/ Tags: sms, wordpress, send, subscribe, sms subscribe, message, register, notification, webservice, sms panel Requires at least: 3.0 Tested up to: 4.1 Stable tag: 2.7 Send a SMS via WordPress, Subscribe for sms newsletter and send an SMS to the subscriber newsletter. == Description == Very easy SMS Send by WordPress. 1. `global $sms;` 2. `$sms->to = array('09000000000');` 3. `$sms->msg = "Hello World!";` 4. `$sms->SendSMS();` [Premium version is available.](http://codecanyon.net/item/wp-sms-pro/9380372) = Features = * Send SMS to number(s) and subscribes. * Subsribe sms. * Show credit. * Send SMS via FLASH. * Widget for register user to sms subscribes * Support Hooks. * Support shortcode. * Suggestion post by SMS. * Send activation code to subscribes. * Notification SMS when published new post to subscribers. * Notification SMS when the new release of WordPress. * Notification SMS when registering a new username. * Notification SMS when get new comment. * Notification SMS when username login. * Notification SMS when registering a new subscribe. * Integrate with (Contact form 7, WooCommerce, Easy Digital Downloads) * Import/Export Subscribes. = Premium Features = Webservice added: * bulksms.com * clockworksms.com * twilio.com * infobip.com * smstrade.de * yamamah.com * clickatell.com * viensms.com * isms.com.my * nexmo.com * mobily.ws * clickatell.com * msg91.com Other features: * Premium Support * Integrate with Quform * Integrate with Gravity form * Adding a web service with request [Buy Pro Version](http://codecanyon.net/item/wp-sms-pro/9380372) = Translators = * English * Persian * Arabic (Thanks Hamad Al-Shammari) * Portuguese (Thanks Matt Moxx) * Spanish (Thanks Yordan Soares) Translations are done by people just like you, help make WP SMS available to more people around the world and [do a translation](http://teamwork.wp-parsi.com/projects/wp-sms/) today! = Support = * [Donate to this plugin](http://mostafa-soufi.ir/donate/) * [Persian Support](http://forum.wp-parsi.com/forum/17-%D9%85%D8%B4%DA%A9%D9%84%D8%A7%D8%AA-%D8%AF%DB%8C%DA%AF%D8%B1/) == Installation == 1. Upload `wp-sms` to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. To display Subscribe goto Themes -> Widgets, and adding `Subscribe to SMS` into your sidebar Or using this functions: `` into theme. or using this Shortcode `[subscribe]` in Posts pages or Widget. 4. Using this functions for send manual SMS: * First: `global $sms;` * `$sms->to = array('MobileNumber');` * `$sms->msg = "YourMessage";` * Send SMS: `$sms->SendSMS();` = Actions = Run following action when send sms with this plugin. `wp_sms_send` Example: Send mail when send sms. `function send_mail_when_send_sms($message_info) { wp_mail('you@mail.com', 'Send SMS', $message_info); } add_action('wp_sms_send', 'send_mail_when_send_sms');` Run following action when subscribe a new user. `wp_sms_subscribe` Example: Send sms to user when register a new subscriber. `function send_sms_when_subscribe_new_user($name, $mobile) { global $sms; $sms->to = array($mobile); $sms->msg = "Hi {$name}, Thanks for subscribe."; $sms->SendSMS(); } add_action('wp_sms_subscribe', 'send_sms_when_subscribe_new_user', 10, 2);` == Screenshots == 1. SMS Setting Page. 2. Webservice page. 3. Newslleter page. 4. Features page. 5. Notifications page. 6. Send SMS Page. 7. SMS Posted Page. 8. Subscribe list Page. 9. At a Glance. 10. SMS Subscribe widget. 11. Subscribe new-post.php. 12. Suggestion post in single. 13. Contact Form 7 page. == Upgrade Notice == = 2.4 = * CHANGE `$obj` variable TO `$sms` IN YOUR SOURCE CODE. = 2.0 = * BACKUP YOUR DATABASE BEFORE INSTALLING! == Changelog == = 2.7 = * Added Numbers of Wordpress Users to send sms page. * Added Mobile validate number to class plugin. * Added Option for Disable/Enable credit account in admin menu. * Added afe.ir webservice. * Added smshooshmand.com webservice. * Added Description field optino for subscribe form widget. * Included username & password field for reset button in webservice tab. * Updated: Widget code now adhears to WordPress standards. = 2.6.7 = * Added navid-soft web service. * Remove number_format in show credit sms. = 2.6.6 = * Fixed problem in include files. = 2.6.5 = * Added smsroo.ir web service. * Added smsban.ir web service. = 2.6.4 = * Fixed nusoap_client issue when include this class with other plugins. * Remove mobile country code from tell friend section. * Change folder and files structure plugin. = 2.6.3 = * Added SMS.ir (new version) web service. * Added Smsmelli.com (new version) web service. * Fixed sms items in posted sms page. * Fixed subscribe items in subscribe page. * Fixed Mobile validation number. * Fixed Warning error when export subscribers. * Changed rial unit to credit. = 2.6.2 = * Fixed Notifications sms to subscribes. * Added Rayanbit.net web service. * Added Danish language. = 2.6.1 = * Fixed Mobile validation in subscribe form. * Added Reset button for remove web service data. * Added Melipayaamak web service. * Added Postgah web service. * Added Smsfa web service. * Added Turkish language. = 2.6 = * Fixed: database error for exists table. * Fixed: small bugs. * Added: chosen javascript library to plugin. * Added: ssmss.ir Webservice. * Added: isun.company Webservice. * Added: idehpayam.com Webservice. * Added: smsarak.ir Webservice. * Added: difaan Webservice. * Added: Novinpayamak Webservice. * Added: Dot4all Webservice. = 2.5.4 = * Added: sms-gateway.at Webservice. * Added: Spanish language. * Updated: for WordPress 4.0 release. = 2.5.3 = * Added: Smstoos Webservice. * Added: Smsmaster Webservice. * Fixed: Showing sms credit in adminbar. Not be displayed for the users. * Fixed: Send sms for subscriber when publish new posts. = 2.5.2 = * Added: Avalpayam Webservice. * Fixed: bugs in database queries. = 2.5.1 = * Added: Option to add mobile field in register form. * Added: Welcome message for new user. * Added: Matin SMS Webservice. * Added: Iranspk Webservice. * Added: Freepayamak Webservice. * Added: IT Payamak Webservice. * Added: Irsmsland Webservice. * Fixed: Error `Call to a member function GetCredit()` in webservie page. * Fixed: Bug in notification register new user. * Updated: Arabic language. = 2.5 = * Fixed: Error `Call to undefined method stdClass::SendSMS()` when enable/update plugin. * Added: Option to enable mobile field to profile page. (Setting -> Features) * Added: Import & export in subscribe list page. * Added: Groups link in subscribe page. * Added: Search items in subscribe list page. * Added: Novin sms Webservice. * Added: Hamyaar sms Webservice. = 2.4.2 = * Added: SMSde Webservice. = 2.4.1 = * Added: Payamakalmas Webservice. * Added: SMS (IPE) Webservice. * Added: Popaksms Webservice. = 2.4 = * Added: `WP_SMS` Class and placing a parent class. * Added: `wp_sms_send` Action when Send sms from the plugin. * Added: `wp_sms_subscribe` Action when register a new subscriber. * Added: Notification SMS when registering a new subscribe. * Added: Ponisha SMS Webservice. * Added: SMS Credit and total subscriber in At a Glance. * Fixed: Saved sms sender with `InsertToDB` method. * Optimized: Subscribe SMS ajax form. = 2.3.5 = * Updated: ippanel.com Webservice. * Added: Sarab SMS Webservice. = 2.3.4 = * Updated: Opilio Webservice. * Added: Sharif Pardazan (2345.ir) Webservice. = 2.3.3 = * Added: Asia Payamak Webservice. = 2.3.2 = * Added: Arad SMS Webservice. = 2.3.1 = * Added: Notification SMS when get new order from Woocommerce plugin. * Added: Notification SMS when get new order from Easy Digital Downloads plugin. = 2.3 = * Added: Tabs option in setting page. * Added: Notification SMS when registering a new username. * Added: Notification SMS when get new comment. * Added: Notification SMS when username login. * Added: Text format to published new post notification. * Added: MP Panel Webservice. * Added: Mediana Webservice. = 2.2.5 = * Changed: Aadat 24 web service. * Changed: Parand Host web service URL. = 2.2.4 = * Added: Adpdigital Webservice. * Added: Joghataysms Webservice. * Fixed: Iransmspanel webservice. * Changed: Parand Host web service URL. * Changed: Hi SMS web service URL. * Changed: Nasrpayam web service URL. = 2.2.2 = * Added: Hi SMS Webservice. = 2.2.1 = * Added: Niazpardaz Webservice. * Fixed: Oplio Webservice. = 2.2 = * Added: Payameroz Webservice. * Added: Unisender Webservice. * Fixed: small bug in cf7. = 2.1 = * Resolved: include tell-a-freind.php file. = 2.0 = * Added: Metabox sms to Contact Form 7 plugin. * Added: SMS Message sender page. * Added: PayamResan Webservice. * Optimized: include files. * Resolved: create tables when install plugin. * Language: updated. = 2.0.2 = * Resolved: loading image. * Added: Fayasms Webservice. = 2.0.1 = * Added: SMS Bartar Webservice. = 2.0 = * Added: Pagination in Subscribes Newsletter page. * Added: Group for Subscribes. * Optimized: jQuery Calling. * Resolved: Subscribe widget form. * Resolved: Small problems. = 1.9.22 = * Added: Nasrpayam Webservice. = 1.9.21 = * Added: Caffeweb Webservice. = 1.9.20 = * Resolved: add subscriber in from Wordpress Admin->Newsletter subscriber. * Added: TCIsms Webservice. = 1.9.19 = * Added: ImenCms Webservice. = 1.9.18 = * Added: Textsms Webservice. = 1.9.17 = * Added: Smsmart Webservice. = 1.9.16 = * Added: PayamakNet Webservice. = 1.9.15 = * Added: BarzinSMS Webservice. * Update: jQuery to 1.9.1. = 1.9.14 = * Resolved: opilo Webservice. = 1.9.13 = * Resolved: paaz Webservice. = 1.9.12 = * Added: JahanPayamak Webservice. = 1.9.11 = * Added: SMS-S Webservice. * Added: SMSGlobal Webservice. * Added: paaz Webservice. * Added: CSS file in setting page. * Resolved: Loads the plugin's translated strings problem. * Language: updated. = 1.9.10 = * Added: Tablighsmsi Webservice. = 1.9.9 = * Added: Smscall Webservice. = 1.9.8 = * Added: Smsdehi Webservice. = 1.9.7 = * Added: Sadat24 Webservice. = 1.9.6 = * Added: Arabic language. * Added: Notification SMS when messages received from Contact Form 7 plugin. * Small changes in editing Subscribers. = 1.9.5 = * Added: Ariaideh Web Service. = 1.9.4 = * Added: Persian SMS Web Service. = 1.9.3 = * Added: SMS Click Web Service. = 1.9.2 = * Added: ParandHost Web Service. * Troubleshooting jQuery in Send SMS page. = 1.9.1 = * Added: PayameAvval Web Service. = 1.9 = * Added: SMSFa Web Service. * Optimize in translation functions. * Added: edit subscribers. = 1.8 = * Added: your mobile number. * Added: Enable/Disable calling jQuery in wordpress. * Added: Notification of a new wordPress version by SMS. = 1.7.1 = * Fix a problem in jquery. = 1.7 = * Fix a problem in Get credit method. * Fix a problem in ALTER TABLE. * Fix a problem Active/Deactive all subscribe. = 1.6 = * Added Enable/Disable username in subscribe page. * Fix a problem in show credit. * Fix a problem in menu link. * Fix a problem in word counter. = 1.5 = * Added: Hostiran Web Service. * Added: Iran SMS Panel Web Service. * Remove Orangesms Service. * Added Activation subscribe. * Optimize plugin. * Update jquery to 1.7.2 = 1.4 = * Added: Portuguese language. * Update last credit when send sms page. = 1.3.3 = * Fix a problem. * Fix a display the correct number in the list of newsletter subscribers. = 1.3.2 = * Fix a problem. = 1.3.1 = * Fix a problem. * Fix credit unit in multi language. = 1.3 = * Added: register link for webservice. * Added: Suggestion post by SMS. = 1.2 = * Fix a problem. = 1.1 = * Adding show SMS credit in the dashboard right now. * Adding show total subscribers in the dashboard right now. * Adding Shortcode. * Added: Panizsms Web Service. * Added: Orangesms Web Service. = 1.0 = * Start plugin