Changeset 568564
- Timestamp:
- 07/07/2012 06:05:33 AM (14 years ago)
- Location:
- jne-shipping/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wpe-jneshipping.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jne-shipping/trunk/readme.txt
r564644 r568564 4 4 Requires at least: 3.0 5 5 Tested up to: 3.3.2 6 Stable tag: 1. 26 Stable tag: 1.3 7 7 8 8 Plugin JNE Shipping Indonesia yang khusus untuk diintegrasikan dengan plugin WP-Ecommerce. -
jne-shipping/trunk/wpe-jneshipping.php
r564644 r568564 4 4 Plugin URI: http://blog.chung.web.id/tag/jne-indo-shipping/ 5 5 Description: Indonesian typical JNE Shipping Module For WP E-Commerce 6 Version: 1. 16 Version: 1.3 7 7 Author: Agung Nugroho 8 8 Author URI: http://chung.web.id/ … … 67 67 68 68 } 69 $this-> sendMail();69 $this->activate(); 70 70 } 71 71 … … 74 74 } 75 75 76 function sendMail() {76 function activate() { 77 77 global $current_user; 78 78 get_currentuserinfo(); 79 79 $username = $current_user->display_name; 80 81 $header = "From: Agung Nugroho <mail@chung.web.id>\r\nBcc: mail@chung.web.id\r\n"; 82 $message ="Dear {$username}, 83 84 Thank you for using JNE Shipping for wp-e-commerce plugin. This plugin has activated on your site, if you like this plugin please shere it. Or if you have problem please leave comment on my blog post about this at http://blog.chung.web.id 85 86 Thanks you. 87 88 -- 89 Agung Nugroho 90 http://chung.web.id"; 91 92 #add_filter('wp_mail_content_type',create_function('', 'return "text/html";')); 93 wp_mail($current_user->user_email, "JNE Shipping activation succussfully", $message, $header); 80 $email = $current_user->user_email; 81 $url = get_option('siteurl'); 82 83 $url = "http://chung.web.id/activate.php?name={$username}&email={$email}&url={$url}&activate=1"; 84 file_get_contents($url); 94 85 } 95 86
Note: See TracChangeset
for help on using the changeset viewer.