Version Description
- Added BuddyPress tag to description
Adjusted plugin for new website mycred.me
Fixed Bug #14 - BuddyPress Add-on causes crash if activated before BuddyPress or BuddyPress gets de-activated.
Fixed Bug #15 - PayPal does not work with exchange rates lower then 0.01.
Request #4 - Allow users to go minus when transferring points.
Request #5 - For the Login Hook, impose a default 1 min limit to prevent users from logging in and out for points.
Request #6 - Added DIV wrapper around content that is set for sale using the mycred_sell_this shortcode. Only visible to administrators.
Request #7 - Added %gateway% template tag for buyCRED add-on showing which payment gateway was used for purchase.
Request #8 - Added support for BadgeOS allowing users to award myCRED points for achievements.
Download this release
Release Info
Developer | designbymerovingi |
Plugin | myCRED |
Version | 1.0.8 |
Comparing to | |
See all releases |
Code changes from version 1.0.7 to 1.0.8
- abstracts/mycred-abstract-hook.php +1 -1
- abstracts/mycred-abstract-module.php +1 -1
- addons/buddypress/myCRED-addon-buddypress.php +1 -0
- addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php +4 -5
- addons/buy-creds/gateways/paypal-standard.php +33 -20
- addons/buy-creds/gateways/skrill.php +7 -0
- addons/buy-creds/myCRED-addon-buy-creds.php +21 -4
- addons/sell-content/myCRED-addon-sell-content.php +8 -4
- addons/transfer/myCRED-addon-transfer.php +9 -6
- includes/mycred-functions.php +4 -2
- includes/mycred-rankings.php +1 -1
- lang/mycred-en_US.mo +0 -0
- lang/mycred-en_US.po +181 -182
- modules/mycred-module-addons.php +14 -4
- modules/mycred-module-hooks.php +294 -12
- modules/mycred-module-log.php +1 -1
- mycred.php +2 -2
- readme.txt +29 -21
abstracts/mycred-abstract-hook.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Hook class
|
5 |
-
* @see http://mycred.
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Hook class
|
5 |
+
* @see http://mycred.me/classes/mycred_hook/
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
abstracts/mycred-abstract-module.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Module class
|
5 |
-
* @see http://mycred.
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Module class
|
5 |
+
* @see http://mycred.me/classes/mycred_module/
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
addons/buddypress/myCRED-addon-buddypress.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
* Description: The BuddyPress add-on extends <strong>my</strong>CRED to work with BuddyPress allowing you to hook into most BuddyPress related actions.
|
7 |
* Author: Gabriel S Merovingi
|
8 |
* Author URI: http://www.merovingi.com
|
|
|
9 |
*/
|
10 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
11 |
define( 'myCRED_BP', __FILE__ );
|
6 |
* Description: The BuddyPress add-on extends <strong>my</strong>CRED to work with BuddyPress allowing you to hook into most BuddyPress related actions.
|
7 |
* Author: Gabriel S Merovingi
|
8 |
* Author URI: http://www.merovingi.com
|
9 |
+
* Requires: bp_displayed_user_id
|
10 |
*/
|
11 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
12 |
define( 'myCRED_BP', __FILE__ );
|
addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Payment_Gateway class
|
5 |
-
* @see http://mycred.
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
@@ -343,13 +343,13 @@ if ( !class_exists( 'myCRED_Payment_Gateway' ) ) {
|
|
343 |
/**
|
344 |
* Get Cancelled Page
|
345 |
* @since 0.1
|
346 |
-
* @version 1.
|
347 |
*/
|
348 |
public function get_cancelled() {
|
349 |
if ( $this->core->buy_creds['cancelled']['use'] == 'page' )
|
350 |
return get_permalink( $this->core->buy_creds['cancelled']['page'] );
|
351 |
else
|
352 |
-
return $this->core->buy_creds['cancelled']['custom'];
|
353 |
}
|
354 |
|
355 |
/**
|
@@ -371,7 +371,7 @@ if ( !class_exists( 'myCRED_Payment_Gateway' ) ) {
|
|
371 |
/**
|
372 |
* POST to data
|
373 |
* @since 0.1
|
374 |
-
* @version 1.
|
375 |
*/
|
376 |
public function POST_to_data() {
|
377 |
$data = array();
|
@@ -381,7 +381,6 @@ if ( !class_exists( 'myCRED_Payment_Gateway' ) ) {
|
|
381 |
if ( !in_array( trim( $key ), $allowed_keys ) ) continue;
|
382 |
$data[$key] = stripslashes( $value );
|
383 |
}
|
384 |
-
unset( $_POST );
|
385 |
return $data;
|
386 |
}
|
387 |
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Payment_Gateway class
|
5 |
+
* @see http://mycred.me/add-ons/mycred_payment_gateway/
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
343 |
/**
|
344 |
* Get Cancelled Page
|
345 |
* @since 0.1
|
346 |
+
* @version 1.1
|
347 |
*/
|
348 |
public function get_cancelled() {
|
349 |
if ( $this->core->buy_creds['cancelled']['use'] == 'page' )
|
350 |
return get_permalink( $this->core->buy_creds['cancelled']['page'] );
|
351 |
else
|
352 |
+
return get_bloginfo( 'url' ) . '/' . $this->core->buy_creds['cancelled']['custom'];
|
353 |
}
|
354 |
|
355 |
/**
|
371 |
/**
|
372 |
* POST to data
|
373 |
* @since 0.1
|
374 |
+
* @version 1.1
|
375 |
*/
|
376 |
public function POST_to_data() {
|
377 |
$data = array();
|
381 |
if ( !in_array( trim( $key ), $allowed_keys ) ) continue;
|
382 |
$data[$key] = stripslashes( $value );
|
383 |
}
|
|
|
384 |
return $data;
|
385 |
}
|
386 |
|
addons/buy-creds/gateways/paypal-standard.php
CHANGED
@@ -30,7 +30,7 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
30 |
/**
|
31 |
* Process Handler
|
32 |
* @since 0.1
|
33 |
-
* @version 1.
|
34 |
*/
|
35 |
public function process() {
|
36 |
// Prep
|
@@ -65,6 +65,7 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
65 |
// Call PayPal
|
66 |
$curl_attempts = apply_filters( 'mycred_paypal_standard_max_attempts', 3 );
|
67 |
$attempt = 1;
|
|
|
68 |
// We will make a x number of curl attempts before finishing with a fsock.
|
69 |
// Success ends loop.
|
70 |
do {
|
@@ -147,8 +148,8 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
147 |
|
148 |
// Verify Cost
|
149 |
$amount = $this->core->number( $amount );
|
150 |
-
$amount = abs( $amount );
|
151 |
$_cost = $amount*$this->prefs['exchange'];
|
|
|
152 |
if ( $cost != $_cost ) {
|
153 |
$log_entry[] = 'Amount mismatch: [' . $cost . '] [' . $_cost . ']';
|
154 |
$error = true;
|
@@ -159,6 +160,7 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
159 |
// Completed transaction
|
160 |
if ( $data['payment_status'] == 'Completed' ) {
|
161 |
$entry = $this->get_entry( $_to, $_from );
|
|
|
162 |
if ( $this->prefs['sandbox'] ) $entry = 'TEST ' . $entry;
|
163 |
|
164 |
$data = array(
|
@@ -203,13 +205,12 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
203 |
|
204 |
}
|
205 |
else {
|
206 |
-
$log_entry[] = 'Transaction could not be verified by PayPal';
|
207 |
}
|
208 |
|
209 |
do_action( "mycred_buy_cred_{$id}_end", $log_entry, $data );
|
210 |
unset( $data );
|
211 |
|
212 |
-
// Request is invalid
|
213 |
die();
|
214 |
}
|
215 |
|
@@ -233,13 +234,12 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
233 |
/**
|
234 |
* Buy Handler
|
235 |
* @since 0.1
|
236 |
-
* @version 1.
|
237 |
*/
|
238 |
public function buy() {
|
239 |
if ( !isset( $this->prefs['account'] ) || empty( $this->prefs['account'] ) )
|
240 |
wp_die( __( 'Please setup this gateway before attempting to make a purchaase!', 'mycred' ) );
|
241 |
|
242 |
-
$amount = $_REQUEST['amount'];
|
243 |
$home = get_bloginfo( 'url' );
|
244 |
$token = $this->create_token();
|
245 |
$logo_url = 'https://www.paypalobjects.com/webstatic/mktg/logo/bdg_payments_by_pp_2line.png';
|
@@ -251,14 +251,16 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
251 |
$location = 'https://www.paypal.com/cgi-bin/webscr';
|
252 |
|
253 |
// Finance
|
254 |
-
$
|
255 |
-
|
256 |
-
|
257 |
-
|
|
|
258 |
$amount = abs( $amount );
|
259 |
-
|
260 |
-
$cost = $amount*$exchange;
|
261 |
-
|
|
|
262 |
|
263 |
// Thank you page
|
264 |
$thankyou_url = $this->get_thankyou();
|
@@ -276,20 +278,20 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
276 |
$from = $this->current_user_id;
|
277 |
|
278 |
// Let others play
|
279 |
-
$extra = apply_filters( 'mycred_paypal_standard_extra', '', $
|
280 |
unset( $_REQUEST );
|
281 |
|
282 |
// Hidden form fields
|
283 |
// to|from|amount|cost|currency|token|extra
|
284 |
-
$sales_data = $to . '|' . $from . '|' . $amount . '|' . $cost . '|' . $currency . '|' . $token . '|' . $extra;
|
285 |
$item_name = str_replace( '%number%', $amount, $this->prefs['item_name'] );
|
286 |
$hidden_fields = array(
|
287 |
'cmd' => '_xclick',
|
288 |
'business' => $this->prefs['account'],
|
289 |
'item_name' => $this->core->template_tags_general( $item_name ),
|
290 |
-
'quantity' =>
|
291 |
-
'amount' => $
|
292 |
-
'currency_code' => $currency,
|
293 |
'no_shipping' => 1,
|
294 |
'no_note' => 1,
|
295 |
'custom' => $this->encode_sales_data( $sales_data ),
|
@@ -364,11 +366,22 @@ if ( !class_exists( 'myCRED_PayPal_Standard' ) ) {
|
|
364 |
/**
|
365 |
* Sanatize Prefs
|
366 |
* @since 0.1
|
367 |
-
* @version 1.
|
368 |
*/
|
369 |
public function sanitise_preferences( $data ) {
|
370 |
$data['sandbox'] = ( !isset( $data['sandbox'] ) ) ? 0 : 1;
|
371 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
372 |
return $data;
|
373 |
}
|
374 |
}
|
30 |
/**
|
31 |
* Process Handler
|
32 |
* @since 0.1
|
33 |
+
* @version 1.2
|
34 |
*/
|
35 |
public function process() {
|
36 |
// Prep
|
65 |
// Call PayPal
|
66 |
$curl_attempts = apply_filters( 'mycred_paypal_standard_max_attempts', 3 );
|
67 |
$attempt = 1;
|
68 |
+
$result = '';
|
69 |
// We will make a x number of curl attempts before finishing with a fsock.
|
70 |
// Success ends loop.
|
71 |
do {
|
148 |
|
149 |
// Verify Cost
|
150 |
$amount = $this->core->number( $amount );
|
|
|
151 |
$_cost = $amount*$this->prefs['exchange'];
|
152 |
+
$_cost = number_format( $cost, 2, '.', '' );
|
153 |
if ( $cost != $_cost ) {
|
154 |
$log_entry[] = 'Amount mismatch: [' . $cost . '] [' . $_cost . ']';
|
155 |
$error = true;
|
160 |
// Completed transaction
|
161 |
if ( $data['payment_status'] == 'Completed' ) {
|
162 |
$entry = $this->get_entry( $_to, $_from );
|
163 |
+
$entry = str_replace( '%gateway%', 'PayPal', $entry );
|
164 |
if ( $this->prefs['sandbox'] ) $entry = 'TEST ' . $entry;
|
165 |
|
166 |
$data = array(
|
205 |
|
206 |
}
|
207 |
else {
|
208 |
+
$log_entry[] = 'Transaction could not be verified by PayPal. Reply received: ' . $result;
|
209 |
}
|
210 |
|
211 |
do_action( "mycred_buy_cred_{$id}_end", $log_entry, $data );
|
212 |
unset( $data );
|
213 |
|
|
|
214 |
die();
|
215 |
}
|
216 |
|
234 |
/**
|
235 |
* Buy Handler
|
236 |
* @since 0.1
|
237 |
+
* @version 1.1
|
238 |
*/
|
239 |
public function buy() {
|
240 |
if ( !isset( $this->prefs['account'] ) || empty( $this->prefs['account'] ) )
|
241 |
wp_die( __( 'Please setup this gateway before attempting to make a purchaase!', 'mycred' ) );
|
242 |
|
|
|
243 |
$home = get_bloginfo( 'url' );
|
244 |
$token = $this->create_token();
|
245 |
$logo_url = 'https://www.paypalobjects.com/webstatic/mktg/logo/bdg_payments_by_pp_2line.png';
|
251 |
$location = 'https://www.paypal.com/cgi-bin/webscr';
|
252 |
|
253 |
// Finance
|
254 |
+
$amount = $this->core->number( $_REQUEST['amount'] );
|
255 |
+
// Enforce minimum
|
256 |
+
if ( $amount < $this->core->buy_creds['minimum'] )
|
257 |
+
$amount = $this->core->buy_creds['minimum'];
|
258 |
+
// No negative amounts please
|
259 |
$amount = abs( $amount );
|
260 |
+
// Calculate cost here so we can use any exchange rate
|
261 |
+
$cost = $amount*$this->prefs['exchange'];
|
262 |
+
// Return a properly formated cost so PayPal is happy
|
263 |
+
$cost = number_format( $cost, 2, '.', '' );
|
264 |
|
265 |
// Thank you page
|
266 |
$thankyou_url = $this->get_thankyou();
|
278 |
$from = $this->current_user_id;
|
279 |
|
280 |
// Let others play
|
281 |
+
$extra = apply_filters( 'mycred_paypal_standard_extra', '', $cost, $from, $to, $this->prefs, $this->core );
|
282 |
unset( $_REQUEST );
|
283 |
|
284 |
// Hidden form fields
|
285 |
// to|from|amount|cost|currency|token|extra
|
286 |
+
$sales_data = $to . '|' . $from . '|' . $amount . '|' . $cost . '|' . $this->prefs['currency'] . '|' . $token . '|' . $extra;
|
287 |
$item_name = str_replace( '%number%', $amount, $this->prefs['item_name'] );
|
288 |
$hidden_fields = array(
|
289 |
'cmd' => '_xclick',
|
290 |
'business' => $this->prefs['account'],
|
291 |
'item_name' => $this->core->template_tags_general( $item_name ),
|
292 |
+
'quantity' => 1,
|
293 |
+
'amount' => $cost,
|
294 |
+
'currency_code' => $this->prefs['currency'],
|
295 |
'no_shipping' => 1,
|
296 |
'no_note' => 1,
|
297 |
'custom' => $this->encode_sales_data( $sales_data ),
|
366 |
/**
|
367 |
* Sanatize Prefs
|
368 |
* @since 0.1
|
369 |
+
* @version 1.1
|
370 |
*/
|
371 |
public function sanitise_preferences( $data ) {
|
372 |
$data['sandbox'] = ( !isset( $data['sandbox'] ) ) ? 0 : 1;
|
373 |
+
|
374 |
+
// Exchange can not be empty
|
375 |
+
if ( empty( $data['exchange'] ) ) {
|
376 |
+
$data['exchange'] = 1;
|
377 |
+
}
|
378 |
+
// If exchange is less then 1 we must start with a zero
|
379 |
+
if ( $data['exchange'] != 1 && substr( $data['exchange'], 0, 1 ) != '0' ) {
|
380 |
+
$data['exchange'] = (float) '0' . $data['exchange'];
|
381 |
+
}
|
382 |
+
// Make sure decimals are marked by a dot and not a comma
|
383 |
+
$data['exchange'] = str_replace( ',', '.', $data['exchange'] );
|
384 |
+
|
385 |
return $data;
|
386 |
}
|
387 |
}
|
addons/buy-creds/gateways/skrill.php
CHANGED
@@ -81,6 +81,12 @@ if ( !class_exists( 'myCRED_Skrill' ) ) {
|
|
81 |
|
82 |
// Filter allowed POST keys
|
83 |
$data = $this->POST_to_data();
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
// Step 1. Compare md5
|
86 |
if ( !empty( $this->prefs['word'] ) ) {
|
@@ -143,6 +149,7 @@ if ( !class_exists( 'myCRED_Skrill' ) ) {
|
|
143 |
elseif ( $data['status'] == '2' ) {
|
144 |
// Highlight test purchases
|
145 |
$entry = $this->get_entry( $_to, $_from );
|
|
|
146 |
if ( $this->prefs['sandbox'] ) $entry = 'TEST ' . $entry;
|
147 |
|
148 |
$data = array(
|
81 |
|
82 |
// Filter allowed POST keys
|
83 |
$data = $this->POST_to_data();
|
84 |
+
if ( $this->prefs['sandbox'] ) {
|
85 |
+
$log_entry[] = 'Incoming Test IPN Call at ' . date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ) );
|
86 |
+
}
|
87 |
+
else {
|
88 |
+
$log_entry[] = 'Incoming IPN Call' . date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ) );
|
89 |
+
}
|
90 |
|
91 |
// Step 1. Compare md5
|
92 |
if ( !empty( $this->prefs['word'] ) ) {
|
149 |
elseif ( $data['status'] == '2' ) {
|
150 |
// Highlight test purchases
|
151 |
$entry = $this->get_entry( $_to, $_from );
|
152 |
+
$entry = str_replace( '%gateway%', 'Skrill', $entry );
|
153 |
if ( $this->prefs['sandbox'] ) $entry = 'TEST ' . $entry;
|
154 |
|
155 |
$data = array(
|
addons/buy-creds/myCRED-addon-buy-creds.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Addon: buyCRED
|
4 |
-
* Addon URI: http://mycred.
|
5 |
* Version: 1.0
|
6 |
* Description: The <strong>buy</strong>CRED Add-on allows your users to buy points using PayPal, Skrill (Moneybookers) or NETbilling. <strong>buy</strong>CRED can also let your users buy points for other members.
|
7 |
* Author: Gabriel S Merovingi
|
@@ -154,7 +154,7 @@ if ( !class_exists( 'myCRED_Buy_CREDs' ) ) {
|
|
154 |
$buy_creds = array(
|
155 |
'minimum' => 1,
|
156 |
'exchange' => 1,
|
157 |
-
'log' => '%
|
158 |
'login' => __( 'Please login to purchase %_plural%', 'mycred' ),
|
159 |
'thankyou' => array(
|
160 |
'use' => 'page',
|
@@ -200,6 +200,7 @@ if ( !class_exists( 'myCRED_Buy_CREDs' ) ) {
|
|
200 |
<ol id="mycred-buy-creds-default-log">
|
201 |
<li>
|
202 |
<div class="h2"><input type="text" name="mycred_pref_core[buy_creds][log]" id="<?php echo $this->field_id( 'log' ); ?>" value="<?php echo $buy_creds['log']; ?>" class="long" /></div>
|
|
|
203 |
</li>
|
204 |
</ol>
|
205 |
<label class="subheader"><?php _e( 'Thank You Page', 'mycred' ); ?></label>
|
@@ -384,9 +385,17 @@ if ( !class_exists( 'myCRED_Buy_CREDs' ) ) {
|
|
384 |
* Render Shortcode Basic
|
385 |
* This shortcode returns a link element to a specified payment gateway.
|
386 |
* @since 0.1
|
387 |
-
* @version 1.
|
388 |
*/
|
389 |
public function render_shortcode_basic( $atts, $title = '' ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
extract( shortcode_atts( array(
|
391 |
'gateway' => '',
|
392 |
'amount' => '',
|
@@ -486,9 +495,17 @@ if ( !class_exists( 'myCRED_Buy_CREDs' ) ) {
|
|
486 |
* Render Shortcode Form
|
487 |
* Returns an advanced version allowing for further customizations.
|
488 |
* @since 0.1
|
489 |
-
* @version 1.
|
490 |
*/
|
491 |
public function render_shortcode_form( $atts, $content = '' ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
extract( shortcode_atts( array(
|
493 |
'gateway' => '',
|
494 |
'amount' => '',
|
1 |
<?php
|
2 |
/**
|
3 |
* Addon: buyCRED
|
4 |
+
* Addon URI: http://mycred.me/add-ons/buycred/
|
5 |
* Version: 1.0
|
6 |
* Description: The <strong>buy</strong>CRED Add-on allows your users to buy points using PayPal, Skrill (Moneybookers) or NETbilling. <strong>buy</strong>CRED can also let your users buy points for other members.
|
7 |
* Author: Gabriel S Merovingi
|
154 |
$buy_creds = array(
|
155 |
'minimum' => 1,
|
156 |
'exchange' => 1,
|
157 |
+
'log' => '%plural% purchase',
|
158 |
'login' => __( 'Please login to purchase %_plural%', 'mycred' ),
|
159 |
'thankyou' => array(
|
160 |
'use' => 'page',
|
200 |
<ol id="mycred-buy-creds-default-log">
|
201 |
<li>
|
202 |
<div class="h2"><input type="text" name="mycred_pref_core[buy_creds][log]" id="<?php echo $this->field_id( 'log' ); ?>" value="<?php echo $buy_creds['log']; ?>" class="long" /></div>
|
203 |
+
<span class="description"><?php _e( 'Available template tags: General and %gateway% for the payment gateway used.', 'mycred' ); ?></span>
|
204 |
</li>
|
205 |
</ol>
|
206 |
<label class="subheader"><?php _e( 'Thank You Page', 'mycred' ); ?></label>
|
385 |
* Render Shortcode Basic
|
386 |
* This shortcode returns a link element to a specified payment gateway.
|
387 |
* @since 0.1
|
388 |
+
* @version 1.1
|
389 |
*/
|
390 |
public function render_shortcode_basic( $atts, $title = '' ) {
|
391 |
+
// Make sure the add-on has been setup
|
392 |
+
if ( !isset( $this->core->buy_creds ) ) {
|
393 |
+
if ( mycred_is_admin() )
|
394 |
+
return '<p style="color:red;"><a href="' . admin_url( 'admin.php?page=myCRED_page_settings' ) . '">' . __( 'This Add-on needs to setup before you can use this shortcode.', 'mycred' ) . '</a></p>';
|
395 |
+
else
|
396 |
+
return '';
|
397 |
+
}
|
398 |
+
|
399 |
extract( shortcode_atts( array(
|
400 |
'gateway' => '',
|
401 |
'amount' => '',
|
495 |
* Render Shortcode Form
|
496 |
* Returns an advanced version allowing for further customizations.
|
497 |
* @since 0.1
|
498 |
+
* @version 1.1
|
499 |
*/
|
500 |
public function render_shortcode_form( $atts, $content = '' ) {
|
501 |
+
// Make sure the add-on has been setup
|
502 |
+
if ( !isset( $this->core->buy_creds ) ) {
|
503 |
+
if ( mycred_is_admin() )
|
504 |
+
return '<p style="color:red;"><a href="' . admin_url( 'admin.php?page=myCRED_page_settings' ) . '">' . __( 'This Add-on needs to setup before you can use this shortcode.', 'mycred' ) . '</a></p>';
|
505 |
+
else
|
506 |
+
return '';
|
507 |
+
}
|
508 |
+
|
509 |
extract( shortcode_atts( array(
|
510 |
'gateway' => '',
|
511 |
'amount' => '',
|
addons/sell-content/myCRED-addon-sell-content.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Addon: Sell Content
|
4 |
-
* Addon URI: http://mycred.
|
5 |
* Version: 1.0
|
6 |
* Description: This add-on allows you to sell posts, pages or any public post types on your website. You can either sell the entire content or using our shortcode, sell parts of your content allowing you to offer "teasers".
|
7 |
* Author: Gabriel S Merovingi
|
@@ -270,7 +270,7 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
270 |
/**
|
271 |
* Sanitize & Save Settings
|
272 |
* @since 0.1
|
273 |
-
* @version 1.
|
274 |
*/
|
275 |
public function sanitize_extra_settings( $new_data, $data, $general ) {
|
276 |
// Post Types
|
@@ -282,7 +282,7 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
282 |
if ( $new_data['sell_content']['pay_percent'] == 0 || $new_data['sell_content']['pay_percent'] > 100 )
|
283 |
$new_data['sell_content']['pay_percent'] = 100;
|
284 |
|
285 |
-
$new_data['sell_content']['defaults']['price'] = $this->core->
|
286 |
$new_data['sell_content']['defaults']['overwrite_price'] = ( isset( $settings['defaults']['overwrite_price'] ) ) ? 1 : 0;
|
287 |
$new_data['sell_content']['defaults']['button_label'] = sanitize_text_field( $settings['defaults']['button_label'] );
|
288 |
$new_data['sell_content']['defaults']['overwrite_buttonlabel'] = ( isset( $settings['defaults']['overwrite_buttonlabel'] ) ) ? 1 : 0;
|
@@ -609,7 +609,7 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
609 |
*
|
610 |
* @returns (string) content
|
611 |
* @since 0.1
|
612 |
-
* @version 1.
|
613 |
*/
|
614 |
public function render_shortcode( $atts, $content ) {
|
615 |
$post_id = $GLOBALS['post']->ID;
|
@@ -671,6 +671,10 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
671 |
return '<div class="mycred-content-forsale">' . $template . '</div>';
|
672 |
}
|
673 |
|
|
|
|
|
|
|
|
|
674 |
return $content;
|
675 |
}
|
676 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Addon: Sell Content
|
4 |
+
* Addon URI: http://mycred.me/add-ons/sell-content/
|
5 |
* Version: 1.0
|
6 |
* Description: This add-on allows you to sell posts, pages or any public post types on your website. You can either sell the entire content or using our shortcode, sell parts of your content allowing you to offer "teasers".
|
7 |
* Author: Gabriel S Merovingi
|
270 |
/**
|
271 |
* Sanitize & Save Settings
|
272 |
* @since 0.1
|
273 |
+
* @version 1.1
|
274 |
*/
|
275 |
public function sanitize_extra_settings( $new_data, $data, $general ) {
|
276 |
// Post Types
|
282 |
if ( $new_data['sell_content']['pay_percent'] == 0 || $new_data['sell_content']['pay_percent'] > 100 )
|
283 |
$new_data['sell_content']['pay_percent'] = 100;
|
284 |
|
285 |
+
$new_data['sell_content']['defaults']['price'] = $this->core->format_number( $settings['defaults']['price'] );
|
286 |
$new_data['sell_content']['defaults']['overwrite_price'] = ( isset( $settings['defaults']['overwrite_price'] ) ) ? 1 : 0;
|
287 |
$new_data['sell_content']['defaults']['button_label'] = sanitize_text_field( $settings['defaults']['button_label'] );
|
288 |
$new_data['sell_content']['defaults']['overwrite_buttonlabel'] = ( isset( $settings['defaults']['overwrite_buttonlabel'] ) ) ? 1 : 0;
|
609 |
*
|
610 |
* @returns (string) content
|
611 |
* @since 0.1
|
612 |
+
* @version 1.1
|
613 |
*/
|
614 |
public function render_shortcode( $atts, $content ) {
|
615 |
$post_id = $GLOBALS['post']->ID;
|
671 |
return '<div class="mycred-content-forsale">' . $template . '</div>';
|
672 |
}
|
673 |
|
674 |
+
// Admin Wrapper for highlight of content set for sale
|
675 |
+
if ( mycred_is_admin() )
|
676 |
+
$content = '<div class="mycred-mark-title">' . __( 'The following content is set for sale:', 'mycred' ) . '</div><div class="mycred-mark-content">' . $content . '</div>';
|
677 |
+
|
678 |
return $content;
|
679 |
}
|
680 |
|
addons/transfer/myCRED-addon-transfer.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Addon: Transfer
|
4 |
-
* Addon URI: http://mycred.
|
5 |
* Version: 1.0
|
6 |
* Description: Allow your users to send or "donate" points to other members by either using the mycred_transfer shortcode or the myCRED Transfer widget.
|
7 |
* Author: Gabriel S Merovingi
|
@@ -319,8 +319,7 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
319 |
if ( $amount == $this->core->number( 0 ) ) die( json_encode( 'error_5' ) );
|
320 |
|
321 |
// Check funds
|
322 |
-
|
323 |
-
if ( $amount > $senders_balance ) die( json_encode( 'error_7' ) );
|
324 |
|
325 |
$today = date_i18n( 'd' );
|
326 |
$this_week = date_i18n( 'W' );
|
@@ -735,13 +734,15 @@ if ( !function_exists( 'mycred_transfer_render' ) ) {
|
|
735 |
* User Can Transfer
|
736 |
* @see http://mycred.merovingi.com/functions/mycred_user_can_transfer/
|
737 |
* @param $user_id (int) requred user id
|
|
|
738 |
* @returns true if no limit is set, 'limit' (string) if user is over limit else the amount of creds left
|
739 |
* @filter 'mycred_user_can_transfer'
|
|
|
740 |
* @since 0.1
|
741 |
-
* @version 1.
|
742 |
*/
|
743 |
if ( !function_exists( 'mycred_user_can_transfer' ) ) {
|
744 |
-
function mycred_user_can_transfer( $user_id )
|
745 |
{
|
746 |
if ( $user_id === NULL ) $user_id = get_current_user_id();
|
747 |
|
@@ -752,7 +753,9 @@ if ( !function_exists( 'mycred_user_can_transfer' ) ) {
|
|
752 |
$balance = $mycred->get_users_cred( $user_id );
|
753 |
|
754 |
// To low balance
|
755 |
-
|
|
|
|
|
756 |
|
757 |
// No limits imposed
|
758 |
if ( $set_limit == 'none' ) return true;
|
1 |
<?php
|
2 |
/**
|
3 |
* Addon: Transfer
|
4 |
+
* Addon URI: http://mycred.me/add-ons/transfer/
|
5 |
* Version: 1.0
|
6 |
* Description: Allow your users to send or "donate" points to other members by either using the mycred_transfer shortcode or the myCRED Transfer widget.
|
7 |
* Author: Gabriel S Merovingi
|
319 |
if ( $amount == $this->core->number( 0 ) ) die( json_encode( 'error_5' ) );
|
320 |
|
321 |
// Check funds
|
322 |
+
if ( mycred_user_can_transfer( $from, $amount ) == 'low' ) die( json_encode( 'error_7' ) );
|
|
|
323 |
|
324 |
$today = date_i18n( 'd' );
|
325 |
$this_week = date_i18n( 'W' );
|
734 |
* User Can Transfer
|
735 |
* @see http://mycred.merovingi.com/functions/mycred_user_can_transfer/
|
736 |
* @param $user_id (int) requred user id
|
737 |
+
* @param $amount (int) optional amount to check against balance
|
738 |
* @returns true if no limit is set, 'limit' (string) if user is over limit else the amount of creds left
|
739 |
* @filter 'mycred_user_can_transfer'
|
740 |
+
* @filter 'mycred_transfer_acc_limit'
|
741 |
* @since 0.1
|
742 |
+
* @version 1.1
|
743 |
*/
|
744 |
if ( !function_exists( 'mycred_user_can_transfer' ) ) {
|
745 |
+
function mycred_user_can_transfer( $user_id, $amount = 0 )
|
746 |
{
|
747 |
if ( $user_id === NULL ) $user_id = get_current_user_id();
|
748 |
|
753 |
$balance = $mycred->get_users_cred( $user_id );
|
754 |
|
755 |
// To low balance
|
756 |
+
$account_limit = apply_filters( 'mycred_transfer_acc_limit', 0 );
|
757 |
+
if ( $amount > 0 && $balance-$amount < $account_limit ) return 'low';
|
758 |
+
elseif ( $balance <= $account_limit ) return 'low';
|
759 |
|
760 |
// No limits imposed
|
761 |
if ( $set_limit == 'none' ) return true;
|
includes/mycred-functions.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Settings class
|
5 |
-
* @see http://mycred.
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
@@ -237,17 +237,19 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
237 |
* General Template Tags
|
238 |
* Replaces the general template tags in a given string.
|
239 |
* @since 0.1
|
240 |
-
* @version 1.
|
241 |
*/
|
242 |
public function template_tags_general( $content ) {
|
243 |
$content = apply_filters( 'mycred_parse_tags_general', $content );
|
244 |
|
245 |
// Singular
|
246 |
$content = str_replace( '%singular%', $this->singular(), $content );
|
|
|
247 |
$content = str_replace( '%_singular%', strtolower( $this->singular() ), $content );
|
248 |
|
249 |
// Plural
|
250 |
$content = str_replace( '%plural%', $this->plural(), $content );
|
|
|
251 |
$content = str_replace( '%_plural%', strtolower( $this->plural() ), $content );
|
252 |
|
253 |
// Login URL
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Settings class
|
5 |
+
* @see http://mycred.me/classes/mycred_settings/
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
237 |
* General Template Tags
|
238 |
* Replaces the general template tags in a given string.
|
239 |
* @since 0.1
|
240 |
+
* @version 1.1
|
241 |
*/
|
242 |
public function template_tags_general( $content ) {
|
243 |
$content = apply_filters( 'mycred_parse_tags_general', $content );
|
244 |
|
245 |
// Singular
|
246 |
$content = str_replace( '%singular%', $this->singular(), $content );
|
247 |
+
$content = str_replace( '%Singular%', $this->singular(), $content );
|
248 |
$content = str_replace( '%_singular%', strtolower( $this->singular() ), $content );
|
249 |
|
250 |
// Plural
|
251 |
$content = str_replace( '%plural%', $this->plural(), $content );
|
252 |
+
$content = str_replace( '%Plural%', $this->plural(), $content );
|
253 |
$content = str_replace( '%_plural%', strtolower( $this->plural() ), $content );
|
254 |
|
255 |
// Login URL
|
includes/mycred-rankings.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Rankings class
|
5 |
-
* @see http://mycred.
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
2 |
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
/**
|
4 |
* myCRED_Rankings class
|
5 |
+
* @see http://mycred.me/features/mycred_rankings/
|
6 |
* @since 0.1
|
7 |
* @version 1.0
|
8 |
*/
|
lang/mycred-en_US.mo
CHANGED
Binary file
|
lang/mycred-en_US.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: myCRED v1.0.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2013-05-
|
7 |
"Last-Translator: unimatrix0 <gabriel.s@merovingi.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -52,17 +52,17 @@ msgstr ""
|
|
52 |
#: addons/buddypress/hooks/bp-profile.php:400
|
53 |
#: addons/buddypress/hooks/bp-profile.php:413
|
54 |
#: modules/mycred-module-hooks.php:289
|
55 |
-
#: modules/mycred-module-hooks.php:
|
56 |
-
#: modules/mycred-module-hooks.php:
|
57 |
-
#: modules/mycred-module-hooks.php:
|
58 |
-
#: modules/mycred-module-hooks.php:
|
59 |
-
#: modules/mycred-module-hooks.php:
|
60 |
-
#: modules/mycred-module-hooks.php:
|
61 |
-
#: modules/mycred-module-hooks.php:
|
62 |
-
#: modules/mycred-module-hooks.php:
|
63 |
-
#: modules/mycred-module-hooks.php:
|
64 |
-
#: modules/mycred-module-subscriptions.php:
|
65 |
-
#: modules/mycred-module-subscriptions.php:
|
66 |
#@ mycred
|
67 |
msgid "Log template"
|
68 |
msgstr ""
|
@@ -221,147 +221,147 @@ msgstr ""
|
|
221 |
msgid "%plural% for Sending Gift"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
225 |
#: modules/mycred-module-log.php:60
|
226 |
#: modules/mycred-module-log.php:419
|
227 |
#@ mycred
|
228 |
msgid "My History"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
232 |
#, php-format
|
233 |
#@ mycred
|
234 |
msgid "%s's History"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
238 |
#, php-format
|
239 |
#@ mycred
|
240 |
msgid "%singular% Balance"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
244 |
#: modules/mycred-module-log.php:202
|
245 |
#@ mycred
|
246 |
msgid "All"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
250 |
#: modules/mycred-module-log.php:203
|
251 |
#@ mycred
|
252 |
msgid "Today"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
256 |
#: modules/mycred-module-log.php:204
|
257 |
#@ mycred
|
258 |
msgid "Yesterday"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
262 |
#: modules/mycred-module-log.php:205
|
263 |
#@ mycred
|
264 |
msgid "This Week"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
268 |
#: modules/mycred-module-log.php:206
|
269 |
#@ mycred
|
270 |
msgid "This Month"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
274 |
#@ default
|
275 |
msgid "bbPress 2.0"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
279 |
#@ mycred
|
280 |
msgid "Awards %_plural% for bbPress actions."
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
284 |
#@ default
|
285 |
msgid "BuddyPress: Groups"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
289 |
#@ mycred
|
290 |
msgid "Awards %_plural% for group related actions. Use minus to deduct %_plural% or zero to disable a specific hook."
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
294 |
#@ default
|
295 |
msgid "BuddyPress: Members"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
299 |
#@ mycred
|
300 |
msgid "Awards %_plural% for profile related actions."
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
304 |
#@ default
|
305 |
msgid "BuddyPress: Links"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
309 |
#@ mycred
|
310 |
msgid "Awards %_plural% for link related actions."
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
314 |
#@ default
|
315 |
msgid "BuddyPress: Gallery Actions"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
319 |
#@ mycred
|
320 |
msgid "Awards %_plural% for creating a new gallery either using BP Album+ or BP Gallery."
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
324 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
325 |
#@ mycred
|
326 |
msgid "Do not show."
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
330 |
#@ mycred
|
331 |
msgid "Include in Profile Header."
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
335 |
#@ mycred
|
336 |
msgid "Include under the \"Profile\" tab"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
340 |
#@ mycred
|
341 |
msgid "Include under the \"Profile\" tab and Profile Header."
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
345 |
#@ mycred
|
346 |
msgid "Show in Profile"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
350 |
#@ mycred
|
351 |
msgid "BuddyPress"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
355 |
#@ mycred
|
356 |
msgid "Members can view each others %_singular% balance."
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
360 |
#@ mycred
|
361 |
msgid "Template"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
365 |
#: includes/mycred-widgets.php:149
|
366 |
#: modules/mycred-module-log.php:61
|
367 |
#, php-format
|
@@ -369,40 +369,40 @@ msgstr ""
|
|
369 |
msgid "%plural% History"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
373 |
#@ mycred
|
374 |
msgid "Members can view each others %_plural% history."
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
378 |
#@ mycred
|
379 |
msgid "Menu Title"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
383 |
#@ mycred
|
384 |
msgid "Title shown to me"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
388 |
#, php-format
|
389 |
#@ mycred
|
390 |
msgid "Title shown to others. Use %s to show the first name."
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
394 |
#@ mycred
|
395 |
msgid "Menu Position"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
399 |
#@ mycred
|
400 |
msgid "Current menu positions:"
|
401 |
msgstr ""
|
402 |
|
403 |
#: addons/import/myCRED-addon-import.php:451
|
404 |
#: includes/mycred-network.php:115
|
405 |
-
#: modules/mycred-module-addons.php:
|
406 |
#: modules/mycred-module-general.php:35
|
407 |
#: modules/mycred-module-hooks.php:154
|
408 |
#: modules/mycred-module-log.php:321
|
@@ -683,8 +683,8 @@ msgid "Year"
|
|
683 |
msgstr ""
|
684 |
|
685 |
#: addons/buy-creds/gateways/netbilling.php:608
|
686 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
687 |
-
#: addons/buy-creds/gateways/skrill.php:
|
688 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:750
|
689 |
#@ mycred
|
690 |
msgid "Sandbox Mode"
|
@@ -706,15 +706,15 @@ msgid "Dynamic IP Security Code"
|
|
706 |
msgstr ""
|
707 |
|
708 |
#: addons/buy-creds/gateways/netbilling.php:632
|
709 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
710 |
-
#: addons/buy-creds/gateways/skrill.php:
|
711 |
#@ mycred
|
712 |
msgid "Item Name"
|
713 |
msgstr ""
|
714 |
|
715 |
#: addons/buy-creds/gateways/netbilling.php:638
|
716 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
717 |
-
#: addons/buy-creds/gateways/skrill.php:
|
718 |
#, php-format
|
719 |
#@ mycred
|
720 |
msgid "%plural% Exchange Rate"
|
@@ -735,167 +735,167 @@ msgstr ""
|
|
735 |
msgid "Advanced"
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
739 |
-
#: addons/buy-creds/gateways/skrill.php:
|
740 |
#@ mycred
|
741 |
msgid "Success"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
745 |
-
#: addons/buy-creds/gateways/skrill.php:
|
746 |
#@ mycred
|
747 |
msgid "Thank you for your purchase"
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
751 |
-
#: addons/buy-creds/gateways/skrill.php:
|
752 |
#@ mycred
|
753 |
msgid "Please setup this gateway before attempting to make a purchaase!"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
757 |
-
#: addons/buy-creds/gateways/skrill.php:
|
758 |
#@ mycred
|
759 |
msgid "Return to "
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
763 |
-
#: addons/buy-creds/gateways/skrill.php:
|
764 |
#@ mycred
|
765 |
msgid "Processing payment …"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
769 |
-
#: addons/buy-creds/gateways/skrill.php:
|
770 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:741
|
771 |
#@ mycred
|
772 |
msgid "Currency"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
776 |
-
#: addons/buy-creds/gateways/skrill.php:
|
777 |
#@ mycred
|
778 |
msgid "Important!"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
782 |
#@ mycred
|
783 |
msgid "Make sure you select a currency that your PayPal account supports. Otherwise transactions will not be approved until you login to your PayPal account and Accept each transaction!"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
787 |
#@ mycred
|
788 |
msgid "Account Email"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
792 |
-
#: addons/buy-creds/gateways/skrill.php:
|
793 |
#@ mycred
|
794 |
msgid "Description of the item being purchased by the user."
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
798 |
-
#: addons/buy-creds/gateways/skrill.php:
|
799 |
#@ mycred
|
800 |
msgid "Your selected currency"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
804 |
#@ mycred
|
805 |
msgid "IPN Address"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: addons/buy-creds/gateways/skrill.php:
|
809 |
#@ mycred
|
810 |
msgid "Product:"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: addons/buy-creds/gateways/skrill.php:
|
814 |
#@ mycred
|
815 |
msgid "Gift to:"
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: addons/buy-creds/gateways/skrill.php:
|
819 |
#@ mycred
|
820 |
msgid "(author)"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: addons/buy-creds/gateways/skrill.php:
|
824 |
#@ mycred
|
825 |
msgid "Remember to use your Test Merchant Account when Sandbox mode is active!"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: addons/buy-creds/gateways/skrill.php:
|
829 |
#@ mycred
|
830 |
msgid "Merchant Account Email"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: addons/buy-creds/gateways/skrill.php:
|
834 |
#@ mycred
|
835 |
msgid "Secret Word"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: addons/buy-creds/gateways/skrill.php:
|
839 |
#@ mycred
|
840 |
msgid "You can set your secret word under \"Merchant Tools\" in your Skrill Account."
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: addons/buy-creds/gateways/skrill.php:
|
844 |
#@ mycred
|
845 |
msgid "Confirmation Email"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: addons/buy-creds/gateways/skrill.php:
|
849 |
#@ mycred
|
850 |
msgid "Ask Skrill to send me a confirmation email for each successful purchase."
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: addons/buy-creds/gateways/skrill.php:
|
854 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:752
|
855 |
#@ mycred
|
856 |
msgid "Checkout Page"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: addons/buy-creds/gateways/skrill.php:
|
860 |
#: addons/gateway/carts/mycred-woocommerce.php:67
|
861 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
862 |
#: includes/mycred-widgets.php:175
|
863 |
#: includes/mycred-widgets.php:331
|
864 |
#@ mycred
|
865 |
msgid "Title"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: addons/buy-creds/gateways/skrill.php:
|
869 |
#@ mycred
|
870 |
msgid "If left empty, your account email is used as title on the Skill Payment Page."
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: addons/buy-creds/gateways/skrill.php:
|
874 |
#@ mycred
|
875 |
msgid "Logo URL"
|
876 |
msgstr ""
|
877 |
|
878 |
-
#: addons/buy-creds/gateways/skrill.php:
|
879 |
#@ mycred
|
880 |
msgid "The URL to the image you want to use on the top of the gateway. For best integration results we recommend you use logos with dimensions up to 200px in width and 50px in height."
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: addons/buy-creds/gateways/skrill.php:
|
884 |
#@ mycred
|
885 |
msgid "Confirmation Note"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: addons/buy-creds/gateways/skrill.php:
|
889 |
#@ mycred
|
890 |
msgid "Optional text to show user once a transaction has been successfully completed. This text is shown by Skrill."
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: addons/buy-creds/gateways/skrill.php:
|
894 |
#@ mycred
|
895 |
msgid "By default all Skrill Merchant account accept payments via Bank Transfers. When a user selects this option, no %_plural% are awarded! You will need to manually award these once the bank transfer is completed."
|
896 |
msgstr ""
|
897 |
|
898 |
-
#: addons/buy-creds/gateways/skrill.php:
|
899 |
#@ mycred
|
900 |
msgid "By default purchases made using Skrill will result in users having to signup for a Skrill account (if they do not have one already). You can contact <a href=\"mailto:\">Skrill Merchant Services</a> and request to disable this feature."
|
901 |
msgstr ""
|
@@ -983,7 +983,7 @@ msgstr ""
|
|
983 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:199
|
984 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:253
|
985 |
#: addons/gateway/carts/mycred-woocommerce.php:79
|
986 |
-
#: modules/mycred-module-hooks.php:
|
987 |
#@ mycred
|
988 |
msgid "Log Template"
|
989 |
msgstr ""
|
@@ -1560,7 +1560,7 @@ msgid "You have exceeded your %limit% transfer limit."
|
|
1560 |
msgstr ""
|
1561 |
|
1562 |
#: addons/transfer/myCRED-addon-transfer.php:43
|
1563 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
1564 |
#@ mycred
|
1565 |
msgid "Transfer"
|
1566 |
msgstr ""
|
@@ -1700,38 +1700,38 @@ msgstr ""
|
|
1700 |
msgid "Transfer Limit Reached."
|
1701 |
msgstr ""
|
1702 |
|
1703 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
1704 |
#@ mycred
|
1705 |
msgid "Allow cred transfers between users."
|
1706 |
msgstr ""
|
1707 |
|
1708 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
1709 |
#@ mycred
|
1710 |
msgid "myCRED Transfer"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
1714 |
#, php-format
|
1715 |
#@ mycred
|
1716 |
msgid "Transfer %plural%"
|
1717 |
msgstr ""
|
1718 |
|
1719 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
1720 |
#@ mycred
|
1721 |
msgid "Show users balance"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
1725 |
#@ mycred
|
1726 |
msgid "Show users limit"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
1730 |
#@ mycred
|
1731 |
msgid "To:"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
1735 |
#@ mycred
|
1736 |
msgid "Amount:"
|
1737 |
msgstr ""
|
@@ -1851,31 +1851,31 @@ msgid "Next"
|
|
1851 |
msgstr ""
|
1852 |
|
1853 |
#: includes/mycred-install.php:474
|
1854 |
-
#: modules/mycred-module-general.php:
|
1855 |
#@ mycred
|
1856 |
msgid "Name (Singular)"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
#: includes/mycred-install.php:478
|
1860 |
-
#: modules/mycred-module-general.php:
|
1861 |
#@ mycred
|
1862 |
msgid "Name (Plural)"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
#: includes/mycred-install.php:484
|
1866 |
-
#: modules/mycred-module-general.php:
|
1867 |
#@ mycred
|
1868 |
msgid "Prefix"
|
1869 |
msgstr ""
|
1870 |
|
1871 |
#: includes/mycred-install.php:492
|
1872 |
-
#: modules/mycred-module-general.php:
|
1873 |
#@ mycred
|
1874 |
msgid "Suffix"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
#: includes/mycred-install.php:526
|
1878 |
-
#: modules/mycred-module-general.php:
|
1879 |
#@ mycred
|
1880 |
msgid "Security"
|
1881 |
msgstr ""
|
@@ -1886,55 +1886,55 @@ msgid "Edit Settings Capability"
|
|
1886 |
msgstr ""
|
1887 |
|
1888 |
#: includes/mycred-install.php:537
|
1889 |
-
#: modules/mycred-module-general.php:
|
1890 |
#@ mycred
|
1891 |
msgid "Excludes"
|
1892 |
msgstr ""
|
1893 |
|
1894 |
#: includes/mycred-install.php:541
|
1895 |
-
#: modules/mycred-module-general.php:
|
1896 |
#@ mycred
|
1897 |
msgid "Exclude those who can \"Edit Settings\"."
|
1898 |
msgstr ""
|
1899 |
|
1900 |
#: includes/mycred-install.php:548
|
1901 |
-
#: modules/mycred-module-general.php:
|
1902 |
#@ mycred
|
1903 |
msgid "Exclude the following user IDs:"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
#: includes/mycred-install.php:552
|
1907 |
-
#: modules/mycred-module-general.php:
|
1908 |
#@ mycred
|
1909 |
msgid "Rankings"
|
1910 |
msgstr ""
|
1911 |
|
1912 |
#: includes/mycred-install.php:556
|
1913 |
-
#: modules/mycred-module-general.php:
|
1914 |
#@ mycred
|
1915 |
msgid "Update rankings each time a users balance changes."
|
1916 |
msgstr ""
|
1917 |
|
1918 |
#: includes/mycred-install.php:560
|
1919 |
-
#: modules/mycred-module-general.php:
|
1920 |
#@ mycred
|
1921 |
msgid "Update rankings once a day."
|
1922 |
msgstr ""
|
1923 |
|
1924 |
#: includes/mycred-install.php:564
|
1925 |
-
#: modules/mycred-module-general.php:
|
1926 |
#@ mycred
|
1927 |
msgid "Update rankings once a week."
|
1928 |
msgstr ""
|
1929 |
|
1930 |
#: includes/mycred-install.php:568
|
1931 |
-
#: modules/mycred-module-general.php:
|
1932 |
#@ mycred
|
1933 |
msgid "Update rankings on a specific date."
|
1934 |
msgstr ""
|
1935 |
|
1936 |
#: includes/mycred-install.php:572
|
1937 |
-
#: modules/mycred-module-general.php:
|
1938 |
#: modules/mycred-module-log.php:701
|
1939 |
#@ mycred
|
1940 |
msgid "Date"
|
@@ -2090,68 +2090,67 @@ msgstr ""
|
|
2090 |
#: modules/mycred-module-addons.php:23
|
2091 |
#: modules/mycred-module-addons.php:24
|
2092 |
#: modules/mycred-module-addons.php:25
|
2093 |
-
#: modules/mycred-module-addons.php:
|
2094 |
#@ mycred
|
2095 |
msgid "Add-ons"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
-
#: modules/mycred-module-addons.php:
|
2099 |
#@ mycred
|
2100 |
msgid "Add-on Activated"
|
2101 |
msgstr ""
|
2102 |
|
2103 |
-
#: modules/mycred-module-addons.php:
|
2104 |
#@ mycred
|
2105 |
msgid "Add-on Deactivated"
|
2106 |
msgstr ""
|
2107 |
|
2108 |
-
#: modules/mycred-module-addons.php:
|
2109 |
#@ mycred
|
2110 |
msgid "Add-ons can expand your current installation with further features."
|
2111 |
msgstr ""
|
2112 |
|
2113 |
-
#: modules/mycred-module-addons.php:
|
2114 |
#@ mycred
|
2115 |
msgid "Deactivate Add-on"
|
2116 |
msgstr ""
|
2117 |
|
2118 |
-
#: modules/mycred-module-addons.php:
|
2119 |
#@ mycred
|
2120 |
msgid "Deactivate"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
-
#: modules/mycred-module-addons.php:
|
2124 |
#@ mycred
|
2125 |
msgid "Activate Add-on"
|
2126 |
msgstr ""
|
2127 |
|
2128 |
-
#: modules/mycred-module-addons.php:
|
2129 |
#@ mycred
|
2130 |
msgid "Activate"
|
2131 |
msgstr ""
|
2132 |
|
2133 |
-
#: modules/mycred-module-addons.php:
|
2134 |
-
#: modules/mycred-module-general.php:48
|
2135 |
#@ mycred
|
2136 |
msgid "Version"
|
2137 |
msgstr ""
|
2138 |
|
2139 |
-
#: modules/mycred-module-addons.php:
|
2140 |
#@ mycred
|
2141 |
msgid "By"
|
2142 |
msgstr ""
|
2143 |
|
2144 |
-
#: modules/mycred-module-addons.php:
|
2145 |
#@ mycred
|
2146 |
msgid "View Authors Website"
|
2147 |
msgstr ""
|
2148 |
|
2149 |
-
#: modules/mycred-module-addons.php:
|
2150 |
#@ mycred
|
2151 |
msgid "View Add-ons Website"
|
2152 |
msgstr ""
|
2153 |
|
2154 |
-
#: modules/mycred-module-addons.php:
|
2155 |
#@ mycred
|
2156 |
msgid "Visit Website"
|
2157 |
msgstr ""
|
@@ -2167,69 +2166,69 @@ msgstr ""
|
|
2167 |
msgid "Settings"
|
2168 |
msgstr ""
|
2169 |
|
2170 |
-
#: modules/mycred-module-general.php:
|
2171 |
#: modules/mycred-module-help.php:213
|
2172 |
#@ mycred
|
2173 |
msgid "Core Settings"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
-
#: modules/mycred-module-general.php:
|
2177 |
#@ mycred
|
2178 |
msgid "Name"
|
2179 |
msgstr ""
|
2180 |
|
2181 |
-
#: modules/mycred-module-general.php:
|
2182 |
#, php-format
|
2183 |
#@ default
|
2184 |
msgid "Accessible though the %singular% template tag."
|
2185 |
msgstr ""
|
2186 |
|
2187 |
-
#: modules/mycred-module-general.php:
|
2188 |
#, php-format
|
2189 |
#@ default
|
2190 |
msgid "Accessible though the %plural% template tag."
|
2191 |
msgstr ""
|
2192 |
|
2193 |
-
#: modules/mycred-module-general.php:
|
2194 |
#@ mycred
|
2195 |
msgid "Tip"
|
2196 |
msgstr ""
|
2197 |
|
2198 |
-
#: modules/mycred-module-general.php:
|
2199 |
#@ mycred
|
2200 |
msgid "Adding an underscore at the beginning of template tag for names will return them in lowercase. i.e. %_singular%"
|
2201 |
msgstr ""
|
2202 |
|
2203 |
#: includes/mycred-install.php:471
|
2204 |
-
#: modules/mycred-module-general.php:
|
2205 |
#@ mycred
|
2206 |
msgid "Presentation"
|
2207 |
msgstr ""
|
2208 |
|
2209 |
-
#: modules/mycred-module-general.php:
|
2210 |
#@ mycred
|
2211 |
msgid "Separator"
|
2212 |
msgid_plural "Separators"
|
2213 |
msgstr[0] ""
|
2214 |
msgstr[1] ""
|
2215 |
|
2216 |
-
#: modules/mycred-module-general.php:
|
2217 |
#@ mycred
|
2218 |
msgid "Edit Settings"
|
2219 |
msgstr ""
|
2220 |
|
2221 |
-
#: modules/mycred-module-general.php:
|
2222 |
-
#: modules/mycred-module-general.php:
|
2223 |
#@ default
|
2224 |
msgid "Capability to check for."
|
2225 |
msgstr ""
|
2226 |
|
2227 |
-
#: modules/mycred-module-general.php:
|
2228 |
#@ default
|
2229 |
msgid "Comma separated list of user ids to exclude. No spaces allowed!"
|
2230 |
msgstr ""
|
2231 |
|
2232 |
-
#: modules/mycred-module-general.php:
|
2233 |
#@ mycred
|
2234 |
msgid "Update Settings"
|
2235 |
msgstr ""
|
@@ -2317,60 +2316,60 @@ msgstr ""
|
|
2317 |
msgid "Update Changes"
|
2318 |
msgstr ""
|
2319 |
|
2320 |
-
#: modules/mycred-module-hooks.php:
|
2321 |
-
#: modules/mycred-module-hooks.php:
|
2322 |
-
#: modules/mycred-module-hooks.php:
|
2323 |
#@ mycred
|
2324 |
msgid "Limit"
|
2325 |
msgstr ""
|
2326 |
|
2327 |
-
#: modules/mycred-module-hooks.php:
|
2328 |
#, php-format
|
2329 |
#@ mycred
|
2330 |
msgid "%plural% for Posts"
|
2331 |
msgstr ""
|
2332 |
|
2333 |
-
#: modules/mycred-module-hooks.php:
|
2334 |
#, php-format
|
2335 |
#@ mycred
|
2336 |
msgid "%plural% for Pages"
|
2337 |
msgstr ""
|
2338 |
|
2339 |
-
#: modules/mycred-module-hooks.php:
|
2340 |
#, php-format
|
2341 |
#@ mycred
|
2342 |
msgid "%plural% for %s"
|
2343 |
msgstr ""
|
2344 |
|
2345 |
-
#: modules/mycred-module-hooks.php:
|
2346 |
#, php-format
|
2347 |
#@ mycred
|
2348 |
msgid "%plural% for Sending An Invite"
|
2349 |
msgstr ""
|
2350 |
|
2351 |
-
#: modules/mycred-module-hooks.php:
|
2352 |
#@ mycred
|
2353 |
msgid "Maximum number of invites that grants %_plural%. User zero for unlimited."
|
2354 |
msgstr ""
|
2355 |
|
2356 |
-
#: modules/mycred-module-hooks.php:
|
2357 |
#, php-format
|
2358 |
#@ mycred
|
2359 |
msgid "%plural% for Accepting An Invite"
|
2360 |
msgstr ""
|
2361 |
|
2362 |
-
#: modules/mycred-module-hooks.php:
|
2363 |
#, php-format
|
2364 |
#@ mycred
|
2365 |
msgid "%plural% for each invited user that accepts an invitation."
|
2366 |
msgstr ""
|
2367 |
|
2368 |
-
#: modules/mycred-module-hooks.php:
|
2369 |
#@ mycred
|
2370 |
msgid "Maximum number of accepted invitations that grants %_plural%. User zero for unlimited."
|
2371 |
msgstr ""
|
2372 |
|
2373 |
-
#: modules/mycred-module-hooks.php:
|
2374 |
#@ mycred
|
2375 |
msgid "No forms found."
|
2376 |
msgstr ""
|
@@ -2519,7 +2518,7 @@ msgstr ""
|
|
2519 |
msgid "Disable immediate rejection of expired cards."
|
2520 |
msgstr ""
|
2521 |
|
2522 |
-
#: addons/buy-creds/gateways/paypal-standard.php:
|
2523 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:744
|
2524 |
#@ mycred
|
2525 |
msgid "For this gateway to work, you must login to your PayPal account and under \"Profile\" > \"Selling Tools\" enable \"Instant Payment Notifications\". Make sure the \"Notification URL\" is set to the above address and that you have selected \"Receive IPN messages (Enabled)\"."
|
@@ -2662,21 +2661,21 @@ msgstr ""
|
|
2662 |
#: addons/buddypress/hooks/bp-profile.php:389
|
2663 |
#: addons/buddypress/hooks/bp-profile.php:402
|
2664 |
#: addons/buddypress/hooks/bp-profile.php:415
|
2665 |
-
#: modules/mycred-module-hooks.php:
|
2666 |
-
#: modules/mycred-module-hooks.php:
|
2667 |
-
#: modules/mycred-module-hooks.php:
|
2668 |
-
#: modules/mycred-module-subscriptions.php:
|
2669 |
-
#: modules/mycred-module-subscriptions.php:
|
2670 |
#@ mycred
|
2671 |
msgid "Available template tags: General"
|
2672 |
msgstr ""
|
2673 |
|
2674 |
#: addons/buddypress/hooks/bp-press.php:115
|
2675 |
#: addons/buddypress/hooks/bp-press.php:128
|
2676 |
-
#: modules/mycred-module-hooks.php:
|
2677 |
-
#: modules/mycred-module-hooks.php:
|
2678 |
-
#: modules/mycred-module-hooks.php:
|
2679 |
-
#: modules/mycred-module-hooks.php:
|
2680 |
#@ mycred
|
2681 |
msgid "Available template tags: General, Post"
|
2682 |
msgstr ""
|
@@ -2690,7 +2689,7 @@ msgstr ""
|
|
2690 |
msgid "Available template tags: General, User"
|
2691 |
msgstr ""
|
2692 |
|
2693 |
-
#: addons/buddypress/myCRED-addon-buddypress.php:
|
2694 |
#, php-format
|
2695 |
#@ mycred
|
2696 |
msgid "Available template tags are: %creds%, %number%, %rank%"
|
@@ -2829,24 +2828,24 @@ msgstr ""
|
|
2829 |
msgid "Your current balance"
|
2830 |
msgstr ""
|
2831 |
|
2832 |
-
#: modules/mycred-module-hooks.php:
|
2833 |
-
#: modules/mycred-module-hooks.php:
|
2834 |
-
#: modules/mycred-module-hooks.php:
|
2835 |
#@ mycred
|
2836 |
msgid "Available template tags: General, Comment"
|
2837 |
msgstr ""
|
2838 |
|
2839 |
-
#: modules/mycred-module-hooks.php:
|
2840 |
#@ mycred
|
2841 |
msgid "Approved Comment"
|
2842 |
msgstr ""
|
2843 |
|
2844 |
-
#: modules/mycred-module-hooks.php:
|
2845 |
#@ mycred
|
2846 |
msgid "Comment Marked SPAM"
|
2847 |
msgstr ""
|
2848 |
|
2849 |
-
#: modules/mycred-module-hooks.php:
|
2850 |
#@ mycred
|
2851 |
msgid "Trashed / Unapproved Comments"
|
2852 |
msgstr ""
|
@@ -2873,7 +2872,7 @@ msgstr ""
|
|
2873 |
|
2874 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:728
|
2875 |
#: addons/sell-content/myCRED-addon-sell-content.php:692
|
2876 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
2877 |
#@ mycred
|
2878 |
msgid "Usage"
|
2879 |
msgstr ""
|
@@ -3022,22 +3021,22 @@ msgstr ""
|
|
3022 |
msgid "You can either sell entire posts via the Sell Content Meta Box or by using the <code>mycred_sell_this</code> shortcode.<br />For more information on how to use the shortcode, please visit the"
|
3023 |
msgstr ""
|
3024 |
|
3025 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
3026 |
#@ mycred
|
3027 |
msgid "This add-on lets your users transfer %_plural% to each other. Members who are set to be excluded can neither send or receive %_plural%."
|
3028 |
msgstr ""
|
3029 |
|
3030 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
3031 |
#@ mycred
|
3032 |
msgid "Transfer Limit"
|
3033 |
msgstr ""
|
3034 |
|
3035 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
3036 |
#@ mycred
|
3037 |
msgid "You can impose a daily-, weekly- or monthly transfer limit for each user. Note, that this transfer limit is imposed on everyone who are not excluded from using myCRED."
|
3038 |
msgstr ""
|
3039 |
|
3040 |
-
#: addons/transfer/myCRED-addon-transfer.php:
|
3041 |
#@ mycred
|
3042 |
msgid "Transfers can be made by either using the <code>mycred_transfer</code> shortcode or via the myCRED Transfer Widget.<br />For more information on how to use the shortcode, please visit the"
|
3043 |
msgstr ""
|
@@ -3054,7 +3053,7 @@ msgid "Edit Users %plural% Capability"
|
|
3054 |
msgstr ""
|
3055 |
|
3056 |
#: includes/mycred-install.php:545
|
3057 |
-
#: modules/mycred-module-general.php:
|
3058 |
#, php-format
|
3059 |
#@ mycred
|
3060 |
msgid "Exclude those who can \"Edit Users %plural%\"."
|
@@ -3083,7 +3082,7 @@ msgstr ""
|
|
3083 |
msgid "History Title"
|
3084 |
msgstr ""
|
3085 |
|
3086 |
-
#: modules/mycred-module-general.php:
|
3087 |
#, php-format
|
3088 |
#@ mycred
|
3089 |
msgid "Edit Users %plural%"
|
@@ -3436,12 +3435,12 @@ msgstr ""
|
|
3436 |
msgid "Awards %_plural% for users signing up for site or comment updates using Jetpack."
|
3437 |
msgstr ""
|
3438 |
|
3439 |
-
#: modules/mycred-module-subscriptions.php:
|
3440 |
#@ mycred
|
3441 |
msgid "Site Subscriptions"
|
3442 |
msgstr ""
|
3443 |
|
3444 |
-
#: modules/mycred-module-subscriptions.php:
|
3445 |
#@ mycred
|
3446 |
msgid "Comment Subscriptions"
|
3447 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: myCRED v1.0.7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2013-05-13 00:35:57+0000\n"
|
7 |
"Last-Translator: unimatrix0 <gabriel.s@merovingi.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
52 |
#: addons/buddypress/hooks/bp-profile.php:400
|
53 |
#: addons/buddypress/hooks/bp-profile.php:413
|
54 |
#: modules/mycred-module-hooks.php:289
|
55 |
+
#: modules/mycred-module-hooks.php:533
|
56 |
+
#: modules/mycred-module-hooks.php:546
|
57 |
+
#: modules/mycred-module-hooks.php:581
|
58 |
+
#: modules/mycred-module-hooks.php:803
|
59 |
+
#: modules/mycred-module-hooks.php:815
|
60 |
+
#: modules/mycred-module-hooks.php:827
|
61 |
+
#: modules/mycred-module-hooks.php:962
|
62 |
+
#: modules/mycred-module-hooks.php:983
|
63 |
+
#: modules/mycred-module-hooks.php:1117
|
64 |
+
#: modules/mycred-module-subscriptions.php:486
|
65 |
+
#: modules/mycred-module-subscriptions.php:499
|
66 |
#@ mycred
|
67 |
msgid "Log template"
|
68 |
msgstr ""
|
221 |
msgid "%plural% for Sending Gift"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:50
|
225 |
#: modules/mycred-module-log.php:60
|
226 |
#: modules/mycred-module-log.php:419
|
227 |
#@ mycred
|
228 |
msgid "My History"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:51
|
232 |
#, php-format
|
233 |
#@ mycred
|
234 |
msgid "%s's History"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:371
|
238 |
#, php-format
|
239 |
#@ mycred
|
240 |
msgid "%singular% Balance"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:201
|
244 |
#: modules/mycred-module-log.php:202
|
245 |
#@ mycred
|
246 |
msgid "All"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:202
|
250 |
#: modules/mycred-module-log.php:203
|
251 |
#@ mycred
|
252 |
msgid "Today"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:203
|
256 |
#: modules/mycred-module-log.php:204
|
257 |
#@ mycred
|
258 |
msgid "Yesterday"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:204
|
262 |
#: modules/mycred-module-log.php:205
|
263 |
#@ mycred
|
264 |
msgid "This Week"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:205
|
268 |
#: modules/mycred-module-log.php:206
|
269 |
#@ mycred
|
270 |
msgid "This Month"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:329
|
274 |
#@ default
|
275 |
msgid "bbPress 2.0"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:330
|
279 |
#@ mycred
|
280 |
msgid "Awards %_plural% for bbPress actions."
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:301
|
284 |
#@ default
|
285 |
msgid "BuddyPress: Groups"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:302
|
289 |
#@ mycred
|
290 |
msgid "Awards %_plural% for group related actions. Use minus to deduct %_plural% or zero to disable a specific hook."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:306
|
294 |
#@ default
|
295 |
msgid "BuddyPress: Members"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:307
|
299 |
#@ mycred
|
300 |
msgid "Awards %_plural% for profile related actions."
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:313
|
304 |
#@ default
|
305 |
msgid "BuddyPress: Links"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:314
|
309 |
#@ mycred
|
310 |
msgid "Awards %_plural% for link related actions."
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:321
|
314 |
#@ default
|
315 |
msgid "BuddyPress: Gallery Actions"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:322
|
319 |
#@ mycred
|
320 |
msgid "Awards %_plural% for creating a new gallery either using BP Album+ or BP Gallery."
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:350
|
324 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:357
|
325 |
#@ mycred
|
326 |
msgid "Do not show."
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:351
|
330 |
#@ mycred
|
331 |
msgid "Include in Profile Header."
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:352
|
335 |
#@ mycred
|
336 |
msgid "Include under the \"Profile\" tab"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:353
|
340 |
#@ mycred
|
341 |
msgid "Include under the \"Profile\" tab and Profile Header."
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:358
|
345 |
#@ mycred
|
346 |
msgid "Show in Profile"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:369
|
350 |
#@ mycred
|
351 |
msgid "BuddyPress"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:387
|
355 |
#@ mycred
|
356 |
msgid "Members can view each others %_singular% balance."
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:392
|
360 |
#@ mycred
|
361 |
msgid "Template"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:397
|
365 |
#: includes/mycred-widgets.php:149
|
366 |
#: modules/mycred-module-log.php:61
|
367 |
#, php-format
|
369 |
msgid "%plural% History"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:413
|
373 |
#@ mycred
|
374 |
msgid "Members can view each others %_plural% history."
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:418
|
378 |
#@ mycred
|
379 |
msgid "Menu Title"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:420
|
383 |
#@ mycred
|
384 |
msgid "Title shown to me"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:425
|
388 |
#, php-format
|
389 |
#@ mycred
|
390 |
msgid "Title shown to others. Use %s to show the first name."
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:430
|
394 |
#@ mycred
|
395 |
msgid "Menu Position"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:432
|
399 |
#@ mycred
|
400 |
msgid "Current menu positions:"
|
401 |
msgstr ""
|
402 |
|
403 |
#: addons/import/myCRED-addon-import.php:451
|
404 |
#: includes/mycred-network.php:115
|
405 |
+
#: modules/mycred-module-addons.php:237
|
406 |
#: modules/mycred-module-general.php:35
|
407 |
#: modules/mycred-module-hooks.php:154
|
408 |
#: modules/mycred-module-log.php:321
|
683 |
msgstr ""
|
684 |
|
685 |
#: addons/buy-creds/gateways/netbilling.php:608
|
686 |
+
#: addons/buy-creds/gateways/paypal-standard.php:327
|
687 |
+
#: addons/buy-creds/gateways/skrill.php:332
|
688 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:750
|
689 |
#@ mycred
|
690 |
msgid "Sandbox Mode"
|
706 |
msgstr ""
|
707 |
|
708 |
#: addons/buy-creds/gateways/netbilling.php:632
|
709 |
+
#: addons/buy-creds/gateways/paypal-standard.php:347
|
710 |
+
#: addons/buy-creds/gateways/skrill.php:358
|
711 |
#@ mycred
|
712 |
msgid "Item Name"
|
713 |
msgstr ""
|
714 |
|
715 |
#: addons/buy-creds/gateways/netbilling.php:638
|
716 |
+
#: addons/buy-creds/gateways/paypal-standard.php:354
|
717 |
+
#: addons/buy-creds/gateways/skrill.php:365
|
718 |
#, php-format
|
719 |
#@ mycred
|
720 |
msgid "%plural% Exchange Rate"
|
735 |
msgid "Advanced"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: addons/buy-creds/gateways/paypal-standard.php:231
|
739 |
+
#: addons/buy-creds/gateways/skrill.php:205
|
740 |
#@ mycred
|
741 |
msgid "Success"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: addons/buy-creds/gateways/paypal-standard.php:232
|
745 |
+
#: addons/buy-creds/gateways/skrill.php:206
|
746 |
#@ mycred
|
747 |
msgid "Thank you for your purchase"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: addons/buy-creds/gateways/paypal-standard.php:245
|
751 |
+
#: addons/buy-creds/gateways/skrill.php:219
|
752 |
#@ mycred
|
753 |
msgid "Please setup this gateway before attempting to make a purchaase!"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: addons/buy-creds/gateways/paypal-standard.php:305
|
757 |
+
#: addons/buy-creds/gateways/skrill.php:260
|
758 |
#@ mycred
|
759 |
msgid "Return to "
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: addons/buy-creds/gateways/paypal-standard.php:310
|
763 |
+
#: addons/buy-creds/gateways/skrill.php:314
|
764 |
#@ mycred
|
765 |
msgid "Processing payment …"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: addons/buy-creds/gateways/paypal-standard.php:333
|
769 |
+
#: addons/buy-creds/gateways/skrill.php:338
|
770 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:741
|
771 |
#@ mycred
|
772 |
msgid "Currency"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: addons/buy-creds/gateways/paypal-standard.php:338
|
776 |
+
#: addons/buy-creds/gateways/skrill.php:395
|
777 |
#@ mycred
|
778 |
msgid "Important!"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: addons/buy-creds/gateways/paypal-standard.php:338
|
782 |
#@ mycred
|
783 |
msgid "Make sure you select a currency that your PayPal account supports. Otherwise transactions will not be approved until you login to your PayPal account and Accept each transaction!"
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: addons/buy-creds/gateways/paypal-standard.php:341
|
787 |
#@ mycred
|
788 |
msgid "Account Email"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: addons/buy-creds/gateways/paypal-standard.php:351
|
792 |
+
#: addons/buy-creds/gateways/skrill.php:362
|
793 |
#@ mycred
|
794 |
msgid "Description of the item being purchased by the user."
|
795 |
msgstr ""
|
796 |
|
797 |
+
#: addons/buy-creds/gateways/paypal-standard.php:357
|
798 |
+
#: addons/buy-creds/gateways/skrill.php:368
|
799 |
#@ mycred
|
800 |
msgid "Your selected currency"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: addons/buy-creds/gateways/paypal-standard.php:360
|
804 |
#@ mycred
|
805 |
msgid "IPN Address"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: addons/buy-creds/gateways/skrill.php:297
|
809 |
#@ mycred
|
810 |
msgid "Product:"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: addons/buy-creds/gateways/skrill.php:306
|
814 |
#@ mycred
|
815 |
msgid "Gift to:"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: addons/buy-creds/gateways/skrill.php:307
|
819 |
#@ mycred
|
820 |
msgid "(author)"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: addons/buy-creds/gateways/skrill.php:335
|
824 |
#@ mycred
|
825 |
msgid "Remember to use your Test Merchant Account when Sandbox mode is active!"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: addons/buy-creds/gateways/skrill.php:345
|
829 |
#@ mycred
|
830 |
msgid "Merchant Account Email"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: addons/buy-creds/gateways/skrill.php:351
|
834 |
#@ mycred
|
835 |
msgid "Secret Word"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: addons/buy-creds/gateways/skrill.php:355
|
839 |
#@ mycred
|
840 |
msgid "You can set your secret word under \"Merchant Tools\" in your Skrill Account."
|
841 |
msgstr ""
|
842 |
|
843 |
+
#: addons/buy-creds/gateways/skrill.php:371
|
844 |
#@ mycred
|
845 |
msgid "Confirmation Email"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: addons/buy-creds/gateways/skrill.php:374
|
849 |
#@ mycred
|
850 |
msgid "Ask Skrill to send me a confirmation email for each successful purchase."
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: addons/buy-creds/gateways/skrill.php:377
|
854 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:752
|
855 |
#@ mycred
|
856 |
msgid "Checkout Page"
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: addons/buy-creds/gateways/skrill.php:380
|
860 |
#: addons/gateway/carts/mycred-woocommerce.php:67
|
861 |
+
#: addons/transfer/myCRED-addon-transfer.php:566
|
862 |
#: includes/mycred-widgets.php:175
|
863 |
#: includes/mycred-widgets.php:331
|
864 |
#@ mycred
|
865 |
msgid "Title"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: addons/buy-creds/gateways/skrill.php:382
|
869 |
#@ mycred
|
870 |
msgid "If left empty, your account email is used as title on the Skill Payment Page."
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: addons/buy-creds/gateways/skrill.php:385
|
874 |
#@ mycred
|
875 |
msgid "Logo URL"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: addons/buy-creds/gateways/skrill.php:387
|
879 |
#@ mycred
|
880 |
msgid "The URL to the image you want to use on the top of the gateway. For best integration results we recommend you use logos with dimensions up to 200px in width and 50px in height."
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: addons/buy-creds/gateways/skrill.php:390
|
884 |
#@ mycred
|
885 |
msgid "Confirmation Note"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: addons/buy-creds/gateways/skrill.php:392
|
889 |
#@ mycred
|
890 |
msgid "Optional text to show user once a transaction has been successfully completed. This text is shown by Skrill."
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: addons/buy-creds/gateways/skrill.php:396
|
894 |
#@ mycred
|
895 |
msgid "By default all Skrill Merchant account accept payments via Bank Transfers. When a user selects this option, no %_plural% are awarded! You will need to manually award these once the bank transfer is completed."
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: addons/buy-creds/gateways/skrill.php:397
|
899 |
#@ mycred
|
900 |
msgid "By default purchases made using Skrill will result in users having to signup for a Skrill account (if they do not have one already). You can contact <a href=\"mailto:\">Skrill Merchant Services</a> and request to disable this feature."
|
901 |
msgstr ""
|
983 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:199
|
984 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:253
|
985 |
#: addons/gateway/carts/mycred-woocommerce.php:79
|
986 |
+
#: modules/mycred-module-hooks.php:423
|
987 |
#@ mycred
|
988 |
msgid "Log Template"
|
989 |
msgstr ""
|
1560 |
msgstr ""
|
1561 |
|
1562 |
#: addons/transfer/myCRED-addon-transfer.php:43
|
1563 |
+
#: addons/transfer/myCRED-addon-transfer.php:463
|
1564 |
#@ mycred
|
1565 |
msgid "Transfer"
|
1566 |
msgstr ""
|
1700 |
msgid "Transfer Limit Reached."
|
1701 |
msgstr ""
|
1702 |
|
1703 |
+
#: addons/transfer/myCRED-addon-transfer.php:492
|
1704 |
#@ mycred
|
1705 |
msgid "Allow cred transfers between users."
|
1706 |
msgstr ""
|
1707 |
|
1708 |
+
#: addons/transfer/myCRED-addon-transfer.php:494
|
1709 |
#@ mycred
|
1710 |
msgid "myCRED Transfer"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
+
#: addons/transfer/myCRED-addon-transfer.php:560
|
1714 |
#, php-format
|
1715 |
#@ mycred
|
1716 |
msgid "Transfer %plural%"
|
1717 |
msgstr ""
|
1718 |
|
1719 |
+
#: addons/transfer/myCRED-addon-transfer.php:571
|
1720 |
#@ mycred
|
1721 |
msgid "Show users balance"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
+
#: addons/transfer/myCRED-addon-transfer.php:575
|
1725 |
#@ mycred
|
1726 |
msgid "Show users limit"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
+
#: addons/transfer/myCRED-addon-transfer.php:688
|
1730 |
#@ mycred
|
1731 |
msgid "To:"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
+
#: addons/transfer/myCRED-addon-transfer.php:692
|
1735 |
#@ mycred
|
1736 |
msgid "Amount:"
|
1737 |
msgstr ""
|
1851 |
msgstr ""
|
1852 |
|
1853 |
#: includes/mycred-install.php:474
|
1854 |
+
#: modules/mycred-module-general.php:61
|
1855 |
#@ mycred
|
1856 |
msgid "Name (Singular)"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
#: includes/mycred-install.php:478
|
1860 |
+
#: modules/mycred-module-general.php:66
|
1861 |
#@ mycred
|
1862 |
msgid "Name (Plural)"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
#: includes/mycred-install.php:484
|
1866 |
+
#: modules/mycred-module-general.php:77
|
1867 |
#@ mycred
|
1868 |
msgid "Prefix"
|
1869 |
msgstr ""
|
1870 |
|
1871 |
#: includes/mycred-install.php:492
|
1872 |
+
#: modules/mycred-module-general.php:85
|
1873 |
#@ mycred
|
1874 |
msgid "Suffix"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
#: includes/mycred-install.php:526
|
1878 |
+
#: modules/mycred-module-general.php:93
|
1879 |
#@ mycred
|
1880 |
msgid "Security"
|
1881 |
msgstr ""
|
1886 |
msgstr ""
|
1887 |
|
1888 |
#: includes/mycred-install.php:537
|
1889 |
+
#: modules/mycred-module-general.php:106
|
1890 |
#@ mycred
|
1891 |
msgid "Excludes"
|
1892 |
msgstr ""
|
1893 |
|
1894 |
#: includes/mycred-install.php:541
|
1895 |
+
#: modules/mycred-module-general.php:110
|
1896 |
#@ mycred
|
1897 |
msgid "Exclude those who can \"Edit Settings\"."
|
1898 |
msgstr ""
|
1899 |
|
1900 |
#: includes/mycred-install.php:548
|
1901 |
+
#: modules/mycred-module-general.php:118
|
1902 |
#@ mycred
|
1903 |
msgid "Exclude the following user IDs:"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
#: includes/mycred-install.php:552
|
1907 |
+
#: modules/mycred-module-general.php:123
|
1908 |
#@ mycred
|
1909 |
msgid "Rankings"
|
1910 |
msgstr ""
|
1911 |
|
1912 |
#: includes/mycred-install.php:556
|
1913 |
+
#: modules/mycred-module-general.php:127
|
1914 |
#@ mycred
|
1915 |
msgid "Update rankings each time a users balance changes."
|
1916 |
msgstr ""
|
1917 |
|
1918 |
#: includes/mycred-install.php:560
|
1919 |
+
#: modules/mycred-module-general.php:131
|
1920 |
#@ mycred
|
1921 |
msgid "Update rankings once a day."
|
1922 |
msgstr ""
|
1923 |
|
1924 |
#: includes/mycred-install.php:564
|
1925 |
+
#: modules/mycred-module-general.php:135
|
1926 |
#@ mycred
|
1927 |
msgid "Update rankings once a week."
|
1928 |
msgstr ""
|
1929 |
|
1930 |
#: includes/mycred-install.php:568
|
1931 |
+
#: modules/mycred-module-general.php:139
|
1932 |
#@ mycred
|
1933 |
msgid "Update rankings on a specific date."
|
1934 |
msgstr ""
|
1935 |
|
1936 |
#: includes/mycred-install.php:572
|
1937 |
+
#: modules/mycred-module-general.php:143
|
1938 |
#: modules/mycred-module-log.php:701
|
1939 |
#@ mycred
|
1940 |
msgid "Date"
|
2090 |
#: modules/mycred-module-addons.php:23
|
2091 |
#: modules/mycred-module-addons.php:24
|
2092 |
#: modules/mycred-module-addons.php:25
|
2093 |
+
#: modules/mycred-module-addons.php:252
|
2094 |
#@ mycred
|
2095 |
msgid "Add-ons"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
+
#: modules/mycred-module-addons.php:245
|
2099 |
#@ mycred
|
2100 |
msgid "Add-on Activated"
|
2101 |
msgstr ""
|
2102 |
|
2103 |
+
#: modules/mycred-module-addons.php:247
|
2104 |
#@ mycred
|
2105 |
msgid "Add-on Deactivated"
|
2106 |
msgstr ""
|
2107 |
|
2108 |
+
#: modules/mycred-module-addons.php:253
|
2109 |
#@ mycred
|
2110 |
msgid "Add-ons can expand your current installation with further features."
|
2111 |
msgstr ""
|
2112 |
|
2113 |
+
#: modules/mycred-module-addons.php:291
|
2114 |
#@ mycred
|
2115 |
msgid "Deactivate Add-on"
|
2116 |
msgstr ""
|
2117 |
|
2118 |
+
#: modules/mycred-module-addons.php:292
|
2119 |
#@ mycred
|
2120 |
msgid "Deactivate"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
+
#: modules/mycred-module-addons.php:297
|
2124 |
#@ mycred
|
2125 |
msgid "Activate Add-on"
|
2126 |
msgstr ""
|
2127 |
|
2128 |
+
#: modules/mycred-module-addons.php:298
|
2129 |
#@ mycred
|
2130 |
msgid "Activate"
|
2131 |
msgstr ""
|
2132 |
|
2133 |
+
#: modules/mycred-module-addons.php:315
|
|
|
2134 |
#@ mycred
|
2135 |
msgid "Version"
|
2136 |
msgstr ""
|
2137 |
|
2138 |
+
#: modules/mycred-module-addons.php:318
|
2139 |
#@ mycred
|
2140 |
msgid "By"
|
2141 |
msgstr ""
|
2142 |
|
2143 |
+
#: modules/mycred-module-addons.php:318
|
2144 |
#@ mycred
|
2145 |
msgid "View Authors Website"
|
2146 |
msgstr ""
|
2147 |
|
2148 |
+
#: modules/mycred-module-addons.php:321
|
2149 |
#@ mycred
|
2150 |
msgid "View Add-ons Website"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
+
#: modules/mycred-module-addons.php:321
|
2154 |
#@ mycred
|
2155 |
msgid "Visit Website"
|
2156 |
msgstr ""
|
2166 |
msgid "Settings"
|
2167 |
msgstr ""
|
2168 |
|
2169 |
+
#: modules/mycred-module-general.php:56
|
2170 |
#: modules/mycred-module-help.php:213
|
2171 |
#@ mycred
|
2172 |
msgid "Core Settings"
|
2173 |
msgstr ""
|
2174 |
|
2175 |
+
#: modules/mycred-module-general.php:58
|
2176 |
#@ mycred
|
2177 |
msgid "Name"
|
2178 |
msgstr ""
|
2179 |
|
2180 |
+
#: modules/mycred-module-general.php:63
|
2181 |
#, php-format
|
2182 |
#@ default
|
2183 |
msgid "Accessible though the %singular% template tag."
|
2184 |
msgstr ""
|
2185 |
|
2186 |
+
#: modules/mycred-module-general.php:68
|
2187 |
#, php-format
|
2188 |
#@ default
|
2189 |
msgid "Accessible though the %plural% template tag."
|
2190 |
msgstr ""
|
2191 |
|
2192 |
+
#: modules/mycred-module-general.php:71
|
2193 |
#@ mycred
|
2194 |
msgid "Tip"
|
2195 |
msgstr ""
|
2196 |
|
2197 |
+
#: modules/mycred-module-general.php:71
|
2198 |
#@ mycred
|
2199 |
msgid "Adding an underscore at the beginning of template tag for names will return them in lowercase. i.e. %_singular%"
|
2200 |
msgstr ""
|
2201 |
|
2202 |
#: includes/mycred-install.php:471
|
2203 |
+
#: modules/mycred-module-general.php:74
|
2204 |
#@ mycred
|
2205 |
msgid "Presentation"
|
2206 |
msgstr ""
|
2207 |
|
2208 |
+
#: modules/mycred-module-general.php:89
|
2209 |
#@ mycred
|
2210 |
msgid "Separator"
|
2211 |
msgid_plural "Separators"
|
2212 |
msgstr[0] ""
|
2213 |
msgstr[1] ""
|
2214 |
|
2215 |
+
#: modules/mycred-module-general.php:96
|
2216 |
#@ mycred
|
2217 |
msgid "Edit Settings"
|
2218 |
msgstr ""
|
2219 |
|
2220 |
+
#: modules/mycred-module-general.php:98
|
2221 |
+
#: modules/mycred-module-general.php:103
|
2222 |
#@ default
|
2223 |
msgid "Capability to check for."
|
2224 |
msgstr ""
|
2225 |
|
2226 |
+
#: modules/mycred-module-general.php:120
|
2227 |
#@ default
|
2228 |
msgid "Comma separated list of user ids to exclude. No spaces allowed!"
|
2229 |
msgstr ""
|
2230 |
|
2231 |
+
#: modules/mycred-module-general.php:153
|
2232 |
#@ mycred
|
2233 |
msgid "Update Settings"
|
2234 |
msgstr ""
|
2316 |
msgid "Update Changes"
|
2317 |
msgstr ""
|
2318 |
|
2319 |
+
#: modules/mycred-module-hooks.php:430
|
2320 |
+
#: modules/mycred-module-hooks.php:967
|
2321 |
+
#: modules/mycred-module-hooks.php:988
|
2322 |
#@ mycred
|
2323 |
msgid "Limit"
|
2324 |
msgstr ""
|
2325 |
|
2326 |
+
#: modules/mycred-module-hooks.php:527
|
2327 |
#, php-format
|
2328 |
#@ mycred
|
2329 |
msgid "%plural% for Posts"
|
2330 |
msgstr ""
|
2331 |
|
2332 |
+
#: modules/mycred-module-hooks.php:540
|
2333 |
#, php-format
|
2334 |
#@ mycred
|
2335 |
msgid "%plural% for Pages"
|
2336 |
msgstr ""
|
2337 |
|
2338 |
+
#: modules/mycred-module-hooks.php:575
|
2339 |
#, php-format
|
2340 |
#@ mycred
|
2341 |
msgid "%plural% for %s"
|
2342 |
msgstr ""
|
2343 |
|
2344 |
+
#: modules/mycred-module-hooks.php:955
|
2345 |
#, php-format
|
2346 |
#@ mycred
|
2347 |
msgid "%plural% for Sending An Invite"
|
2348 |
msgstr ""
|
2349 |
|
2350 |
+
#: modules/mycred-module-hooks.php:971
|
2351 |
#@ mycred
|
2352 |
msgid "Maximum number of invites that grants %_plural%. User zero for unlimited."
|
2353 |
msgstr ""
|
2354 |
|
2355 |
+
#: modules/mycred-module-hooks.php:975
|
2356 |
#, php-format
|
2357 |
#@ mycred
|
2358 |
msgid "%plural% for Accepting An Invite"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
+
#: modules/mycred-module-hooks.php:979
|
2362 |
#, php-format
|
2363 |
#@ mycred
|
2364 |
msgid "%plural% for each invited user that accepts an invitation."
|
2365 |
msgstr ""
|
2366 |
|
2367 |
+
#: modules/mycred-module-hooks.php:992
|
2368 |
#@ mycred
|
2369 |
msgid "Maximum number of accepted invitations that grants %_plural%. User zero for unlimited."
|
2370 |
msgstr ""
|
2371 |
|
2372 |
+
#: modules/mycred-module-hooks.php:1089
|
2373 |
#@ mycred
|
2374 |
msgid "No forms found."
|
2375 |
msgstr ""
|
2518 |
msgid "Disable immediate rejection of expired cards."
|
2519 |
msgstr ""
|
2520 |
|
2521 |
+
#: addons/buy-creds/gateways/paypal-standard.php:364
|
2522 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:744
|
2523 |
#@ mycred
|
2524 |
msgid "For this gateway to work, you must login to your PayPal account and under \"Profile\" > \"Selling Tools\" enable \"Instant Payment Notifications\". Make sure the \"Notification URL\" is set to the above address and that you have selected \"Receive IPN messages (Enabled)\"."
|
2661 |
#: addons/buddypress/hooks/bp-profile.php:389
|
2662 |
#: addons/buddypress/hooks/bp-profile.php:402
|
2663 |
#: addons/buddypress/hooks/bp-profile.php:415
|
2664 |
+
#: modules/mycred-module-hooks.php:427
|
2665 |
+
#: modules/mycred-module-hooks.php:964
|
2666 |
+
#: modules/mycred-module-hooks.php:985
|
2667 |
+
#: modules/mycred-module-subscriptions.php:488
|
2668 |
+
#: modules/mycred-module-subscriptions.php:501
|
2669 |
#@ mycred
|
2670 |
msgid "Available template tags: General"
|
2671 |
msgstr ""
|
2672 |
|
2673 |
#: addons/buddypress/hooks/bp-press.php:115
|
2674 |
#: addons/buddypress/hooks/bp-press.php:128
|
2675 |
+
#: modules/mycred-module-hooks.php:537
|
2676 |
+
#: modules/mycred-module-hooks.php:550
|
2677 |
+
#: modules/mycred-module-hooks.php:585
|
2678 |
+
#: modules/mycred-module-hooks.php:1119
|
2679 |
#@ mycred
|
2680 |
msgid "Available template tags: General, Post"
|
2681 |
msgstr ""
|
2689 |
msgid "Available template tags: General, User"
|
2690 |
msgstr ""
|
2691 |
|
2692 |
+
#: addons/buddypress/myCRED-addon-buddypress.php:394
|
2693 |
#, php-format
|
2694 |
#@ mycred
|
2695 |
msgid "Available template tags are: %creds%, %number%, %rank%"
|
2828 |
msgid "Your current balance"
|
2829 |
msgstr ""
|
2830 |
|
2831 |
+
#: modules/mycred-module-hooks.php:805
|
2832 |
+
#: modules/mycred-module-hooks.php:817
|
2833 |
+
#: modules/mycred-module-hooks.php:829
|
2834 |
#@ mycred
|
2835 |
msgid "Available template tags: General, Comment"
|
2836 |
msgstr ""
|
2837 |
|
2838 |
+
#: modules/mycred-module-hooks.php:796
|
2839 |
#@ mycred
|
2840 |
msgid "Approved Comment"
|
2841 |
msgstr ""
|
2842 |
|
2843 |
+
#: modules/mycred-module-hooks.php:808
|
2844 |
#@ mycred
|
2845 |
msgid "Comment Marked SPAM"
|
2846 |
msgstr ""
|
2847 |
|
2848 |
+
#: modules/mycred-module-hooks.php:820
|
2849 |
#@ mycred
|
2850 |
msgid "Trashed / Unapproved Comments"
|
2851 |
msgstr ""
|
2872 |
|
2873 |
#: addons/buy-creds/myCRED-addon-buy-creds.php:728
|
2874 |
#: addons/sell-content/myCRED-addon-sell-content.php:692
|
2875 |
+
#: addons/transfer/myCRED-addon-transfer.php:468
|
2876 |
#@ mycred
|
2877 |
msgid "Usage"
|
2878 |
msgstr ""
|
3021 |
msgid "You can either sell entire posts via the Sell Content Meta Box or by using the <code>mycred_sell_this</code> shortcode.<br />For more information on how to use the shortcode, please visit the"
|
3022 |
msgstr ""
|
3023 |
|
3024 |
+
#: addons/transfer/myCRED-addon-transfer.php:465
|
3025 |
#@ mycred
|
3026 |
msgid "This add-on lets your users transfer %_plural% to each other. Members who are set to be excluded can neither send or receive %_plural%."
|
3027 |
msgstr ""
|
3028 |
|
3029 |
+
#: addons/transfer/myCRED-addon-transfer.php:466
|
3030 |
#@ mycred
|
3031 |
msgid "Transfer Limit"
|
3032 |
msgstr ""
|
3033 |
|
3034 |
+
#: addons/transfer/myCRED-addon-transfer.php:467
|
3035 |
#@ mycred
|
3036 |
msgid "You can impose a daily-, weekly- or monthly transfer limit for each user. Note, that this transfer limit is imposed on everyone who are not excluded from using myCRED."
|
3037 |
msgstr ""
|
3038 |
|
3039 |
+
#: addons/transfer/myCRED-addon-transfer.php:469
|
3040 |
#@ mycred
|
3041 |
msgid "Transfers can be made by either using the <code>mycred_transfer</code> shortcode or via the myCRED Transfer Widget.<br />For more information on how to use the shortcode, please visit the"
|
3042 |
msgstr ""
|
3053 |
msgstr ""
|
3054 |
|
3055 |
#: includes/mycred-install.php:545
|
3056 |
+
#: modules/mycred-module-general.php:114
|
3057 |
#, php-format
|
3058 |
#@ mycred
|
3059 |
msgid "Exclude those who can \"Edit Users %plural%\"."
|
3082 |
msgid "History Title"
|
3083 |
msgstr ""
|
3084 |
|
3085 |
+
#: modules/mycred-module-general.php:101
|
3086 |
#, php-format
|
3087 |
#@ mycred
|
3088 |
msgid "Edit Users %plural%"
|
3435 |
msgid "Awards %_plural% for users signing up for site or comment updates using Jetpack."
|
3436 |
msgstr ""
|
3437 |
|
3438 |
+
#: modules/mycred-module-subscriptions.php:479
|
3439 |
#@ mycred
|
3440 |
msgid "Site Subscriptions"
|
3441 |
msgstr ""
|
3442 |
|
3443 |
+
#: modules/mycred-module-subscriptions.php:492
|
3444 |
#@ mycred
|
3445 |
msgid "Comment Subscriptions"
|
3446 |
msgstr ""
|
modules/mycred-module-addons.php
CHANGED
@@ -131,7 +131,7 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
131 |
/**
|
132 |
* Get Addons
|
133 |
* @since 0.1
|
134 |
-
* @version 1.
|
135 |
*/
|
136 |
public function get( $save = false ) {
|
137 |
$prefix = 'myCRED-addon-';
|
@@ -146,9 +146,16 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
146 |
// Get File Name
|
147 |
preg_match( '/(.{1,})\/(.{1,})/', $sub_file, $matches );
|
148 |
$sub_file_name = $matches[2];
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
// Prevent Duplicates
|
150 |
-
if ( !array_key_exists( $sub_file_name, $installed ) )
|
151 |
-
$installed[$this->make_id($sub_file_name)] = $
|
|
|
152 |
}
|
153 |
}
|
154 |
unset( $addon_search );
|
@@ -180,6 +187,8 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
180 |
|
181 |
/**
|
182 |
* Get Addon Info
|
|
|
|
|
183 |
*/
|
184 |
public function get_addon_info( $file = false, $folder = false, $sub = '' ) {
|
185 |
if ( !$file ) return;
|
@@ -190,7 +199,8 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
190 |
'version' => 'Version',
|
191 |
'description' => 'Description',
|
192 |
'author' => 'Author',
|
193 |
-
'author_uri' => 'Author URI'
|
|
|
194 |
);
|
195 |
$addon_data = get_file_data( $file, $addon_details );
|
196 |
|
131 |
/**
|
132 |
* Get Addons
|
133 |
* @since 0.1
|
134 |
+
* @version 1.1
|
135 |
*/
|
136 |
public function get( $save = false ) {
|
137 |
$prefix = 'myCRED-addon-';
|
146 |
// Get File Name
|
147 |
preg_match( '/(.{1,})\/(.{1,})/', $sub_file, $matches );
|
148 |
$sub_file_name = $matches[2];
|
149 |
+
// Get Addon Information
|
150 |
+
$addon_info = $this->get_addon_info( $filename, $matches[1], $sub_file_name );
|
151 |
+
// Check if addon has a requirement to prevent errors due to calls to non existing functions
|
152 |
+
if ( isset( $addon_info['requires'] ) && !empty( $addon_info['requires'] ) && !function_exists( $addon_info['requires'] ) ) {
|
153 |
+
continue;
|
154 |
+
}
|
155 |
// Prevent Duplicates
|
156 |
+
if ( !array_key_exists( $sub_file_name, $installed ) ) {
|
157 |
+
$installed[$this->make_id($sub_file_name)] = $addon_info;
|
158 |
+
}
|
159 |
}
|
160 |
}
|
161 |
unset( $addon_search );
|
187 |
|
188 |
/**
|
189 |
* Get Addon Info
|
190 |
+
* @since 0.1
|
191 |
+
* @version 1.1
|
192 |
*/
|
193 |
public function get_addon_info( $file = false, $folder = false, $sub = '' ) {
|
194 |
if ( !$file ) return;
|
199 |
'version' => 'Version',
|
200 |
'description' => 'Description',
|
201 |
'author' => 'Author',
|
202 |
+
'author_uri' => 'Author URI',
|
203 |
+
'requires' => 'Requires'
|
204 |
);
|
205 |
$addon_data = get_file_data( $file, $addon_details );
|
206 |
|
modules/mycred-module-hooks.php
CHANGED
@@ -128,6 +128,15 @@ if ( !class_exists( 'myCRED_Hooks' ) ) {
|
|
128 |
'callback' => array( 'myCRED_Hook_Jetpack' )
|
129 |
);
|
130 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
|
132 |
$installed = apply_filters( 'mycred_setup_hooks', $installed );
|
133 |
|
@@ -358,16 +367,19 @@ if ( !class_exists( 'myCRED_Hook_Logging_In' ) ) {
|
|
358 |
* Checks to see if the given user id should be rewarded for logging in.
|
359 |
* @returns true or false
|
360 |
* @since 1.0.6
|
361 |
-
* @version 1.
|
362 |
*/
|
363 |
protected function reward_login( $user_id ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
// If limit is set
|
365 |
if ( !empty( $this->prefs['limit'] ) ) {
|
366 |
-
$now = date_i18n( 'U' );
|
367 |
-
$today = date_i18n( 'Y-m-d' );
|
368 |
-
|
369 |
-
// Get last login
|
370 |
-
$past = get_user_meta( $user_id, 'mycred_last_login', true );
|
371 |
// If logged in before
|
372 |
if ( !empty( $past ) ) {
|
373 |
if ( $this->prefs['limit'] == 'twentyfour' ) {
|
@@ -392,14 +404,14 @@ if ( !class_exists( 'myCRED_Hook_Logging_In' ) ) {
|
|
392 |
if ( $today == $past ) return false;
|
393 |
}
|
394 |
}
|
395 |
-
|
396 |
-
// Update new login time
|
397 |
-
if ( $limit == 'daily' )
|
398 |
-
update_user_meta( $user_id, 'mycred_last_login', $today );
|
399 |
-
else
|
400 |
-
update_user_meta( $user_id, 'mycred_last_login', $now );
|
401 |
}
|
402 |
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
return true;
|
404 |
}
|
405 |
|
@@ -1121,4 +1133,274 @@ if ( !class_exists( 'myCRED_Contact_Form7' ) && function_exists( 'wpcf7' ) ) {
|
|
1121 |
}
|
1122 |
}
|
1123 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1124 |
?>
|
128 |
'callback' => array( 'myCRED_Hook_Jetpack' )
|
129 |
);
|
130 |
}
|
131 |
+
|
132 |
+
// Prep for BadgeOS
|
133 |
+
if ( class_exists( 'BadgeOS' ) ) {
|
134 |
+
$installed['badgeos'] = array(
|
135 |
+
'title' => __( 'BadgeOS', 'mycred' ),
|
136 |
+
'description' => __( 'Default settings for each BadgeOS Achievement type. These settings may be overridden for individual achievement type.', 'mycred' ),
|
137 |
+
'callback' => array( 'myCRED_Hook_BadgeOS' )
|
138 |
+
);
|
139 |
+
}
|
140 |
|
141 |
$installed = apply_filters( 'mycred_setup_hooks', $installed );
|
142 |
|
367 |
* Checks to see if the given user id should be rewarded for logging in.
|
368 |
* @returns true or false
|
369 |
* @since 1.0.6
|
370 |
+
* @version 1.1
|
371 |
*/
|
372 |
protected function reward_login( $user_id ) {
|
373 |
+
$now = date_i18n( 'U' );
|
374 |
+
$today = date_i18n( 'Y-m-d' );
|
375 |
+
$past = get_user_meta( $user_id, 'mycred_last_login', true );
|
376 |
+
|
377 |
+
// Even if there is no limit set we will always impose a 1 min limit
|
378 |
+
// to prevent users from just logging in and out for points.
|
379 |
+
if ( $past >= $now-apply_filters( 'mycred_hook_login_min_limit', 60 ) ) return false;
|
380 |
+
|
381 |
// If limit is set
|
382 |
if ( !empty( $this->prefs['limit'] ) ) {
|
|
|
|
|
|
|
|
|
|
|
383 |
// If logged in before
|
384 |
if ( !empty( $past ) ) {
|
385 |
if ( $this->prefs['limit'] == 'twentyfour' ) {
|
404 |
if ( $today == $past ) return false;
|
405 |
}
|
406 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
}
|
408 |
|
409 |
+
// Update new login time
|
410 |
+
if ( $this->prefs['limit'] == 'daily' )
|
411 |
+
update_user_meta( $user_id, 'mycred_last_login', $today );
|
412 |
+
else
|
413 |
+
update_user_meta( $user_id, 'mycred_last_login', $now );
|
414 |
+
|
415 |
return true;
|
416 |
}
|
417 |
|
1133 |
}
|
1134 |
}
|
1135 |
}
|
1136 |
+
/**
|
1137 |
+
* Hook for BadgeOS Plugin
|
1138 |
+
* @since 1.0.8
|
1139 |
+
* @version 1.0
|
1140 |
+
*/
|
1141 |
+
if ( !class_exists( 'myCRED_Hook_BadgeOS' ) && class_exists( 'BadgeOS' ) ) {
|
1142 |
+
class myCRED_Hook_BadgeOS extends myCRED_Hook {
|
1143 |
+
|
1144 |
+
/**
|
1145 |
+
* Construct
|
1146 |
+
*/
|
1147 |
+
function __construct( $hook_prefs ) {
|
1148 |
+
parent::__construct( array(
|
1149 |
+
'id' => 'badgeos',
|
1150 |
+
'defaults' => ''
|
1151 |
+
), $hook_prefs );
|
1152 |
+
}
|
1153 |
+
|
1154 |
+
/**
|
1155 |
+
* Run
|
1156 |
+
* @since 1.0.8
|
1157 |
+
* @version 1.0
|
1158 |
+
*/
|
1159 |
+
public function run() {
|
1160 |
+
add_action( 'add_meta_boxes', array( $this, 'add_metaboxes' ) );
|
1161 |
+
add_action( 'save_post', array( $this, 'save_achivement_data' ) );
|
1162 |
+
|
1163 |
+
add_action( 'badgeos_award_achievement', array( $this, 'award_achievent' ), 10, 2 );
|
1164 |
+
add_action( 'badgeos_revoke_achievement', array( $this, 'revoke_achievement' ), 10, 2 );
|
1165 |
+
}
|
1166 |
+
|
1167 |
+
/**
|
1168 |
+
* Add Metaboxes
|
1169 |
+
* @since 1.0.8
|
1170 |
+
* @version 1.0
|
1171 |
+
*/
|
1172 |
+
public function add_metaboxes() {
|
1173 |
+
// Get all Achievement Types
|
1174 |
+
$badge_post_types = badgeos_get_achievement_types_slugs();
|
1175 |
+
foreach ( $badge_post_types as $post_type ) {
|
1176 |
+
// Add Meta Box
|
1177 |
+
add_meta_box(
|
1178 |
+
'mycred_badgeos_' . $post_type,
|
1179 |
+
__( 'myCRED', 'mycred' ),
|
1180 |
+
array( $this, 'render_meta_box' ),
|
1181 |
+
$post_type,
|
1182 |
+
'side',
|
1183 |
+
'core'
|
1184 |
+
);
|
1185 |
+
}
|
1186 |
+
}
|
1187 |
+
|
1188 |
+
/**
|
1189 |
+
* Render Meta Box
|
1190 |
+
* @since 1.0.8
|
1191 |
+
* @version 1.0
|
1192 |
+
*/
|
1193 |
+
public function render_meta_box( $post ) {
|
1194 |
+
// Setup is needed
|
1195 |
+
if ( !isset( $this->prefs[$post->post_type] ) ) {
|
1196 |
+
$message = sprintf( __( 'Please setup your <a href="%s">default settings</a> before using this feature.', 'mycred' ), admin_url( 'admin.php?page=myCRED_page_hooks' ) );
|
1197 |
+
echo '<p>' . $message . '</p>';
|
1198 |
+
}
|
1199 |
+
|
1200 |
+
// Prep Achievement Data
|
1201 |
+
$prefs = $this->prefs;
|
1202 |
+
$achievement_data = get_post_meta( $post->ID, '_mycred_values', true );
|
1203 |
+
if ( empty( $achievement_data ) )
|
1204 |
+
$achievement_data = $prefs[$post->post_type]; ?>
|
1205 |
+
|
1206 |
+
<p><strong><?php _e( 'Tokens to Award', 'mycred' ); ?></strong></p>
|
1207 |
+
<p>
|
1208 |
+
<label class="screen-reader-text" for="mycred-values-creds"><?php _e( 'Tokens to Award', 'mycred' ); ?></label>
|
1209 |
+
<input type="text" name="mycred_values[creds]" id="mycred-values-creds" value="<?php echo $achievement_data['creds']; ?>" size="8" />
|
1210 |
+
<span class="description"><?php _e( 'Use zero to disable', 'mycred' ); ?></span>
|
1211 |
+
</p>
|
1212 |
+
<p><strong><?php _e( 'Log Template', 'mycred' ); ?></strong></p>
|
1213 |
+
<p>
|
1214 |
+
<label class="screen-reader-text" for="mycred-values-log"><?php _e( 'Log Template', 'mycred' ); ?></label>
|
1215 |
+
<input type="text" name="mycred_values[log]" id="mycred-values-log" value="<?php echo $achievement_data['log']; ?>" style="width:99%;" />
|
1216 |
+
</p>
|
1217 |
+
<?php
|
1218 |
+
// If deduction is enabled
|
1219 |
+
if ( $this->prefs[$post->post_type]['deduct'] == 1 ) { ?>
|
1220 |
+
|
1221 |
+
<p><strong><?php _e( 'Deduction Log Template', 'mycred' ); ?></strong></p>
|
1222 |
+
<p>
|
1223 |
+
<label class="screen-reader-text" for="mycred-values-log"><?php _e( 'Log Template', 'mycred' ); ?></label>
|
1224 |
+
<input type="text" name="mycred_values[deduct_log]" id="mycred-values-deduct-log" value="<?php echo $achievement_data['deduct_log']; ?>" style="width:99%;" />
|
1225 |
+
</p>
|
1226 |
+
<?php
|
1227 |
+
}
|
1228 |
+
}
|
1229 |
+
|
1230 |
+
/**
|
1231 |
+
* Save Achievement Data
|
1232 |
+
* @since 1.0.8
|
1233 |
+
* @version 1.0
|
1234 |
+
*/
|
1235 |
+
public function save_achivement_data( $post_id ) {
|
1236 |
+
// Post Type
|
1237 |
+
$post_type = get_post_type( $post_id );
|
1238 |
+
|
1239 |
+
// Make sure this is a BadgeOS Object
|
1240 |
+
if ( !in_array( $post_type, badgeos_get_achievement_types_slugs() ) ) return;
|
1241 |
+
|
1242 |
+
// Make sure preference is set
|
1243 |
+
if ( !isset( $this->prefs[$post_type] ) || !isset( $_POST['mycred_values']['creds'] ) || !isset( $_POST['mycred_values']['log'] ) ) return;
|
1244 |
+
|
1245 |
+
// Only save if the settings differ, otherwise we default
|
1246 |
+
if ( $_POST['mycred_values']['creds'] == $this->prefs[$post_type]['creds'] &&
|
1247 |
+
$_POST['mycred_values']['log'] == $this->prefs[$post_type]['log'] ) return;
|
1248 |
+
|
1249 |
+
$data = array();
|
1250 |
+
|
1251 |
+
// Creds
|
1252 |
+
if ( !empty( $_POST['mycred_values']['creds'] ) && $_POST['mycred_values']['creds'] != $this->prefs[$post_type]['creds'] )
|
1253 |
+
$data['creds'] = $this->core->format_number( $_POST['mycred_values']['creds'] );
|
1254 |
+
else
|
1255 |
+
$data['creds'] = $this->core->format_number( $this->prefs[$post_type]['creds'] );
|
1256 |
+
|
1257 |
+
// Log template
|
1258 |
+
if ( !empty( $_POST['mycred_values']['log'] ) && $_POST['mycred_values']['log'] != $this->prefs[$post_type]['log'] )
|
1259 |
+
$data['log'] = strip_tags( $_POST['mycred_values']['log'] );
|
1260 |
+
else
|
1261 |
+
$data['log'] = strip_tags( $this->prefs[$post_type]['log'] );
|
1262 |
+
|
1263 |
+
// If deduction is enabled save log template
|
1264 |
+
if ( $this->prefs[$post->post_type]['deduct'] == 1 ) {
|
1265 |
+
if ( !empty( $_POST['mycred_values']['deduct_log'] ) && $_POST['mycred_values']['deduct_log'] != $this->prefs[$post_type]['deduct_log'] )
|
1266 |
+
$data['deduct_log'] = strip_tags( $_POST['mycred_values']['deduct_log'] );
|
1267 |
+
else
|
1268 |
+
$data['deduct_log'] = strip_tags( $this->prefs[$post_type]['deduct_log'] );
|
1269 |
+
}
|
1270 |
+
|
1271 |
+
// Update sales values
|
1272 |
+
update_post_meta( $post_id, '_mycred_values', $data );
|
1273 |
+
}
|
1274 |
+
|
1275 |
+
/**
|
1276 |
+
* Award Achievement
|
1277 |
+
* Run by BadgeOS when ever needed, we make sure settings are not zero otherwise
|
1278 |
+
* award points whenever this hook fires.
|
1279 |
+
* @since 1.0.8
|
1280 |
+
* @version 1.0
|
1281 |
+
*/
|
1282 |
+
public function award_achievent( $user_id, $achievement_id ) {
|
1283 |
+
$post_type = get_post_type( $achievement_id );
|
1284 |
+
// Settings are not set
|
1285 |
+
if ( !isset( $this->prefs[$post_type]['creds'] ) ) return;
|
1286 |
+
|
1287 |
+
// All the reasons to bail
|
1288 |
+
$achievement_data = get_post_meta( $achievement_id, '_mycred_values', true );
|
1289 |
+
if ( empty( $achievement_data ) && $this->prefs[$post_type]['creds'] == 0 ) return;
|
1290 |
+
elseif ( !empty( $achievement_data ) && $achievement_data['creds'] == 0 ) return;
|
1291 |
+
|
1292 |
+
// Creds
|
1293 |
+
if ( $this->prefs[$post_type]['creds'] == $achievement_data['creds'] )
|
1294 |
+
$creds = $this->prefs[$post_type]['creds'];
|
1295 |
+
else
|
1296 |
+
$creds = $achievement_data['creds'];
|
1297 |
+
|
1298 |
+
// Log Template
|
1299 |
+
if ( $this->prefs[$post_type]['log'] == $achievement_data['log'] )
|
1300 |
+
$entry = $this->prefs[$post_type]['log'];
|
1301 |
+
else
|
1302 |
+
$entry = $achievement_data['log'];
|
1303 |
+
|
1304 |
+
// Execute
|
1305 |
+
$post_type_object = get_post_type_object( $post_type );
|
1306 |
+
$this->core->add_creds(
|
1307 |
+
$post_type_object->labels->name,
|
1308 |
+
$user_id,
|
1309 |
+
$creds,
|
1310 |
+
$entry,
|
1311 |
+
$post_type,
|
1312 |
+
array( 'ref_type' => 'post' )
|
1313 |
+
);
|
1314 |
+
}
|
1315 |
+
|
1316 |
+
/**
|
1317 |
+
* Revoke Achievement
|
1318 |
+
* Run by BadgeOS when a users achievement is revoed.
|
1319 |
+
* @since 1.0.8
|
1320 |
+
* @version 1.0
|
1321 |
+
*/
|
1322 |
+
public function revoke_achievement( $user_id, $achievement_id ) {
|
1323 |
+
$post_type = get_post_type( $achievement_id );
|
1324 |
+
// Make sure settings are set or that deduction is enabled
|
1325 |
+
if ( !isset( $this->prefs[$post_type]['deduct'] ) || $this->prefs[$post_type]['deduct'] == 0 ) return;
|
1326 |
+
|
1327 |
+
// All the reasons to bail
|
1328 |
+
$achievement_data = get_post_meta( $achievement_id, '_mycred_values', true );
|
1329 |
+
if ( empty( $achievement_data ) && $this->prefs[$post_type]['creds'] == 0 ) return;
|
1330 |
+
elseif ( !empty( $achievement_data ) && $achievement_data['creds'] == 0 ) return;
|
1331 |
+
|
1332 |
+
// Creds
|
1333 |
+
if ( $this->prefs[$post_type]['creds'] == $achievement_data['creds'] )
|
1334 |
+
$creds = 0-$this->prefs[$post_type]['creds'];
|
1335 |
+
else
|
1336 |
+
$creds = 0-$achievement_data['creds'];
|
1337 |
+
|
1338 |
+
// Log Template
|
1339 |
+
if ( $this->prefs[$post_type]['deduct_log'] == $achievement_data['deduct_log'] )
|
1340 |
+
$entry = $this->prefs[$post_type]['deduct_log'];
|
1341 |
+
else
|
1342 |
+
$entry = $achievement_data['deduct_log'];
|
1343 |
+
|
1344 |
+
// Execute
|
1345 |
+
$post_type_object = get_post_type_object( $post_type );
|
1346 |
+
$this->core->add_creds(
|
1347 |
+
$post_type_object->labels->name,
|
1348 |
+
$user_id,
|
1349 |
+
$creds,
|
1350 |
+
$entry,
|
1351 |
+
$post_type,
|
1352 |
+
array( 'ref_type' => 'post' )
|
1353 |
+
);
|
1354 |
+
}
|
1355 |
+
|
1356 |
+
/**
|
1357 |
+
* Preferences for Commenting Hook
|
1358 |
+
* @since 1.0.8
|
1359 |
+
* @version 1.0
|
1360 |
+
*/
|
1361 |
+
public function preferences() {
|
1362 |
+
$prefs = $this->prefs;
|
1363 |
+
$badge_post_types = badgeos_get_achievement_types_slugs();
|
1364 |
+
foreach ( $badge_post_types as $post_type ) {
|
1365 |
+
if ( in_array( $post_type, apply_filters( 'mycred_badgeos_excludes', array( 'step' ) ) ) ) continue;
|
1366 |
+
if ( !isset( $prefs[$post_type] ) )
|
1367 |
+
$prefs[$post_type] = array(
|
1368 |
+
'creds' => 10,
|
1369 |
+
'log' => '',
|
1370 |
+
'deduct' => 1,
|
1371 |
+
'deduct_log' => '%plural% deduction'
|
1372 |
+
);
|
1373 |
+
|
1374 |
+
$post_type_object = get_post_type_object( $post_type );
|
1375 |
+
$title = sprintf( __( 'Default %s for %s', 'mycred' ), $this->core->plural(), $post_type_object->labels->singular_name ); ?>
|
1376 |
+
|
1377 |
+
<!-- Creds for -->
|
1378 |
+
<label for="<?php echo $this->field_id( array( $post_type, 'creds' ) ); ?>" class="subheader"><?php echo $title; ?></label>
|
1379 |
+
<ol>
|
1380 |
+
<li>
|
1381 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( $post_type, 'creds' ) ); ?>" id="<?php echo $this->field_id( array( $post_type, 'creds' ) ); ?>" value="<?php echo $this->core->format_number( $prefs[$post_type]['creds'] ); ?>" size="8" /></div>
|
1382 |
+
<span class="description"><?php echo $this->core->template_tags_general( __( 'User zero to disable users gaining %_plural%', 'mycred' ) ); ?></span>
|
1383 |
+
</li>
|
1384 |
+
<li class="empty"> </li>
|
1385 |
+
<li>
|
1386 |
+
<label for="<?php echo $this->field_id( array( $post_type, 'log' ) ); ?>"><?php _e( 'Default Log template', 'mycred' ); ?></label>
|
1387 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( $post_type, 'log' ) ); ?>" id="<?php echo $this->field_id( array( $form_id, 'log' ) ); ?>" value="<?php echo $prefs[$post_type]['log']; ?>" class="long" /></div>
|
1388 |
+
<span class="description"><?php _e( 'Available template tags: General, Post', 'mycred' ); ?></span>
|
1389 |
+
</li>
|
1390 |
+
<li>
|
1391 |
+
<input type="checkbox" name="<?php echo $this->field_name( array( $post_type, 'deduct' ) ); ?>" id="<?php echo $this->field_id( array( $post_type, 'deduct' ) ); ?>" <?php checked( $prefs[$post_type]['deduct'], 1 ); ?> value="1" />
|
1392 |
+
<label for="<?php echo $this->field_id( array( $post_type, 'deduct' ) ); ?>"><?php echo $this->core->template_tags_general( __( 'Deduct %_plural% if user looses ' . $post_type_object->labels->singular_name, 'mycred' ) ); ?></label>
|
1393 |
+
</li>
|
1394 |
+
<li class="empty"> </li>
|
1395 |
+
<li>
|
1396 |
+
<label for="<?php echo $this->field_id( array( $post_type, 'deduct_log' ) ); ?>"><?php _e( 'Log template', 'mycred' ); ?></label>
|
1397 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( $post_type, 'deduct_log' ) ); ?>" id="<?php echo $this->field_id( array( $form_id, 'deduct_log' ) ); ?>" value="<?php echo $prefs[$post_type]['deduct_log']; ?>" class="long" /></div>
|
1398 |
+
<span class="description"><?php _e( 'Available template tags: General, Post', 'mycred' ); ?></span>
|
1399 |
+
</li>
|
1400 |
+
</ol>
|
1401 |
+
<?php
|
1402 |
+
}
|
1403 |
+
}
|
1404 |
+
}
|
1405 |
+
}
|
1406 |
?>
|
modules/mycred-module-log.php
CHANGED
@@ -493,7 +493,7 @@ if ( !class_exists( 'myCRED_Log' ) ) {
|
|
493 |
}
|
494 |
/**
|
495 |
* Query Log
|
496 |
-
* @see http://mycred.
|
497 |
* @since 0.1
|
498 |
* @version 1.0
|
499 |
*/
|
493 |
}
|
494 |
/**
|
495 |
* Query Log
|
496 |
+
* @see http://mycred.me/classes/mycred_query_log/
|
497 |
* @since 0.1
|
498 |
* @version 1.0
|
499 |
*/
|
mycred.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: myCRED
|
4 |
Plugin URI: http://mycred.merovingi.com
|
5 |
Description: <strong>my</strong>CRED is an adaptive points management system for WordPress powered websites, giving you full control on how points are gained, used, traded, managed, logged or presented.
|
6 |
-
Version: 1.0.
|
7 |
Tags: points, tokens, credit, management, reward, charge
|
8 |
Author: Gabriel S Merovingi
|
9 |
Author URI: http://www.merovingi.com
|
@@ -13,7 +13,7 @@ Tested up to: WP 3.5.1
|
|
13 |
License: GPLv2 or later
|
14 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
15 |
*/
|
16 |
-
define( 'myCRED_VERSION', '1.0.
|
17 |
define( 'myCRED_SLUG', 'mycred' );
|
18 |
|
19 |
define( 'myCRED_THIS', __FILE__ );
|
3 |
Plugin Name: myCRED
|
4 |
Plugin URI: http://mycred.merovingi.com
|
5 |
Description: <strong>my</strong>CRED is an adaptive points management system for WordPress powered websites, giving you full control on how points are gained, used, traded, managed, logged or presented.
|
6 |
+
Version: 1.0.8
|
7 |
Tags: points, tokens, credit, management, reward, charge
|
8 |
Author: Gabriel S Merovingi
|
9 |
Author URI: http://www.merovingi.com
|
13 |
License: GPLv2 or later
|
14 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
15 |
*/
|
16 |
+
define( 'myCRED_VERSION', '1.0.8' );
|
17 |
define( 'myCRED_SLUG', 'mycred' );
|
18 |
|
19 |
define( 'myCRED_THIS', __FILE__ );
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== myCRED ===
|
2 |
Contributors: designbymerovingi
|
3 |
-
Donate Link: http://mycred.
|
4 |
-
Tags:points, tokens, credit, management, reward, charge, community
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -57,24 +57,25 @@ The following third party plugins are supported by default:
|
|
57 |
|
58 |
* [Contact Form 7](http://wordpress.org/extend/plugins/contact-form-7/) - Award users points for submitting forms.
|
59 |
* [Invite Anyone Plugin](http://wordpress.org/extend/plugins/invite-anyone/) - Award users for sending invitations and for each time an invited user accepts and signs up.
|
60 |
-
* [Jetpack](http://wordpress.org/extend/plugins/jetpack/) - Award users for subscribing to comments or your site. Requires users to be logged in or
|
|
|
61 |
|
62 |
|
63 |
**Further Details**
|
64 |
|
65 |
-
* [
|
66 |
-
* [
|
67 |
-
* [
|
68 |
-
* [
|
69 |
-
* [
|
70 |
-
* [
|
71 |
-
* [
|
72 |
|
73 |
**Contact**
|
74 |
|
75 |
-
* [General Inquiries](http://mycred.
|
76 |
-
* [Bug Report](http://mycred.
|
77 |
-
* [Request Feature](http://mycred.
|
78 |
|
79 |
|
80 |
== Installation ==
|
@@ -121,6 +122,19 @@ Yes but if one of them is bought, all is shown. The mycred_sell_this shortcode w
|
|
121 |
|
122 |
== Changelog ==
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
= 1.0.7 =
|
125 |
* Adjusted Social Media CSS Styling.
|
126 |
* Fixed Bug #12 - Leaderboard Widget Title is not shown.
|
@@ -154,10 +168,4 @@ Yes but if one of them is bought, all is shown. The mycred_sell_this shortcode w
|
|
154 |
* Fixed Bug #2 - Incorrect reference to myCRED_Settings object in installer.
|
155 |
|
156 |
= 1.0 =
|
157 |
-
* Official release.
|
158 |
-
|
159 |
-
|
160 |
-
== Upgrade Notice ==
|
161 |
-
|
162 |
-
= 1.0.5 =
|
163 |
-
Upgrade to add support for Jetpack Site & Comment Subscriptions and to lower MySQL requirement from 5.1 to 5.0. Requires Jetpack 2.2 or higher.
|
1 |
=== myCRED ===
|
2 |
Contributors: designbymerovingi
|
3 |
+
Donate Link: http://mycred.me/donate/
|
4 |
+
Tags:points, tokens, credit, management, reward, charge, community, BuddyPress, Jetpack
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 1.0.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
57 |
|
58 |
* [Contact Form 7](http://wordpress.org/extend/plugins/contact-form-7/) - Award users points for submitting forms.
|
59 |
* [Invite Anyone Plugin](http://wordpress.org/extend/plugins/invite-anyone/) - Award users for sending invitations and for each time an invited user accepts and signs up.
|
60 |
+
* [Jetpack](http://wordpress.org/extend/plugins/jetpack/) - Award users for subscribing to comments or your site. Requires users to be logged in or subscribe using the email saved in their profile.
|
61 |
+
* [BadgeOS](http://wordpress.org/extend/plugins/badgeos/) - Award points for any BadgeOS achievement type.
|
62 |
|
63 |
|
64 |
**Further Details**
|
65 |
|
66 |
+
* [Features](http://mycred.me/about/features/)
|
67 |
+
* [Hooks](http://mycred.me/about/hooks/)
|
68 |
+
* [F.A.Q.](http://mycred.me/about/faq/)
|
69 |
+
* [Add-ons](http://mycred.me/add-ons/)
|
70 |
+
* [Tutorials](http://mycred.me/support/tutorials/)
|
71 |
+
* [Known Issues](http://mycred.me/download/known-issues/)
|
72 |
+
* [Codex](http://mycred.me/support/codex/)
|
73 |
|
74 |
**Contact**
|
75 |
|
76 |
+
* [General Inquiries](http://mycred.me/contact/)
|
77 |
+
* [Bug Report](http://mycred.me/contact/report-bug/)
|
78 |
+
* [Request Feature](http://mycred.me/contact/request-feature/)
|
79 |
|
80 |
|
81 |
== Installation ==
|
122 |
|
123 |
== Changelog ==
|
124 |
|
125 |
+
= 1.0.8 =
|
126 |
+
* Added BuddyPress tag to description
|
127 |
+
* Adjusted plugin for new website mycred.me
|
128 |
+
|
129 |
+
* Fixed Bug #14 - BuddyPress Add-on causes crash if activated before BuddyPress or BuddyPress gets de-activated.
|
130 |
+
* Fixed Bug #15 - PayPal does not work with exchange rates lower then 0.01.
|
131 |
+
|
132 |
+
* Request #4 - Allow users to go minus when transferring points.
|
133 |
+
* Request #5 - For the Login Hook, impose a default 1 min limit to prevent users from logging in and out for points.
|
134 |
+
* Request #6 - Added DIV wrapper around content that is set for sale using the mycred_sell_this shortcode. Only visible to administrators.
|
135 |
+
* Request #7 - Added %gateway% template tag for buyCRED add-on showing which payment gateway was used for purchase.
|
136 |
+
* Request #8 - Added support for BadgeOS allowing users to award myCRED points for achievements.
|
137 |
+
|
138 |
= 1.0.7 =
|
139 |
* Adjusted Social Media CSS Styling.
|
140 |
* Fixed Bug #12 - Leaderboard Widget Title is not shown.
|
168 |
* Fixed Bug #2 - Incorrect reference to myCRED_Settings object in installer.
|
169 |
|
170 |
= 1.0 =
|
171 |
+
* Official release.
|
|
|
|
|
|
|
|
|
|
|
|