Version Description
Simple:Press, myCRED Right Now, YouTube + Mobiles and bug fixes.
=
Download this release
Release Info
Developer | designbymerovingi |
Plugin | myCRED |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- addons/banking/myCRED-addon-banking.php +1 -1
- addons/banking/services/mycred-bank-service-payouts.php +15 -3
- addons/buddypress/myCRED-addon-buddypress.php +93 -90
- addons/buy-creds/gateways/zombaio.php +0 -1
- addons/buy-creds/images/payza.png +0 -0
- addons/buy-creds/myCRED-addon-buy-creds.php +5 -4
- addons/email-notices/css/index.php +3 -0
- addons/email-notices/index.php +3 -0
- addons/email-notices/myCRED-addon-email-notices.php +17 -19
- addons/gateway/carts/mycred-marketpress.php +3 -3
- addons/gateway/carts/mycred-woocommerce.php +9 -3
- addons/gateway/carts/mycred-wpecommerce.php +1 -3
- addons/gateway/event-booking/mycred-eventespresso3.php +1 -1
- addons/gateway/event-booking/mycred-eventsmanager-pro.php +5 -2
- addons/gateway/event-booking/mycred-eventsmanager.php +26 -20
- addons/import/myCRED-addon-import.php +1 -1
- addons/ranks/includes/mycred-rank-functions.php +238 -85
- addons/ranks/includes/mycred-rank-shortcodes.php +1 -1
- addons/ranks/myCRED-addon-ranks.php +64 -40
- addons/sell-content/myCRED-addon-sell-content.php +5 -26
- addons/transfer/js/transfer.js +6 -5
- addons/transfer/myCRED-addon-transfer.php +180 -193
- assets/css/admin.css +4 -1
- assets/css/overview.css +32 -0
- assets/images/about/failsafe.png +0 -0
- assets/images/about/ranks-management.png +0 -0
- assets/js/video.js +80 -110
- assets/js/youtube.js +47 -0
- includes/mycred-about.php +24 -25
- includes/mycred-functions.php +181 -85
- includes/mycred-install.php +3 -3
- includes/mycred-log.php +2 -2
- includes/mycred-network.php +1 -1
- includes/mycred-overview.php +397 -0
- includes/mycred-protect.php +20 -4
- includes/mycred-rankings.php +23 -18
- includes/mycred-shortcodes.php +69 -64
- includes/mycred-widgets.php +16 -13
- lang/mycred-en_US.mo +0 -0
- lang/mycred.pot +1746 -1637
- modules/mycred-module-addons.php +18 -17
- modules/mycred-module-general.php +4 -6
- modules/mycred-module-hooks.php +169 -111
- modules/mycred-module-log.php +10 -1
- mycred.php +37 -19
- plugins/mycred-hook-bbPress.php +59 -33
- plugins/mycred-hook-simplepress.php +386 -0
- readme.txt +22 -10
addons/banking/myCRED-addon-banking.php
CHANGED
@@ -176,7 +176,7 @@ h4.ui-accordion-header:before { content: "<?php _e( 'click to open', 'mycred' );
|
|
176 |
|
177 |
<div class="wrap" id="myCRED-wrap">
|
178 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
179 |
-
<h2><?php echo
|
180 |
<p><?php echo $this->core->template_tags_general( __( 'This add-on allows you to setup transaction fees for %_plural% transfers, purchases or payments using the Gateway add-on, along with offering interest on %_plural% balances.', 'mycred' ) ); ?></p>
|
181 |
<?php if ( defined( 'DISABLE_WP_CRON' ) ) : ?>
|
182 |
|
176 |
|
177 |
<div class="wrap" id="myCRED-wrap">
|
178 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
179 |
+
<h2><?php echo sprintf( __( '%s Banking', 'mycred' ), mycred_label() ); ?></h2>
|
180 |
<p><?php echo $this->core->template_tags_general( __( 'This add-on allows you to setup transaction fees for %_plural% transfers, purchases or payments using the Gateway add-on, along with offering interest on %_plural% balances.', 'mycred' ) ); ?></p>
|
181 |
<?php if ( defined( 'DISABLE_WP_CRON' ) ) : ?>
|
182 |
|
addons/banking/services/mycred-bank-service-payouts.php
CHANGED
@@ -135,7 +135,7 @@ if ( !class_exists( 'myCRED_Banking_Service_Payouts' ) ) {
|
|
135 |
* Do Batch
|
136 |
* Applies points to a batch of user ID's. This is also where we check for exclusions.
|
137 |
* @since 1.2
|
138 |
-
* @version 1.2
|
139 |
*/
|
140 |
public function do_payout_batch( $batch, $set = NULL, $cycle = NULL ) {
|
141 |
if ( !empty( $batch ) && is_array( $batch ) ) {
|
@@ -146,7 +146,8 @@ if ( !class_exists( 'myCRED_Banking_Service_Payouts' ) ) {
|
|
146 |
$user_id = intval( $user_id );
|
147 |
|
148 |
// Add / Deduct points
|
149 |
-
$this->core->
|
|
|
150 |
'payout',
|
151 |
$user_id,
|
152 |
$this->prefs['amount'],
|
@@ -166,6 +167,13 @@ if ( !class_exists( 'myCRED_Banking_Service_Payouts' ) ) {
|
|
166 |
// Single set, check if cycle is zero to deactivate
|
167 |
elseif ( $set === NULL && $cycle == 0 )
|
168 |
$this->save( date_i18n( 'U' ), 0, true );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
}
|
170 |
}
|
171 |
|
@@ -173,7 +181,7 @@ if ( !class_exists( 'myCRED_Banking_Service_Payouts' ) ) {
|
|
173 |
* Save
|
174 |
* Saves the last run and the number of cycles run.
|
175 |
* @since 1.2
|
176 |
-
* @version 1.1
|
177 |
*/
|
178 |
public function save( $now = 0, $cycles = 0, $deactivate = false ) {
|
179 |
// Update last run
|
@@ -189,6 +197,10 @@ if ( !class_exists( 'myCRED_Banking_Service_Payouts' ) ) {
|
|
189 |
|
190 |
// Deactivate this service if this is the last run
|
191 |
if ( $cycles == 0 && $deactivate ) {
|
|
|
|
|
|
|
|
|
192 |
// Should return the service id as a key for us to unset
|
193 |
if ( ( $key = array_search( $this->id, $bank['active'] ) ) !== false ) {
|
194 |
unset( $bank['active'][ $key ] );
|
135 |
* Do Batch
|
136 |
* Applies points to a batch of user ID's. This is also where we check for exclusions.
|
137 |
* @since 1.2
|
138 |
+
* @version 1.2.1
|
139 |
*/
|
140 |
public function do_payout_batch( $batch, $set = NULL, $cycle = NULL ) {
|
141 |
if ( !empty( $batch ) && is_array( $batch ) ) {
|
146 |
$user_id = intval( $user_id );
|
147 |
|
148 |
// Add / Deduct points
|
149 |
+
$this->core->update_users_balance( $user_id, $this->prefs['amount'] );
|
150 |
+
$this->core->add_to_log(
|
151 |
'payout',
|
152 |
$user_id,
|
153 |
$this->prefs['amount'],
|
167 |
// Single set, check if cycle is zero to deactivate
|
168 |
elseif ( $set === NULL && $cycle == 0 )
|
169 |
$this->save( date_i18n( 'U' ), 0, true );
|
170 |
+
|
171 |
+
// Else it's a single set with cycles remaining
|
172 |
+
else {
|
173 |
+
// Update ranks now if enabled
|
174 |
+
if ( function_exists( 'mycred_assign_ranks' ) )
|
175 |
+
mycred_assign_ranks();
|
176 |
+
}
|
177 |
}
|
178 |
}
|
179 |
|
181 |
* Save
|
182 |
* Saves the last run and the number of cycles run.
|
183 |
* @since 1.2
|
184 |
+
* @version 1.1.1
|
185 |
*/
|
186 |
public function save( $now = 0, $cycles = 0, $deactivate = false ) {
|
187 |
// Update last run
|
197 |
|
198 |
// Deactivate this service if this is the last run
|
199 |
if ( $cycles == 0 && $deactivate ) {
|
200 |
+
// Update ranks now if enabled
|
201 |
+
if ( function_exists( 'mycred_assign_ranks' ) )
|
202 |
+
mycred_assign_ranks();
|
203 |
+
|
204 |
// Should return the service id as a key for us to unset
|
205 |
if ( ( $key = array_search( $this->id, $bank['active'] ) ) !== false ) {
|
206 |
unset( $bank['active'][ $key ] );
|
addons/buddypress/myCRED-addon-buddypress.php
CHANGED
@@ -14,11 +14,12 @@ $mycred_addon_header_translate = array(
|
|
14 |
__( 'The BuddyPress add-on extends <strong>my</strong>CRED to work with BuddyPress allowing you to hook into most BuddyPress related actions.', 'mycred' )
|
15 |
);
|
16 |
|
17 |
-
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
18 |
|
19 |
define( 'myCRED_BP', __FILE__ );
|
20 |
define( 'myCRED_BP_DIR', myCRED_ADDONS_DIR . 'buddypress/' );
|
21 |
define( 'myCRED_BP_HOOKS_DIR', myCRED_BP_DIR . 'hooks/' );
|
|
|
22 |
/**
|
23 |
* BuddyPress specific hooks grouped together
|
24 |
*/
|
@@ -26,15 +27,16 @@ require_once( myCRED_BP_HOOKS_DIR . 'bp-groups.php' );
|
|
26 |
require_once( myCRED_BP_HOOKS_DIR . 'bp-profile.php' );
|
27 |
require_once( myCRED_BP_HOOKS_DIR . 'bp-links.php' );
|
28 |
require_once( myCRED_BP_HOOKS_DIR . 'bp-galleries.php' );
|
|
|
29 |
/**
|
30 |
* myCRED_BuddyPress class
|
31 |
*
|
32 |
* @since 0.1
|
33 |
* @version 1.0
|
34 |
*/
|
35 |
-
if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
36 |
class myCRED_BuddyPress extends myCRED_Module {
|
37 |
-
|
38 |
protected $hooks;
|
39 |
protected $settings;
|
40 |
|
@@ -63,10 +65,10 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
63 |
'register' => false,
|
64 |
'add_to_core' => true
|
65 |
) );
|
66 |
-
if ( !is_admin() )
|
67 |
add_action( 'bp_setup_nav', array( $this, 'setup_nav' ) );
|
68 |
}
|
69 |
-
|
70 |
/**
|
71 |
* Init
|
72 |
* @since 0.1
|
@@ -76,14 +78,14 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
76 |
add_filter( 'mycred_setup_hooks', array( $this, 'register_hooks' ) );
|
77 |
add_action( 'admin_bar_menu', array( $this, 'adjust_admin_bar' ), 110 );
|
78 |
add_filter( 'logout_url', array( $this, 'adjust_logout' ), 99, 2 );
|
79 |
-
|
80 |
if ( $this->buddypress['balance_location'] == 'top' || $this->buddypress['balance_location'] == 'both' )
|
81 |
add_action( 'bp_before_member_header_meta', array( $this, 'show_balance' ) );
|
82 |
|
83 |
if ( $this->buddypress['balance_location'] == 'profile_tab' || $this->buddypress['balance_location'] == 'both' )
|
84 |
add_action( 'bp_after_profile_loop_content', array( $this, 'show_balance_profile' ) );
|
85 |
}
|
86 |
-
|
87 |
/**
|
88 |
* Adjust Admin Bar
|
89 |
* @since 0.1
|
@@ -91,13 +93,13 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
91 |
*/
|
92 |
public function adjust_admin_bar() {
|
93 |
// Bail if this is an ajax request
|
94 |
-
if ( !bp_use_wp_admin_bar() || defined( 'DOING_AJAX' ) || $this->core->exclude_user( get_current_user_id() ) )
|
95 |
return;
|
96 |
|
97 |
// Only add menu for logged in user
|
98 |
if ( is_user_logged_in() && $this->buddypress['visibility']['history'] ) {
|
99 |
global $bp, $wp_admin_bar;
|
100 |
-
|
101 |
// Add secondary parent item for all BuddyPress components
|
102 |
$wp_admin_bar->add_menu( array(
|
103 |
'parent' => 'my-account-xprofile',
|
@@ -119,7 +121,7 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
119 |
public function adjust_logout( $logouturl, $redirect ) {
|
120 |
if ( preg_match( '/(' . $this->buddypress['history_url'] . ')/', $redirect, $match ) ) {
|
121 |
global $bp;
|
122 |
-
|
123 |
$url = remove_query_arg( 'redirect_to', $logouturl );
|
124 |
return add_query_arg( array( 'redirect_to' => urlencode( $bp->displayed_user->domain ) ), $url );
|
125 |
}
|
@@ -133,21 +135,23 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
133 |
*/
|
134 |
public function show_balance_profile() {
|
135 |
$user_id = bp_displayed_user_id();
|
|
|
136 |
if ( $this->core->exclude_user( $user_id ) ) return;
|
137 |
-
|
138 |
-
|
|
|
139 |
|
140 |
<div class="bp-widget mycred-field">
|
141 |
<table class="profile-fields">
|
142 |
<tr id="mycred-users-balance">
|
143 |
-
<td class="label"><?php
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
<td class="data">
|
152 |
<?php echo $this->core->format_creds( $balance ); ?>
|
153 |
|
@@ -156,23 +160,26 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
156 |
</table>
|
157 |
</div>
|
158 |
<?php
|
|
|
159 |
}
|
160 |
-
|
161 |
/**
|
162 |
* Show Balance in Header
|
163 |
* @since 0.1
|
164 |
* @version 1.2
|
165 |
*/
|
166 |
public function show_balance( $table_row = false ) {
|
167 |
-
if ( bp_is_my_profile() || ( !bp_is_my_profile() && $this->buddypress['visibility']['balance'] ) || mycred_is_admin() ) {
|
168 |
$user_id = bp_displayed_user_id();
|
169 |
if ( $this->core->exclude_user( $user_id ) ) return;
|
170 |
-
|
171 |
$balance = $this->core->get_users_cred( $user_id );
|
172 |
-
|
173 |
$template = $this->buddypress['balance_template'];
|
174 |
$template = str_replace( '%number%', $balance, $template );
|
175 |
$template = str_replace( '%creds%', $this->core->format_creds( $balance ), $template );
|
|
|
|
|
176 |
if ( function_exists( 'mycred_get_users_rank' ) ) {
|
177 |
$rank_name = mycred_get_users_rank( $user_id );
|
178 |
$template = str_replace( '%rank%', $rank_name, $template );
|
@@ -182,57 +189,51 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
182 |
else {
|
183 |
$template = str_replace( array( '%ranking%', '%rank%' ), mycred_rankings_position( $user_id ), $template );
|
184 |
}
|
185 |
-
|
186 |
echo '<div id="mycred-my-balance">' . $this->core->template_tags_general( $template ) . '</div>';
|
187 |
}
|
188 |
}
|
189 |
-
|
190 |
/**
|
191 |
* Setup Navigation
|
192 |
* @since 0.1
|
193 |
-
* @version 1.
|
194 |
*/
|
195 |
public function setup_nav() {
|
196 |
global $bp;
|
197 |
-
|
198 |
$user_id = bp_displayed_user_id();
|
199 |
-
|
200 |
// User is excluded
|
201 |
if ( $this->core->exclude_user( $user_id ) ) return;
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
}
|
213 |
-
}
|
214 |
-
else {
|
215 |
-
if ( !$this->buddypress['visibility']['history'] ) return;
|
216 |
-
}
|
217 |
-
|
218 |
-
// Settings for bp menu
|
219 |
-
if ( $this->buddypress['visibility']['history'] || $this->core->can_edit_plugin() )
|
220 |
-
$show_for_displayed_user = true;
|
221 |
else
|
222 |
-
$
|
223 |
-
|
224 |
// Top Level Nav Item
|
225 |
-
$top_name = bp_word_or_name(
|
|
|
|
|
|
|
226 |
bp_core_new_nav_item( array(
|
227 |
'name' => $this->core->template_tags_general( $top_name ),
|
228 |
'slug' => $this->buddypress['history_url'],
|
229 |
'parent_url' => $bp->displayed_user->domain,
|
230 |
'default_subnav_slug' => $this->buddypress['history_url'],
|
231 |
'screen_function' => array( $this, 'my_history' ),
|
232 |
-
'show_for_displayed_user' => $
|
233 |
'position' => $this->buddypress['history_menu_pos']
|
234 |
) );
|
235 |
-
|
236 |
// Date Sorting
|
237 |
$date_sorting = apply_filters( 'mycred_sort_by_time', array(
|
238 |
'' => __( 'All', 'mycred' ),
|
@@ -241,32 +242,32 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
241 |
'thisweek' => __( 'This Week', 'mycred' ),
|
242 |
'thismonth' => __( 'This Month', 'mycred' )
|
243 |
) );
|
|
|
244 |
// "All" is default
|
245 |
bp_core_new_subnav_item( array(
|
246 |
-
'name'
|
247 |
-
'slug'
|
248 |
-
'parent_url'
|
249 |
-
'parent_slug'
|
250 |
-
'screen_function'
|
251 |
-
'show_for_displayed_user' => $show_for_displayed_user
|
252 |
) );
|
|
|
253 |
// Loop though and add each filter option as a sub menu item
|
254 |
if ( !empty( $date_sorting ) ) {
|
255 |
foreach ( $date_sorting as $sorting_id => $sorting_name ) {
|
256 |
if ( empty( $sorting_id ) ) continue;
|
257 |
-
|
258 |
bp_core_new_subnav_item( array(
|
259 |
-
'name'
|
260 |
-
'slug'
|
261 |
-
'parent_url'
|
262 |
-
'parent_slug'
|
263 |
-
'screen_function'
|
264 |
-
'show_for_displayed_user' => $show_for_displayed_user
|
265 |
) );
|
266 |
}
|
267 |
}
|
268 |
}
|
269 |
-
|
270 |
/**
|
271 |
* Construct My History Page
|
272 |
* @since 0.1
|
@@ -278,7 +279,7 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
278 |
add_filter( 'mycred_log_column_headers', array( $this, 'columns' ) );
|
279 |
bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
|
280 |
}
|
281 |
-
|
282 |
/**
|
283 |
* Adjust Log Columns
|
284 |
* @since 0.1
|
@@ -288,17 +289,20 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
288 |
unset( $columns['column-username'] );
|
289 |
return $columns;
|
290 |
}
|
291 |
-
|
292 |
/**
|
293 |
* My History Title
|
294 |
* @since 0.1
|
295 |
* @version 1.0
|
296 |
*/
|
297 |
public function my_history_title() {
|
298 |
-
$title = bp_word_or_name(
|
|
|
|
|
|
|
299 |
echo $this->core->template_tags_general( $title );
|
300 |
}
|
301 |
-
|
302 |
/**
|
303 |
* My History Content
|
304 |
* @since 0.1
|
@@ -306,15 +310,15 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
306 |
*/
|
307 |
public function my_history_screen() {
|
308 |
global $bp;
|
309 |
-
|
310 |
$args = array(
|
311 |
'user_id' => bp_displayed_user_id(),
|
312 |
'number' => apply_filters( 'mycred_bp_history_num_to_show', $this->buddypress['history_num'] )
|
313 |
);
|
314 |
-
|
315 |
if ( isset( $bp->canonical_stack['action'] ) && $bp->canonical_stack['action'] != $this->buddypress['history_url'] )
|
316 |
$args['time'] = $bp->canonical_stack['action'];
|
317 |
-
|
318 |
$log = new myCRED_Query_Log( $args );
|
319 |
unset( $log->headers['column-username'] ); ?>
|
320 |
|
@@ -327,7 +331,7 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
327 |
<?php
|
328 |
$log->reset_query();
|
329 |
}
|
330 |
-
|
331 |
/**
|
332 |
* Register Hooks
|
333 |
* @since 0.1
|
@@ -368,38 +372,38 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
368 |
|
369 |
return $installed;
|
370 |
}
|
371 |
-
|
372 |
/**
|
373 |
* After General Settings
|
374 |
* @since 0.1
|
375 |
-
* @version 1.
|
376 |
*/
|
377 |
public function after_general_settings() {
|
378 |
// Settings
|
379 |
global $bp;
|
380 |
-
|
381 |
$settings = $this->buddypress;
|
382 |
-
|
383 |
$balance_locations = array(
|
384 |
'' => __( 'Do not show.', 'mycred' ),
|
385 |
'top' => __( 'Include in Profile Header.', 'mycred' ),
|
386 |
'profile_tab' => __( 'Include under the "Profile" tab', 'mycred' ),
|
387 |
'both' => __( 'Include under the "Profile" tab and Profile Header.', 'mycred' )
|
388 |
);
|
389 |
-
|
390 |
$history_locations = array(
|
391 |
'' => __( 'Do not show.', 'mycred' ),
|
392 |
'top' => __( 'Show in Profile', 'mycred' )
|
393 |
);
|
394 |
-
|
395 |
$bp_nav_positions = array();
|
396 |
if ( isset( $bp->bp_nav ) ) {
|
397 |
foreach ( $bp->bp_nav as $pos => $data ) {
|
398 |
-
if ( $data['slug'] == '
|
399 |
$bp_nav_positions[] = ucwords( $data['slug'] ) . ' = ' . $pos;
|
400 |
}
|
401 |
}?>
|
402 |
-
|
403 |
<h4><div class="icon icon-hook icon-active"></div><label><?php _e( 'BuddyPress', 'mycred' ); ?></label></h4>
|
404 |
<div class="body" style="display:none;">
|
405 |
<label class="subheader" for="<?php echo $this->field_id( 'balance_location' ); ?>"><?php echo $this->core->template_tags_general( __( '%singular% Balance', 'mycred' ) ); ?></label>
|
@@ -484,30 +488,29 @@ if ( !class_exists( 'myCRED_BuddyPress' ) ) {
|
|
484 |
</div>
|
485 |
<?php
|
486 |
}
|
487 |
-
|
488 |
/**
|
489 |
* Sanitize Core Settings
|
490 |
* @since 0.1
|
491 |
* @version 1.1
|
492 |
*/
|
493 |
public function sanitize_extra_settings( $new_data, $data, $core ) {
|
494 |
-
|
495 |
$new_data['buddypress']['balance_location'] = sanitize_text_field( $data['buddypress']['balance_location'] );
|
496 |
$new_data['buddypress']['visibility']['balance'] = ( isset( $data['buddypress']['visibility']['balance'] ) ) ? true : false;
|
497 |
-
|
498 |
$new_data['buddypress']['history_location'] = sanitize_text_field( $data['buddypress']['history_location'] );
|
499 |
$new_data['buddypress']['balance_template'] = sanitize_text_field( $data['buddypress']['balance_template'] );
|
500 |
-
|
501 |
$new_data['buddypress']['history_menu_title']['me'] = sanitize_text_field( $data['buddypress']['history_menu_title']['me'] );
|
502 |
$new_data['buddypress']['history_menu_title']['others'] = sanitize_text_field( $data['buddypress']['history_menu_title']['others'] );
|
503 |
$new_data['buddypress']['history_menu_pos'] = abs( $data['buddypress']['history_menu_pos'] );
|
504 |
-
|
505 |
$url = sanitize_text_field( $data['buddypress']['history_url'] );
|
506 |
$new_data['buddypress']['history_url'] = urlencode( $url );
|
507 |
$new_data['buddypress']['history_num'] = abs( $data['buddypress']['history_num'] );
|
508 |
-
|
509 |
$new_data['buddypress']['visibility']['history'] = ( isset( $data['buddypress']['visibility']['history'] ) ) ? true : false;
|
510 |
-
|
511 |
return $new_data;
|
512 |
}
|
513 |
}
|
14 |
__( 'The BuddyPress add-on extends <strong>my</strong>CRED to work with BuddyPress allowing you to hook into most BuddyPress related actions.', 'mycred' )
|
15 |
);
|
16 |
|
17 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
18 |
|
19 |
define( 'myCRED_BP', __FILE__ );
|
20 |
define( 'myCRED_BP_DIR', myCRED_ADDONS_DIR . 'buddypress/' );
|
21 |
define( 'myCRED_BP_HOOKS_DIR', myCRED_BP_DIR . 'hooks/' );
|
22 |
+
|
23 |
/**
|
24 |
* BuddyPress specific hooks grouped together
|
25 |
*/
|
27 |
require_once( myCRED_BP_HOOKS_DIR . 'bp-profile.php' );
|
28 |
require_once( myCRED_BP_HOOKS_DIR . 'bp-links.php' );
|
29 |
require_once( myCRED_BP_HOOKS_DIR . 'bp-galleries.php' );
|
30 |
+
|
31 |
/**
|
32 |
* myCRED_BuddyPress class
|
33 |
*
|
34 |
* @since 0.1
|
35 |
* @version 1.0
|
36 |
*/
|
37 |
+
if ( ! class_exists( 'myCRED_BuddyPress' ) ) {
|
38 |
class myCRED_BuddyPress extends myCRED_Module {
|
39 |
+
|
40 |
protected $hooks;
|
41 |
protected $settings;
|
42 |
|
65 |
'register' => false,
|
66 |
'add_to_core' => true
|
67 |
) );
|
68 |
+
if ( ! is_admin() )
|
69 |
add_action( 'bp_setup_nav', array( $this, 'setup_nav' ) );
|
70 |
}
|
71 |
+
|
72 |
/**
|
73 |
* Init
|
74 |
* @since 0.1
|
78 |
add_filter( 'mycred_setup_hooks', array( $this, 'register_hooks' ) );
|
79 |
add_action( 'admin_bar_menu', array( $this, 'adjust_admin_bar' ), 110 );
|
80 |
add_filter( 'logout_url', array( $this, 'adjust_logout' ), 99, 2 );
|
81 |
+
|
82 |
if ( $this->buddypress['balance_location'] == 'top' || $this->buddypress['balance_location'] == 'both' )
|
83 |
add_action( 'bp_before_member_header_meta', array( $this, 'show_balance' ) );
|
84 |
|
85 |
if ( $this->buddypress['balance_location'] == 'profile_tab' || $this->buddypress['balance_location'] == 'both' )
|
86 |
add_action( 'bp_after_profile_loop_content', array( $this, 'show_balance_profile' ) );
|
87 |
}
|
88 |
+
|
89 |
/**
|
90 |
* Adjust Admin Bar
|
91 |
* @since 0.1
|
93 |
*/
|
94 |
public function adjust_admin_bar() {
|
95 |
// Bail if this is an ajax request
|
96 |
+
if ( ! bp_use_wp_admin_bar() || defined( 'DOING_AJAX' ) || $this->core->exclude_user( get_current_user_id() ) )
|
97 |
return;
|
98 |
|
99 |
// Only add menu for logged in user
|
100 |
if ( is_user_logged_in() && $this->buddypress['visibility']['history'] ) {
|
101 |
global $bp, $wp_admin_bar;
|
102 |
+
|
103 |
// Add secondary parent item for all BuddyPress components
|
104 |
$wp_admin_bar->add_menu( array(
|
105 |
'parent' => 'my-account-xprofile',
|
121 |
public function adjust_logout( $logouturl, $redirect ) {
|
122 |
if ( preg_match( '/(' . $this->buddypress['history_url'] . ')/', $redirect, $match ) ) {
|
123 |
global $bp;
|
124 |
+
|
125 |
$url = remove_query_arg( 'redirect_to', $logouturl );
|
126 |
return add_query_arg( array( 'redirect_to' => urlencode( $bp->displayed_user->domain ) ), $url );
|
127 |
}
|
135 |
*/
|
136 |
public function show_balance_profile() {
|
137 |
$user_id = bp_displayed_user_id();
|
138 |
+
if ( ! is_user_logged_in() ) return;
|
139 |
if ( $this->core->exclude_user( $user_id ) ) return;
|
140 |
+
if ( bp_is_my_profile() || ( ! bp_is_my_profile() && $this->buddypress['visibility']['balance'] ) || mycred_is_admin() ) {
|
141 |
+
|
142 |
+
$balance = $this->core->get_users_cred( $user_id ); ?>
|
143 |
|
144 |
<div class="bp-widget mycred-field">
|
145 |
<table class="profile-fields">
|
146 |
<tr id="mycred-users-balance">
|
147 |
+
<td class="profile-td-label"><?php
|
148 |
+
|
149 |
+
// Balance label
|
150 |
+
$template = $this->buddypress['balance_template'];
|
151 |
+
$template = str_replace( '%number%', '', $template );
|
152 |
+
$template = str_replace( '%creds%', '', $template );
|
153 |
+
$template = str_replace( '%rank%', '', $template );
|
154 |
+
echo $this->core->template_tags_general( trim( $template ) ); ?></td>
|
155 |
<td class="data">
|
156 |
<?php echo $this->core->format_creds( $balance ); ?>
|
157 |
|
160 |
</table>
|
161 |
</div>
|
162 |
<?php
|
163 |
+
}
|
164 |
}
|
165 |
+
|
166 |
/**
|
167 |
* Show Balance in Header
|
168 |
* @since 0.1
|
169 |
* @version 1.2
|
170 |
*/
|
171 |
public function show_balance( $table_row = false ) {
|
172 |
+
if ( bp_is_my_profile() || ( ! bp_is_my_profile() && $this->buddypress['visibility']['balance'] ) || mycred_is_admin() ) {
|
173 |
$user_id = bp_displayed_user_id();
|
174 |
if ( $this->core->exclude_user( $user_id ) ) return;
|
175 |
+
|
176 |
$balance = $this->core->get_users_cred( $user_id );
|
177 |
+
|
178 |
$template = $this->buddypress['balance_template'];
|
179 |
$template = str_replace( '%number%', $balance, $template );
|
180 |
$template = str_replace( '%creds%', $this->core->format_creds( $balance ), $template );
|
181 |
+
|
182 |
+
// Rank
|
183 |
if ( function_exists( 'mycred_get_users_rank' ) ) {
|
184 |
$rank_name = mycred_get_users_rank( $user_id );
|
185 |
$template = str_replace( '%rank%', $rank_name, $template );
|
189 |
else {
|
190 |
$template = str_replace( array( '%ranking%', '%rank%' ), mycred_rankings_position( $user_id ), $template );
|
191 |
}
|
192 |
+
|
193 |
echo '<div id="mycred-my-balance">' . $this->core->template_tags_general( $template ) . '</div>';
|
194 |
}
|
195 |
}
|
196 |
+
|
197 |
/**
|
198 |
* Setup Navigation
|
199 |
* @since 0.1
|
200 |
+
* @version 1.3
|
201 |
*/
|
202 |
public function setup_nav() {
|
203 |
global $bp;
|
204 |
+
|
205 |
$user_id = bp_displayed_user_id();
|
206 |
+
|
207 |
// User is excluded
|
208 |
if ( $this->core->exclude_user( $user_id ) ) return;
|
209 |
+
|
210 |
+
// If visibility is not set for visitors
|
211 |
+
if ( ! is_user_logged_in() && ! $this->buddypress['visibility']['history'] ) return;
|
212 |
+
|
213 |
+
// Admins always see the token history
|
214 |
+
if ( ! $this->core->can_edit_plugin() && $this->buddypress['history_location'] != 'top' ) return;
|
215 |
+
|
216 |
+
// Show admins
|
217 |
+
if ( $this->core->can_edit_plugin() )
|
218 |
+
$show = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
else
|
220 |
+
$show = $this->buddypress['visibility']['history'];
|
221 |
+
|
222 |
// Top Level Nav Item
|
223 |
+
$top_name = bp_word_or_name(
|
224 |
+
$this->buddypress['history_menu_title']['me'],
|
225 |
+
$this->buddypress['history_menu_title']['others'], false, false );
|
226 |
+
|
227 |
bp_core_new_nav_item( array(
|
228 |
'name' => $this->core->template_tags_general( $top_name ),
|
229 |
'slug' => $this->buddypress['history_url'],
|
230 |
'parent_url' => $bp->displayed_user->domain,
|
231 |
'default_subnav_slug' => $this->buddypress['history_url'],
|
232 |
'screen_function' => array( $this, 'my_history' ),
|
233 |
+
'show_for_displayed_user' => $show,
|
234 |
'position' => $this->buddypress['history_menu_pos']
|
235 |
) );
|
236 |
+
|
237 |
// Date Sorting
|
238 |
$date_sorting = apply_filters( 'mycred_sort_by_time', array(
|
239 |
'' => __( 'All', 'mycred' ),
|
242 |
'thisweek' => __( 'This Week', 'mycred' ),
|
243 |
'thismonth' => __( 'This Month', 'mycred' )
|
244 |
) );
|
245 |
+
|
246 |
// "All" is default
|
247 |
bp_core_new_subnav_item( array(
|
248 |
+
'name' => __( 'All', 'mycred' ),
|
249 |
+
'slug' => $this->buddypress['history_url'],
|
250 |
+
'parent_url' => $bp->displayed_user->domain . $this->buddypress['history_url'] . '/',
|
251 |
+
'parent_slug' => $this->buddypress['history_url'],
|
252 |
+
'screen_function' => array( $this, 'my_history' )
|
|
|
253 |
) );
|
254 |
+
|
255 |
// Loop though and add each filter option as a sub menu item
|
256 |
if ( !empty( $date_sorting ) ) {
|
257 |
foreach ( $date_sorting as $sorting_id => $sorting_name ) {
|
258 |
if ( empty( $sorting_id ) ) continue;
|
259 |
+
|
260 |
bp_core_new_subnav_item( array(
|
261 |
+
'name' => $sorting_name,
|
262 |
+
'slug' => $sorting_id,
|
263 |
+
'parent_url' => $bp->displayed_user->domain . $this->buddypress['history_url'] . '/',
|
264 |
+
'parent_slug' => $this->buddypress['history_url'],
|
265 |
+
'screen_function' => array( $this, 'my_history' )
|
|
|
266 |
) );
|
267 |
}
|
268 |
}
|
269 |
}
|
270 |
+
|
271 |
/**
|
272 |
* Construct My History Page
|
273 |
* @since 0.1
|
279 |
add_filter( 'mycred_log_column_headers', array( $this, 'columns' ) );
|
280 |
bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
|
281 |
}
|
282 |
+
|
283 |
/**
|
284 |
* Adjust Log Columns
|
285 |
* @since 0.1
|
289 |
unset( $columns['column-username'] );
|
290 |
return $columns;
|
291 |
}
|
292 |
+
|
293 |
/**
|
294 |
* My History Title
|
295 |
* @since 0.1
|
296 |
* @version 1.0
|
297 |
*/
|
298 |
public function my_history_title() {
|
299 |
+
$title = bp_word_or_name(
|
300 |
+
$this->buddypress['history_menu_title']['me'],
|
301 |
+
$this->buddypress['history_menu_title']['others'], false, false );
|
302 |
+
|
303 |
echo $this->core->template_tags_general( $title );
|
304 |
}
|
305 |
+
|
306 |
/**
|
307 |
* My History Content
|
308 |
* @since 0.1
|
310 |
*/
|
311 |
public function my_history_screen() {
|
312 |
global $bp;
|
313 |
+
|
314 |
$args = array(
|
315 |
'user_id' => bp_displayed_user_id(),
|
316 |
'number' => apply_filters( 'mycred_bp_history_num_to_show', $this->buddypress['history_num'] )
|
317 |
);
|
318 |
+
|
319 |
if ( isset( $bp->canonical_stack['action'] ) && $bp->canonical_stack['action'] != $this->buddypress['history_url'] )
|
320 |
$args['time'] = $bp->canonical_stack['action'];
|
321 |
+
|
322 |
$log = new myCRED_Query_Log( $args );
|
323 |
unset( $log->headers['column-username'] ); ?>
|
324 |
|
331 |
<?php
|
332 |
$log->reset_query();
|
333 |
}
|
334 |
+
|
335 |
/**
|
336 |
* Register Hooks
|
337 |
* @since 0.1
|
372 |
|
373 |
return $installed;
|
374 |
}
|
375 |
+
|
376 |
/**
|
377 |
* After General Settings
|
378 |
* @since 0.1
|
379 |
+
* @version 1.2
|
380 |
*/
|
381 |
public function after_general_settings() {
|
382 |
// Settings
|
383 |
global $bp;
|
384 |
+
|
385 |
$settings = $this->buddypress;
|
386 |
+
|
387 |
$balance_locations = array(
|
388 |
'' => __( 'Do not show.', 'mycred' ),
|
389 |
'top' => __( 'Include in Profile Header.', 'mycred' ),
|
390 |
'profile_tab' => __( 'Include under the "Profile" tab', 'mycred' ),
|
391 |
'both' => __( 'Include under the "Profile" tab and Profile Header.', 'mycred' )
|
392 |
);
|
393 |
+
|
394 |
$history_locations = array(
|
395 |
'' => __( 'Do not show.', 'mycred' ),
|
396 |
'top' => __( 'Show in Profile', 'mycred' )
|
397 |
);
|
398 |
+
|
399 |
$bp_nav_positions = array();
|
400 |
if ( isset( $bp->bp_nav ) ) {
|
401 |
foreach ( $bp->bp_nav as $pos => $data ) {
|
402 |
+
if ( ! isset( $data['slug'] ) || $data['slug'] == $settings['history_url'] ) continue;
|
403 |
$bp_nav_positions[] = ucwords( $data['slug'] ) . ' = ' . $pos;
|
404 |
}
|
405 |
}?>
|
406 |
+
|
407 |
<h4><div class="icon icon-hook icon-active"></div><label><?php _e( 'BuddyPress', 'mycred' ); ?></label></h4>
|
408 |
<div class="body" style="display:none;">
|
409 |
<label class="subheader" for="<?php echo $this->field_id( 'balance_location' ); ?>"><?php echo $this->core->template_tags_general( __( '%singular% Balance', 'mycred' ) ); ?></label>
|
488 |
</div>
|
489 |
<?php
|
490 |
}
|
491 |
+
|
492 |
/**
|
493 |
* Sanitize Core Settings
|
494 |
* @since 0.1
|
495 |
* @version 1.1
|
496 |
*/
|
497 |
public function sanitize_extra_settings( $new_data, $data, $core ) {
|
|
|
498 |
$new_data['buddypress']['balance_location'] = sanitize_text_field( $data['buddypress']['balance_location'] );
|
499 |
$new_data['buddypress']['visibility']['balance'] = ( isset( $data['buddypress']['visibility']['balance'] ) ) ? true : false;
|
500 |
+
|
501 |
$new_data['buddypress']['history_location'] = sanitize_text_field( $data['buddypress']['history_location'] );
|
502 |
$new_data['buddypress']['balance_template'] = sanitize_text_field( $data['buddypress']['balance_template'] );
|
503 |
+
|
504 |
$new_data['buddypress']['history_menu_title']['me'] = sanitize_text_field( $data['buddypress']['history_menu_title']['me'] );
|
505 |
$new_data['buddypress']['history_menu_title']['others'] = sanitize_text_field( $data['buddypress']['history_menu_title']['others'] );
|
506 |
$new_data['buddypress']['history_menu_pos'] = abs( $data['buddypress']['history_menu_pos'] );
|
507 |
+
|
508 |
$url = sanitize_text_field( $data['buddypress']['history_url'] );
|
509 |
$new_data['buddypress']['history_url'] = urlencode( $url );
|
510 |
$new_data['buddypress']['history_num'] = abs( $data['buddypress']['history_num'] );
|
511 |
+
|
512 |
$new_data['buddypress']['visibility']['history'] = ( isset( $data['buddypress']['visibility']['history'] ) ) ? true : false;
|
513 |
+
|
514 |
return $new_data;
|
515 |
}
|
516 |
}
|
addons/buy-creds/gateways/zombaio.php
CHANGED
@@ -14,7 +14,6 @@ if ( !class_exists( 'myCRED_Zombaio' ) ) {
|
|
14 |
* Construct
|
15 |
*/
|
16 |
function __construct( $gateway_prefs ) {
|
17 |
-
$name = apply_filters( 'mycred_label', myCRED_NAME );
|
18 |
parent::__construct( array(
|
19 |
'id' => 'zombaio',
|
20 |
'defaults' => array(
|
14 |
* Construct
|
15 |
*/
|
16 |
function __construct( $gateway_prefs ) {
|
|
|
17 |
parent::__construct( array(
|
18 |
'id' => 'zombaio',
|
19 |
'defaults' => array(
|
addons/buy-creds/images/payza.png
DELETED
Binary file
|
addons/buy-creds/myCRED-addon-buy-creds.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Addon: buyCRED
|
4 |
* Addon URI: http://mycred.me/add-ons/buycred/
|
5 |
-
* Version: 1.
|
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
|
8 |
* Author URI: http://www.merovingi.com
|
@@ -343,7 +343,7 @@ h4.ui-accordion-header:before { content: "<?php _e( 'click to open', 'mycred' );
|
|
343 |
|
344 |
<div class="wrap list" id="myCRED-wrap">
|
345 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
346 |
-
<h2><?php echo
|
347 |
<p><?php echo $this->core->template_tags_general( __( 'Select the payment gateways you want to offer your users to buy %plural%.', 'mycred' ) ); ?></p>
|
348 |
<form method="post" action="options.php">
|
349 |
<?php settings_fields( 'myCRED-gateways' ); ?>
|
@@ -398,10 +398,11 @@ h4.ui-accordion-header:before { content: "<?php _e( 'click to open', 'mycred' );
|
|
398 |
/**
|
399 |
* Sanititze Settings
|
400 |
* @since 0.1
|
401 |
-
* @version 1.
|
402 |
*/
|
403 |
public function sanitize_settings( $data ) {
|
404 |
-
|
|
|
405 |
$installed = $this->get();
|
406 |
if ( empty( $installed ) ) return $data;
|
407 |
|
2 |
/**
|
3 |
* Addon: buyCRED
|
4 |
* Addon URI: http://mycred.me/add-ons/buycred/
|
5 |
+
* Version: 1.1
|
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
|
8 |
* Author URI: http://www.merovingi.com
|
343 |
|
344 |
<div class="wrap list" id="myCRED-wrap">
|
345 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
346 |
+
<h2><?php echo sprintf( __( '%s Payment Gateways', 'mycred' ), mycred_label() ); ?></h2>
|
347 |
<p><?php echo $this->core->template_tags_general( __( 'Select the payment gateways you want to offer your users to buy %plural%.', 'mycred' ) ); ?></p>
|
348 |
<form method="post" action="options.php">
|
349 |
<?php settings_fields( 'myCRED-gateways' ); ?>
|
398 |
/**
|
399 |
* Sanititze Settings
|
400 |
* @since 0.1
|
401 |
+
* @version 1.1
|
402 |
*/
|
403 |
public function sanitize_settings( $data ) {
|
404 |
+
$data = apply_filters( 'mycred_buycred_save_prefs', $data );
|
405 |
+
|
406 |
$installed = $this->get();
|
407 |
if ( empty( $installed ) ) return $data;
|
408 |
|
addons/email-notices/css/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
?>
|
addons/email-notices/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
?>
|
addons/email-notices/myCRED-addon-email-notices.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Addon: Email Notices
|
4 |
* Addon URI: http://mycred.me/add-ons/email-notices/
|
5 |
-
* Version: 1.
|
6 |
* Description: Create email notices for any type of myCRED instance.
|
7 |
* Author: Gabriel S Merovingi
|
8 |
* Author URI: http://www.merovingi.com
|
@@ -13,7 +13,7 @@ $mycred_addon_header_translate = array(
|
|
13 |
__( 'Create email notices for any type of myCRED instance.', 'mycred' )
|
14 |
);
|
15 |
|
16 |
-
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
17 |
|
18 |
define( 'myCRED_EMAIL', __FILE__ );
|
19 |
define( 'myCRED_EMAIL_VERSION', myCRED_VERSION . '.1' );
|
@@ -24,7 +24,7 @@ define( 'myCRED_EMAIL_VERSION', myCRED_VERSION . '.1' );
|
|
24 |
* @since 1.1
|
25 |
* @version 1.0
|
26 |
*/
|
27 |
-
if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
28 |
class myCRED_Email_Notices extends myCRED_Module {
|
29 |
|
30 |
public $instances = array();
|
@@ -52,8 +52,6 @@ if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
|
52 |
'register' => false,
|
53 |
'add_to_core' => true
|
54 |
) );
|
55 |
-
|
56 |
-
//add_action( 'mycred_help', array( $this, 'help' ), 10, 2 );
|
57 |
}
|
58 |
|
59 |
/**
|
@@ -65,7 +63,7 @@ if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
|
65 |
$this->register_post_type();
|
66 |
$this->setup_instances();
|
67 |
add_action( 'mycred_admin_enqueue', array( $this, 'enqueue_scripts' ) );
|
68 |
-
add_filter( 'mycred_add', array( $this, 'email_check' ),
|
69 |
}
|
70 |
|
71 |
/**
|
@@ -345,7 +343,7 @@ if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
|
345 |
/**
|
346 |
* Email Notice Check
|
347 |
* @since 1.1
|
348 |
-
* @version 1.
|
349 |
*/
|
350 |
public function email_check( $reply, $request, $mycred ) {
|
351 |
// Override - something has already determaned that this should not be executed
|
@@ -356,9 +354,9 @@ if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
|
356 |
$amount = $request['amount'];
|
357 |
|
358 |
// Event: Account gains or loses amount
|
359 |
-
if ( $amount < $
|
360 |
$event[] = 'negative';
|
361 |
-
|
362 |
$event[] = 'positive';
|
363 |
|
364 |
// Event: Account reaches zero or goes minus
|
@@ -467,7 +465,7 @@ if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
|
467 |
$headers[] = 'From: ' . $settings['senders_name'] . ' <' . $settings['senders_email'] . '>';
|
468 |
|
469 |
// Reply-To
|
470 |
-
if ( !empty( $settings['reply_to'] ) )
|
471 |
$headers[] = 'Reply-To: ' . $settings['reply_to'];
|
472 |
|
473 |
// Both means we blank carbon copy the admin so the user does not see email
|
@@ -878,14 +876,14 @@ if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
|
878 |
// Make sure this is the correct post type
|
879 |
if ( get_post_type( $post_id ) != 'mycred_email_notice' ) return;
|
880 |
// Make sure we can edit
|
881 |
-
elseif ( !mycred_is_admin( get_current_user_id() ) ) return;
|
882 |
// Make sure fields exists
|
883 |
-
elseif ( !isset( $_POST['mycred_email'] ) || !is_array( $_POST['mycred_email'] ) ) return;
|
884 |
// Finally check token
|
885 |
-
elseif ( !wp_verify_nonce( $_POST['mycred_email']['token'], 'mycred-edit-email' ) ) return;
|
886 |
|
887 |
// Update Instance
|
888 |
-
if ( !empty( $_POST['mycred_email']['instance'] ) ) {
|
889 |
// Lets make sure the value is properly formatted otherwise things could go uggly later
|
890 |
$instance_key = trim( $_POST['mycred_email']['instance'] );
|
891 |
$keys = explode( '|', $instance_key );
|
@@ -896,25 +894,25 @@ if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
|
896 |
// Construct new settings
|
897 |
$settings = array();
|
898 |
// If recipient is set but differs from the default, use the posted one else use default
|
899 |
-
if ( !empty( $_POST['mycred_email']['recipient'] ) )
|
900 |
$settings['recipient'] = $_POST['mycred_email']['recipient'];
|
901 |
else
|
902 |
$settings['recipient'] = 'user';
|
903 |
|
904 |
// If senders name is set but differs from the default, use the posted one else use default
|
905 |
-
if ( !empty( $_POST['mycred_email']['senders_name'] ) )
|
906 |
$settings['senders_name'] = $_POST['mycred_email']['senders_name'];
|
907 |
else
|
908 |
$settings['senders_name'] = $this->emailnotices['from']['name'];
|
909 |
|
910 |
// If senders email is set but differs from the default, use the posted one else use default
|
911 |
-
if ( !empty( $_POST['mycred_email']['senders_email'] ) )
|
912 |
$settings['senders_email'] = $_POST['mycred_email']['senders_email'];
|
913 |
else
|
914 |
$settings['senders_email'] = $this->emailnotices['from']['email'];
|
915 |
|
916 |
// If senders email is set but differs from the default, use the posted one else use default
|
917 |
-
if ( !empty( $_POST['mycred_email']['reply_to'] ) )
|
918 |
$settings['reply_to'] = $_POST['mycred_email']['reply_to'];
|
919 |
else
|
920 |
$settings['reply_to'] = $this->emailnotices['from']['reply_to'];
|
@@ -926,7 +924,7 @@ if ( !class_exists( 'myCRED_Email_Notices' ) ) {
|
|
926 |
if ( $this->emailnotices['use_html'] === false ) return;
|
927 |
|
928 |
// Save styling
|
929 |
-
if ( !empty( $_POST['mycred_email']['styling'] ) )
|
930 |
update_post_meta( $post_id, 'mycred_email_styling', trim( $_POST['mycred_email']['styling'] ) );
|
931 |
}
|
932 |
|
2 |
/**
|
3 |
* Addon: Email Notices
|
4 |
* Addon URI: http://mycred.me/add-ons/email-notices/
|
5 |
+
* Version: 1.1
|
6 |
* Description: Create email notices for any type of myCRED instance.
|
7 |
* Author: Gabriel S Merovingi
|
8 |
* Author URI: http://www.merovingi.com
|
13 |
__( 'Create email notices for any type of myCRED instance.', 'mycred' )
|
14 |
);
|
15 |
|
16 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
17 |
|
18 |
define( 'myCRED_EMAIL', __FILE__ );
|
19 |
define( 'myCRED_EMAIL_VERSION', myCRED_VERSION . '.1' );
|
24 |
* @since 1.1
|
25 |
* @version 1.0
|
26 |
*/
|
27 |
+
if ( ! class_exists( 'myCRED_Email_Notices' ) ) {
|
28 |
class myCRED_Email_Notices extends myCRED_Module {
|
29 |
|
30 |
public $instances = array();
|
52 |
'register' => false,
|
53 |
'add_to_core' => true
|
54 |
) );
|
|
|
|
|
55 |
}
|
56 |
|
57 |
/**
|
63 |
$this->register_post_type();
|
64 |
$this->setup_instances();
|
65 |
add_action( 'mycred_admin_enqueue', array( $this, 'enqueue_scripts' ) );
|
66 |
+
add_filter( 'mycred_add', array( $this, 'email_check' ), 199, 3 );
|
67 |
}
|
68 |
|
69 |
/**
|
343 |
/**
|
344 |
* Email Notice Check
|
345 |
* @since 1.1
|
346 |
+
* @version 1.3
|
347 |
*/
|
348 |
public function email_check( $reply, $request, $mycred ) {
|
349 |
// Override - something has already determaned that this should not be executed
|
354 |
$amount = $request['amount'];
|
355 |
|
356 |
// Event: Account gains or loses amount
|
357 |
+
if ( $amount < $mycred->zero() )
|
358 |
$event[] = 'negative';
|
359 |
+
elseif ( $amount > $mycred->zero() )
|
360 |
$event[] = 'positive';
|
361 |
|
362 |
// Event: Account reaches zero or goes minus
|
465 |
$headers[] = 'From: ' . $settings['senders_name'] . ' <' . $settings['senders_email'] . '>';
|
466 |
|
467 |
// Reply-To
|
468 |
+
if ( ! empty( $settings['reply_to'] ) )
|
469 |
$headers[] = 'Reply-To: ' . $settings['reply_to'];
|
470 |
|
471 |
// Both means we blank carbon copy the admin so the user does not see email
|
876 |
// Make sure this is the correct post type
|
877 |
if ( get_post_type( $post_id ) != 'mycred_email_notice' ) return;
|
878 |
// Make sure we can edit
|
879 |
+
elseif ( ! mycred_is_admin( get_current_user_id() ) ) return;
|
880 |
// Make sure fields exists
|
881 |
+
elseif ( ! isset( $_POST['mycred_email'] ) || !is_array( $_POST['mycred_email'] ) ) return;
|
882 |
// Finally check token
|
883 |
+
elseif ( ! wp_verify_nonce( $_POST['mycred_email']['token'], 'mycred-edit-email' ) ) return;
|
884 |
|
885 |
// Update Instance
|
886 |
+
if ( ! empty( $_POST['mycred_email']['instance'] ) ) {
|
887 |
// Lets make sure the value is properly formatted otherwise things could go uggly later
|
888 |
$instance_key = trim( $_POST['mycred_email']['instance'] );
|
889 |
$keys = explode( '|', $instance_key );
|
894 |
// Construct new settings
|
895 |
$settings = array();
|
896 |
// If recipient is set but differs from the default, use the posted one else use default
|
897 |
+
if ( ! empty( $_POST['mycred_email']['recipient'] ) )
|
898 |
$settings['recipient'] = $_POST['mycred_email']['recipient'];
|
899 |
else
|
900 |
$settings['recipient'] = 'user';
|
901 |
|
902 |
// If senders name is set but differs from the default, use the posted one else use default
|
903 |
+
if ( ! empty( $_POST['mycred_email']['senders_name'] ) )
|
904 |
$settings['senders_name'] = $_POST['mycred_email']['senders_name'];
|
905 |
else
|
906 |
$settings['senders_name'] = $this->emailnotices['from']['name'];
|
907 |
|
908 |
// If senders email is set but differs from the default, use the posted one else use default
|
909 |
+
if ( ! empty( $_POST['mycred_email']['senders_email'] ) )
|
910 |
$settings['senders_email'] = $_POST['mycred_email']['senders_email'];
|
911 |
else
|
912 |
$settings['senders_email'] = $this->emailnotices['from']['email'];
|
913 |
|
914 |
// If senders email is set but differs from the default, use the posted one else use default
|
915 |
+
if ( ! empty( $_POST['mycred_email']['reply_to'] ) )
|
916 |
$settings['reply_to'] = $_POST['mycred_email']['reply_to'];
|
917 |
else
|
918 |
$settings['reply_to'] = $this->emailnotices['from']['reply_to'];
|
924 |
if ( $this->emailnotices['use_html'] === false ) return;
|
925 |
|
926 |
// Save styling
|
927 |
+
if ( ! empty( $_POST['mycred_email']['styling'] ) )
|
928 |
update_post_meta( $post_id, 'mycred_email_styling', trim( $_POST['mycred_email']['styling'] ) );
|
929 |
}
|
930 |
|
addons/gateway/carts/mycred-marketpress.php
CHANGED
@@ -31,7 +31,7 @@ if ( !function_exists( 'mycred_init_marketpress_gateway' ) ) {
|
|
31 |
|
32 |
//set names here to be able to translate
|
33 |
$this->admin_name = 'myCRED';
|
34 |
-
$this->public_name = ( !empty( $settings['gateways']['mycred']['name'] ) ) ? $settings['gateways']['mycred']['name'] :
|
35 |
$this->method_img_url = plugins_url( 'assets/images/cred-icon32.png', myCRED_THIS );
|
36 |
$this->method_button_img_url = $settings['gateways']['mycred']['name'];
|
37 |
$this->mycred = mycred_get_settings();
|
@@ -323,9 +323,9 @@ if ( !function_exists( 'mycred_init_marketpress_gateway' ) ) {
|
|
323 |
$settings = get_option( 'mp_settings' );
|
324 |
$mycred = mycred_get_settings();
|
325 |
|
326 |
-
$name =
|
327 |
$settings['gateways']['mycred'] = shortcode_atts( array(
|
328 |
-
'name' =>
|
329 |
'logo' => $this->method_button_img_url,
|
330 |
'log_template' => __( 'Payment for Order: #%order_id%', 'mycred' ),
|
331 |
'exchange' => 1,
|
31 |
|
32 |
//set names here to be able to translate
|
33 |
$this->admin_name = 'myCRED';
|
34 |
+
$this->public_name = ( !empty( $settings['gateways']['mycred']['name'] ) ) ? $settings['gateways']['mycred']['name'] : mycred_label( true );
|
35 |
$this->method_img_url = plugins_url( 'assets/images/cred-icon32.png', myCRED_THIS );
|
36 |
$this->method_button_img_url = $settings['gateways']['mycred']['name'];
|
37 |
$this->mycred = mycred_get_settings();
|
323 |
$settings = get_option( 'mp_settings' );
|
324 |
$mycred = mycred_get_settings();
|
325 |
|
326 |
+
$name = mycred_label( true );
|
327 |
$settings['gateways']['mycred'] = shortcode_atts( array(
|
328 |
+
'name' => $name . ' ' . $mycred->template_tags_general( __( '%_singular% Balance', 'mycred' ) ),
|
329 |
'logo' => $this->method_button_img_url,
|
330 |
'log_template' => __( 'Payment for Order: #%order_id%', 'mycred' ),
|
331 |
'exchange' => 1,
|
addons/gateway/carts/mycred-woocommerce.php
CHANGED
@@ -6,7 +6,7 @@ if ( !defined( 'myCRED_VERSION' ) ) exit;
|
|
6 |
* Custom Payment Gateway for WooCommerce.
|
7 |
* @see http://docs.woothemes.com/document/payment-gateway-api/
|
8 |
* @since 0.1
|
9 |
-
* @version 1.2.
|
10 |
*/
|
11 |
if ( !function_exists( 'mycred_init_woo_gateway' ) ) {
|
12 |
/**
|
@@ -45,13 +45,19 @@ if ( !function_exists( 'mycred_init_woo_gateway' ) ) {
|
|
45 |
$exchange_rate = (float) $this->get_option( 'exchange_rate' );
|
46 |
else
|
47 |
$exchange_rate = 1;
|
48 |
-
|
49 |
if ( !is_numeric( $exchange_rate ) )
|
50 |
$exchange_rate = 1;
|
51 |
-
|
52 |
$this->exchange_rate = $exchange_rate;
|
53 |
$this->log_template = $this->get_option( 'log_template' );
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
// Actions
|
56 |
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
|
57 |
add_action( 'woocommerce_thankyou_mycred', array( $this, 'thankyou_page' ) );
|
6 |
* Custom Payment Gateway for WooCommerce.
|
7 |
* @see http://docs.woothemes.com/document/payment-gateway-api/
|
8 |
* @since 0.1
|
9 |
+
* @version 1.2.2
|
10 |
*/
|
11 |
if ( !function_exists( 'mycred_init_woo_gateway' ) ) {
|
12 |
/**
|
45 |
$exchange_rate = (float) $this->get_option( 'exchange_rate' );
|
46 |
else
|
47 |
$exchange_rate = 1;
|
48 |
+
|
49 |
if ( !is_numeric( $exchange_rate ) )
|
50 |
$exchange_rate = 1;
|
51 |
+
|
52 |
$this->exchange_rate = $exchange_rate;
|
53 |
$this->log_template = $this->get_option( 'log_template' );
|
54 |
|
55 |
+
$this->show_total = $this->get_option( 'show_total' );
|
56 |
+
$this->total_label = $this->get_option( 'total_label' );
|
57 |
+
|
58 |
+
$this->profit_sharing_percent = $this->get_option( 'profit_sharing_percent' );
|
59 |
+
$this->profit_sharing_log = $this->get_option( 'profit_sharing_log' );
|
60 |
+
|
61 |
// Actions
|
62 |
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
|
63 |
add_action( 'woocommerce_thankyou_mycred', array( $this, 'thankyou_page' ) );
|
addons/gateway/carts/mycred-wpecommerce.php
CHANGED
@@ -21,7 +21,6 @@ if ( !function_exists( 'mycred_init_wpecom_construct_gateway' ) ) {
|
|
21 |
|
22 |
global $nzshpcrt_gateways, $mycred_wpecom_settings;
|
23 |
|
24 |
-
$name = apply_filters( 'mycred_label', myCRED_NAME );
|
25 |
$mycred_wpecom_settings = shortcode_atts( array(
|
26 |
'log' => __( 'Payment for Order: #%order_id%', 'mycred' ),
|
27 |
'share' => 0,
|
@@ -35,7 +34,7 @@ if ( !function_exists( 'mycred_init_wpecom_construct_gateway' ) ) {
|
|
35 |
// Add gateway
|
36 |
$nzshpcrt_gateways[] = array(
|
37 |
'id' => 'mycred',
|
38 |
-
'name' =>
|
39 |
'has_recurring_billing' => false,
|
40 |
'wp_admin_cannot_cancel' => false,
|
41 |
'requirements' => array( 'php_version' => '5.2.4' ),
|
@@ -155,7 +154,6 @@ if ( !function_exists( 'mycred_init_wpecom_construct_gateway' ) ) {
|
|
155 |
*/
|
156 |
function __construct( $purchase_id = NULL, $is_receiving = false, $prefs = NULL, $mycred = NULL ) {
|
157 |
parent::__construct( $purchase_id, $is_receiving );
|
158 |
-
$name = apply_filters( 'mycred_label', myCRED_NAME );
|
159 |
$this->prefs = $prefs;
|
160 |
$this->core = $mycred;
|
161 |
}
|
21 |
|
22 |
global $nzshpcrt_gateways, $mycred_wpecom_settings;
|
23 |
|
|
|
24 |
$mycred_wpecom_settings = shortcode_atts( array(
|
25 |
'log' => __( 'Payment for Order: #%order_id%', 'mycred' ),
|
26 |
'share' => 0,
|
34 |
// Add gateway
|
35 |
$nzshpcrt_gateways[] = array(
|
36 |
'id' => 'mycred',
|
37 |
+
'name' => mycred_label( true ),
|
38 |
'has_recurring_billing' => false,
|
39 |
'wp_admin_cannot_cancel' => false,
|
40 |
'requirements' => array( 'php_version' => '5.2.4' ),
|
154 |
*/
|
155 |
function __construct( $purchase_id = NULL, $is_receiving = false, $prefs = NULL, $mycred = NULL ) {
|
156 |
parent::__construct( $purchase_id, $is_receiving );
|
|
|
157 |
$this->prefs = $prefs;
|
158 |
$this->core = $mycred;
|
159 |
}
|
addons/gateway/event-booking/mycred-eventespresso3.php
CHANGED
@@ -489,7 +489,7 @@ if ( !class_exists( 'myCRED_Espresso_Gateway' ) ) {
|
|
489 |
*/
|
490 |
public function update_settings() {
|
491 |
// Apply Whitelabeling
|
492 |
-
$this->label =
|
493 |
|
494 |
// Security
|
495 |
if ( !wp_verify_nonce( $_REQUEST['mycred-gateway-token'], 'mycred-espresso-update' ) ) return;
|
489 |
*/
|
490 |
public function update_settings() {
|
491 |
// Apply Whitelabeling
|
492 |
+
$this->label = mycred_label();
|
493 |
|
494 |
// Security
|
495 |
if ( !wp_verify_nonce( $_REQUEST['mycred-gateway-token'], 'mycred-espresso-update' ) ) return;
|
addons/gateway/event-booking/mycred-eventsmanager-pro.php
CHANGED
@@ -50,7 +50,7 @@ if ( !class_exists( 'EM_Gateway_myCRED' ) ) {
|
|
50 |
$this->core = mycred_get_settings();
|
51 |
|
52 |
// Apply Whitelabeling
|
53 |
-
$this->label =
|
54 |
$this->title = strip_tags( $this->label );
|
55 |
$this->status_txt = 'Paid using ' . strip_tags( $this->label );
|
56 |
|
@@ -183,7 +183,10 @@ if ( !class_exists( 'EM_Gateway_myCRED' ) ) {
|
|
183 |
<?php } else { ?>
|
184 |
<input type="submit" class="em-booking-submit em-gateway-button" id="em-gateway-button-<?php echo $this->gateway; ?>" value="<?php echo $button; ?>" />
|
185 |
<?php }
|
186 |
-
|
|
|
|
|
|
|
187 |
}
|
188 |
|
189 |
/**
|
50 |
$this->core = mycred_get_settings();
|
51 |
|
52 |
// Apply Whitelabeling
|
53 |
+
$this->label = mycred_label();
|
54 |
$this->title = strip_tags( $this->label );
|
55 |
$this->status_txt = 'Paid using ' . strip_tags( $this->label );
|
56 |
|
183 |
<?php } else { ?>
|
184 |
<input type="submit" class="em-booking-submit em-gateway-button" id="em-gateway-button-<?php echo $this->gateway; ?>" value="<?php echo $button; ?>" />
|
185 |
<?php }
|
186 |
+
$output = ob_get_contents();
|
187 |
+
ob_end_clean();
|
188 |
+
|
189 |
+
return $output;
|
190 |
}
|
191 |
|
192 |
/**
|
addons/gateway/event-booking/mycred-eventsmanager.php
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
<?php
|
2 |
-
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
|
|
3 |
/**
|
4 |
* Events Manager
|
5 |
* @since 1.2
|
6 |
-
* @version 1.
|
7 |
*/
|
8 |
-
if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' ) ) {
|
9 |
class myCRED_Events_Manager_Gateway {
|
10 |
|
11 |
public $label = '';
|
@@ -46,7 +47,7 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
46 |
$this->core = mycred_get_settings();
|
47 |
|
48 |
// Apply Whitelabeling
|
49 |
-
$this->label =
|
50 |
}
|
51 |
|
52 |
/**
|
@@ -60,7 +61,7 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
60 |
add_action( 'em_options_save', array( $this, 'save_settings' ) );
|
61 |
|
62 |
// In case gateway has not yet been enabled bail here.
|
63 |
-
if (
|
64 |
|
65 |
// Currency
|
66 |
add_filter( 'em_get_currencies', array( $this, 'add_currency' ) );
|
@@ -90,11 +91,11 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
90 |
*/
|
91 |
public function add_currency( $currencies ) {
|
92 |
$currencies->names['XMY'] = $this->core->plural();
|
93 |
-
if ( empty( $this->core->before ) && !empty( $this->core->after ) ) {
|
94 |
$currencies->symbols['XMY'] = $this->core->after;
|
95 |
$currencies->symbols['XMY'] = $this->core->after;
|
96 |
}
|
97 |
-
elseif ( !empty( $this->core->before ) && empty( $this->core->after ) ) {
|
98 |
$currencies->true_symbols['XMY'] = $this->core->before;
|
99 |
$currencies->true_symbols['XMY'] = $this->core->after;
|
100 |
}
|
@@ -105,10 +106,13 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
105 |
/**
|
106 |
* Format Price
|
107 |
* @since 1.2
|
108 |
-
* @version 1.
|
109 |
*/
|
110 |
public function format_price( $formatted_price, $price, $currency, $format ) {
|
111 |
-
|
|
|
|
|
|
|
112 |
}
|
113 |
|
114 |
/**
|
@@ -136,7 +140,7 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
136 |
* Can Pay Check
|
137 |
* Checks if the user can pay for their booking.
|
138 |
* @since 1.2
|
139 |
-
* @version 1.
|
140 |
*/
|
141 |
public function can_pay( $EM_Booking ) {
|
142 |
$EM_Event = $EM_Booking->get_event();
|
@@ -144,7 +148,7 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
144 |
if ( $EM_Event->is_free() ) return false;
|
145 |
|
146 |
// Only pending events can be paid for
|
147 |
-
if ( $
|
148 |
$balance = $this->core->get_users_cred( $EM_Booking->person->ID );
|
149 |
if ( $balance <= 0 ) return false;
|
150 |
|
@@ -193,7 +197,7 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
193 |
check_ajax_referer( 'mycred-pay-booking', 'token' );
|
194 |
|
195 |
// Requirements
|
196 |
-
if ( !isset( $_POST['booking_id'] ) || !is_user_logged_in() ) die( 'ERROR_1' );
|
197 |
|
198 |
// Get Booking
|
199 |
$booking_id = $_POST['booking_id'];
|
@@ -203,7 +207,7 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
203 |
if ( $this->core->exclude_user( $booking->person->ID ) ) die( 'ERROR_2' );
|
204 |
|
205 |
// User can not pay for this
|
206 |
-
if (
|
207 |
$message = $this->prefs['messages']['error'];
|
208 |
$status = 'ERROR';
|
209 |
|
@@ -211,7 +215,7 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
211 |
do_action( 'mycred_em_booking_cantpay', $booking, $this );
|
212 |
}
|
213 |
// User has not yet paid
|
214 |
-
elseif (
|
215 |
// Price
|
216 |
$price = $this->core->number( $booking->booking_price );
|
217 |
if ( !$this->single_currency() ) {
|
@@ -311,7 +315,7 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
311 |
* @version 1.0
|
312 |
*/
|
313 |
public function ticket_columns( $columns, $EM_Event ) {
|
314 |
-
if (
|
315 |
unset( $columns['price'] );
|
316 |
unset( $columns['type'] );
|
317 |
unset( $columns['spaces'] );
|
@@ -366,19 +370,21 @@ if ( !class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' )
|
|
366 |
/**
|
367 |
* Payment Box
|
368 |
* @since 1.2
|
369 |
-
* @version 1.
|
370 |
*/
|
371 |
public function payment_box( $EM_Booking ) {
|
372 |
-
if ( $
|
373 |
$balance = $this->core->get_users_cred( $EM_Booking->person->ID );
|
374 |
if ( $balance <= 0 ) return;
|
375 |
|
376 |
$price = $EM_Booking->booking_price;
|
377 |
if ( $price == 0 ) return;
|
378 |
-
if (
|
379 |
$exchange_rate = $this->prefs['rate'];
|
380 |
$price = $this->core->number( $exchange_rate*$price );
|
381 |
-
}
|
|
|
|
|
382 |
|
383 |
<tr id="mycred-payment-<?php echo $EM_Booking->booking_id; ?>" style="display: none;">
|
384 |
<td colspan="5">
|
@@ -623,7 +629,7 @@ jQuery(function($){
|
|
623 |
* @version 1.1
|
624 |
*/
|
625 |
public function save_settings() {
|
626 |
-
if ( !isset( $_POST['mycred_gateway'] ) || !is_array( $_POST['mycred_gateway'] ) ) return;
|
627 |
|
628 |
// Prep
|
629 |
$data = $_POST['mycred_gateway'];
|
1 |
<?php
|
2 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
3 |
+
|
4 |
/**
|
5 |
* Events Manager
|
6 |
* @since 1.2
|
7 |
+
* @version 1.1
|
8 |
*/
|
9 |
+
if ( ! class_exists( 'myCRED_Events_Manager_Gateway' ) && defined( 'EM_VERSION' ) ) {
|
10 |
class myCRED_Events_Manager_Gateway {
|
11 |
|
12 |
public $label = '';
|
47 |
$this->core = mycred_get_settings();
|
48 |
|
49 |
// Apply Whitelabeling
|
50 |
+
$this->label = mycred_label();
|
51 |
}
|
52 |
|
53 |
/**
|
61 |
add_action( 'em_options_save', array( $this, 'save_settings' ) );
|
62 |
|
63 |
// In case gateway has not yet been enabled bail here.
|
64 |
+
if ( ! $this->use_gateway() ) return;
|
65 |
|
66 |
// Currency
|
67 |
add_filter( 'em_get_currencies', array( $this, 'add_currency' ) );
|
91 |
*/
|
92 |
public function add_currency( $currencies ) {
|
93 |
$currencies->names['XMY'] = $this->core->plural();
|
94 |
+
if ( empty( $this->core->before ) && ! empty( $this->core->after ) ) {
|
95 |
$currencies->symbols['XMY'] = $this->core->after;
|
96 |
$currencies->symbols['XMY'] = $this->core->after;
|
97 |
}
|
98 |
+
elseif ( ! empty( $this->core->before ) && empty( $this->core->after ) ) {
|
99 |
$currencies->true_symbols['XMY'] = $this->core->before;
|
100 |
$currencies->true_symbols['XMY'] = $this->core->after;
|
101 |
}
|
106 |
/**
|
107 |
* Format Price
|
108 |
* @since 1.2
|
109 |
+
* @version 1.1
|
110 |
*/
|
111 |
public function format_price( $formatted_price, $price, $currency, $format ) {
|
112 |
+
if ( $currency == 'XMY' )
|
113 |
+
return $this->core->format_creds( $price );
|
114 |
+
|
115 |
+
return $formatted_price;
|
116 |
}
|
117 |
|
118 |
/**
|
140 |
* Can Pay Check
|
141 |
* Checks if the user can pay for their booking.
|
142 |
* @since 1.2
|
143 |
+
* @version 1.1
|
144 |
*/
|
145 |
public function can_pay( $EM_Booking ) {
|
146 |
$EM_Event = $EM_Booking->get_event();
|
148 |
if ( $EM_Event->is_free() ) return false;
|
149 |
|
150 |
// Only pending events can be paid for
|
151 |
+
if ( $EM_Event->get_bookings()->has_open_time() ) {
|
152 |
$balance = $this->core->get_users_cred( $EM_Booking->person->ID );
|
153 |
if ( $balance <= 0 ) return false;
|
154 |
|
197 |
check_ajax_referer( 'mycred-pay-booking', 'token' );
|
198 |
|
199 |
// Requirements
|
200 |
+
if ( ! isset( $_POST['booking_id'] ) || ! is_user_logged_in() ) die( 'ERROR_1' );
|
201 |
|
202 |
// Get Booking
|
203 |
$booking_id = $_POST['booking_id'];
|
207 |
if ( $this->core->exclude_user( $booking->person->ID ) ) die( 'ERROR_2' );
|
208 |
|
209 |
// User can not pay for this
|
210 |
+
if ( ! $this->can_pay( $booking ) ) {
|
211 |
$message = $this->prefs['messages']['error'];
|
212 |
$status = 'ERROR';
|
213 |
|
215 |
do_action( 'mycred_em_booking_cantpay', $booking, $this );
|
216 |
}
|
217 |
// User has not yet paid
|
218 |
+
elseif ( ! $this->has_paid( $booking ) ) {
|
219 |
// Price
|
220 |
$price = $this->core->number( $booking->booking_price );
|
221 |
if ( !$this->single_currency() ) {
|
315 |
* @version 1.0
|
316 |
*/
|
317 |
public function ticket_columns( $columns, $EM_Event ) {
|
318 |
+
if ( ! $EM_Event->is_free() ) {
|
319 |
unset( $columns['price'] );
|
320 |
unset( $columns['type'] );
|
321 |
unset( $columns['spaces'] );
|
370 |
/**
|
371 |
* Payment Box
|
372 |
* @since 1.2
|
373 |
+
* @version 1.1
|
374 |
*/
|
375 |
public function payment_box( $EM_Booking ) {
|
376 |
+
if ( $EM_Event->get_bookings()->has_open_time() && ! $EM_Event->is_free() ) {
|
377 |
$balance = $this->core->get_users_cred( $EM_Booking->person->ID );
|
378 |
if ( $balance <= 0 ) return;
|
379 |
|
380 |
$price = $EM_Booking->booking_price;
|
381 |
if ( $price == 0 ) return;
|
382 |
+
if ( ! $this->single_currency() ) {
|
383 |
$exchange_rate = $this->prefs['rate'];
|
384 |
$price = $this->core->number( $exchange_rate*$price );
|
385 |
+
}
|
386 |
+
if ( $balance-$price < 0 ) return;
|
387 |
+
?>
|
388 |
|
389 |
<tr id="mycred-payment-<?php echo $EM_Booking->booking_id; ?>" style="display: none;">
|
390 |
<td colspan="5">
|
629 |
* @version 1.1
|
630 |
*/
|
631 |
public function save_settings() {
|
632 |
+
if ( ! isset( $_POST['mycred_gateway'] ) || ! is_array( $_POST['mycred_gateway'] ) ) return;
|
633 |
|
634 |
// Prep
|
635 |
$data = $_POST['mycred_gateway'];
|
addons/import/myCRED-addon-import.php
CHANGED
@@ -463,7 +463,7 @@ if ( !class_exists( 'myCRED_Import' ) ) {
|
|
463 |
|
464 |
<div class="wrap list" id="myCRED-wrap">
|
465 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
466 |
-
<h2><?php echo
|
467 |
<?php
|
468 |
// Errors
|
469 |
if ( !empty( $this->errors ) ) {
|
463 |
|
464 |
<div class="wrap list" id="myCRED-wrap">
|
465 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
466 |
+
<h2><?php echo sprintf( __( '%s Import', 'mycred' ), mycred_label() ); ?></h2>
|
467 |
<?php
|
468 |
// Errors
|
469 |
if ( !empty( $this->errors ) ) {
|
addons/ranks/includes/mycred-rank-functions.php
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
<?php
|
2 |
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
|
|
3 |
/**
|
4 |
* Have Ranks
|
5 |
* Checks if there are any rank posts.
|
@@ -12,22 +13,27 @@ if ( ! function_exists( 'mycred_have_ranks' ) ) {
|
|
12 |
global $mycred_ranks, $wpdb;
|
13 |
$mycred_ranks = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->posts} WHERE post_type = 'mycred_rank';" );
|
14 |
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
17 |
}
|
18 |
}
|
19 |
|
20 |
/**
|
21 |
* Have Published Ranks
|
22 |
* Checks if there are any published rank posts.
|
23 |
-
* @returns (
|
24 |
* @since 1.3.2
|
25 |
-
* @version 1.
|
26 |
*/
|
27 |
if ( ! function_exists( 'mycred_get_published_ranks' ) ) {
|
28 |
function mycred_get_published_ranks() {
|
29 |
global $wpdb;
|
30 |
-
|
|
|
|
|
31 |
}
|
32 |
}
|
33 |
|
@@ -37,12 +43,22 @@ if ( ! function_exists( 'mycred_get_published_ranks' ) ) {
|
|
37 |
* appropriate ranks.
|
38 |
* @returns (int) number of users effected by rank change or -1 if all users were effected.
|
39 |
* @since 1.3.2
|
40 |
-
* @version 1.
|
41 |
*/
|
42 |
if ( ! function_exists( 'mycred_assign_ranks' ) ) {
|
43 |
function mycred_assign_ranks() {
|
44 |
global $mycred_ranks, $wpdb;
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
// Check for published ranks
|
47 |
$published_ranks = mycred_get_published_ranks();
|
48 |
|
@@ -73,10 +89,10 @@ if ( ! function_exists( 'mycred_assign_ranks' ) ) {
|
|
73 |
)
|
74 |
);
|
75 |
*/
|
76 |
-
$users = $wpdb->get_results( "
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
|
81 |
/*
|
82 |
Get rank ids with each ranks min and max values
|
@@ -89,11 +105,14 @@ if ( ! function_exists( 'mycred_assign_ranks' ) ) {
|
|
89 |
);
|
90 |
*/
|
91 |
$ranks = $wpdb->get_results( "
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
97 |
|
98 |
$count = 0;
|
99 |
foreach ( $users as $user ) {
|
@@ -117,6 +136,8 @@ if ( ! function_exists( 'mycred_assign_ranks' ) ) {
|
|
117 |
// nothing to do when there are no ranks
|
118 |
return 0;
|
119 |
}
|
|
|
|
|
120 |
}
|
121 |
}
|
122 |
|
@@ -128,14 +149,17 @@ if ( ! function_exists( 'mycred_assign_ranks' ) ) {
|
|
128 |
* @uses get_page_by_title()
|
129 |
* @returns empty string if title is missing, NULL if rank is not found else the output type
|
130 |
* @since 1.1
|
131 |
-
* @version 1.
|
132 |
*/
|
133 |
if ( ! function_exists( 'mycred_get_rank' ) ) {
|
134 |
function mycred_get_rank( $rank_title = '', $format = 'OBJECT' ) {
|
135 |
if ( empty( $rank_title ) ) return $rank_title;
|
136 |
-
|
|
|
|
|
137 |
}
|
138 |
}
|
|
|
139 |
/**
|
140 |
* Get Users Rank
|
141 |
* Retreaves the users current saved rank or if rank is missing
|
@@ -148,27 +172,48 @@ if ( ! function_exists( 'mycred_get_rank' ) ) {
|
|
148 |
* @uses get_the_title()
|
149 |
* @returns (string) rank object item requested or - if no ranks exists
|
150 |
* @since 1.1
|
151 |
-
* @version 1.
|
152 |
*/
|
153 |
if ( ! function_exists( 'mycred_get_users_rank' ) ) {
|
154 |
function mycred_get_users_rank( $user_id = NULL, $return = 'post_title', $logo_size = 'post-thumbnail', $attr = NULL ) {
|
155 |
-
|
|
|
|
|
|
|
|
|
156 |
$rank_id = get_user_meta( $user_id, 'mycred_rank', true );
|
157 |
-
|
|
|
|
|
158 |
$rank = mycred_find_users_rank( $user_id, true );
|
159 |
$rank_id = mycred_get_rank_id_from_title( $rank );
|
160 |
}
|
161 |
-
|
162 |
-
if ( $return == 'logo' )
|
163 |
-
return mycred_get_rank_logo( $rank_id, $logo_size, $attr );
|
164 |
|
165 |
-
$
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
}
|
171 |
}
|
|
|
172 |
/**
|
173 |
* Find Users Rank
|
174 |
* Compares the given users points balance with existing ranks to determain
|
@@ -191,11 +236,30 @@ if ( ! function_exists( 'mycred_find_users_rank' ) ) {
|
|
191 |
// Check for exclusion
|
192 |
if ( $mycred->exclude_user( $user_id ) ) return;
|
193 |
|
194 |
-
//
|
195 |
if ( $user_id === NULL )
|
196 |
-
$
|
197 |
-
|
198 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
|
200 |
// The new balance before it is saved
|
201 |
$balance = $mycred->number( $balance+$amount );
|
@@ -210,9 +274,10 @@ if ( ! function_exists( 'mycred_find_users_rank' ) ) {
|
|
210 |
if ( $mycred_ranks == 1 ) {
|
211 |
// Get this rank
|
212 |
$rank = $wpdb->get_row( "
|
213 |
-
|
214 |
-
|
215 |
-
|
|
|
216 |
|
217 |
$rank_id = $rank->ID;
|
218 |
$rank_title = $rank->post_title;
|
@@ -232,16 +297,22 @@ if ( ! function_exists( 'mycred_find_users_rank' ) ) {
|
|
232 |
);
|
233 |
*/
|
234 |
$ranks = $wpdb->get_results( "
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
|
|
|
|
|
|
|
|
240 |
|
|
|
|
|
241 |
// Loop though each rank
|
242 |
foreach ( $ranks as $rank ) {
|
243 |
// If balance fits break with this ranks details
|
244 |
-
if ( $
|
245 |
$rank_id = $rank['ID'];
|
246 |
$rank_title = $rank['title'];
|
247 |
break;
|
@@ -249,17 +320,28 @@ if ( ! function_exists( 'mycred_find_users_rank' ) ) {
|
|
249 |
}
|
250 |
unset( $ranks );
|
251 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
|
|
|
|
|
|
|
|
|
253 |
// Save if requested
|
254 |
if ( $save && $rank_id != 0 )
|
255 |
update_user_meta( $user_id, 'mycred_rank', $rank_id );
|
256 |
|
257 |
-
|
258 |
-
do_action( 'mycred_find_users_rank', $user_id, $rank_id );
|
259 |
-
|
260 |
-
return $rank_title;
|
261 |
}
|
262 |
}
|
|
|
263 |
/**
|
264 |
* Get Rank ID from Title
|
265 |
* Used to get the rank object based on the ranks title.
|
@@ -267,15 +349,20 @@ if ( ! function_exists( 'mycred_find_users_rank' ) ) {
|
|
267 |
* @uses mycred_get_rank()
|
268 |
* @returns empty (string) if title is missing, NULL if rank is not found else (string) the rank.
|
269 |
* @since 1.1
|
270 |
-
* @version 1.
|
271 |
*/
|
272 |
if ( ! function_exists( 'mycred_get_rank_id_from_title' ) ) {
|
273 |
function mycred_get_rank_id_from_title( $title ) {
|
274 |
$rank = mycred_get_rank( $title );
|
275 |
-
if (
|
276 |
-
|
|
|
|
|
|
|
|
|
277 |
}
|
278 |
}
|
|
|
279 |
/**
|
280 |
* Get My Rank
|
281 |
* Returns the current users rank
|
@@ -287,6 +374,7 @@ if ( ! function_exists( 'mycred_get_my_rank' ) ) {
|
|
287 |
return mycred_get_users_rank( get_current_user_id() );
|
288 |
}
|
289 |
}
|
|
|
290 |
/**
|
291 |
* Get Ranks
|
292 |
* Returns an associative array of ranks with the given status.
|
@@ -296,31 +384,46 @@ if ( ! function_exists( 'mycred_get_my_rank' ) ) {
|
|
296 |
* @uses WP_Query()
|
297 |
* @returns (array) empty if no ranks are found or associative array with post ID as key and title as value
|
298 |
* @since 1.1
|
299 |
-
* @version 1.
|
300 |
*/
|
301 |
if ( ! function_exists( 'mycred_get_ranks' ) ) {
|
302 |
function mycred_get_ranks( $status = 'publish', $number = '-1', $order = 'DESC' ) {
|
303 |
-
$
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
)
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
}
|
319 |
-
|
320 |
-
|
321 |
-
return $all_ranks;
|
322 |
}
|
323 |
}
|
|
|
324 |
/**
|
325 |
* Get Users of Rank
|
326 |
* Returns an associative array of user IDs and display names of users for a given
|
@@ -333,20 +436,22 @@ if ( ! function_exists( 'mycred_get_ranks' ) ) {
|
|
333 |
*/
|
334 |
if ( ! function_exists( 'mycred_get_users_of_rank' ) ) {
|
335 |
function mycred_get_users_of_rank( $rank_id, $number = NULL, $order = 'DESC' ) {
|
336 |
-
if ( !is_numeric( $rank_id ) )
|
337 |
$rank_id = mycred_get_rank_id_from_title( $rank_id );
|
338 |
-
|
339 |
if ( $rank_id === NULL ) return '';
|
340 |
|
341 |
global $wpdb;
|
342 |
|
343 |
$sql = "
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
|
|
|
|
350 |
// Order
|
351 |
if ( $order == 'ASC' )
|
352 |
$sql .= ' ASC';
|
@@ -363,9 +468,10 @@ if ( ! function_exists( 'mycred_get_users_of_rank' ) ) {
|
|
363 |
$users = $wpdb->get_results( $wpdb->prepare( $sql, $rank_id ), 'ARRAY_A' );
|
364 |
$wpdb->flush();
|
365 |
|
366 |
-
return $users;
|
367 |
}
|
368 |
}
|
|
|
369 |
/**
|
370 |
* Rank Has Logo
|
371 |
* Checks if a given rank has a logo.
|
@@ -374,17 +480,21 @@ if ( ! function_exists( 'mycred_get_users_of_rank' ) ) {
|
|
374 |
* @uses has_post_thumbnail()
|
375 |
* @returns (bool) true or false
|
376 |
* @since 1.1
|
377 |
-
* @version 1.
|
378 |
*/
|
379 |
if ( ! function_exists( 'mycred_rank_has_logo' ) ) {
|
380 |
function mycred_rank_has_logo( $rank_id ) {
|
381 |
-
if ( !is_numeric( $rank_id ) )
|
382 |
$rank_id = mycred_get_rank_id_from_title( $rank_id );
|
383 |
|
384 |
-
|
385 |
-
|
|
|
|
|
|
|
386 |
}
|
387 |
}
|
|
|
388 |
/**
|
389 |
* Get Rank Logo
|
390 |
* Returns the given ranks logo.
|
@@ -396,19 +506,62 @@ if ( ! function_exists( 'mycred_rank_has_logo' ) ) {
|
|
396 |
* @uses get_the_post_thumbnail()
|
397 |
* @returns empty string if rank does not that logo or the HTML IMG element with given size and attribute
|
398 |
* @since 1.1
|
399 |
-
* @version 1.
|
400 |
*/
|
401 |
if ( ! function_exists( 'mycred_get_rank_logo' ) ) {
|
402 |
function mycred_get_rank_logo( $rank_id, $size = 'post-thumbnail', $attr = NULL ) {
|
403 |
-
if ( !is_numeric( $rank_id ) )
|
404 |
$rank_id = mycred_get_rank_id_from_title( $rank_id );
|
405 |
|
406 |
-
if ( !mycred_rank_has_logo( $rank_id ) ) return '';
|
407 |
-
|
408 |
if ( is_numeric( $size ) )
|
409 |
$size = array( $size, $size );
|
410 |
|
411 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
}
|
413 |
}
|
414 |
?>
|
1 |
<?php
|
2 |
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
3 |
+
|
4 |
/**
|
5 |
* Have Ranks
|
6 |
* Checks if there are any rank posts.
|
13 |
global $mycred_ranks, $wpdb;
|
14 |
$mycred_ranks = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->posts} WHERE post_type = 'mycred_rank';" );
|
15 |
|
16 |
+
$return = false;
|
17 |
+
if ( $mycred_ranks > 0 )
|
18 |
+
$return = true;
|
19 |
+
|
20 |
+
return apply_filters( 'mycred_have_ranks', $return, $mycred_ranks );
|
21 |
}
|
22 |
}
|
23 |
|
24 |
/**
|
25 |
* Have Published Ranks
|
26 |
* Checks if there are any published rank posts.
|
27 |
+
* @returns (int) the number of published ranks found.
|
28 |
* @since 1.3.2
|
29 |
+
* @version 1.1
|
30 |
*/
|
31 |
if ( ! function_exists( 'mycred_get_published_ranks' ) ) {
|
32 |
function mycred_get_published_ranks() {
|
33 |
global $wpdb;
|
34 |
+
$count = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->posts} WHERE post_type = 'mycred_rank' AND post_status = 'publish';" );
|
35 |
+
|
36 |
+
return apply_filters( 'mycred_get_published_ranks', $count );
|
37 |
}
|
38 |
}
|
39 |
|
43 |
* appropriate ranks.
|
44 |
* @returns (int) number of users effected by rank change or -1 if all users were effected.
|
45 |
* @since 1.3.2
|
46 |
+
* @version 1.1
|
47 |
*/
|
48 |
if ( ! function_exists( 'mycred_assign_ranks' ) ) {
|
49 |
function mycred_assign_ranks() {
|
50 |
global $mycred_ranks, $wpdb;
|
51 |
|
52 |
+
$mycred = mycred_get_settings();
|
53 |
+
|
54 |
+
// Get key
|
55 |
+
if ( $mycred->rank['base'] == 'total' )
|
56 |
+
$key = $mycred->get_cred_id() . '_total';
|
57 |
+
else
|
58 |
+
$key = $mycred->get_cred_id();
|
59 |
+
|
60 |
+
do_action( 'mycred_assign_ranks_start' );
|
61 |
+
|
62 |
// Check for published ranks
|
63 |
$published_ranks = mycred_get_published_ranks();
|
64 |
|
89 |
)
|
90 |
);
|
91 |
*/
|
92 |
+
$users = $wpdb->get_results( $wpdb->prepare( "
|
93 |
+
SELECT user_id AS ID, meta_value AS balance
|
94 |
+
FROM {$wpdb->usermeta}
|
95 |
+
WHERE meta_key = %s;", $key ), 'ARRAY_A' );
|
96 |
|
97 |
/*
|
98 |
Get rank ids with each ranks min and max values
|
105 |
);
|
106 |
*/
|
107 |
$ranks = $wpdb->get_results( "
|
108 |
+
SELECT rank.ID AS ID, min.meta_value AS min, max.meta_value AS max
|
109 |
+
FROM {$wpdb->posts} rank
|
110 |
+
INNER JOIN {$wpdb->postmeta} min
|
111 |
+
ON ( min.post_id = rank.ID AND min.meta_key = 'mycred_rank_min' )
|
112 |
+
INNER JOIN {$wpdb->postmeta} max
|
113 |
+
ON ( max.post_id = rank.ID AND max.meta_key = 'mycred_rank_max' )
|
114 |
+
WHERE rank.post_type = 'mycred_rank'
|
115 |
+
AND rank.post_status = 'publish';", 'ARRAY_A' );
|
116 |
|
117 |
$count = 0;
|
118 |
foreach ( $users as $user ) {
|
136 |
// nothing to do when there are no ranks
|
137 |
return 0;
|
138 |
}
|
139 |
+
|
140 |
+
do_action( 'mycred_assign_ranks_end' );
|
141 |
}
|
142 |
}
|
143 |
|
149 |
* @uses get_page_by_title()
|
150 |
* @returns empty string if title is missing, NULL if rank is not found else the output type
|
151 |
* @since 1.1
|
152 |
+
* @version 1.2
|
153 |
*/
|
154 |
if ( ! function_exists( 'mycred_get_rank' ) ) {
|
155 |
function mycred_get_rank( $rank_title = '', $format = 'OBJECT' ) {
|
156 |
if ( empty( $rank_title ) ) return $rank_title;
|
157 |
+
$rank = get_page_by_title( $rank_title, $format, 'mycred_rank' );
|
158 |
+
|
159 |
+
return apply_filters( 'mycred_get_rank', $rank, $rank_title, $format );
|
160 |
}
|
161 |
}
|
162 |
+
|
163 |
/**
|
164 |
* Get Users Rank
|
165 |
* Retreaves the users current saved rank or if rank is missing
|
172 |
* @uses get_the_title()
|
173 |
* @returns (string) rank object item requested or - if no ranks exists
|
174 |
* @since 1.1
|
175 |
+
* @version 1.1
|
176 |
*/
|
177 |
if ( ! function_exists( 'mycred_get_users_rank' ) ) {
|
178 |
function mycred_get_users_rank( $user_id = NULL, $return = 'post_title', $logo_size = 'post-thumbnail', $attr = NULL ) {
|
179 |
+
// User ID is required
|
180 |
+
if ( $user_id === NULL )
|
181 |
+
return __( 'mycred_get_users_rank() : Missing required user id', 'mycred' );
|
182 |
+
|
183 |
+
// Get users rank
|
184 |
$rank_id = get_user_meta( $user_id, 'mycred_rank', true );
|
185 |
+
|
186 |
+
// If empty, get the users rank now and save it
|
187 |
+
if ( empty( $rank_id ) ) {
|
188 |
$rank = mycred_find_users_rank( $user_id, true );
|
189 |
$rank_id = mycred_get_rank_id_from_title( $rank );
|
190 |
}
|
|
|
|
|
|
|
191 |
|
192 |
+
$reply = __( 'no rank', 'mycred' );
|
193 |
+
|
194 |
+
// Have rank
|
195 |
+
if ( ! empty( $rank_id ) ) {
|
196 |
+
|
197 |
+
// If we want to see the logo
|
198 |
+
if ( $return == 'logo' )
|
199 |
+
$reply = mycred_get_rank_logo( (int) $rank_id, $logo_size, $attr );
|
200 |
+
|
201 |
+
// Else get the post object
|
202 |
+
else {
|
203 |
+
// Get rank post object
|
204 |
+
$rank = get_post( (int) $rank_id );
|
205 |
+
|
206 |
+
// If the requested detail exists, return it
|
207 |
+
if ( isset( $rank->$return ) )
|
208 |
+
$reply = $rank->$return;
|
209 |
+
}
|
210 |
+
|
211 |
+
}
|
212 |
+
|
213 |
+
return apply_filters( 'mycred_get_users_rank', $reply, $user_id, $return, $logo_size );
|
214 |
}
|
215 |
}
|
216 |
+
|
217 |
/**
|
218 |
* Find Users Rank
|
219 |
* Compares the given users points balance with existing ranks to determain
|
236 |
// Check for exclusion
|
237 |
if ( $mycred->exclude_user( $user_id ) ) return;
|
238 |
|
239 |
+
// In case user id is not set
|
240 |
if ( $user_id === NULL )
|
241 |
+
$user_id = get_current_user_id();
|
242 |
+
|
243 |
+
// In case the type is not set
|
244 |
+
if ( empty( $type ) ) {
|
245 |
+
switch ( $mycred->rank['base'] ) {
|
246 |
+
case 'total' :
|
247 |
+
$type = $mycred->get_cred_id() . '_total';
|
248 |
+
break;
|
249 |
+
|
250 |
+
default :
|
251 |
+
$type = $mycred->get_cred_id();
|
252 |
+
break;
|
253 |
+
}
|
254 |
+
}
|
255 |
+
|
256 |
+
// Get the balance as get_user_meta() will return the previous value if it was just
|
257 |
+
// changed.
|
258 |
+
$balance = $wpdb->get_var( $wpdb->prepare( "
|
259 |
+
SELECT meta_value
|
260 |
+
FROM {$wpdb->usermeta}
|
261 |
+
WHERE user_id = %d
|
262 |
+
AND meta_key = %s;", $user_id, $type ) );
|
263 |
|
264 |
// The new balance before it is saved
|
265 |
$balance = $mycred->number( $balance+$amount );
|
274 |
if ( $mycred_ranks == 1 ) {
|
275 |
// Get this rank
|
276 |
$rank = $wpdb->get_row( "
|
277 |
+
SELECT ID, post_title
|
278 |
+
FROM {$wpdb->posts}
|
279 |
+
WHERE post_type = 'mycred_rank'
|
280 |
+
AND post_status = 'publish';" );
|
281 |
|
282 |
$rank_id = $rank->ID;
|
283 |
$rank_title = $rank->post_title;
|
297 |
);
|
298 |
*/
|
299 |
$ranks = $wpdb->get_results( "
|
300 |
+
SELECT rank.ID AS ID, rank.post_title AS title, min.meta_value AS min, max.meta_value AS max
|
301 |
+
FROM {$wpdb->posts} rank
|
302 |
+
INNER JOIN {$wpdb->postmeta} min
|
303 |
+
ON ( min.post_id = rank.ID AND min.meta_key = 'mycred_rank_min' )
|
304 |
+
INNER JOIN {$wpdb->postmeta} max
|
305 |
+
ON ( max.post_id = rank.ID AND max.meta_key = 'mycred_rank_max' )
|
306 |
+
WHERE post_type = 'mycred_rank'
|
307 |
+
AND post_status = 'publish'
|
308 |
+
ORDER BY ID;", 'ARRAY_A' );
|
309 |
|
310 |
+
arsort( $ranks );
|
311 |
+
|
312 |
// Loop though each rank
|
313 |
foreach ( $ranks as $rank ) {
|
314 |
// If balance fits break with this ranks details
|
315 |
+
if ( $balance >= $mycred->number( $rank['min'] ) ) {
|
316 |
$rank_id = $rank['ID'];
|
317 |
$rank_title = $rank['title'];
|
318 |
break;
|
320 |
}
|
321 |
unset( $ranks );
|
322 |
}
|
323 |
+
$wpdb->flush();
|
324 |
+
|
325 |
+
// Let others play
|
326 |
+
if ( $rank_id != 0 ) {
|
327 |
+
if ( mycred_user_got_demoted( $user_id, $rank_id ) )
|
328 |
+
do_action( 'mycred_user_got_demoted', $user_id, $rank_id );
|
329 |
+
|
330 |
+
elseif ( mycred_user_got_promoted( $user_id, $rank_id ) )
|
331 |
+
do_action( 'mycred_user_got_promoted', $user_id, $rank_id );
|
332 |
|
333 |
+
else
|
334 |
+
do_action( 'mycred_find_users_rank', $user_id, $rank_id );
|
335 |
+
}
|
336 |
+
|
337 |
// Save if requested
|
338 |
if ( $save && $rank_id != 0 )
|
339 |
update_user_meta( $user_id, 'mycred_rank', $rank_id );
|
340 |
|
341 |
+
return apply_filters( 'mycred_find_users_rank', $rank_title, $rank_id, $user_id, $save, $amount, $type );
|
|
|
|
|
|
|
342 |
}
|
343 |
}
|
344 |
+
|
345 |
/**
|
346 |
* Get Rank ID from Title
|
347 |
* Used to get the rank object based on the ranks title.
|
349 |
* @uses mycred_get_rank()
|
350 |
* @returns empty (string) if title is missing, NULL if rank is not found else (string) the rank.
|
351 |
* @since 1.1
|
352 |
+
* @version 1.1
|
353 |
*/
|
354 |
if ( ! function_exists( 'mycred_get_rank_id_from_title' ) ) {
|
355 |
function mycred_get_rank_id_from_title( $title ) {
|
356 |
$rank = mycred_get_rank( $title );
|
357 |
+
if ( ! isset( $rank->ID ) )
|
358 |
+
$return = '';
|
359 |
+
else
|
360 |
+
$return = $rank->ID;
|
361 |
+
|
362 |
+
return apply_filters( 'mycred_get_rank_id_from_title', $return, $title );
|
363 |
}
|
364 |
}
|
365 |
+
|
366 |
/**
|
367 |
* Get My Rank
|
368 |
* Returns the current users rank
|
374 |
return mycred_get_users_rank( get_current_user_id() );
|
375 |
}
|
376 |
}
|
377 |
+
|
378 |
/**
|
379 |
* Get Ranks
|
380 |
* Returns an associative array of ranks with the given status.
|
384 |
* @uses WP_Query()
|
385 |
* @returns (array) empty if no ranks are found or associative array with post ID as key and title as value
|
386 |
* @since 1.1
|
387 |
+
* @version 1.2
|
388 |
*/
|
389 |
if ( ! function_exists( 'mycred_get_ranks' ) ) {
|
390 |
function mycred_get_ranks( $status = 'publish', $number = '-1', $order = 'DESC' ) {
|
391 |
+
global $wpdb;
|
392 |
+
|
393 |
+
// Order
|
394 |
+
if ( ! in_array( $order, array( 'ASC', 'DESC' ) ) )
|
395 |
+
$order = 'DESC';
|
396 |
+
|
397 |
+
// Limit
|
398 |
+
if ( $number != '-1' )
|
399 |
+
$limit = ' 0,' . absint( $number );
|
400 |
+
else
|
401 |
+
$limit = '';
|
402 |
+
|
403 |
+
// Get ranks
|
404 |
+
$all_ranks = $wpdb->get_results( $wpdb->prepare( "
|
405 |
+
SELECT *
|
406 |
+
FROM {$wpdb->posts} ranks
|
407 |
+
INNER JOIN {$wpdb->postmeta} min
|
408 |
+
ON ( min.post_id = ranks.ID AND min.meta_key = %s )
|
409 |
+
WHERE ranks.post_type = %s
|
410 |
+
AND ranks.post_status = %s
|
411 |
+
ORDER BY min.meta_value+0 {$order} {$limit};", 'mycred_rank_min', 'mycred_rank', $status ) );
|
412 |
+
$wpdb->flush();
|
413 |
+
|
414 |
+
// Sort
|
415 |
+
$ranks = array();
|
416 |
+
if ( ! empty( $all_ranks ) ) {
|
417 |
+
|
418 |
+
foreach ( $all_ranks as $rank )
|
419 |
+
$ranks[ $rank->ID ] = $rank;
|
420 |
+
|
421 |
}
|
422 |
+
|
423 |
+
return apply_filters( 'mycred_get_ranks', $ranks, $status, $number, $order );
|
|
|
424 |
}
|
425 |
}
|
426 |
+
|
427 |
/**
|
428 |
* Get Users of Rank
|
429 |
* Returns an associative array of user IDs and display names of users for a given
|
436 |
*/
|
437 |
if ( ! function_exists( 'mycred_get_users_of_rank' ) ) {
|
438 |
function mycred_get_users_of_rank( $rank_id, $number = NULL, $order = 'DESC' ) {
|
439 |
+
if ( ! is_numeric( $rank_id ) )
|
440 |
$rank_id = mycred_get_rank_id_from_title( $rank_id );
|
441 |
+
|
442 |
if ( $rank_id === NULL ) return '';
|
443 |
|
444 |
global $wpdb;
|
445 |
|
446 |
$sql = "
|
447 |
+
SELECT rank.user_id
|
448 |
+
FROM {$wpdb->usermeta} rank
|
449 |
+
INNER JOIN {$wpdb->usermeta} balance
|
450 |
+
ON ( rank.user_id = balance.user_id AND balance.meta_key = 'mycred_default' )
|
451 |
+
WHERE rank.meta_key = 'mycred_rank'
|
452 |
+
AND rank.meta_value = %d
|
453 |
+
ORDER BY balance.meta_value+0";
|
454 |
+
|
455 |
// Order
|
456 |
if ( $order == 'ASC' )
|
457 |
$sql .= ' ASC';
|
468 |
$users = $wpdb->get_results( $wpdb->prepare( $sql, $rank_id ), 'ARRAY_A' );
|
469 |
$wpdb->flush();
|
470 |
|
471 |
+
return apply_filters( 'mycred_get_users_of_rank', $users, $rank_id, $number, $order );
|
472 |
}
|
473 |
}
|
474 |
+
|
475 |
/**
|
476 |
* Rank Has Logo
|
477 |
* Checks if a given rank has a logo.
|
480 |
* @uses has_post_thumbnail()
|
481 |
* @returns (bool) true or false
|
482 |
* @since 1.1
|
483 |
+
* @version 1.1
|
484 |
*/
|
485 |
if ( ! function_exists( 'mycred_rank_has_logo' ) ) {
|
486 |
function mycred_rank_has_logo( $rank_id ) {
|
487 |
+
if ( ! is_numeric( $rank_id ) )
|
488 |
$rank_id = mycred_get_rank_id_from_title( $rank_id );
|
489 |
|
490 |
+
$return = false;
|
491 |
+
if ( has_post_thumbnail( $rank_id ) )
|
492 |
+
$return = true;
|
493 |
+
|
494 |
+
return apply_filters( 'mycred_rank_has_logo', $return, $rank_id );
|
495 |
}
|
496 |
}
|
497 |
+
|
498 |
/**
|
499 |
* Get Rank Logo
|
500 |
* Returns the given ranks logo.
|
506 |
* @uses get_the_post_thumbnail()
|
507 |
* @returns empty string if rank does not that logo or the HTML IMG element with given size and attribute
|
508 |
* @since 1.1
|
509 |
+
* @version 1.1
|
510 |
*/
|
511 |
if ( ! function_exists( 'mycred_get_rank_logo' ) ) {
|
512 |
function mycred_get_rank_logo( $rank_id, $size = 'post-thumbnail', $attr = NULL ) {
|
513 |
+
if ( ! is_numeric( $rank_id ) )
|
514 |
$rank_id = mycred_get_rank_id_from_title( $rank_id );
|
515 |
|
516 |
+
if ( ! mycred_rank_has_logo( $rank_id ) ) return '';
|
517 |
+
|
518 |
if ( is_numeric( $size ) )
|
519 |
$size = array( $size, $size );
|
520 |
|
521 |
+
$logo = get_the_post_thumbnail( $rank_id, $size, $attr );
|
522 |
+
return apply_filters( 'mycred_get_rank_logo', $logo, $rank_id, $size, $attr );
|
523 |
+
}
|
524 |
+
}
|
525 |
+
|
526 |
+
/**
|
527 |
+
* User Got Demoted
|
528 |
+
* Checks if a user got demoted.
|
529 |
+
* @since 1.3.3
|
530 |
+
* @version 1.0
|
531 |
+
*/
|
532 |
+
if ( ! function_exists( 'mycred_user_got_demoted' ) ) {
|
533 |
+
function mycred_user_got_demoted( $user_id = NULL, $rank_id = NULL ) {
|
534 |
+
$current_rank_id = get_user_meta( $user_id, 'mycred_rank', true );
|
535 |
+
if ( $current_rank_id == $rank_id ) return false;
|
536 |
+
if ( empty( $current_rank_id ) && ! empty( $rank_id ) ) return true;
|
537 |
+
|
538 |
+
$current_min = get_post_meta( $current_rank_id, 'mycred_rank_min', true );
|
539 |
+
$new_min = get_post_meta( $rank_id, 'mycred_rank_min', true );
|
540 |
+
|
541 |
+
if ( $new_min < $current_min ) return true;
|
542 |
+
|
543 |
+
return false;
|
544 |
+
}
|
545 |
+
}
|
546 |
+
|
547 |
+
/**
|
548 |
+
* User Got Promoted
|
549 |
+
* Checks if a user got promoted.
|
550 |
+
* @since 1.3.3
|
551 |
+
* @version 1.0
|
552 |
+
*/
|
553 |
+
if ( ! function_exists( 'mycred_user_got_promoted' ) ) {
|
554 |
+
function mycred_user_got_promoted( $user_id = NULL, $rank_id = NULL ) {
|
555 |
+
$current_rank_id = get_user_meta( $user_id, 'mycred_rank', true );
|
556 |
+
if ( $current_rank_id == $rank_id ) return false;
|
557 |
+
if ( empty( $current_rank_id ) && ! empty( $rank_id ) ) return true;
|
558 |
+
|
559 |
+
$current_min = get_post_meta( $current_rank_id, 'mycred_rank_min', true );
|
560 |
+
$new_min = get_post_meta( $rank_id, 'mycred_rank_min', true );
|
561 |
+
|
562 |
+
if ( $new_min > $current_min ) return true;
|
563 |
+
|
564 |
+
return false;
|
565 |
}
|
566 |
}
|
567 |
?>
|
addons/ranks/includes/mycred-rank-shortcodes.php
CHANGED
@@ -59,7 +59,7 @@ if ( !function_exists( 'mycred_render_users_of_rank' ) ) {
|
|
59 |
|
60 |
// Rank ID required
|
61 |
if ( $rank_id === NULL )
|
62 |
-
return '<strong>' .
|
63 |
|
64 |
$mycred = mycred_get_settings();
|
65 |
// User is not logged in
|
59 |
|
60 |
// Rank ID required
|
61 |
if ( $rank_id === NULL )
|
62 |
+
return '<strong>' . __( 'error', 'mycred' ) . '</strong> ' . __( 'Rank ID is required!', 'mycred' );
|
63 |
|
64 |
$mycred = mycred_get_settings();
|
65 |
// User is not logged in
|
addons/ranks/myCRED-addon-ranks.php
CHANGED
@@ -148,28 +148,28 @@ if ( !class_exists( 'myCRED_Ranks' ) ) {
|
|
148 |
|
149 |
// First get the ids of all existing ranks
|
150 |
$rank_ids = $wpdb->get_col( "
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
|
155 |
// Delete all ranks
|
156 |
$wpdb->query( "
|
157 |
-
|
158 |
-
|
159 |
|
160 |
// Delete rank post meta
|
161 |
if ( $rank_ids ) {
|
162 |
$ids = implode( ',', $rank_ids );
|
163 |
$wpdb->query( "
|
164 |
-
|
165 |
-
|
166 |
}
|
167 |
|
168 |
// Confirm that ranks are gone
|
169 |
$rows = $wpdb->get_var( "
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
|
174 |
die( json_encode( array( 'status' => 'OK', 'rows' => $rows ) ) );
|
175 |
}
|
@@ -199,25 +199,27 @@ if ( !class_exists( 'myCRED_Ranks' ) ) {
|
|
199 |
/**
|
200 |
* Enqueue Scripts & Styles
|
201 |
* @since 1.1
|
202 |
-
* @version 1.
|
203 |
*/
|
204 |
public function enqueue_scripts() {
|
|
|
205 |
$screen = get_current_screen();
|
206 |
|
207 |
// Ranks List Page
|
208 |
-
if (
|
209 |
wp_enqueue_style( 'mycred-admin' );
|
210 |
-
|
211 |
}
|
212 |
|
213 |
// Edit Rank Page
|
214 |
-
if ( $screen->id
|
215 |
wp_enqueue_style( 'mycred-admin' );
|
216 |
wp_dequeue_script( 'autosave' );
|
|
|
217 |
}
|
218 |
|
219 |
// Insert management script
|
220 |
-
if ( $screen->id
|
221 |
wp_register_script(
|
222 |
'mycred-rank-management',
|
223 |
plugins_url( 'js/management.js', myCRED_RANKS ),
|
@@ -238,7 +240,7 @@ if ( !class_exists( 'myCRED_Ranks' ) ) {
|
|
238 |
wp_enqueue_script( 'mycred-rank-management' );
|
239 |
}
|
240 |
|
241 |
-
if (
|
242 |
<style type="text/css">
|
243 |
#icon-myCRED, .icon32-posts-mycred_email_notice, .icon32-posts-mycred_rank { background-image: url(<?php echo apply_filters( 'mycred_icon', plugins_url( 'assets/images/cred-icon32.png', myCRED_THIS ) ); ?>); }
|
244 |
</style>
|
@@ -302,7 +304,7 @@ if ( !class_exists( 'myCRED_Ranks' ) ) {
|
|
302 |
/**
|
303 |
* AJAX: Calculate Totals
|
304 |
* @since 1.2
|
305 |
-
* @version 1.
|
306 |
*/
|
307 |
public function calculate_totals() {
|
308 |
// Security
|
@@ -310,17 +312,19 @@ if ( !class_exists( 'myCRED_Ranks' ) ) {
|
|
310 |
|
311 |
global $wpdb;
|
312 |
|
313 |
-
$users = $wpdb->get_results( "
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
FROM {$this->core->log_table}
|
318 |
-
GROUP BY user_id;" );
|
319 |
|
320 |
$count = 0;
|
321 |
if ( $users ) {
|
322 |
foreach ( $users as $user ) {
|
323 |
-
|
|
|
|
|
|
|
|
|
324 |
$count = $count+1;
|
325 |
}
|
326 |
}
|
@@ -345,23 +349,41 @@ if ( !class_exists( 'myCRED_Ranks' ) ) {
|
|
345 |
* Balance Adjustment
|
346 |
* Check if users rank should change.
|
347 |
* @since 1.1
|
348 |
-
* @version 1.1
|
349 |
*/
|
350 |
public function update_balance( $reply, $request, $mycred ) {
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
//
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
}
|
366 |
|
367 |
return $reply;
|
@@ -681,6 +703,8 @@ if ( !class_exists( 'myCRED_Ranks' ) ) {
|
|
681 |
<?php echo $mycred->template_tags_general( __( 'Maximum %plural% to be included in this rank', 'mycred' ) ); ?>:<br />
|
682 |
<input type="text" name="mycred_rank[max]" id="mycred-rank-max" value="<?php echo $max; ?>" />
|
683 |
</p>
|
|
|
|
|
684 |
</div>
|
685 |
<div style="display:block;width:50%;margin:0;padding:0;float:left;">
|
686 |
<p><?php _e( 'All Published Ranks', 'mycred' ); ?>:</p>
|
@@ -693,7 +717,7 @@ if ( !class_exists( 'myCRED_Ranks' ) ) {
|
|
693 |
if ( empty( $_min ) && (int) $_min !== 0 ) $_min = __( 'Not Set', 'mycred' );
|
694 |
$_max = get_post_meta( $rank_id, 'mycred_rank_max', true );
|
695 |
if ( empty( $_max ) ) $_max = __( 'Not Set', 'mycred' );
|
696 |
-
echo '<p><strong style="display:inline-block;width:
|
697 |
}
|
698 |
}
|
699 |
else {
|
148 |
|
149 |
// First get the ids of all existing ranks
|
150 |
$rank_ids = $wpdb->get_col( "
|
151 |
+
SELECT ID
|
152 |
+
FROM {$wpdb->posts}
|
153 |
+
WHERE post_type = 'mycred_rank';" );
|
154 |
|
155 |
// Delete all ranks
|
156 |
$wpdb->query( "
|
157 |
+
DELETE FROM {$wpdb->posts}
|
158 |
+
WHERE post_type = 'mycred_rank';" );
|
159 |
|
160 |
// Delete rank post meta
|
161 |
if ( $rank_ids ) {
|
162 |
$ids = implode( ',', $rank_ids );
|
163 |
$wpdb->query( "
|
164 |
+
DELETE FROM {$wpdb->postmeta}
|
165 |
+
WHERE post_id IN ({$ids});" );
|
166 |
}
|
167 |
|
168 |
// Confirm that ranks are gone
|
169 |
$rows = $wpdb->get_var( "
|
170 |
+
SELECT COUNT(*)
|
171 |
+
FROM {$wpdb->posts}
|
172 |
+
WHERE post_type = 'mycred_rank';" );
|
173 |
|
174 |
die( json_encode( array( 'status' => 'OK', 'rows' => $rows ) ) );
|
175 |
}
|
199 |
/**
|
200 |
* Enqueue Scripts & Styles
|
201 |
* @since 1.1
|
202 |
+
* @version 1.2
|
203 |
*/
|
204 |
public function enqueue_scripts() {
|
205 |
+
$adjust_header = false;
|
206 |
$screen = get_current_screen();
|
207 |
|
208 |
// Ranks List Page
|
209 |
+
if ( preg_match( '/(edit-mycred_rank)/', $screen->id, $matches ) ) {
|
210 |
wp_enqueue_style( 'mycred-admin' );
|
211 |
+
$adjust_header = true;
|
212 |
}
|
213 |
|
214 |
// Edit Rank Page
|
215 |
+
if ( preg_match( '/(mycred_rank)/', $screen->id, $matches ) ) {
|
216 |
wp_enqueue_style( 'mycred-admin' );
|
217 |
wp_dequeue_script( 'autosave' );
|
218 |
+
$adjust_header = true;
|
219 |
}
|
220 |
|
221 |
// Insert management script
|
222 |
+
if ( preg_match( '/(myCRED_page_settings)/', $screen->id, $matches ) ) {
|
223 |
wp_register_script(
|
224 |
'mycred-rank-management',
|
225 |
plugins_url( 'js/management.js', myCRED_RANKS ),
|
240 |
wp_enqueue_script( 'mycred-rank-management' );
|
241 |
}
|
242 |
|
243 |
+
if ( $adjust_header ) { ?>
|
244 |
<style type="text/css">
|
245 |
#icon-myCRED, .icon32-posts-mycred_email_notice, .icon32-posts-mycred_rank { background-image: url(<?php echo apply_filters( 'mycred_icon', plugins_url( 'assets/images/cred-icon32.png', myCRED_THIS ) ); ?>); }
|
246 |
</style>
|
304 |
/**
|
305 |
* AJAX: Calculate Totals
|
306 |
* @since 1.2
|
307 |
+
* @version 1.1
|
308 |
*/
|
309 |
public function calculate_totals() {
|
310 |
// Security
|
312 |
|
313 |
global $wpdb;
|
314 |
|
315 |
+
$users = $wpdb->get_results( $wpdb->prepare( "
|
316 |
+
SELECT user_id AS ID, SUM( CASE WHEN creds > 0 OR ( creds < 0 AND ref = %s ) THEN creds ELSE 0 END ) as total
|
317 |
+
FROM {$this->core->log_table}
|
318 |
+
GROUP BY user_id;", 'manual' ) );
|
|
|
|
|
319 |
|
320 |
$count = 0;
|
321 |
if ( $users ) {
|
322 |
foreach ( $users as $user ) {
|
323 |
+
if ( $user->total == 0 ) continue;
|
324 |
+
|
325 |
+
update_user_meta( $user->ID, $this->core->get_cred_id() . '_total', $user->total );
|
326 |
+
mycred_find_users_rank( $user->ID, true, 0, $this->core->get_cred_id() . '_total' );
|
327 |
+
|
328 |
$count = $count+1;
|
329 |
}
|
330 |
}
|
349 |
* Balance Adjustment
|
350 |
* Check if users rank should change.
|
351 |
* @since 1.1
|
352 |
+
* @version 1.1.1
|
353 |
*/
|
354 |
public function update_balance( $reply, $request, $mycred ) {
|
355 |
+
if ( $reply === false ) return $reply;
|
356 |
+
|
357 |
+
$amount = $this->core->number( $request['amount'] );
|
358 |
+
$zero = $this->core->zero();
|
359 |
+
$user_id = (int) $request['user_id'];
|
360 |
+
|
361 |
+
switch ( $this->rank['base'] ) {
|
362 |
+
// Rank is based on current balance
|
363 |
+
case 'current' :
|
364 |
+
|
365 |
+
mycred_find_users_rank(
|
366 |
+
$user_id,
|
367 |
+
true,
|
368 |
+
$amount,
|
369 |
+
$this->core->get_cred_id()
|
370 |
+
);
|
371 |
+
|
372 |
+
break;
|
373 |
+
// Rank is based on total amount gained
|
374 |
+
case 'total' :
|
375 |
+
|
376 |
+
if ( $amount > $zero || ( $amount < $zero && $request['ref'] == 'manual' ) ) {
|
377 |
+
mycred_update_users_total( '', $request, $mycred );
|
378 |
+
mycred_find_users_rank(
|
379 |
+
$user_id,
|
380 |
+
true,
|
381 |
+
$amount,
|
382 |
+
$this->core->get_cred_id() . '_total'
|
383 |
+
);
|
384 |
+
}
|
385 |
+
|
386 |
+
break;
|
387 |
}
|
388 |
|
389 |
return $reply;
|
703 |
<?php echo $mycred->template_tags_general( __( 'Maximum %plural% to be included in this rank', 'mycred' ) ); ?>:<br />
|
704 |
<input type="text" name="mycred_rank[max]" id="mycred-rank-max" value="<?php echo $max; ?>" />
|
705 |
</p>
|
706 |
+
<?php do_action( 'mycred_rank_after_req', $post, $this->core ); ?>
|
707 |
+
|
708 |
</div>
|
709 |
<div style="display:block;width:50%;margin:0;padding:0;float:left;">
|
710 |
<p><?php _e( 'All Published Ranks', 'mycred' ); ?>:</p>
|
717 |
if ( empty( $_min ) && (int) $_min !== 0 ) $_min = __( 'Not Set', 'mycred' );
|
718 |
$_max = get_post_meta( $rank_id, 'mycred_rank_max', true );
|
719 |
if ( empty( $_max ) ) $_max = __( 'Not Set', 'mycred' );
|
720 |
+
echo '<p><strong style="display:inline-block;width:40%;">' . $rank->post_title . '</strong> ' . $_min . ' - ' . $_max . '</p>';
|
721 |
}
|
722 |
}
|
723 |
else {
|
addons/sell-content/myCRED-addon-sell-content.php
CHANGED
@@ -58,7 +58,6 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
58 |
'add_to_core' => true
|
59 |
) );
|
60 |
|
61 |
-
add_action( 'mycred_help', array( $this, 'help' ), 10, 2 );
|
62 |
add_filter( 'mycred_email_before_send', array( $this, 'email_notices' ), 10, 2 );
|
63 |
}
|
64 |
|
@@ -442,12 +441,12 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
442 |
public function add_metabox() {
|
443 |
$sell_content = $this->sell_content;
|
444 |
$post_types = explode( ',', $sell_content['post_types'] );
|
445 |
-
$name =
|
446 |
foreach ( (array) $post_types as $post_type ) {
|
447 |
$post_type = trim( $post_type );
|
448 |
add_meta_box(
|
449 |
'mycred_sell_content',
|
450 |
-
$name
|
451 |
array( $this, 'metabox' ),
|
452 |
$post_type,
|
453 |
'side',
|
@@ -496,7 +495,7 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
496 |
public function metabox( $post ) {
|
497 |
// Make sure add-on has been setup
|
498 |
if ( !$this->is_installed() ) {
|
499 |
-
echo
|
500 |
// Settings Link
|
501 |
if ( $this->core->can_edit_plugin( get_current_user_id() ) )
|
502 |
echo ' <a href="' . admin_url( 'admin.php?page=myCRED_page_settings' ) . '" title="' . __( 'Setup add-on', 'mycred' ) . '">' . __( 'Lets do it', 'mycred' ) . '</a>';
|
@@ -623,7 +622,7 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
623 |
* @param $post_id (int) required post id
|
624 |
* @returns (bool) true or false
|
625 |
* @since 0.1
|
626 |
-
* @version 1.
|
627 |
*/
|
628 |
public function user_paid( $user_id, $post_id ) {
|
629 |
// Admins can view
|
@@ -638,7 +637,7 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
638 |
// Search for the latest purchase of this item.
|
639 |
$sql = "SELECT * FROM {$this->core->log_table} WHERE user_id = %d AND ref = %s AND ref_id = %d ORDER BY time DESC LIMIT 0,1;";
|
640 |
$purchases = $wpdb->get_results( $wpdb->prepare( $sql, $user_id, 'buy_content', $post_id ) );
|
641 |
-
|
642 |
// We have found purchase records
|
643 |
if ( !empty( $purchases ) ) {
|
644 |
// Since individual posts can override the default settings we need to check sales prefs
|
@@ -1047,26 +1046,6 @@ if ( !class_exists( 'myCRED_Sell_Content' ) ) {
|
|
1047 |
}
|
1048 |
return $data;
|
1049 |
}
|
1050 |
-
|
1051 |
-
/**
|
1052 |
-
* Contextual Help
|
1053 |
-
* @since 0.1
|
1054 |
-
* @version 1.0
|
1055 |
-
*/
|
1056 |
-
public function help( $screen_id, $screen ) {
|
1057 |
-
if ( $screen_id != 'mycred_page_myCRED_page_settings' ) return;
|
1058 |
-
|
1059 |
-
$screen->add_help_tab( array(
|
1060 |
-
'id' => 'mycred-sell-content',
|
1061 |
-
'title' => __( 'Sell Content', 'mycred' ),
|
1062 |
-
'content' => '
|
1063 |
-
<p>' . $this->core->template_tags_general( __( 'This add-on lets you sell either entire contents or parts of it. You can select if you want to just charge users or share a percentage of the sale with the post author.', 'mycred' ) ) . '</p>
|
1064 |
-
<p><strong>' . __( 'Defaults', 'mycred' ) . '</strong></p>
|
1065 |
-
<p>' . __( 'The default price and button label is applied to all content that is set for sale. You can select if you want to enforce these settings or let the content authors set their own.', 'mycred' ) . '</p>
|
1066 |
-
<p><strong>' . __( 'Usage', 'mycred' ) . '</strong></p>
|
1067 |
-
<p>' . __( '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', 'mycred' ) . ' <a href="http://mycred.me/shortcodes/mycred_sell_this/" target="_blank">myCRED Codex</a>.</p>'
|
1068 |
-
) );
|
1069 |
-
}
|
1070 |
}
|
1071 |
$sell_content = new myCRED_Sell_Content();
|
1072 |
$sell_content->load();
|
58 |
'add_to_core' => true
|
59 |
) );
|
60 |
|
|
|
61 |
add_filter( 'mycred_email_before_send', array( $this, 'email_notices' ), 10, 2 );
|
62 |
}
|
63 |
|
441 |
public function add_metabox() {
|
442 |
$sell_content = $this->sell_content;
|
443 |
$post_types = explode( ',', $sell_content['post_types'] );
|
444 |
+
$name = sprintf( __( '%s Sell This', 'mycred' ), mycred_label() );
|
445 |
foreach ( (array) $post_types as $post_type ) {
|
446 |
$post_type = trim( $post_type );
|
447 |
add_meta_box(
|
448 |
'mycred_sell_content',
|
449 |
+
$name,
|
450 |
array( $this, 'metabox' ),
|
451 |
$post_type,
|
452 |
'side',
|
495 |
public function metabox( $post ) {
|
496 |
// Make sure add-on has been setup
|
497 |
if ( !$this->is_installed() ) {
|
498 |
+
echo sprintf( __( '%s Sell Content needs to be setup before you can use this feature.', 'mycred' ), mycred_label() );
|
499 |
// Settings Link
|
500 |
if ( $this->core->can_edit_plugin( get_current_user_id() ) )
|
501 |
echo ' <a href="' . admin_url( 'admin.php?page=myCRED_page_settings' ) . '" title="' . __( 'Setup add-on', 'mycred' ) . '">' . __( 'Lets do it', 'mycred' ) . '</a>';
|
622 |
* @param $post_id (int) required post id
|
623 |
* @returns (bool) true or false
|
624 |
* @since 0.1
|
625 |
+
* @version 1.3
|
626 |
*/
|
627 |
public function user_paid( $user_id, $post_id ) {
|
628 |
// Admins can view
|
637 |
// Search for the latest purchase of this item.
|
638 |
$sql = "SELECT * FROM {$this->core->log_table} WHERE user_id = %d AND ref = %s AND ref_id = %d ORDER BY time DESC LIMIT 0,1;";
|
639 |
$purchases = $wpdb->get_results( $wpdb->prepare( $sql, $user_id, 'buy_content', $post_id ) );
|
640 |
+
|
641 |
// We have found purchase records
|
642 |
if ( !empty( $purchases ) ) {
|
643 |
// Since individual posts can override the default settings we need to check sales prefs
|
1046 |
}
|
1047 |
return $data;
|
1048 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1049 |
}
|
1050 |
$sell_content = new myCRED_Sell_Content();
|
1051 |
$sell_content->load();
|
addons/transfer/js/transfer.js
CHANGED
@@ -67,14 +67,15 @@ jQuery(function($){
|
|
67 |
else if ( data == 'error_8' ) {
|
68 |
alert( myCRED.error_8 );
|
69 |
}
|
70 |
-
// Requested Amount will exceed limit.
|
71 |
-
else if ( data == 'error_9' ) {
|
72 |
-
alert( myCRED.error_9 );
|
73 |
-
}
|
74 |
// Transfer Completed.
|
75 |
else if ( data == 'ok' ) {
|
76 |
alert( myCRED.completed );
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
78 |
if ( myCRED.reload == '1' )
|
79 |
location.reload();
|
80 |
}
|
67 |
else if ( data == 'error_8' ) {
|
68 |
alert( myCRED.error_8 );
|
69 |
}
|
|
|
|
|
|
|
|
|
70 |
// Transfer Completed.
|
71 |
else if ( data == 'ok' ) {
|
72 |
alert( myCRED.completed );
|
73 |
+
|
74 |
+
if ( myCRED.reload == '1' )
|
75 |
+
location.reload();
|
76 |
+
}
|
77 |
+
else {
|
78 |
+
$('.mycred-click').attr( 'value', data );
|
79 |
if ( myCRED.reload == '1' )
|
80 |
location.reload();
|
81 |
}
|
addons/transfer/myCRED-addon-transfer.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Addon: Transfer
|
4 |
* Addon URI: http://mycred.me/add-ons/transfer/
|
5 |
-
* Version: 1.
|
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
|
8 |
* Author URI: http://www.merovingi.com
|
@@ -13,19 +13,20 @@ $mycred_addon_header_translate = array(
|
|
13 |
__( 'Allow your users to send or "donate" points to other members by either using the mycred_transfer shortcode or the myCRED Transfer widget.', 'mycred' )
|
14 |
);
|
15 |
|
16 |
-
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
17 |
|
18 |
define( 'myCRED_TRANSFER', __FILE__ );
|
19 |
define( 'myCRED_TRANSFER_VERSION', myCRED_VERSION . '.1' );
|
|
|
20 |
/**
|
21 |
* myCRED_Transfer_Creds class
|
22 |
*
|
23 |
* Manages this add-on by hooking into myCRED where needed. Regsiters our custom shortcode and widget
|
24 |
* along with scripts and styles needed. Also adds settings to the myCRED settings page.
|
25 |
* @since 0.1
|
26 |
-
* @version 1.
|
27 |
*/
|
28 |
-
if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
29 |
class myCRED_Transfer_Creds extends myCRED_Module {
|
30 |
|
31 |
/**
|
@@ -126,7 +127,7 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
126 |
public function front_footer() {
|
127 |
global $mycred_load;
|
128 |
|
129 |
-
if ( !isset( $mycred_load ) || $mycred_load === false ) return;
|
130 |
|
131 |
wp_enqueue_style( 'mycred-transfer-front' );
|
132 |
wp_enqueue_script( 'mycred-transfer-ajax' );
|
@@ -150,8 +151,7 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
150 |
'error_5' => __( 'Incorrect amount. Please try again.', 'mycred' ),
|
151 |
'error_6' => __( 'This myCRED Add-on has not yet been setup! No transfers are allowed until this has been done!', 'mycred' ),
|
152 |
'error_7' => __( 'Insufficient funds. Please enter a lower amount.', 'mycred' ),
|
153 |
-
'error_8' => __( 'Transfer Limit exceeded.', 'mycred' )
|
154 |
-
'error_9' => __( 'The request amount will exceed your transfer limit. Please try again with a lower amount!', 'mycred' )
|
155 |
) );
|
156 |
|
157 |
wp_localize_script(
|
@@ -228,7 +228,7 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
228 |
<ol id="myCRED-transfer-limits">
|
229 |
<?php
|
230 |
// Loop though limits
|
231 |
-
if ( !empty( $limits ) ) {
|
232 |
foreach ( $limits as $key => $description ) { ?>
|
233 |
|
234 |
<li>
|
@@ -326,7 +326,7 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
326 |
/**
|
327 |
* AJAX Transfer Creds
|
328 |
* @since 0.1
|
329 |
-
* @version 1.
|
330 |
*/
|
331 |
public function ajax_call_transfer() {
|
332 |
// Security
|
@@ -334,7 +334,7 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
334 |
die( json_encode( 'error_1' ) );
|
335 |
|
336 |
// Required
|
337 |
-
if ( !isset( $_POST['recipient'] ) || !isset( $_POST['sender'] ) || !isset( $_POST['amount'] ) )
|
338 |
die( json_encode( 'error_2' ) );
|
339 |
|
340 |
// Prep
|
@@ -343,11 +343,11 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
343 |
$amount = abs( $_POST['amount'] );
|
344 |
|
345 |
// Add-on has not been installed
|
346 |
-
if ( !isset( $this->transfers ) )
|
347 |
die( json_encode( 'error_6' ) );
|
348 |
|
349 |
$prefs = $this->transfers;
|
350 |
-
if ( !isset( $prefs['limit']['limit'] ) || !isset( $prefs['logs']['sending'] ) )
|
351 |
die( json_encode( 'error_6' ) );
|
352 |
|
353 |
// Get Recipient
|
@@ -363,66 +363,17 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
363 |
$amount = $this->core->number( $amount );
|
364 |
if ( $amount == $this->core->zero() ) die( json_encode( 'error_5' ) );
|
365 |
|
366 |
-
// Check
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
$
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
// Get users "limit log"
|
379 |
-
$history = get_user_meta( $from, 'mycred_transactions', true );
|
380 |
-
if ( empty( $history ) ) {
|
381 |
-
// Add new defaults
|
382 |
-
$history = array(
|
383 |
-
'frame' => ( $prefs['limit']['limit'] == 'daily' ) ? $today : $this_week,
|
384 |
-
'amount' => $this->core->zero()
|
385 |
-
);
|
386 |
-
update_user_meta( $from, 'mycred_transactions', $history );
|
387 |
-
}
|
388 |
-
|
389 |
-
// Total amount so far
|
390 |
-
$current = $this->core->number( $history['amount'] );
|
391 |
-
|
392 |
-
// Daily limit
|
393 |
-
if ( $prefs['limit']['limit'] == 'daily' ) {
|
394 |
-
// New day, new limits
|
395 |
-
if ( $today != $history['frame'] ) {
|
396 |
-
$history = array(
|
397 |
-
'frame' => $today,
|
398 |
-
'amount' => $this->core->zero()
|
399 |
-
);
|
400 |
-
update_user_meta( $from, 'mycred_transactions', $history );
|
401 |
-
}
|
402 |
-
|
403 |
-
// Make sure user has not reached or exceeded the transfer limit.
|
404 |
-
if ( $current >= $max ) die( json_encode( 'error_8' ) );
|
405 |
-
}
|
406 |
-
|
407 |
-
// Weekly limit
|
408 |
-
elseif ( $prefs['limit']['limit'] == 'weekly' ) {
|
409 |
-
// New week, new limits
|
410 |
-
if ( $this_week != $history['frame'] ) {
|
411 |
-
$history = array(
|
412 |
-
'frame' => $this_week,
|
413 |
-
'amount' => $this->core->zero()
|
414 |
-
);
|
415 |
-
update_user_meta( $from, 'mycred_transactions', $history );
|
416 |
-
}
|
417 |
-
|
418 |
-
// Make sure user has not reached or exceeded the transfer limit.
|
419 |
-
if ( $current >= $max ) die( json_encode( 'error_8' ) );
|
420 |
-
}
|
421 |
-
|
422 |
-
// Make sure the requested amount will not take us over the limit.
|
423 |
-
$after_transfer = $amount+$current;
|
424 |
-
if ( $after_transfer > $max ) die( json_encode( 'error_9' ) );
|
425 |
-
}
|
426 |
|
427 |
// Let others play before we execute the transfer
|
428 |
do_action( 'mycred_transfer_ready', $prefs, $this->core );
|
@@ -442,8 +393,10 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
442 |
|
443 |
// Update history if limits are imposed
|
444 |
if ( $prefs['limit']['limit'] != 'none' ) {
|
445 |
-
$history
|
446 |
-
|
|
|
|
|
447 |
}
|
448 |
|
449 |
// Then add the amount to the receipient
|
@@ -459,9 +412,7 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
459 |
// Let others play once transaction is completed
|
460 |
do_action( 'mycred_transfer_completed', $prefs, $this->core );
|
461 |
|
462 |
-
//
|
463 |
-
unset( $this );
|
464 |
-
unset( $ruser );
|
465 |
die( json_encode( 'ok' ) );
|
466 |
}
|
467 |
|
@@ -514,11 +465,11 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
514 |
|
515 |
// Query
|
516 |
$select = $prefs['autofill'];
|
517 |
-
$blog_users = $wpdb->get_results( $wpdb->prepare(
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
|
523 |
if ( $wpdb->num_rows > 0 ) {
|
524 |
foreach ( $blog_users as $hit ) {
|
@@ -533,13 +484,13 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
533 |
/**
|
534 |
* Support for Email Notices
|
535 |
* @since 1.1
|
536 |
-
* @version 1.1
|
537 |
*/
|
538 |
public function email_notices( $data ) {
|
539 |
if ( $data['request']['ref'] == 'transfer' ) {
|
540 |
$message = $data['message'];
|
541 |
if ( $data['request']['ref_id'] == get_current_user_id() )
|
542 |
-
$data['message'] = $this->core->template_tags_user( $message, false,
|
543 |
else
|
544 |
$data['message'] = $this->core->template_tags_user( $message, $data['request']['ref_id'] );
|
545 |
}
|
@@ -553,9 +504,9 @@ if ( !class_exists( 'myCRED_Transfer_Creds' ) ) {
|
|
553 |
/**
|
554 |
* Widget: myCRED Transfer
|
555 |
* @since 0.1
|
556 |
-
* @version 1.1
|
557 |
*/
|
558 |
-
if ( !class_exists( 'myCRED_Widget_Transfer' ) ) {
|
559 |
class myCRED_Widget_Transfer extends WP_Widget {
|
560 |
|
561 |
/**
|
@@ -567,7 +518,7 @@ if ( !class_exists( 'myCRED_Widget_Transfer' ) ) {
|
|
567 |
'classname' => 'widget-my-cred-transfer',
|
568 |
'description' => __( 'Allow transfers between users.', 'mycred' )
|
569 |
);
|
570 |
-
$this->WP_Widget( 'mycred_widget_transfer', sprintf( __( '%s Transfer', 'mycred' ),
|
571 |
$this->alt_option_name = 'mycred_widget_transfer';
|
572 |
}
|
573 |
|
@@ -580,12 +531,13 @@ if ( !class_exists( 'myCRED_Widget_Transfer' ) ) {
|
|
580 |
// Prep
|
581 |
$title = $instance['title'];
|
582 |
$mycred = mycred_get_settings();
|
583 |
-
if ( !isset( $mycred->transfers ) )
|
584 |
return '<p>' . __( 'The myCRED Transfer add-on has not yet been setup!', 'mycred' ) . '</p>';
|
585 |
|
586 |
$pref = $mycred->transfers;
|
587 |
|
588 |
global $mycred_load;
|
|
|
589 |
// Members
|
590 |
if ( is_user_logged_in() ) {
|
591 |
// Excluded users
|
@@ -594,7 +546,7 @@ if ( !class_exists( 'myCRED_Widget_Transfer' ) ) {
|
|
594 |
|
595 |
echo $before_widget;
|
596 |
// Title
|
597 |
-
if ( !empty( $title ) ) {
|
598 |
echo $before_title;
|
599 |
echo $mycred->template_tags_general( $title );
|
600 |
echo $after_title;
|
@@ -614,9 +566,9 @@ if ( !class_exists( 'myCRED_Widget_Transfer' ) ) {
|
|
614 |
else {
|
615 |
$mycred_load = false;
|
616 |
// If login message is set
|
617 |
-
if ( !empty( $pref['templates']['login'] ) ) {
|
618 |
echo $before_widget;
|
619 |
-
if ( !empty( $instance['title'] ) ) {
|
620 |
echo $before_title;
|
621 |
echo $mycred->template_tags_general( $title );
|
622 |
echo $after_title;
|
@@ -636,8 +588,8 @@ if ( !class_exists( 'myCRED_Widget_Transfer' ) ) {
|
|
636 |
function form( $instance ) {
|
637 |
// Defaults
|
638 |
$title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : __( 'Transfer %plural%', 'mycred' );
|
639 |
-
$show_balance = isset( $instance['show_balance'] ) ?
|
640 |
-
$show_limit = isset( $instance['show_limit'] ) ?
|
641 |
|
642 |
<!-- Widget Options -->
|
643 |
<p class="myCRED-widget-field">
|
@@ -662,8 +614,8 @@ if ( !class_exists( 'myCRED_Widget_Transfer' ) ) {
|
|
662 |
$instance = $old_instance;
|
663 |
$instance['title'] = trim( $new_instance['title'] );
|
664 |
|
665 |
-
$instance['show_balance'] = ( isset( $new_instance['show_balance'] ) ) ?
|
666 |
-
$instance['show_limit'] = ( isset( $new_instance['show_limit'] ) ) ?
|
667 |
|
668 |
mycred_flush_widget_cache( 'mycred_widget_transfer' );
|
669 |
return $instance;
|
@@ -679,9 +631,9 @@ if ( !class_exists( 'myCRED_Widget_Transfer' ) ) {
|
|
679 |
* @attribute $show_balance (bool) set to true to show current users balance, defaults to true
|
680 |
* @attribute $show_limit (bool) set to true to show current users limit. If limit is set to 'none' and $show_limit is set to true nothing will be returned
|
681 |
* @since 0.1
|
682 |
-
* @version 1.
|
683 |
*/
|
684 |
-
if ( !function_exists( 'mycred_transfer_render' ) ) {
|
685 |
function mycred_transfer_render( $atts, $content = NULL )
|
686 |
{
|
687 |
global $mycred_load;
|
@@ -691,7 +643,8 @@ if ( !function_exists( 'mycred_transfer_render' ) ) {
|
|
691 |
'charge_from' => NULL,
|
692 |
'pay_to' => NULL,
|
693 |
'show_balance' => 0,
|
694 |
-
'show_limit' => 0
|
|
|
695 |
), $atts ) );
|
696 |
|
697 |
// Settings
|
@@ -702,8 +655,8 @@ if ( !function_exists( 'mycred_transfer_render' ) ) {
|
|
702 |
$mycred_load = false;
|
703 |
|
704 |
// If we are not logged in
|
705 |
-
if ( !is_user_logged_in() ) {
|
706 |
-
if ( isset( $pref['templates']['login'] ) && !empty( $pref['templates']['login'] ) )
|
707 |
$output .= '<p class="mycred-transfer-login">' . $mycred->template_tags_general( $pref['templates']['login'] ) . '</p>';
|
708 |
|
709 |
return $output;
|
@@ -720,7 +673,7 @@ if ( !function_exists( 'mycred_transfer_render' ) ) {
|
|
720 |
|
721 |
// Error. Not enough creds
|
722 |
if ( $status === 'low' ) {
|
723 |
-
if ( isset( $pref['errors']['low'] ) && !empty( $pref['errors']['low'] ) ) {
|
724 |
$no_cred = str_replace( '%limit%', $pref['limit']['limit'], $pref['errors']['low'] );
|
725 |
$no_cred = str_replace( '%Limit%', ucwords( $pref['limit']['limit'] ), $no_cred );
|
726 |
$no_cred = str_replace( '%left%', $mycred->format_creds( $status ), $no_cred );
|
@@ -731,7 +684,7 @@ if ( !function_exists( 'mycred_transfer_render' ) ) {
|
|
731 |
|
732 |
// Error. Over limit
|
733 |
if ( $status === 'limit' ) {
|
734 |
-
if ( isset( $pref['errors']['over'] ) && !empty( $pref['errors']['over'] ) ) {
|
735 |
$no_cred = str_replace( '%limit%', $pref['limit']['limit'], $pref['errors']['over'] );
|
736 |
$no_cred = str_replace( '%Limit%', ucwords( $pref['limit']['limit'] ), $no_cred );
|
737 |
$no_cred = str_replace( '%left%', $mycred->format_creds( $status ), $no_cred );
|
@@ -743,17 +696,19 @@ if ( !function_exists( 'mycred_transfer_render' ) ) {
|
|
743 |
// Flag for scripts & styles
|
744 |
$mycred_load = true;
|
745 |
|
746 |
-
//
|
747 |
if ( $pref['autofill'] == 'user_login' )
|
748 |
$pln = __( 'username', 'mycred' );
|
749 |
elseif ( $pref['autofill'] == 'user_email' )
|
750 |
$pln = __( 'email', 'mycred' );
|
751 |
-
else
|
752 |
-
$pln = '';
|
753 |
|
754 |
$placeholder = apply_filters( 'mycred_transfer_to_placeholder', __( 'recipients %s', 'mycred' ), $pref, $mycred );
|
755 |
$placeholder = sprintf( $placeholder, $pln );
|
|
|
|
|
756 |
$to_input = '<input type="text" name="mycred-transfer-to" value="" class="mycred-autofill" placeholder="' . $placeholder . '" />';
|
|
|
|
|
757 |
if ( $pay_to !== NULL ) {
|
758 |
$user = get_user_by( 'id', $pay_to );
|
759 |
if ( $user !== false ) {
|
@@ -765,65 +720,66 @@ if ( !function_exists( 'mycred_transfer_render' ) ) {
|
|
765 |
}
|
766 |
}
|
767 |
|
768 |
-
|
769 |
-
if ( $content !== NULL && !empty( $content ) )
|
770 |
-
$output .= $content;
|
771 |
-
|
772 |
-
if ( !empty( $mycred->before ) )
|
773 |
$before = $mycred->before . ' ';
|
774 |
else
|
775 |
$before = '';
|
776 |
|
777 |
-
if ( !empty( $mycred->after ) )
|
778 |
$after = ' ' . $mycred->after;
|
779 |
else
|
780 |
$after = '';
|
781 |
|
782 |
-
// Main output
|
783 |
-
$output .= '
|
784 |
-
<ol>
|
785 |
-
<li class="mycred-send-to">
|
786 |
-
<label>' . __( 'To:', 'mycred' ) . '</label>
|
787 |
-
<div class="transfer-to">' . $to_input . '</div>
|
788 |
-
</li>
|
789 |
-
<li class="mycred-send-amount">
|
790 |
-
<label>' . __( 'Amount:', 'mycred' ) . '</label>
|
791 |
-
<div>' . $before . '<input type="text" class="short" name="mycred-transfer-amount" value="' . $mycred->zero() . '" size="8" />' . $after . '</div>
|
792 |
-
<input type="button" class="button large button-large mycred-click" value="' . $pref['templates']['button'] . '" />
|
793 |
-
</li>
|
794 |
-
';
|
795 |
-
|
796 |
$extras = array();
|
797 |
|
798 |
// Show Balance
|
799 |
-
if ( (bool) $show_balance === true && !empty( $pref['templates']['balance'] ) ) {
|
800 |
$balance_text = str_replace( '%balance%', $mycred->format_creds( $my_balance ), $pref['templates']['balance'] );
|
801 |
$extras[] = $mycred->template_tags_general( $balance_text );
|
802 |
}
|
803 |
|
804 |
// Show Limits
|
805 |
-
if ( (bool) $show_limit === true && !empty( $pref['templates']['limit'] ) && $pref['limit']['limit'] != 'none' ) {
|
806 |
$limit_text = str_replace( '%_limit%', $pref['limit']['limit'], $pref['templates']['limit'] );
|
807 |
$limit_text = str_replace( '%limit%', ucwords( $pref['limit']['limit'] ), $limit_text );
|
808 |
$limit_text = str_replace( '%left%', $mycred->format_creds( $status ), $limit_text );
|
809 |
$extras[] = $mycred->template_tags_general( $limit_text );
|
810 |
}
|
811 |
|
812 |
-
//
|
813 |
-
|
814 |
-
|
815 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
|
817 |
-
|
818 |
-
|
|
|
819 |
|
820 |
-
|
821 |
-
|
822 |
-
|
|
|
|
|
|
|
|
|
|
|
823 |
|
824 |
-
|
825 |
-
unset( $output );
|
826 |
-
return do_shortcode( $result );
|
827 |
}
|
828 |
}
|
829 |
|
@@ -834,11 +790,12 @@ if ( !function_exists( 'mycred_transfer_render' ) ) {
|
|
834 |
* @param $amount (int) optional amount to check against balance
|
835 |
* @returns true if no limit is set, 'limit' (string) if user is over limit else the amount of creds left
|
836 |
* @filter 'mycred_user_can_transfer'
|
|
|
837 |
* @filter 'mycred_transfer_acc_limit'
|
838 |
* @since 0.1
|
839 |
-
* @version 1.
|
840 |
*/
|
841 |
-
if ( !function_exists( 'mycred_user_can_transfer' ) ) {
|
842 |
function mycred_user_can_transfer( $user_id = NULL, $amount = NULL )
|
843 |
{
|
844 |
if ( $user_id === NULL ) $user_id = get_current_user_id();
|
@@ -846,22 +803,29 @@ if ( !function_exists( 'mycred_user_can_transfer' ) ) {
|
|
846 |
// Grab Settings
|
847 |
$mycred = mycred_get_settings();
|
848 |
$pref = $mycred->transfers;
|
849 |
-
$
|
|
|
|
|
850 |
$balance = $mycred->get_users_cred( $user_id );
|
851 |
|
852 |
-
//
|
853 |
-
$
|
854 |
-
if ( !is_numeric( $account_limit ) )
|
855 |
-
$account_limit = 0;
|
856 |
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
|
|
|
|
|
|
|
|
862 |
|
863 |
-
//
|
864 |
-
if ( $
|
|
|
|
|
|
|
865 |
|
866 |
// Else we have a limit to impose
|
867 |
$today = date_i18n( 'd' );
|
@@ -869,35 +833,20 @@ if ( !function_exists( 'mycred_user_can_transfer' ) ) {
|
|
869 |
$max = $mycred->number( $pref['limit']['amount'] );
|
870 |
|
871 |
// Get users "limit log"
|
872 |
-
$history =
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
'frame' => '',
|
877 |
-
'amount' => $mycred->zero()
|
878 |
-
);
|
879 |
-
}
|
880 |
|
881 |
// Daily limit
|
882 |
if ( $pref['limit']['limit'] == 'daily' ) {
|
883 |
// New day, new limits
|
884 |
if ( $today != $history['frame'] ) {
|
885 |
-
$
|
886 |
-
'frame'
|
887 |
'amount' => $mycred->zero()
|
888 |
-
);
|
889 |
-
|
890 |
-
$current = $new_data['amount'];
|
891 |
-
}
|
892 |
-
// Same day, check limit
|
893 |
-
else {
|
894 |
-
$current = $mycred->number( $history['amount'] );
|
895 |
-
}
|
896 |
-
|
897 |
-
if ( $current >= $max ) return 'limit';
|
898 |
-
else {
|
899 |
-
$remaining = $max-$current;
|
900 |
-
return $mycred->number( $remaining );
|
901 |
}
|
902 |
}
|
903 |
|
@@ -905,29 +854,67 @@ if ( !function_exists( 'mycred_user_can_transfer' ) ) {
|
|
905 |
elseif ( $pref['limit']['limit'] == 'weekly' ) {
|
906 |
// New week, new limits
|
907 |
if ( $this_week != $history['frame'] ) {
|
908 |
-
$
|
909 |
-
'frame'
|
910 |
'amount' => $mycred->zero()
|
911 |
-
);
|
912 |
-
|
913 |
-
$current = $new_data['amount'];
|
914 |
-
}
|
915 |
-
// Same week, check limit
|
916 |
-
else {
|
917 |
-
$current = $mycred->number( $history['amount'] );
|
918 |
-
}
|
919 |
-
|
920 |
-
if ( $current >= $max ) return 'limit';
|
921 |
-
else {
|
922 |
-
$remaining = $max-$current;
|
923 |
-
return $mycred->number( $remaining );
|
924 |
}
|
925 |
}
|
926 |
|
927 |
-
//
|
|
|
928 |
else {
|
929 |
-
return apply_filters( 'mycred_user_can_transfer',
|
930 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
931 |
}
|
932 |
}
|
933 |
?>
|
2 |
/**
|
3 |
* Addon: Transfer
|
4 |
* Addon URI: http://mycred.me/add-ons/transfer/
|
5 |
+
* Version: 1.2
|
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
|
8 |
* Author URI: http://www.merovingi.com
|
13 |
__( 'Allow your users to send or "donate" points to other members by either using the mycred_transfer shortcode or the myCRED Transfer widget.', 'mycred' )
|
14 |
);
|
15 |
|
16 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
17 |
|
18 |
define( 'myCRED_TRANSFER', __FILE__ );
|
19 |
define( 'myCRED_TRANSFER_VERSION', myCRED_VERSION . '.1' );
|
20 |
+
|
21 |
/**
|
22 |
* myCRED_Transfer_Creds class
|
23 |
*
|
24 |
* Manages this add-on by hooking into myCRED where needed. Regsiters our custom shortcode and widget
|
25 |
* along with scripts and styles needed. Also adds settings to the myCRED settings page.
|
26 |
* @since 0.1
|
27 |
+
* @version 1.2
|
28 |
*/
|
29 |
+
if ( ! class_exists( 'myCRED_Transfer_Creds' ) ) {
|
30 |
class myCRED_Transfer_Creds extends myCRED_Module {
|
31 |
|
32 |
/**
|
127 |
public function front_footer() {
|
128 |
global $mycred_load;
|
129 |
|
130 |
+
if ( ! isset( $mycred_load ) || $mycred_load === false ) return;
|
131 |
|
132 |
wp_enqueue_style( 'mycred-transfer-front' );
|
133 |
wp_enqueue_script( 'mycred-transfer-ajax' );
|
151 |
'error_5' => __( 'Incorrect amount. Please try again.', 'mycred' ),
|
152 |
'error_6' => __( 'This myCRED Add-on has not yet been setup! No transfers are allowed until this has been done!', 'mycred' ),
|
153 |
'error_7' => __( 'Insufficient funds. Please enter a lower amount.', 'mycred' ),
|
154 |
+
'error_8' => __( 'Transfer Limit exceeded.', 'mycred' )
|
|
|
155 |
) );
|
156 |
|
157 |
wp_localize_script(
|
228 |
<ol id="myCRED-transfer-limits">
|
229 |
<?php
|
230 |
// Loop though limits
|
231 |
+
if ( ! empty( $limits ) ) {
|
232 |
foreach ( $limits as $key => $description ) { ?>
|
233 |
|
234 |
<li>
|
326 |
/**
|
327 |
* AJAX Transfer Creds
|
328 |
* @since 0.1
|
329 |
+
* @version 1.1
|
330 |
*/
|
331 |
public function ajax_call_transfer() {
|
332 |
// Security
|
334 |
die( json_encode( 'error_1' ) );
|
335 |
|
336 |
// Required
|
337 |
+
if ( ! isset( $_POST['recipient'] ) || ! isset( $_POST['sender'] ) || ! isset( $_POST['amount'] ) )
|
338 |
die( json_encode( 'error_2' ) );
|
339 |
|
340 |
// Prep
|
343 |
$amount = abs( $_POST['amount'] );
|
344 |
|
345 |
// Add-on has not been installed
|
346 |
+
if ( ! isset( $this->transfers ) )
|
347 |
die( json_encode( 'error_6' ) );
|
348 |
|
349 |
$prefs = $this->transfers;
|
350 |
+
if ( ! isset( $prefs['limit']['limit'] ) || ! isset( $prefs['logs']['sending'] ) )
|
351 |
die( json_encode( 'error_6' ) );
|
352 |
|
353 |
// Get Recipient
|
363 |
$amount = $this->core->number( $amount );
|
364 |
if ( $amount == $this->core->zero() ) die( json_encode( 'error_5' ) );
|
365 |
|
366 |
+
// Check if user can transfer
|
367 |
+
$transfer = mycred_user_can_transfer( $from, $amount );
|
368 |
+
|
369 |
+
// Insufficient funds
|
370 |
+
if ( $transfer == 'low' ) die( json_encode( 'error_7' ) );
|
371 |
+
|
372 |
+
// Transfer limit reached
|
373 |
+
elseif ( $transfer == 'limit' ) die( json_encode( 'error_8' ) );
|
374 |
+
|
375 |
+
// All good
|
376 |
+
$after_transfer = $transfer;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
|
378 |
// Let others play before we execute the transfer
|
379 |
do_action( 'mycred_transfer_ready', $prefs, $this->core );
|
393 |
|
394 |
// Update history if limits are imposed
|
395 |
if ( $prefs['limit']['limit'] != 'none' ) {
|
396 |
+
$history = mycred_get_users_transfer_history( $from );
|
397 |
+
mycred_update_users_transfer_history( $from, array(
|
398 |
+
'amount' => $this->core->number( $amount+$history['amount'] )
|
399 |
+
) );
|
400 |
}
|
401 |
|
402 |
// Then add the amount to the receipient
|
412 |
// Let others play once transaction is completed
|
413 |
do_action( 'mycred_transfer_completed', $prefs, $this->core );
|
414 |
|
415 |
+
// Return the good news
|
|
|
|
|
416 |
die( json_encode( 'ok' ) );
|
417 |
}
|
418 |
|
465 |
|
466 |
// Query
|
467 |
$select = $prefs['autofill'];
|
468 |
+
$blog_users = $wpdb->get_results( $wpdb->prepare( "
|
469 |
+
SELECT {$select}, ID
|
470 |
+
FROM {$wpdb->users}
|
471 |
+
WHERE ID != %d
|
472 |
+
AND {$select} LIKE %s;", $user_id, '%' . $_REQUEST['string']['term'] . '%' ), 'ARRAY_N' );
|
473 |
|
474 |
if ( $wpdb->num_rows > 0 ) {
|
475 |
foreach ( $blog_users as $hit ) {
|
484 |
/**
|
485 |
* Support for Email Notices
|
486 |
* @since 1.1
|
487 |
+
* @version 1.1
|
488 |
*/
|
489 |
public function email_notices( $data ) {
|
490 |
if ( $data['request']['ref'] == 'transfer' ) {
|
491 |
$message = $data['message'];
|
492 |
if ( $data['request']['ref_id'] == get_current_user_id() )
|
493 |
+
$data['message'] = $this->core->template_tags_user( $message, false, wp_get_current_user() );
|
494 |
else
|
495 |
$data['message'] = $this->core->template_tags_user( $message, $data['request']['ref_id'] );
|
496 |
}
|
504 |
/**
|
505 |
* Widget: myCRED Transfer
|
506 |
* @since 0.1
|
507 |
+
* @version 1.1.1
|
508 |
*/
|
509 |
+
if ( ! class_exists( 'myCRED_Widget_Transfer' ) ) {
|
510 |
class myCRED_Widget_Transfer extends WP_Widget {
|
511 |
|
512 |
/**
|
518 |
'classname' => 'widget-my-cred-transfer',
|
519 |
'description' => __( 'Allow transfers between users.', 'mycred' )
|
520 |
);
|
521 |
+
$this->WP_Widget( 'mycred_widget_transfer', sprintf( __( '(%s) Transfer', 'mycred' ), mycred_label( true ) ), $widget_ops );
|
522 |
$this->alt_option_name = 'mycred_widget_transfer';
|
523 |
}
|
524 |
|
531 |
// Prep
|
532 |
$title = $instance['title'];
|
533 |
$mycred = mycred_get_settings();
|
534 |
+
if ( ! isset( $mycred->transfers ) )
|
535 |
return '<p>' . __( 'The myCRED Transfer add-on has not yet been setup!', 'mycred' ) . '</p>';
|
536 |
|
537 |
$pref = $mycred->transfers;
|
538 |
|
539 |
global $mycred_load;
|
540 |
+
|
541 |
// Members
|
542 |
if ( is_user_logged_in() ) {
|
543 |
// Excluded users
|
546 |
|
547 |
echo $before_widget;
|
548 |
// Title
|
549 |
+
if ( ! empty( $title ) ) {
|
550 |
echo $before_title;
|
551 |
echo $mycred->template_tags_general( $title );
|
552 |
echo $after_title;
|
566 |
else {
|
567 |
$mycred_load = false;
|
568 |
// If login message is set
|
569 |
+
if ( ! empty( $pref['templates']['login'] ) ) {
|
570 |
echo $before_widget;
|
571 |
+
if ( ! empty( $instance['title'] ) ) {
|
572 |
echo $before_title;
|
573 |
echo $mycred->template_tags_general( $title );
|
574 |
echo $after_title;
|
588 |
function form( $instance ) {
|
589 |
// Defaults
|
590 |
$title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : __( 'Transfer %plural%', 'mycred' );
|
591 |
+
$show_balance = isset( $instance['show_balance'] ) ? $instance['show_balance'] : 0;
|
592 |
+
$show_limit = isset( $instance['show_limit'] ) ? $instance['show_balance'] : 0; ?>
|
593 |
|
594 |
<!-- Widget Options -->
|
595 |
<p class="myCRED-widget-field">
|
614 |
$instance = $old_instance;
|
615 |
$instance['title'] = trim( $new_instance['title'] );
|
616 |
|
617 |
+
$instance['show_balance'] = ( isset( $new_instance['show_balance'] ) ) ? $new_instance['show_balance'] : 0;
|
618 |
+
$instance['show_limit'] = ( isset( $new_instance['show_limit'] ) ) ? $new_instance['show_balance'] : 0;
|
619 |
|
620 |
mycred_flush_widget_cache( 'mycred_widget_transfer' );
|
621 |
return $instance;
|
631 |
* @attribute $show_balance (bool) set to true to show current users balance, defaults to true
|
632 |
* @attribute $show_limit (bool) set to true to show current users limit. If limit is set to 'none' and $show_limit is set to true nothing will be returned
|
633 |
* @since 0.1
|
634 |
+
* @version 1.2
|
635 |
*/
|
636 |
+
if ( ! function_exists( 'mycred_transfer_render' ) ) {
|
637 |
function mycred_transfer_render( $atts, $content = NULL )
|
638 |
{
|
639 |
global $mycred_load;
|
643 |
'charge_from' => NULL,
|
644 |
'pay_to' => NULL,
|
645 |
'show_balance' => 0,
|
646 |
+
'show_limit' => 0,
|
647 |
+
'placeholder' => ''
|
648 |
), $atts ) );
|
649 |
|
650 |
// Settings
|
655 |
$mycred_load = false;
|
656 |
|
657 |
// If we are not logged in
|
658 |
+
if ( ! is_user_logged_in() ) {
|
659 |
+
if ( isset( $pref['templates']['login'] ) && ! empty( $pref['templates']['login'] ) )
|
660 |
$output .= '<p class="mycred-transfer-login">' . $mycred->template_tags_general( $pref['templates']['login'] ) . '</p>';
|
661 |
|
662 |
return $output;
|
673 |
|
674 |
// Error. Not enough creds
|
675 |
if ( $status === 'low' ) {
|
676 |
+
if ( isset( $pref['errors']['low'] ) && ! empty( $pref['errors']['low'] ) ) {
|
677 |
$no_cred = str_replace( '%limit%', $pref['limit']['limit'], $pref['errors']['low'] );
|
678 |
$no_cred = str_replace( '%Limit%', ucwords( $pref['limit']['limit'] ), $no_cred );
|
679 |
$no_cred = str_replace( '%left%', $mycred->format_creds( $status ), $no_cred );
|
684 |
|
685 |
// Error. Over limit
|
686 |
if ( $status === 'limit' ) {
|
687 |
+
if ( isset( $pref['errors']['over'] ) && ! empty( $pref['errors']['over'] ) ) {
|
688 |
$no_cred = str_replace( '%limit%', $pref['limit']['limit'], $pref['errors']['over'] );
|
689 |
$no_cred = str_replace( '%Limit%', ucwords( $pref['limit']['limit'] ), $no_cred );
|
690 |
$no_cred = str_replace( '%left%', $mycred->format_creds( $status ), $no_cred );
|
696 |
// Flag for scripts & styles
|
697 |
$mycred_load = true;
|
698 |
|
699 |
+
// Placeholder
|
700 |
if ( $pref['autofill'] == 'user_login' )
|
701 |
$pln = __( 'username', 'mycred' );
|
702 |
elseif ( $pref['autofill'] == 'user_email' )
|
703 |
$pln = __( 'email', 'mycred' );
|
|
|
|
|
704 |
|
705 |
$placeholder = apply_filters( 'mycred_transfer_to_placeholder', __( 'recipients %s', 'mycred' ), $pref, $mycred );
|
706 |
$placeholder = sprintf( $placeholder, $pln );
|
707 |
+
|
708 |
+
// Recipient Input field
|
709 |
$to_input = '<input type="text" name="mycred-transfer-to" value="" class="mycred-autofill" placeholder="' . $placeholder . '" />';
|
710 |
+
|
711 |
+
// If recipient is set, pre-populate it with the recipients details
|
712 |
if ( $pay_to !== NULL ) {
|
713 |
$user = get_user_by( 'id', $pay_to );
|
714 |
if ( $user !== false ) {
|
720 |
}
|
721 |
}
|
722 |
|
723 |
+
if ( ! empty( $mycred->before ) )
|
|
|
|
|
|
|
|
|
724 |
$before = $mycred->before . ' ';
|
725 |
else
|
726 |
$before = '';
|
727 |
|
728 |
+
if ( ! empty( $mycred->after ) )
|
729 |
$after = ' ' . $mycred->after;
|
730 |
else
|
731 |
$after = '';
|
732 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
733 |
$extras = array();
|
734 |
|
735 |
// Show Balance
|
736 |
+
if ( (bool) $show_balance === true && ! empty( $pref['templates']['balance'] ) ) {
|
737 |
$balance_text = str_replace( '%balance%', $mycred->format_creds( $my_balance ), $pref['templates']['balance'] );
|
738 |
$extras[] = $mycred->template_tags_general( $balance_text );
|
739 |
}
|
740 |
|
741 |
// Show Limits
|
742 |
+
if ( (bool) $show_limit === true && ! empty( $pref['templates']['limit'] ) && $pref['limit']['limit'] != 'none' ) {
|
743 |
$limit_text = str_replace( '%_limit%', $pref['limit']['limit'], $pref['templates']['limit'] );
|
744 |
$limit_text = str_replace( '%limit%', ucwords( $pref['limit']['limit'] ), $limit_text );
|
745 |
$limit_text = str_replace( '%left%', $mycred->format_creds( $status ), $limit_text );
|
746 |
$extras[] = $mycred->template_tags_general( $limit_text );
|
747 |
}
|
748 |
|
749 |
+
// Main output
|
750 |
+
ob_start(); ?>
|
751 |
+
|
752 |
+
<div class="mycred-transfer-cred-wrapper">
|
753 |
+
<ol>
|
754 |
+
<li class="mycred-send-to">
|
755 |
+
<label><?php _e( 'To:', 'mycred' ); ?></label>
|
756 |
+
<div class="transfer-to"><?php echo $to_input; ?></div>
|
757 |
+
<?php do_action( 'mycred_transfer_form_to', $atts, $pref ); ?>
|
758 |
+
|
759 |
+
</li>
|
760 |
+
<li class="mycred-send-amount">
|
761 |
+
<label><?php _e( 'Amount:', 'mycred' ); ?></label>
|
762 |
+
<div class="transfer-amount"><?php echo $before; ?><input type="text" class="short" name="mycred-transfer-amount" value="<?php echo $mycred->zero(); ?>" size="8" /><?php echo $after; ?></div>
|
763 |
+
<input type="button" class="button large button-large mycred-click" value="<?php echo $pref['templates']['button']; ?>" />
|
764 |
+
<?php do_action( 'mycred_transfer_form_amount', $atts, $pref ); ?>
|
765 |
+
|
766 |
+
</li>
|
767 |
+
<?php if ( ! empty( $extras ) ) { ?>
|
768 |
|
769 |
+
<li class="mycred-transfer-info">
|
770 |
+
<p><?php echo implode( '</p><p>', $extras ); ?></p>
|
771 |
+
<?php do_action( 'mycred_transfer_form_extra', $atts, $pref ); ?>
|
772 |
|
773 |
+
</li>
|
774 |
+
<?php } ?>
|
775 |
+
|
776 |
+
</ol>
|
777 |
+
</div>
|
778 |
+
<?php
|
779 |
+
$output = ob_get_contents();
|
780 |
+
ob_end_clean();
|
781 |
|
782 |
+
return do_shortcode( apply_filters( 'mycred_transfer_render', $output, $atts, $mycred ) );
|
|
|
|
|
783 |
}
|
784 |
}
|
785 |
|
790 |
* @param $amount (int) optional amount to check against balance
|
791 |
* @returns true if no limit is set, 'limit' (string) if user is over limit else the amount of creds left
|
792 |
* @filter 'mycred_user_can_transfer'
|
793 |
+
* @filter 'mycred_transfer_limit'
|
794 |
* @filter 'mycred_transfer_acc_limit'
|
795 |
* @since 0.1
|
796 |
+
* @version 1.2
|
797 |
*/
|
798 |
+
if ( ! function_exists( 'mycred_user_can_transfer' ) ) {
|
799 |
function mycred_user_can_transfer( $user_id = NULL, $amount = NULL )
|
800 |
{
|
801 |
if ( $user_id === NULL ) $user_id = get_current_user_id();
|
803 |
// Grab Settings
|
804 |
$mycred = mycred_get_settings();
|
805 |
$pref = $mycred->transfers;
|
806 |
+
$zero = $mycred->zero();
|
807 |
+
|
808 |
+
// Get users balance
|
809 |
$balance = $mycred->get_users_cred( $user_id );
|
810 |
|
811 |
+
// Get Transfer Max
|
812 |
+
$max = apply_filters( 'mycred_transfer_limit', $mycred->number( $pref['limit']['amount'] ), $user_id, $amount, $pref, $mycred );
|
|
|
|
|
813 |
|
814 |
+
// If an amount is given, deduct this amount to see if the transaction
|
815 |
+
// brings us over the account limit
|
816 |
+
if ( $amount !== NULL )
|
817 |
+
$balance = $mycred->number( $balance-$amount );
|
818 |
+
|
819 |
+
// Account Limit
|
820 |
+
// The lowest amount a user can have on their account. By default, this
|
821 |
+
// is zero. But you can override this via the mycred_transfer_acc_limit hook.
|
822 |
+
$account_limit = $mycred->number( apply_filters( 'mycred_transfer_acc_limit', $zero ) );
|
823 |
|
824 |
+
// Check if users balance is below the account limit
|
825 |
+
if ( $balance <= $account_limit ) return 'low';
|
826 |
+
|
827 |
+
// If there are no limits, return the current balance
|
828 |
+
if ( $pref['limit']['limit'] == 'none' ) return $balance;
|
829 |
|
830 |
// Else we have a limit to impose
|
831 |
$today = date_i18n( 'd' );
|
833 |
$max = $mycred->number( $pref['limit']['amount'] );
|
834 |
|
835 |
// Get users "limit log"
|
836 |
+
$history = mycred_get_users_transfer_history( $user_id );
|
837 |
+
|
838 |
+
// Get Current amount
|
839 |
+
$current = $mycred->number( $history['amount'] );
|
|
|
|
|
|
|
|
|
840 |
|
841 |
// Daily limit
|
842 |
if ( $pref['limit']['limit'] == 'daily' ) {
|
843 |
// New day, new limits
|
844 |
if ( $today != $history['frame'] ) {
|
845 |
+
mycred_update_users_transfer_history( $user_id, array(
|
846 |
+
'frame' => $today,
|
847 |
'amount' => $mycred->zero()
|
848 |
+
) );
|
849 |
+
$current = $zero;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
850 |
}
|
851 |
}
|
852 |
|
854 |
elseif ( $pref['limit']['limit'] == 'weekly' ) {
|
855 |
// New week, new limits
|
856 |
if ( $this_week != $history['frame'] ) {
|
857 |
+
mycred_update_users_transfer_history( $user_id, array(
|
858 |
+
'frame' => $this_week,
|
859 |
'amount' => $mycred->zero()
|
860 |
+
) );
|
861 |
+
$current = $zero;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
862 |
}
|
863 |
}
|
864 |
|
865 |
+
// Custom limits will need to return the result
|
866 |
+
// here and now. Accepted answers are 'limit', 'low' or the amount left on limit.
|
867 |
else {
|
868 |
+
return apply_filters( 'mycred_user_can_transfer', 'limit', $user_id, $amount, $prefs, $mycred );
|
869 |
}
|
870 |
+
|
871 |
+
// Transfer limit reached
|
872 |
+
if ( $current >= $max ) return 'limit';
|
873 |
+
|
874 |
+
// Return whats remaining of limit
|
875 |
+
$remaining = $max-$current;
|
876 |
+
return $mycred->number( $remaining );
|
877 |
+
}
|
878 |
+
}
|
879 |
+
|
880 |
+
/**
|
881 |
+
* Get Users Transfer History
|
882 |
+
* @since 1.3.3
|
883 |
+
* @version 1.0
|
884 |
+
*/
|
885 |
+
if ( ! function_exists( 'mycred_get_users_transfer_history' ) ) {
|
886 |
+
function mycred_get_users_transfer_history( $user_id )
|
887 |
+
{
|
888 |
+
$default = array(
|
889 |
+
'frame' => '',
|
890 |
+
'amount' => 0
|
891 |
+
);
|
892 |
+
return mycred_apply_defaults( $default, get_user_meta( $user_id, 'mycred_transactions', true ) );
|
893 |
+
}
|
894 |
+
}
|
895 |
+
|
896 |
+
/**
|
897 |
+
* Update Users Transfer History
|
898 |
+
* @since 1.3.3
|
899 |
+
* @version 1.0
|
900 |
+
*/
|
901 |
+
if ( ! function_exists( 'mycred_update_users_transfer_history' ) ) {
|
902 |
+
function mycred_update_users_transfer_history( $user_id, $history )
|
903 |
+
{
|
904 |
+
// Get current history
|
905 |
+
$current = mycred_get_users_transfer_history( $user_id );
|
906 |
+
|
907 |
+
// Reset
|
908 |
+
if ( $history === true )
|
909 |
+
$new_history = array(
|
910 |
+
'frame' => '',
|
911 |
+
'amount' => 0
|
912 |
+
);
|
913 |
+
|
914 |
+
// Update
|
915 |
+
else $new_history = mycred_apply_defaults( $current, $history );
|
916 |
+
|
917 |
+
update_user_meta( $user_id, 'mycred_transactions', $new_history );
|
918 |
}
|
919 |
}
|
920 |
?>
|
assets/css/admin.css
CHANGED
@@ -107,7 +107,10 @@ body.mp6 #myCRED-wrap #accordion .ui-accordion-content { border-top: 1px solid #
|
|
107 |
#myCRED-wrap form.setup ul li label { display: inline-block; width: 200px; max-width: 30%; font-weight: bold; }
|
108 |
#myCRED-wrap form.setup ul li input { margin-right: 12px; vertical-align: middle; }
|
109 |
|
|
|
110 |
.mycred-badge { border-radius: 5px; height: 192px; width: 173px; margin: 0 -5px; background: url('../images/about/badge.png') center center no-repeat; }
|
111 |
.about-wrap .mycred-badge { position: absolute; top: 0; right: 0; }
|
112 |
body.rtl .about-wrap .mycred-badge { right: auto; left: 0; }
|
113 |
-
.mycred-actions { margin-bottom: 2em; }
|
|
|
|
107 |
#myCRED-wrap form.setup ul li label { display: inline-block; width: 200px; max-width: 30%; font-weight: bold; }
|
108 |
#myCRED-wrap form.setup ul li input { margin-right: 12px; vertical-align: middle; }
|
109 |
|
110 |
+
.mp6 #accordion pre { background-color: #ddd; color: #333; padding: 6px; }
|
111 |
.mycred-badge { border-radius: 5px; height: 192px; width: 173px; margin: 0 -5px; background: url('../images/about/badge.png') center center no-repeat; }
|
112 |
.about-wrap .mycred-badge { position: absolute; top: 0; right: 0; }
|
113 |
body.rtl .about-wrap .mycred-badge { right: auto; left: 0; }
|
114 |
+
.mycred-actions { margin-bottom: 2em; }
|
115 |
+
|
116 |
+
#mycred-about-wrap .feature-section .col-2:before, #mycred-about-wrap .feature-section .col-2:after, #mycred-about-wrap .feature-section.two-col p:before, #mycred-credit-wrap .feature-section .col-2:before, #mycred-credit-wrap .feature-section .col-2:after, #mycred-credit-wrap .feature-section.two-col p:before { content: ''; }
|
assets/css/overview.css
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#mycred_overview p.sub,
|
2 |
+
#mycred_overview .table, #mycred_overview .versions { margin: -12px; }
|
3 |
+
#mycred_overview .inside { font-size: 13px; padding-top: 20px; }
|
4 |
+
body.mp6 #mycred_overview p.sub { padding: 5px 0 15px; font-size: 11px; font-weight: 600; left: 14px; letter-spacing: 1px; position: absolute; text-transform: uppercase; top: -17px; }
|
5 |
+
body #mycred_overview p.sub { padding: 5px 0 15px; color: #8f8f8f; font-size: 14px; position: absolute; top: -17px; left: 15px; }
|
6 |
+
#mycred_overview .table { margin: 0; padding: 0; position: relative; }
|
7 |
+
body.mp6 #mycred_overview .table_content { float: left; width: 45%; }
|
8 |
+
body #mycred_overview .table_content { float: left; width: 45%; border-top: 1px solid #ececec; }
|
9 |
+
#mycred_overview .table_content.push { margin-right: 9%; }
|
10 |
+
#mycred_overview table td { padding: 3px 0; white-space: nowrap; }
|
11 |
+
#mycred_overview table tr.first td { border-top: none; }
|
12 |
+
#mycred_overview td.b { padding-right: 6px; text-align: right; font-size: 14px; width: 1%; }
|
13 |
+
#mycred_overview td.b a { font-size: 18px; }
|
14 |
+
#mycred_overview td.b a:hover { color: #d54e21; }
|
15 |
+
#mycred_overview .t { padding-right: 12px; }
|
16 |
+
#mycred_overview .t,
|
17 |
+
#mycred_overview .b { font-size: 14px; padding-top: 4px; }
|
18 |
+
#mycred_overview .t a { white-space: nowrap; }
|
19 |
+
#mycred_overview .spam { color: red; }
|
20 |
+
#mycred_overview .waiting { color: #e66f00; }
|
21 |
+
#mycred_overview .approved { color: green; }
|
22 |
+
#mycred_overview .versions { padding: 6px 10px 12px; clear: both; }
|
23 |
+
#mycred_overview a.button { float: right; clear: right; position: relative; top: -5px; }
|
24 |
+
#mycred_overview .no-modules { color: #dedede; text-align: center; margin-top: 0; }
|
25 |
+
|
26 |
+
div.columns-3 #mycred_overview .table_content,
|
27 |
+
div.columns-4 #mycred_overview .table_content { float: none; width: 100%; clear: both; margin-bottom: 42px; }
|
28 |
+
div.columns-3 #mycred_overview .table_content.push,
|
29 |
+
div.columns-4 #mycred_overview .table_content.push { margin-right: 0; }
|
30 |
+
div.columns-4 #mycred_overview td.b a,
|
31 |
+
div.columns-4 #mycred_overview .t { font-size: 12px; }
|
32 |
+
div.columns-4 #mycred_overview td { line-height: 1em; }
|
assets/images/about/failsafe.png
DELETED
Binary file
|
assets/images/about/ranks-management.png
DELETED
Binary file
|
assets/js/video.js
CHANGED
@@ -1,143 +1,60 @@
|
|
1 |
/**
|
2 |
-
*
|
3 |
* @since 1.2
|
4 |
-
* @version 1.
|
5 |
*/
|
6 |
var timer = 0;
|
7 |
|
8 |
-
var duration = {};
|
9 |
-
var interval = {};
|
10 |
var actions = {};
|
11 |
var seconds = {};
|
12 |
-
var amount = {};
|
13 |
var logic = {};
|
|
|
|
|
|
|
14 |
var done = {};
|
15 |
|
16 |
/**
|
17 |
-
*
|
18 |
-
* For the YouTube API hooking into onStateChange and to get the durration of a video.
|
19 |
* @since 1.2
|
20 |
* @version 1.0
|
21 |
*/
|
22 |
-
function
|
23 |
-
// Define Player
|
24 |
-
var player = document.getElementById( id );
|
25 |
-
|
26 |
-
// Duration
|
27 |
-
duration[ id ] = player.getDuration();
|
28 |
-
|
29 |
-
// Listen in on state changes
|
30 |
-
player.addEventListener( 'onStateChange', 'mycred_video_'+id );
|
31 |
-
}
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Ajax Call
|
35 |
-
* Calls home to report video views and award points
|
36 |
-
* @since 1.2
|
37 |
-
* @version 1.0
|
38 |
-
*/
|
39 |
-
function mycred_video_points( id, state, length, watched, uactions, eamount, elogic, einterval ) {
|
40 |
-
if ( myCREDvideo.user_id == 0 ) return false;
|
41 |
-
// Make sure we are not done
|
42 |
-
if ( done[ id ] === undefined ) {
|
43 |
-
// Debug
|
44 |
-
//console.log( 'Received ID: '+id );
|
45 |
-
|
46 |
-
// Ajax
|
47 |
-
jQuery.ajax({
|
48 |
-
type : "POST",
|
49 |
-
data : {
|
50 |
-
action : 'mycred-video-points',
|
51 |
-
token : myCREDvideo.token,
|
52 |
-
amount : eamount,
|
53 |
-
logic : elogic,
|
54 |
-
interval : einterval,
|
55 |
-
|
56 |
-
video_id : id,
|
57 |
-
video_state : state,
|
58 |
-
video_length : length,
|
59 |
-
|
60 |
-
user_id : myCREDvideo.user_id,
|
61 |
-
user_watched : watched,
|
62 |
-
user_actions : uactions
|
63 |
-
},
|
64 |
-
dataType : "JSON",
|
65 |
-
url : myCREDvideo.ajaxurl,
|
66 |
-
// Before we start
|
67 |
-
beforeSend : function() {},
|
68 |
-
// On Successful Communication
|
69 |
-
success : function( data ) {
|
70 |
-
console.log( data );
|
71 |
-
// If maxed out, add this id to done[] so prevent further calls
|
72 |
-
// at least until the page is re-loaded.
|
73 |
-
if ( data.status === 'max' ) {
|
74 |
-
done[ data.video_id ] = data.amount;
|
75 |
-
}
|
76 |
-
},
|
77 |
-
// Error (sent to console)
|
78 |
-
error : function( jqXHR, textStatus, errorThrown ) {
|
79 |
-
console.log( jqXHR+':'+textStatus+':'+errorThrown );
|
80 |
-
}
|
81 |
-
});
|
82 |
-
}
|
83 |
-
}
|
84 |
|
85 |
-
/**
|
86 |
-
* Handle YouTube States
|
87 |
-
* @see https://developers.google.com/youtube/js_api_reference
|
88 |
-
* @since 1.2
|
89 |
-
* @version 1.0
|
90 |
-
*/
|
91 |
-
function mycred_youtube_state( id, state, custom_amount, custom_logic, custom_interval )
|
92 |
-
{
|
93 |
var videoid = id;
|
|
|
94 |
var videostate = state;
|
95 |
|
96 |
-
if ( actions[ id ] === undefined )
|
97 |
actions[ id ] = '';
|
98 |
-
}
|
99 |
-
if ( seconds[ id ] === undefined ) {
|
100 |
-
seconds[ id ] = 0;
|
101 |
-
}
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
amount[ id ] = myCREDvideo.amount;
|
106 |
-
}
|
107 |
-
else {
|
108 |
-
amount[ id ] = parseInt( custom_amount, 10 );
|
109 |
-
}
|
110 |
|
111 |
// Logic override
|
112 |
-
if ( custom_logic == '
|
113 |
-
logic[ id ] =
|
114 |
-
|
115 |
-
|
116 |
-
logic[ id ] = custom_logic.toString();
|
117 |
-
}
|
118 |
|
119 |
// Interval override
|
120 |
-
if ( custom_interval == '
|
121 |
-
interval[ id ] = parseInt(
|
122 |
-
|
123 |
-
else {
|
124 |
interval[ id ] = parseInt( custom_interval, 10 );
|
125 |
-
}
|
126 |
|
127 |
// Ready
|
128 |
-
if (
|
129 |
|
130 |
// Points when video starts
|
131 |
if ( logic[ id ] == 'play' ) {
|
132 |
// As soon as we start playing we award points
|
133 |
-
if (
|
134 |
-
|
135 |
-
}
|
136 |
}
|
137 |
|
138 |
// Points first when video has ended
|
139 |
else if ( logic[ id ] == 'full' ) {
|
140 |
-
|
141 |
actions[ id ] = actions[ id ]+state.toString();
|
142 |
|
143 |
// Play
|
@@ -154,7 +71,7 @@ function mycred_youtube_state( id, state, custom_amount, custom_logic, custom_in
|
|
154 |
clearInterval( timer );
|
155 |
|
156 |
// Notify myCRED
|
157 |
-
|
158 |
|
159 |
// Reset
|
160 |
seconds[ id ] = 0;
|
@@ -179,14 +96,15 @@ function mycred_youtube_state( id, state, custom_amount, custom_logic, custom_in
|
|
179 |
timer = window.setInterval( function() {
|
180 |
var laps = parseInt( interval[ id ] / 1000, 10 );
|
181 |
seconds[ id ] = seconds[ id ] + laps;
|
182 |
-
|
|
|
183 |
}, interval[ id ] );
|
184 |
}
|
185 |
|
186 |
// Video has ended
|
187 |
else if ( state == 0 ) {
|
188 |
clearInterval( timer );
|
189 |
-
|
190 |
|
191 |
seconds[ id ] = 0;
|
192 |
actions[ id ] = '';
|
@@ -198,8 +116,60 @@ function mycred_youtube_state( id, state, custom_amount, custom_logic, custom_in
|
|
198 |
clearInterval( timer );
|
199 |
}
|
200 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
|
203 |
-
|
204 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
}
|
1 |
/**
|
2 |
+
* Viewing Videos Core
|
3 |
* @since 1.2
|
4 |
+
* @version 1.1
|
5 |
*/
|
6 |
var timer = 0;
|
7 |
|
|
|
|
|
8 |
var actions = {};
|
9 |
var seconds = {};
|
|
|
10 |
var logic = {};
|
11 |
+
var interval = {};
|
12 |
+
var duration = {};
|
13 |
+
|
14 |
var done = {};
|
15 |
|
16 |
/**
|
17 |
+
* View Handler
|
|
|
18 |
* @since 1.2
|
19 |
* @version 1.0
|
20 |
*/
|
21 |
+
function mycred_view_video( id, state, custom_logic, custom_interval, key ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
var videoid = id;
|
24 |
+
|
25 |
var videostate = state;
|
26 |
|
27 |
+
if ( actions[ id ] === undefined )
|
28 |
actions[ id ] = '';
|
|
|
|
|
|
|
|
|
29 |
|
30 |
+
if ( seconds[ id ] === undefined )
|
31 |
+
seconds[ id ] = 0;
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
// Logic override
|
34 |
+
if ( custom_logic == '0' )
|
35 |
+
logic[ id ] = myCRED_Video.default_logic;
|
36 |
+
else
|
37 |
+
logic[ id ] = custom_logic;
|
|
|
|
|
38 |
|
39 |
// Interval override
|
40 |
+
if ( custom_interval == '0' )
|
41 |
+
interval[ id ] = parseInt( myCRED_Video.default_interval, 10 );
|
42 |
+
else
|
|
|
43 |
interval[ id ] = parseInt( custom_interval, 10 );
|
|
|
44 |
|
45 |
// Ready
|
46 |
+
if ( videostate != '-1' ) {
|
47 |
|
48 |
// Points when video starts
|
49 |
if ( logic[ id ] == 'play' ) {
|
50 |
// As soon as we start playing we award points
|
51 |
+
if ( videostate == 1 && done[ id ] === undefined )
|
52 |
+
mycred_video_call( videoid, key, videostate, '', '' );
|
|
|
53 |
}
|
54 |
|
55 |
// Points first when video has ended
|
56 |
else if ( logic[ id ] == 'full' ) {
|
57 |
+
|
58 |
actions[ id ] = actions[ id ]+state.toString();
|
59 |
|
60 |
// Play
|
71 |
clearInterval( timer );
|
72 |
|
73 |
// Notify myCRED
|
74 |
+
mycred_video_call( videoid, key, videostate, actions[ videoid ], seconds[ videoid ] );
|
75 |
|
76 |
// Reset
|
77 |
seconds[ id ] = 0;
|
96 |
timer = window.setInterval( function() {
|
97 |
var laps = parseInt( interval[ id ] / 1000, 10 );
|
98 |
seconds[ id ] = seconds[ id ] + laps;
|
99 |
+
// key, state, id, actions, seconds, duration
|
100 |
+
mycred_video_call( videoid, key, videostate, actions[ videoid ], seconds[ videoid ] );
|
101 |
}, interval[ id ] );
|
102 |
}
|
103 |
|
104 |
// Video has ended
|
105 |
else if ( state == 0 ) {
|
106 |
clearInterval( timer );
|
107 |
+
mycred_video_call( videoid, key, videostate, actions[ videoid ], seconds[ videoid ] );
|
108 |
|
109 |
seconds[ id ] = 0;
|
110 |
actions[ id ] = '';
|
116 |
clearInterval( timer );
|
117 |
}
|
118 |
}
|
119 |
+
else {
|
120 |
+
//console.log( 'Unknown logic request: ' + logic[ id ] );
|
121 |
+
}
|
122 |
+
}
|
123 |
+
else {
|
124 |
+
//console.log( 'State: ' + videostate );
|
125 |
}
|
126 |
+
}
|
127 |
+
|
128 |
+
/**
|
129 |
+
* AJAX call handler
|
130 |
+
* @since 1.2
|
131 |
+
* @version 1.0
|
132 |
+
*/
|
133 |
+
function mycred_video_call( id, key, state, actions, seconds ) {
|
134 |
+
|
135 |
+
//console.log( 'Incoming AJAX request' );
|
136 |
|
137 |
+
if ( done[ id ] === undefined ) {
|
138 |
+
//console.log( 'Connecting' );
|
139 |
+
|
140 |
+
if ( duration[ id ] === undefined )
|
141 |
+
duration[ id ] = 0;
|
142 |
+
|
143 |
+
jQuery.ajax({
|
144 |
+
type : "POST",
|
145 |
+
data : {
|
146 |
+
action : 'mycred-viewing-videos',
|
147 |
+
token : myCRED_Video.token,
|
148 |
+
setup : key,
|
149 |
+
video_a : actions,
|
150 |
+
video_b : seconds,
|
151 |
+
video_c : duration[ id ],
|
152 |
+
video_d : state
|
153 |
+
},
|
154 |
+
dataType : "JSON",
|
155 |
+
url : myCRED_Video.ajaxurl,
|
156 |
+
// Before we start
|
157 |
+
beforeSend : function() {},
|
158 |
+
// On Successful Communication
|
159 |
+
success : function( data ) {
|
160 |
+
console.log( data );
|
161 |
+
|
162 |
+
// Add to done list
|
163 |
+
if ( data.status === 'max' )
|
164 |
+
done[ id ] = data.amount;
|
165 |
+
},
|
166 |
+
// Error (sent to console)
|
167 |
+
error : function( jqXHR, textStatus, errorThrown ) {
|
168 |
+
console.log( jqXHR+':'+textStatus+':'+errorThrown );
|
169 |
+
}
|
170 |
+
});
|
171 |
+
}
|
172 |
+
else {
|
173 |
+
//console.log( 'Video marked as done!' );
|
174 |
+
}
|
175 |
}
|
assets/js/youtube.js
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* YouTube Iframe API
|
3 |
+
* @since 1.3.3
|
4 |
+
* @version 1.0
|
5 |
+
*/
|
6 |
+
if (!window['YT']) {var YT = {loading: 0,loaded: 0};}if (!window['YTConfig']) {var YTConfig = {};}if (!YT.loading) {YT.loading = 1;(function(){var l = [];YT.ready = function(f) {if (YT.loaded) {f();} else {l.push(f);}};window.onYTReady = function() {YT.loaded = 1;for (var i = 0; i < l.length; i++) {try {l[i]();} catch (e) {}}};YT.setConfig = function(c) {for (var k in c) {if (c.hasOwnProperty(k)) {YTConfig[k] = c[k];}}};var a = document.createElement('script');a.src = 'https:' + '//s.ytimg.com/yts/jsbin/www-widgetapi-vflpUkZCc.js';a.async = true;var b = document.getElementsByTagName('script')[0];b.parentNode.insertBefore(a, b);})();}
|
7 |
+
|
8 |
+
/**
|
9 |
+
* onYouTubeIframeAPIReady
|
10 |
+
* Creates a player for YouTube Iframes
|
11 |
+
* @since 1.3.3
|
12 |
+
* @version 1.0
|
13 |
+
*/
|
14 |
+
function onYouTubeIframeAPIReady() {
|
15 |
+
console.log( 'YouTube Iframe API' );
|
16 |
+
|
17 |
+
// Listen for the ready event for any vimeo video players on the page
|
18 |
+
var youtPlayers = document.querySelectorAll( 'iframe.mycred-youtube-video' ),
|
19 |
+
youframes,
|
20 |
+
yplayer;
|
21 |
+
|
22 |
+
for (var i = 0, length = youtPlayers.length; i < length; i++) {
|
23 |
+
yplayer = youtPlayers[i];
|
24 |
+
var video_id = yplayer.getAttribute( 'data-vid' );
|
25 |
+
youframes = new YT.Player( yplayer, { events : { 'onStateChange': 'mycred_vvideo_v' + video_id } } );
|
26 |
+
console.log( video_id );
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* onYouTubePlayerReady
|
32 |
+
* Old JS API used before 1.3.3
|
33 |
+
* @since 1.0
|
34 |
+
* @version 1.0
|
35 |
+
*/
|
36 |
+
function onYouTubePlayerReady( id ) {
|
37 |
+
// Define Player
|
38 |
+
var yplayer = document.getElementById( id );
|
39 |
+
|
40 |
+
// Duration
|
41 |
+
duration[ id ] = yplayer.getDuration();
|
42 |
+
|
43 |
+
// Listen in on state changes
|
44 |
+
yplayer.addEventListener( 'onStateChange', 'mycred_video_' + id );
|
45 |
+
|
46 |
+
console.log( id );
|
47 |
+
}
|
includes/mycred-about.php
CHANGED
@@ -71,7 +71,8 @@ function mycred_about_footer() { ?>
|
|
71 |
* @version 1.0
|
72 |
*/
|
73 |
function mycred_about_page() {
|
74 |
-
$name =
|
|
|
75 |
$settings_url = esc_url( add_query_arg( array( 'page' => 'myCRED_page_settings' ), admin_url( 'admin.php' ) ) ); ?>
|
76 |
|
77 |
<div class="wrap about-wrap" id="mycred-about-wrap">
|
@@ -79,45 +80,45 @@ function mycred_about_page() {
|
|
79 |
<?php mycred_about_header( $name ); ?>
|
80 |
|
81 |
<div class="changelog">
|
82 |
-
<h3><?php _e( '
|
83 |
<div class="feature-section col two-col">
|
84 |
-
<img src="<?php echo plugins_url( 'assets/images/about/ranks-management.png', myCRED_THIS ); ?>" alt="Ranks Management" />
|
85 |
<div>
|
86 |
-
<h4><?php
|
87 |
-
<p><?php
|
88 |
</div>
|
89 |
<div class="last-feature">
|
90 |
-
<h4><?php _e( '
|
91 |
-
<p><?php
|
92 |
</div>
|
93 |
</div>
|
94 |
-
<h3><?php _e( '
|
95 |
<div class="feature-section col two-col">
|
96 |
<div>
|
97 |
-
<h4><?php _e( '
|
98 |
-
<p><?php
|
99 |
-
<p><?php printf( __( 'You can find this setting on the %s <a href="%s">settings</a> page under "Security" in the "Core" menu.', 'mycred' ), $name, $settings_url ); ?></p>
|
100 |
</div>
|
101 |
<div class="last-feature">
|
102 |
-
<
|
|
|
|
|
103 |
</div>
|
104 |
</div>
|
105 |
-
<h3><?php _e( '
|
106 |
<div class="feature-section col three-col">
|
107 |
<div>
|
108 |
-
<h4><?php _e( '
|
109 |
-
<p><?php _e( '
|
110 |
</div>
|
111 |
<div>
|
112 |
-
<h4><?php _e( '
|
113 |
-
<p><?php _e( '
|
|
|
114 |
</div>
|
115 |
<div class="last-feature">
|
116 |
-
<h4><?php _e( '
|
117 |
-
<p><?php _e( 'Fixed
|
118 |
</div>
|
119 |
</div>
|
120 |
-
<div><em><?php _e( 'Oh and as you might have noticed, I have added this new splash page for all future updates!', 'mycred' ); ?></em></div>
|
121 |
</div>
|
122 |
<?php mycred_about_footer(); ?>
|
123 |
|
@@ -131,7 +132,7 @@ function mycred_about_page() {
|
|
131 |
* @version 1.0
|
132 |
*/
|
133 |
function mycred_about_credit_page() {
|
134 |
-
$name =
|
135 |
|
136 |
<div class="wrap about-wrap" id="mycred-credit-wrap">
|
137 |
<h1><?php _e( 'Awesome People', 'mycred' ); ?></h1>
|
@@ -144,10 +145,8 @@ function mycred_about_credit_page() {
|
|
144 |
<h4><?php _e( 'Bug Finders', 'mycred' ); ?></h4>
|
145 |
<p><?php _e( 'Users who have taken the time to report bugs helping me improve this plugin.', 'mycred' ); ?></p>
|
146 |
<ul>
|
147 |
-
<li><a href="http://mycred.me/members/
|
148 |
-
<li><a href="http://mycred.me/members/
|
149 |
-
<li><a href="http://mycred.me/members/specopkirbs/">specopkirbs</a></li>
|
150 |
-
<li><a href="http://mycred.me/members/Christopher/">Christopher</a></li>
|
151 |
</ul>
|
152 |
</div>
|
153 |
<div class="last-feature">
|
71 |
* @version 1.0
|
72 |
*/
|
73 |
function mycred_about_page() {
|
74 |
+
$name = mycred_label();
|
75 |
+
$mycred = mycred_get_settings();
|
76 |
$settings_url = esc_url( add_query_arg( array( 'page' => 'myCRED_page_settings' ), admin_url( 'admin.php' ) ) ); ?>
|
77 |
|
78 |
<div class="wrap about-wrap" id="mycred-about-wrap">
|
80 |
<?php mycred_about_header( $name ); ?>
|
81 |
|
82 |
<div class="changelog">
|
83 |
+
<h3><?php _e( 'New Features', 'mycred' ); ?></h3>
|
84 |
<div class="feature-section col two-col">
|
|
|
85 |
<div>
|
86 |
+
<h4><?php printf( __( '%s Right Now', 'mycred' ), $name ); ?></h4>
|
87 |
+
<p><?php echo $mycred->template_tags_general( __( 'This new Dashboard widget gives you an overview of %_plural% gained or lost by your users along with a few other summaries based on your logs content.', 'mycred' ) ); ?></p>
|
88 |
</div>
|
89 |
<div class="last-feature">
|
90 |
+
<h4><?php _e( 'YouTube Iframe API', 'mycred' ); ?></h4>
|
91 |
+
<p><?php echo $mycred->template_tags_general( __( 'The "%plural% for watching videos" hook has been updated to use the YouTube Iframe API which allows you to embed videos that can also be viewed on mobile devices.', 'mycred' ) ); ?></p>
|
92 |
</div>
|
93 |
</div>
|
94 |
+
<h3><?php _e( 'Added Support', 'mycred' ); ?></h3>
|
95 |
<div class="feature-section col two-col">
|
96 |
<div>
|
97 |
+
<h4><a href="http://simple-press.com/" target="_blank"><?php _e( 'SimplePress', 'mycred' ); ?></a></h4>
|
98 |
+
<p><?php printf( __( 'As of 1.3.3, %s has a built in support for SimplePress!', 'mycred' ), $name ); ?> <?php echo $mycred->template_tags_general( __( 'Once you have installed SimplePress, you will find the "SimplePress" hook on your Hooks page. You can award or deduct %_plural% for new topics and topic posts.', 'mycred' ) ); ?></p>
|
|
|
99 |
</div>
|
100 |
<div class="last-feature">
|
101 |
+
<h4><a href="http://www.timersys.com/plugins-wordpress/wordpress-social-invitations/" target="_blank">WP Social Invitations</a></h4>
|
102 |
+
<p><?php _e( 'With WordPress Social Invitations aka WSI you can enhance your site by letting your users to invite their social network friends. This plugin works perfectly with Buddypress and also hooks into Invite Anyone Plugin.', 'mycred' ); ?></p>
|
103 |
+
<p><?php _e( 'Please consult the plugins website for information on how to install and setup this plugin.', 'mycred' ); ?></p>
|
104 |
</div>
|
105 |
</div>
|
106 |
+
<h3><?php _e( 'Improvements', 'mycred' ); ?></h3>
|
107 |
<div class="feature-section col three-col">
|
108 |
<div>
|
109 |
+
<h4><?php _e( 'Transfer Add-on', 'mycred' ); ?></h4>
|
110 |
+
<p><?php _e( 'The transfer add-on has received several improvements which gives you must better control of customizing your setup.', 'mycred' ); ?></p>
|
111 |
</div>
|
112 |
<div>
|
113 |
+
<h4><?php _e( 'Ranks Add-on', 'mycred' ); ?></h4>
|
114 |
+
<p><?php _e( 'The ranks add-on has received several bug fixes, especially if you are assigning ranks according to your users total accumilated points and not their current balance.', 'mycred' ); ?></p>
|
115 |
+
<p><em><?php _e( 'If you have been experiencing issues with users not getting the correct rank, please make sure you "Calculate Totals" to fix the issue!', 'mycred' ); ?></em></p>
|
116 |
</div>
|
117 |
<div class="last-feature">
|
118 |
+
<h4><?php _e( 'Events Management', 'mycred' ); ?></h4>
|
119 |
+
<p><?php _e( 'Fixed the issue with users not being able to pay for events in the free version, if attendance is pre-approved.', 'mycred' ); ?></p>
|
120 |
</div>
|
121 |
</div>
|
|
|
122 |
</div>
|
123 |
<?php mycred_about_footer(); ?>
|
124 |
|
132 |
* @version 1.0
|
133 |
*/
|
134 |
function mycred_about_credit_page() {
|
135 |
+
$name = mycred_label(); ?>
|
136 |
|
137 |
<div class="wrap about-wrap" id="mycred-credit-wrap">
|
138 |
<h1><?php _e( 'Awesome People', 'mycred' ); ?></h1>
|
145 |
<h4><?php _e( 'Bug Finders', 'mycred' ); ?></h4>
|
146 |
<p><?php _e( 'Users who have taken the time to report bugs helping me improve this plugin.', 'mycred' ); ?></p>
|
147 |
<ul>
|
148 |
+
<li><a href="http://mycred.me/members/douglas-dupuis-9_o8jr2b/">Douglas</a></li>
|
149 |
+
<li><a href="http://mycred.me/members/joebethepro-com/">joe</a></li>
|
|
|
|
|
150 |
</ul>
|
151 |
</div>
|
152 |
<div class="last-feature">
|
includes/mycred-functions.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
3 |
|
4 |
/**
|
5 |
* myCRED_Settings class
|
@@ -7,7 +7,7 @@ if ( !defined( 'myCRED_VERSION' ) ) exit;
|
|
7 |
* @since 0.1
|
8 |
* @version 1.3
|
9 |
*/
|
10 |
-
if ( !class_exists( 'myCRED_Settings' ) ) {
|
11 |
class myCRED_Settings {
|
12 |
|
13 |
public $core;
|
@@ -117,7 +117,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
117 |
* @version 1.0
|
118 |
*/
|
119 |
public function zero() {
|
120 |
-
if ( !isset( $this->format['decimals'] ) )
|
121 |
$decimals = $this->core['format']['decimals'];
|
122 |
else
|
123 |
$decimals = $this->format['decimals'];
|
@@ -139,7 +139,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
139 |
public function number( $number = '' ) {
|
140 |
if ( $number === '' ) return $number;
|
141 |
|
142 |
-
if ( !isset( $this->format['decimals'] ) )
|
143 |
$decimals = (int) $this->core['format']['decimals'];
|
144 |
else
|
145 |
$decimals = (int) $this->format['decimals'];
|
@@ -195,12 +195,12 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
195 |
public function format_creds( $creds = 0, $before = '', $after = '', $force_in = false ) {
|
196 |
// Prefix
|
197 |
$prefix = '';
|
198 |
-
if ( !empty( $this->before ) )
|
199 |
$prefix = $this->before . ' ';
|
200 |
|
201 |
// Suffix
|
202 |
$suffix = '';
|
203 |
-
if ( !empty( $this->after ) )
|
204 |
$suffix = ' ' . $this->after;
|
205 |
|
206 |
// Format creds
|
@@ -261,7 +261,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
261 |
*/
|
262 |
public function apply_exchange_rate( $amount = 0, $rate = 1, $round = true ) {
|
263 |
$amount = $this->number( $amount );
|
264 |
-
if ( !is_numeric( $rate ) || $rate == 1 ) return $amount;
|
265 |
|
266 |
$exchange = $amount/(float) $rate;
|
267 |
if ( $round ) $exchange = round( $exchange );
|
@@ -357,7 +357,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
357 |
*/
|
358 |
public function template_tags_amount( $content = '', $amount = 0 ) {
|
359 |
$content = $this->template_tags_general( $content );
|
360 |
-
if (
|
361 |
$content = apply_filters( 'mycred_parse_tags_amount', $content, $amount );
|
362 |
$content = str_replace( '%cred_f%', $this->format_creds( $amount ), $content );
|
363 |
$content = str_replace( '%cred%', $amount, $content );
|
@@ -378,14 +378,14 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
378 |
public function template_tags_post( $content = '', $ref_id = NULL, $data = '' ) {
|
379 |
if ( $ref_id === NULL ) return $content;
|
380 |
$content = $this->template_tags_general( $content );
|
381 |
-
if (
|
382 |
|
383 |
// Get Post Object
|
384 |
$post = get_post( $ref_id );
|
385 |
|
386 |
// Post does not exist
|
387 |
if ( $post === NULL ) {
|
388 |
-
if ( !is_array( $data ) || !array_key_exists( 'ID', $data ) ) return $content;
|
389 |
$post = new StdClass();
|
390 |
foreach ( $data as $key => $value ) {
|
391 |
if ( $key == 'post_title' ) $value .= ' (' . __( 'Deleted', 'mycred' ) . ')';
|
@@ -432,7 +432,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
432 |
public function template_tags_user( $content = '', $ref_id = NULL, $data = '' ) {
|
433 |
if ( $ref_id === NULL ) return $content;
|
434 |
$content = $this->template_tags_general( $content );
|
435 |
-
if (
|
436 |
|
437 |
// Get User Object
|
438 |
if ( $ref_id !== false )
|
@@ -482,7 +482,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
482 |
$content = str_replace( '%balance_f%', $this->format_creds( $balance ), $content );
|
483 |
|
484 |
// Ranking
|
485 |
-
if ( !function_exists( 'mycred_get_users_rank' ) )
|
486 |
$content = str_replace( array( '%rank%', '%ranking%' ), mycred_rankings_position( $user->ID ), $content );
|
487 |
else
|
488 |
$content = str_replace( '%ranking%', mycred_rankings_position( $user->ID ), $content );
|
@@ -507,7 +507,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
507 |
public function template_tags_comment( $content = '', $ref_id = NULL, $data = '' ) {
|
508 |
if ( $ref_id === NULL ) return $content;
|
509 |
$content = $this->template_tags_general( $content );
|
510 |
-
if (
|
511 |
|
512 |
// Get Comment Object
|
513 |
$comment = get_comment( $ref_id );
|
@@ -562,7 +562,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
562 |
public function has_tags( $type = '', $tags = '', $content = '' ) {
|
563 |
$tags = apply_filters( 'mycred_has_tags', $tags, $content );
|
564 |
$tags = apply_filters( 'mycred_has_tags_' . $type, $tags, $content );
|
565 |
-
if ( !preg_match( '%(' . trim( $tags ) . ')%', $content, $matches ) ) return false;
|
566 |
return true;
|
567 |
}
|
568 |
|
@@ -580,7 +580,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
580 |
public function allowed_tags( $data = '', $allow = '' ) {
|
581 |
if ( $allow === false )
|
582 |
return strip_tags( $data );
|
583 |
-
elseif ( !empty( $allow ) )
|
584 |
return strip_tags( $data, $allow );
|
585 |
else
|
586 |
return strip_tags( $data, apply_filters( 'mycred_allowed_tags', '<a><br><em><strong><span>' ) );
|
@@ -595,7 +595,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
595 |
* @version 1.0
|
596 |
*/
|
597 |
public function edit_creds_cap() {
|
598 |
-
if ( !isset( $this->caps['creds'] ) || empty( $this->caps['creds'] ) )
|
599 |
$this->caps['creds'] = 'delete_users';
|
600 |
|
601 |
return $this->caps['creds'];
|
@@ -612,14 +612,14 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
612 |
* @version 1.0
|
613 |
*/
|
614 |
public function can_edit_creds( $user_id = '' ) {
|
615 |
-
if ( !function_exists( 'get_current_user_id' ) )
|
616 |
require_once( ABSPATH . WPINC . '/user.php' );
|
617 |
|
618 |
// Grab current user id
|
619 |
if ( empty( $user_id ) )
|
620 |
$user_id = get_current_user_id();
|
621 |
|
622 |
-
if ( !function_exists( 'user_can' ) )
|
623 |
require_once( ABSPATH . WPINC . '/capabilities.php' );
|
624 |
|
625 |
// Check if user can
|
@@ -637,7 +637,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
637 |
* @version 1.0
|
638 |
*/
|
639 |
public function edit_plugin_cap() {
|
640 |
-
if ( !isset( $this->caps['plugin'] ) || empty( $this->caps['plugin'] ) )
|
641 |
$this->caps['plugin'] = 'manage_options';
|
642 |
|
643 |
return $this->caps['plugin'];
|
@@ -654,14 +654,14 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
654 |
* @version 1.0
|
655 |
*/
|
656 |
public function can_edit_plugin( $user_id = '' ) {
|
657 |
-
if ( !function_exists( 'get_current_user_id' ) )
|
658 |
require_once( ABSPATH . WPINC . '/user.php' );
|
659 |
|
660 |
// Grab current user id
|
661 |
if ( empty( $user_id ) )
|
662 |
$user_id = get_current_user_id();
|
663 |
|
664 |
-
if ( !function_exists( 'user_can' ) )
|
665 |
require_once( ABSPATH . WPINC . '/capabilities.php' );
|
666 |
|
667 |
// Check if user can
|
@@ -674,7 +674,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
674 |
* Check if user id is in exclude list
|
675 |
* @return true or false
|
676 |
* @since 0.1
|
677 |
-
* @version 1.0
|
678 |
*/
|
679 |
public function in_exclude_list( $user_id = '' ) {
|
680 |
// Grab current user id
|
@@ -685,6 +685,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
685 |
$this->exclude['list'] = '';
|
686 |
|
687 |
$list = explode( ',', $this->exclude['list'] );
|
|
|
688 |
if ( in_array( $user_id, $list ) ) return true;
|
689 |
|
690 |
return false;
|
@@ -717,9 +718,10 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
717 |
* @param $user_id (int), required user id
|
718 |
* @returns boolean true on user should be excluded else false
|
719 |
* @since 0.1
|
720 |
-
* @version 1.0
|
721 |
*/
|
722 |
public function exclude_user( $user_id = 0 ) {
|
|
|
723 |
if ( $this->exclude_plugin_editors() == true && $this->can_edit_plugin( $user_id ) == true ) return true;
|
724 |
if ( $this->exclude_creds_editors() == true && $this->can_edit_creds( $user_id ) == true ) return true;
|
725 |
if ( $this->in_exclude_list( $user_id ) ) return true;
|
@@ -744,7 +746,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
744 |
* @version 1.0
|
745 |
*/
|
746 |
public function get_cred_id() {
|
747 |
-
if ( !isset( $this->cred_id ) || empty( $this->cred_id ) )
|
748 |
$this->cred_id = 'mycred_default';
|
749 |
|
750 |
return $this->cred_id;
|
@@ -846,7 +848,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
846 |
// All the reasons we would fail
|
847 |
if ( empty( $ref ) || empty( $user_id ) || empty( $amount ) ) return false;
|
848 |
if ( $this->exclude_user( $user_id ) === true ) return false;
|
849 |
-
if ( !preg_match( '/mycred_/', $type ) ) return false;
|
850 |
|
851 |
// Format creds
|
852 |
$amount = $this->number( $amount );
|
@@ -869,7 +871,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
869 |
if ( $execute === true ) {
|
870 |
$this->update_users_balance( $user_id, $amount );
|
871 |
|
872 |
-
if ( !empty( $entry ) )
|
873 |
$this->add_to_log( $ref, $user_id, $amount, $entry, $ref_id, $data, $type );
|
874 |
|
875 |
// Update rankings
|
@@ -923,7 +925,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
923 |
public function add_to_log( $ref = '', $user_id = '', $amount = '', $entry = '', $ref_id = '', $data = '', $type = 'mycred_default' ) {
|
924 |
// All the reasons we would fail
|
925 |
if ( empty( $ref ) || empty( $user_id ) || empty( $amount ) ) return false;
|
926 |
-
if ( !preg_match( '/mycred_/', $type ) ) return false;
|
927 |
if ( $amount == $this->zero() || $amount == 0 ) return false;
|
928 |
|
929 |
global $wpdb;
|
@@ -973,7 +975,7 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
973 |
);
|
974 |
|
975 |
// $wpdb->insert returns false on fail
|
976 |
-
if (
|
977 |
|
978 |
delete_transient( 'mycred_log_entries' );
|
979 |
return true;
|
@@ -987,57 +989,80 @@ if ( !class_exists( 'myCRED_Settings' ) ) {
|
|
987 |
* @param $user_id (int) optional user id
|
988 |
* @param $data (array|string) option data to search
|
989 |
* @since 0.1
|
990 |
-
* @version 1.
|
991 |
*/
|
992 |
function has_entry( $reference = '', $ref_id = '', $user_id = '', $data = '' ) {
|
993 |
global $wpdb;
|
994 |
|
995 |
$where = $prep = array();
|
996 |
-
if ( !empty( $reference ) ) {
|
997 |
$where[] = 'ref = %s';
|
998 |
$prep[] = $reference;
|
999 |
}
|
1000 |
|
1001 |
-
if ( !empty( $ref_id ) ) {
|
1002 |
$where[] = 'ref_id = %d';
|
1003 |
$prep[] = $ref_id;
|
1004 |
}
|
1005 |
|
1006 |
-
if ( !empty( $user_id ) ) {
|
1007 |
$where[] = 'user_id = %d';
|
1008 |
$prep[] = abs( $user_id );
|
1009 |
}
|
1010 |
|
1011 |
-
if ( !empty( $data ) ) {
|
1012 |
$where[] = 'data = %s';
|
1013 |
$prep[] = maybe_serialize( $data );
|
1014 |
}
|
1015 |
|
1016 |
$where = implode( ' AND ', $where );
|
1017 |
|
1018 |
-
|
|
|
1019 |
$sql = "SELECT * FROM {$this->log_table} WHERE {$where};";
|
1020 |
$wpdb->get_results( $wpdb->prepare( $sql, $prep ) );
|
1021 |
-
if ( $wpdb->num_rows > 0 )
|
|
|
1022 |
}
|
1023 |
|
1024 |
-
return
|
1025 |
}
|
1026 |
}
|
1027 |
}
|
1028 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1029 |
/**
|
1030 |
* Get Settings
|
1031 |
* Returns myCRED's general settings.
|
1032 |
-
*
|
1033 |
* @since 0.1
|
1034 |
* @version 1.0
|
1035 |
*/
|
1036 |
-
if ( !function_exists( 'mycred_get_settings' ) ) {
|
1037 |
function mycred_get_settings()
|
1038 |
{
|
1039 |
global $mycred;
|
1040 |
-
if ( !isset( $mycred ) ||
|
|
|
|
|
1041 |
return $mycred;
|
1042 |
}
|
1043 |
}
|
@@ -1045,14 +1070,13 @@ if ( !function_exists( 'mycred_get_settings' ) ) {
|
|
1045 |
/**
|
1046 |
* Get Network Settings
|
1047 |
* Returns myCRED's network settings or false if multisite is not enabled.
|
1048 |
-
*
|
1049 |
* @since 0.1
|
1050 |
* @version 1.0
|
1051 |
*/
|
1052 |
-
if ( !function_exists( 'mycred_get_settings_network' ) ) {
|
1053 |
function mycred_get_settings_network()
|
1054 |
{
|
1055 |
-
if ( !is_multisite() ) return false;
|
1056 |
|
1057 |
$defaults = array(
|
1058 |
'master' => 0,
|
@@ -1070,7 +1094,7 @@ if ( !function_exists( 'mycred_get_settings_network' ) ) {
|
|
1070 |
* @since 0.1
|
1071 |
* @version 1.0
|
1072 |
*/
|
1073 |
-
if ( !function_exists( 'mycred_override_settings' ) ) {
|
1074 |
function mycred_override_settings() {
|
1075 |
// Not a multisite
|
1076 |
if ( ! is_multisite() ) return false;
|
@@ -1087,7 +1111,7 @@ if ( !function_exists( 'mycred_override_settings' ) ) {
|
|
1087 |
* @since 1.3
|
1088 |
* @version 1.0
|
1089 |
*/
|
1090 |
-
if ( !function_exists( 'mycred_centralize_log' ) ) {
|
1091 |
function mycred_centralize_log() {
|
1092 |
// Not a multisite
|
1093 |
if ( ! is_multisite() ) return true;
|
@@ -1102,12 +1126,11 @@ if ( !function_exists( 'mycred_centralize_log' ) ) {
|
|
1102 |
/**
|
1103 |
* Get myCRED Name
|
1104 |
* Returns the name given to creds.
|
1105 |
-
*
|
1106 |
* @param $signular (boolean) option to return the plural version, returns singular by default
|
1107 |
* @since 0.1
|
1108 |
* @version 1.0
|
1109 |
*/
|
1110 |
-
if ( !function_exists( 'mycred_name' ) ) {
|
1111 |
function mycred_name( $singular = true )
|
1112 |
{
|
1113 |
$mycred = mycred_get_settings();
|
@@ -1121,13 +1144,12 @@ if ( !function_exists( 'mycred_name' ) ) {
|
|
1121 |
/**
|
1122 |
* Strip Tags
|
1123 |
* Strippes HTML tags from a given string.
|
1124 |
-
*
|
1125 |
* @param $string (string) string to stip
|
1126 |
* @param $overwrite (string), optional HTML tags to allow
|
1127 |
* @since 0.1
|
1128 |
* @version 1.0
|
1129 |
*/
|
1130 |
-
if ( !function_exists( 'mycred_strip_tags' ) ) {
|
1131 |
function mycred_strip_tags( $string = '', $overwride = '' )
|
1132 |
{
|
1133 |
$mycred = mycred_get_settings();
|
@@ -1139,13 +1161,12 @@ if ( !function_exists( 'mycred_strip_tags' ) ) {
|
|
1139 |
* Is Admin
|
1140 |
* Conditional tag that checks if a given user or the current user
|
1141 |
* can either edit the plugin or creds.
|
1142 |
-
*
|
1143 |
* @param $user_id (int), optional user id to check, defaults to current user
|
1144 |
* @returns true or false
|
1145 |
* @since 0.1
|
1146 |
* @version 1.0
|
1147 |
*/
|
1148 |
-
if ( !function_exists( 'mycred_is_admin' ) ) {
|
1149 |
function mycred_is_admin( $user_id = NULL )
|
1150 |
{
|
1151 |
$mycred = mycred_get_settings();
|
@@ -1160,13 +1181,12 @@ if ( !function_exists( 'mycred_is_admin' ) ) {
|
|
1160 |
/**
|
1161 |
* Exclude User
|
1162 |
* Checks if a given user is excluded from using myCRED.
|
1163 |
-
*
|
1164 |
* @see http://mycred.me/functions/mycred_exclude_user/
|
1165 |
* @param $user_id (int), optional user to check, defaults to current user
|
1166 |
* @since 0.1
|
1167 |
* @version 1.0
|
1168 |
*/
|
1169 |
-
if ( !function_exists( 'mycred_exclude_user' ) ) {
|
1170 |
function mycred_exclude_user( $user_id = NULL )
|
1171 |
{
|
1172 |
$mycred = mycred_get_settings();
|
@@ -1179,13 +1199,12 @@ if ( !function_exists( 'mycred_exclude_user' ) ) {
|
|
1179 |
* Get Users Creds
|
1180 |
* Returns the given users current cred balance. If no user id is given this function
|
1181 |
* will default to the current user!
|
1182 |
-
*
|
1183 |
* @param $user_id (int) user id
|
1184 |
* @return users balance (int|float)
|
1185 |
* @since 0.1
|
1186 |
* @version 1.0
|
1187 |
*/
|
1188 |
-
if ( !function_exists( 'mycred_get_users_cred' ) ) {
|
1189 |
function mycred_get_users_cred( $user_id = NULL, $type = '' )
|
1190 |
{
|
1191 |
if ( $user_id === NULL ) $user_id = get_current_user_id();
|
@@ -1199,13 +1218,12 @@ if ( !function_exists( 'mycred_get_users_cred' ) ) {
|
|
1199 |
* Get Users Creds Formated
|
1200 |
* Returns the given users current cred balance formated. If no user id is given
|
1201 |
* this function will return false!
|
1202 |
-
*
|
1203 |
* @param $user_id (int), required user id
|
1204 |
* @return users balance (string) or false if no user id is given
|
1205 |
* @since 0.1
|
1206 |
* @version 1.0
|
1207 |
*/
|
1208 |
-
if ( !function_exists( 'mycred_get_users_fcred' ) ) {
|
1209 |
function mycred_get_users_fcred( $user_id = NULL, $type = '' )
|
1210 |
{
|
1211 |
if ( $user_id === NULL ) return false;
|
@@ -1221,7 +1239,7 @@ if ( !function_exists( 'mycred_get_users_fcred' ) ) {
|
|
1221 |
* @since 0.1
|
1222 |
* @version 1.0
|
1223 |
*/
|
1224 |
-
if ( !function_exists( 'mycred_flush_widget_cache' ) ) {
|
1225 |
function mycred_flush_widget_cache( $id = NULL )
|
1226 |
{
|
1227 |
if ( $id === NULL ) return;
|
@@ -1229,6 +1247,37 @@ if ( !function_exists( 'mycred_flush_widget_cache' ) ) {
|
|
1229 |
}
|
1230 |
}
|
1231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1232 |
/**
|
1233 |
* Add Creds
|
1234 |
* Adds creds to a given user. A refernece ID, user id and amount must be given.
|
@@ -1245,7 +1294,7 @@ if ( !function_exists( 'mycred_flush_widget_cache' ) ) {
|
|
1245 |
* @since 0.1
|
1246 |
* @version 1.1
|
1247 |
*/
|
1248 |
-
if ( !function_exists( 'mycred_add' ) ) {
|
1249 |
function mycred_add( $ref = '', $user_id = '', $amount = '', $entry = '', $ref_id = '', $data = '', $type = 'mycred_default' )
|
1250 |
{
|
1251 |
// $ref, $user_id and $cred is required
|
@@ -1267,7 +1316,7 @@ if ( !function_exists( 'mycred_add' ) ) {
|
|
1267 |
* @since 0.1
|
1268 |
* @version 1.0
|
1269 |
*/
|
1270 |
-
if ( !function_exists( 'mycred_subtract' ) ) {
|
1271 |
function mycred_subtract( $ref = '', $user_id = '', $amount = '', $entry = '', $ref_id = '', $data = '', $type = 'mycred_default' )
|
1272 |
{
|
1273 |
if ( empty( $ref ) || empty( $user_id ) || empty( $amount ) ) return false;
|
@@ -1284,12 +1333,12 @@ if ( !function_exists( 'mycred_subtract' ) ) {
|
|
1284 |
* @param $user_id (int) option to check references for a specific user
|
1285 |
* @uses get_var()
|
1286 |
* @since 1.1
|
1287 |
-
* @version 1.0
|
1288 |
*/
|
1289 |
-
if ( !function_exists( 'mycred_count_ref_instances' ) ) {
|
1290 |
function mycred_count_ref_instances( $reference = '', $user_id = NULL )
|
1291 |
{
|
1292 |
-
if ( empty( $reference ) ) return
|
1293 |
|
1294 |
$mycred = mycred_get_settings();
|
1295 |
|
@@ -1307,6 +1356,49 @@ if ( !function_exists( 'mycred_count_ref_instances' ) ) {
|
|
1307 |
}
|
1308 |
}
|
1309 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1310 |
/**
|
1311 |
* Get Total Points by Time
|
1312 |
* Counts the total amount of points that has been entered into the log between
|
@@ -1326,9 +1418,9 @@ if ( !function_exists( 'mycred_count_ref_instances' ) ) {
|
|
1326 |
* @param $type (string) point type to filer by.
|
1327 |
* @returns total points (int|float) or error message (string)
|
1328 |
* @since 1.1.1
|
1329 |
-
* @version 1.
|
1330 |
*/
|
1331 |
-
if ( !function_exists( 'mycred_get_total_by_time' ) ) {
|
1332 |
function mycred_get_total_by_time( $from = 'today', $to = 'now', $ref = NULL, $user_id = NULL, $type = '' )
|
1333 |
{
|
1334 |
// Get myCRED
|
@@ -1361,7 +1453,7 @@ if ( !function_exists( 'mycred_get_total_by_time' ) ) {
|
|
1361 |
}
|
1362 |
|
1363 |
// From
|
1364 |
-
if ( !is_numeric( $from ) ) return __( 'incorrect unix timestamp (from):', 'mycred' ) . ' ' . $from;
|
1365 |
$wheres[] = 'time >= %d';
|
1366 |
$prep[] = $from;
|
1367 |
|
@@ -1370,7 +1462,7 @@ if ( !function_exists( 'mycred_get_total_by_time' ) ) {
|
|
1370 |
$to = date_i18n( 'U' );
|
1371 |
|
1372 |
// To
|
1373 |
-
if ( !is_numeric( $to ) ) return __( 'incorrect unix timestamp (to):', 'mycred' ) . ' ' . $to;
|
1374 |
$wheres[] = 'time <= %d';
|
1375 |
$prep[] = $to;
|
1376 |
|
@@ -1385,20 +1477,18 @@ if ( !function_exists( 'mycred_get_total_by_time' ) ) {
|
|
1385 |
|
1386 |
// Construct
|
1387 |
$where = implode( ' AND ', $wheres );
|
1388 |
-
$sql = "SELECT creds FROM {$mycred->log_table} WHERE {$where} ORDER BY time;";
|
1389 |
|
1390 |
// Query
|
1391 |
-
$query = $wpdb->
|
|
|
|
|
|
|
|
|
1392 |
|
1393 |
-
$
|
1394 |
-
|
1395 |
-
if ( !empty( $query ) ) {
|
1396 |
-
foreach ( $query as $entry ) {
|
1397 |
-
$count = $count+$entry->creds;
|
1398 |
-
}
|
1399 |
-
}
|
1400 |
|
1401 |
-
return $mycred->
|
1402 |
}
|
1403 |
}
|
1404 |
|
@@ -1413,7 +1503,7 @@ if ( !function_exists( 'mycred_get_total_by_time' ) ) {
|
|
1413 |
* @since 1.2
|
1414 |
* @version 1.0
|
1415 |
*/
|
1416 |
-
if ( !function_exists( 'mycred_get_users_total' ) ) {
|
1417 |
function mycred_get_users_total( $user_id = '', $type = '' ) {
|
1418 |
if ( empty( $user_id ) ) return 0;
|
1419 |
|
@@ -1435,20 +1525,26 @@ if ( !function_exists( 'mycred_get_users_total' ) ) {
|
|
1435 |
* @param $mycred (myCRED_Settings object), required myCRED settings object
|
1436 |
* @returns zero if user id is not set or if no total were found, else returns total
|
1437 |
* @since 1.2
|
1438 |
-
* @version 1.
|
1439 |
*/
|
1440 |
-
if ( !function_exists( 'mycred_update_users_total' ) ) {
|
1441 |
function mycred_update_users_total( $type = '', $request = NULL, $mycred = NULL ) {
|
1442 |
-
if ( $request === NULL || !is_object( $mycred ) || !isset( $request['user_id'] ) || !isset( $request['amount'] ) ) return false;
|
1443 |
if ( empty( $type ) ) $type = $mycred->get_cred_id();
|
1444 |
|
1445 |
do_action( 'mycred_update_users_total', $request, $type, $mycred );
|
1446 |
|
1447 |
$amount = $mycred->number( $request['amount'] );
|
1448 |
-
if ( $amount < 0 || $amount == 0 ) return 0;
|
1449 |
-
|
1450 |
$user_id = $request['user_id'];
|
1451 |
-
$users_total =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1452 |
|
1453 |
$new_total = $mycred->number( $users_total+$amount );
|
1454 |
update_user_meta( $user_id, $type . '_total', $new_total );
|
@@ -1464,7 +1560,7 @@ if ( !function_exists( 'mycred_update_users_total' ) ) {
|
|
1464 |
* @since 1.1.2
|
1465 |
* @version 1.0
|
1466 |
*/
|
1467 |
-
if ( !function_exists( 'mycred_apply_defaults' ) ) {
|
1468 |
function mycred_apply_defaults( &$pref, $set ) {
|
1469 |
$set = (array) $set;
|
1470 |
$return = array();
|
@@ -1486,7 +1582,7 @@ if ( !function_exists( 'mycred_apply_defaults' ) ) {
|
|
1486 |
* @since 1.3
|
1487 |
* @version 1.0
|
1488 |
*/
|
1489 |
-
if ( !function_exists( 'mycred_get_remote' ) ) {
|
1490 |
function mycred_get_remote() {
|
1491 |
$defaults = apply_filters( 'mycred_remote_defaults', array(
|
1492 |
'enabled' => 0,
|
1 |
<?php
|
2 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
3 |
|
4 |
/**
|
5 |
* myCRED_Settings class
|
7 |
* @since 0.1
|
8 |
* @version 1.3
|
9 |
*/
|
10 |
+
if ( ! class_exists( 'myCRED_Settings' ) ) {
|
11 |
class myCRED_Settings {
|
12 |
|
13 |
public $core;
|
117 |
* @version 1.0
|
118 |
*/
|
119 |
public function zero() {
|
120 |
+
if ( ! isset( $this->format['decimals'] ) )
|
121 |
$decimals = $this->core['format']['decimals'];
|
122 |
else
|
123 |
$decimals = $this->format['decimals'];
|
139 |
public function number( $number = '' ) {
|
140 |
if ( $number === '' ) return $number;
|
141 |
|
142 |
+
if ( ! isset( $this->format['decimals'] ) )
|
143 |
$decimals = (int) $this->core['format']['decimals'];
|
144 |
else
|
145 |
$decimals = (int) $this->format['decimals'];
|
195 |
public function format_creds( $creds = 0, $before = '', $after = '', $force_in = false ) {
|
196 |
// Prefix
|
197 |
$prefix = '';
|
198 |
+
if ( ! empty( $this->before ) )
|
199 |
$prefix = $this->before . ' ';
|
200 |
|
201 |
// Suffix
|
202 |
$suffix = '';
|
203 |
+
if ( ! empty( $this->after ) )
|
204 |
$suffix = ' ' . $this->after;
|
205 |
|
206 |
// Format creds
|
261 |
*/
|
262 |
public function apply_exchange_rate( $amount = 0, $rate = 1, $round = true ) {
|
263 |
$amount = $this->number( $amount );
|
264 |
+
if ( ! is_numeric( $rate ) || $rate == 1 ) return $amount;
|
265 |
|
266 |
$exchange = $amount/(float) $rate;
|
267 |
if ( $round ) $exchange = round( $exchange );
|
357 |
*/
|
358 |
public function template_tags_amount( $content = '', $amount = 0 ) {
|
359 |
$content = $this->template_tags_general( $content );
|
360 |
+
if ( ! $this->has_tags( 'amount', 'cred|cred_f', $content ) ) return $content;
|
361 |
$content = apply_filters( 'mycred_parse_tags_amount', $content, $amount );
|
362 |
$content = str_replace( '%cred_f%', $this->format_creds( $amount ), $content );
|
363 |
$content = str_replace( '%cred%', $amount, $content );
|
378 |
public function template_tags_post( $content = '', $ref_id = NULL, $data = '' ) {
|
379 |
if ( $ref_id === NULL ) return $content;
|
380 |
$content = $this->template_tags_general( $content );
|
381 |
+
if ( ! $this->has_tags( 'post', 'post_title|post_url|link_with_title|post_type', $content ) ) return $content;
|
382 |
|
383 |
// Get Post Object
|
384 |
$post = get_post( $ref_id );
|
385 |
|
386 |
// Post does not exist
|
387 |
if ( $post === NULL ) {
|
388 |
+
if ( ! is_array( $data ) || ! array_key_exists( 'ID', $data ) ) return $content;
|
389 |
$post = new StdClass();
|
390 |
foreach ( $data as $key => $value ) {
|
391 |
if ( $key == 'post_title' ) $value .= ' (' . __( 'Deleted', 'mycred' ) . ')';
|
432 |
public function template_tags_user( $content = '', $ref_id = NULL, $data = '' ) {
|
433 |
if ( $ref_id === NULL ) return $content;
|
434 |
$content = $this->template_tags_general( $content );
|
435 |
+
if ( ! $this->has_tags( 'user', 'user_id|user_name|user_name_en|display_name|user_profile_url|user_profile_link|user_nicename|user_email|user_url|balance|balance_f', $content ) ) return $content;
|
436 |
|
437 |
// Get User Object
|
438 |
if ( $ref_id !== false )
|
482 |
$content = str_replace( '%balance_f%', $this->format_creds( $balance ), $content );
|
483 |
|
484 |
// Ranking
|
485 |
+
if ( ! function_exists( 'mycred_get_users_rank' ) )
|
486 |
$content = str_replace( array( '%rank%', '%ranking%' ), mycred_rankings_position( $user->ID ), $content );
|
487 |
else
|
488 |
$content = str_replace( '%ranking%', mycred_rankings_position( $user->ID ), $content );
|
507 |
public function template_tags_comment( $content = '', $ref_id = NULL, $data = '' ) {
|
508 |
if ( $ref_id === NULL ) return $content;
|
509 |
$content = $this->template_tags_general( $content );
|
510 |
+
if ( ! $this->has_tags( 'comment', 'comment_id|c_post_id|c_post_title|c_post_url|c_link_with_title', $content ) ) return $content;
|
511 |
|
512 |
// Get Comment Object
|
513 |
$comment = get_comment( $ref_id );
|
562 |
public function has_tags( $type = '', $tags = '', $content = '' ) {
|
563 |
$tags = apply_filters( 'mycred_has_tags', $tags, $content );
|
564 |
$tags = apply_filters( 'mycred_has_tags_' . $type, $tags, $content );
|
565 |
+
if ( ! preg_match( '%(' . trim( $tags ) . ')%', $content, $matches ) ) return false;
|
566 |
return true;
|
567 |
}
|
568 |
|
580 |
public function allowed_tags( $data = '', $allow = '' ) {
|
581 |
if ( $allow === false )
|
582 |
return strip_tags( $data );
|
583 |
+
elseif ( ! empty( $allow ) )
|
584 |
return strip_tags( $data, $allow );
|
585 |
else
|
586 |
return strip_tags( $data, apply_filters( 'mycred_allowed_tags', '<a><br><em><strong><span>' ) );
|
595 |
* @version 1.0
|
596 |
*/
|
597 |
public function edit_creds_cap() {
|
598 |
+
if ( ! isset( $this->caps['creds'] ) || empty( $this->caps['creds'] ) )
|
599 |
$this->caps['creds'] = 'delete_users';
|
600 |
|
601 |
return $this->caps['creds'];
|
612 |
* @version 1.0
|
613 |
*/
|
614 |
public function can_edit_creds( $user_id = '' ) {
|
615 |
+
if ( ! function_exists( 'get_current_user_id' ) )
|
616 |
require_once( ABSPATH . WPINC . '/user.php' );
|
617 |
|
618 |
// Grab current user id
|
619 |
if ( empty( $user_id ) )
|
620 |
$user_id = get_current_user_id();
|
621 |
|
622 |
+
if ( ! function_exists( 'user_can' ) )
|
623 |
require_once( ABSPATH . WPINC . '/capabilities.php' );
|
624 |
|
625 |
// Check if user can
|
637 |
* @version 1.0
|
638 |
*/
|
639 |
public function edit_plugin_cap() {
|
640 |
+
if ( ! isset( $this->caps['plugin'] ) || empty( $this->caps['plugin'] ) )
|
641 |
$this->caps['plugin'] = 'manage_options';
|
642 |
|
643 |
return $this->caps['plugin'];
|
654 |
* @version 1.0
|
655 |
*/
|
656 |
public function can_edit_plugin( $user_id = '' ) {
|
657 |
+
if ( ! function_exists( 'get_current_user_id' ) )
|
658 |
require_once( ABSPATH . WPINC . '/user.php' );
|
659 |
|
660 |
// Grab current user id
|
661 |
if ( empty( $user_id ) )
|
662 |
$user_id = get_current_user_id();
|
663 |
|
664 |
+
if ( ! function_exists( 'user_can' ) )
|
665 |
require_once( ABSPATH . WPINC . '/capabilities.php' );
|
666 |
|
667 |
// Check if user can
|
674 |
* Check if user id is in exclude list
|
675 |
* @return true or false
|
676 |
* @since 0.1
|
677 |
+
* @version 1.0.1
|
678 |
*/
|
679 |
public function in_exclude_list( $user_id = '' ) {
|
680 |
// Grab current user id
|
685 |
$this->exclude['list'] = '';
|
686 |
|
687 |
$list = explode( ',', $this->exclude['list'] );
|
688 |
+
$list = apply_filters( 'mycred_exclude_user_list', $list, $user_id );
|
689 |
if ( in_array( $user_id, $list ) ) return true;
|
690 |
|
691 |
return false;
|
718 |
* @param $user_id (int), required user id
|
719 |
* @returns boolean true on user should be excluded else false
|
720 |
* @since 0.1
|
721 |
+
* @version 1.0.1
|
722 |
*/
|
723 |
public function exclude_user( $user_id = 0 ) {
|
724 |
+
if ( apply_filters( 'mycred_exclude_user', false, $user_id ) === true ) return true;
|
725 |
if ( $this->exclude_plugin_editors() == true && $this->can_edit_plugin( $user_id ) == true ) return true;
|
726 |
if ( $this->exclude_creds_editors() == true && $this->can_edit_creds( $user_id ) == true ) return true;
|
727 |
if ( $this->in_exclude_list( $user_id ) ) return true;
|
746 |
* @version 1.0
|
747 |
*/
|
748 |
public function get_cred_id() {
|
749 |
+
if ( ! isset( $this->cred_id ) || empty( $this->cred_id ) )
|
750 |
$this->cred_id = 'mycred_default';
|
751 |
|
752 |
return $this->cred_id;
|
848 |
// All the reasons we would fail
|
849 |
if ( empty( $ref ) || empty( $user_id ) || empty( $amount ) ) return false;
|
850 |
if ( $this->exclude_user( $user_id ) === true ) return false;
|
851 |
+
if ( ! preg_match( '/mycred_/', $type ) ) return false;
|
852 |
|
853 |
// Format creds
|
854 |
$amount = $this->number( $amount );
|
871 |
if ( $execute === true ) {
|
872 |
$this->update_users_balance( $user_id, $amount );
|
873 |
|
874 |
+
if ( ! empty( $entry ) )
|
875 |
$this->add_to_log( $ref, $user_id, $amount, $entry, $ref_id, $data, $type );
|
876 |
|
877 |
// Update rankings
|
925 |
public function add_to_log( $ref = '', $user_id = '', $amount = '', $entry = '', $ref_id = '', $data = '', $type = 'mycred_default' ) {
|
926 |
// All the reasons we would fail
|
927 |
if ( empty( $ref ) || empty( $user_id ) || empty( $amount ) ) return false;
|
928 |
+
if ( ! preg_match( '/mycred_/', $type ) ) return false;
|
929 |
if ( $amount == $this->zero() || $amount == 0 ) return false;
|
930 |
|
931 |
global $wpdb;
|
975 |
);
|
976 |
|
977 |
// $wpdb->insert returns false on fail
|
978 |
+
if ( ! $new_entry ) return false;
|
979 |
|
980 |
delete_transient( 'mycred_log_entries' );
|
981 |
return true;
|
989 |
* @param $user_id (int) optional user id
|
990 |
* @param $data (array|string) option data to search
|
991 |
* @since 0.1
|
992 |
+
* @version 1.2
|
993 |
*/
|
994 |
function has_entry( $reference = '', $ref_id = '', $user_id = '', $data = '' ) {
|
995 |
global $wpdb;
|
996 |
|
997 |
$where = $prep = array();
|
998 |
+
if ( ! empty( $reference ) ) {
|
999 |
$where[] = 'ref = %s';
|
1000 |
$prep[] = $reference;
|
1001 |
}
|
1002 |
|
1003 |
+
if ( ! empty( $ref_id ) ) {
|
1004 |
$where[] = 'ref_id = %d';
|
1005 |
$prep[] = $ref_id;
|
1006 |
}
|
1007 |
|
1008 |
+
if ( ! empty( $user_id ) ) {
|
1009 |
$where[] = 'user_id = %d';
|
1010 |
$prep[] = abs( $user_id );
|
1011 |
}
|
1012 |
|
1013 |
+
if ( ! empty( $data ) ) {
|
1014 |
$where[] = 'data = %s';
|
1015 |
$prep[] = maybe_serialize( $data );
|
1016 |
}
|
1017 |
|
1018 |
$where = implode( ' AND ', $where );
|
1019 |
|
1020 |
+
$has = false;
|
1021 |
+
if ( ! empty( $where ) ) {
|
1022 |
$sql = "SELECT * FROM {$this->log_table} WHERE {$where};";
|
1023 |
$wpdb->get_results( $wpdb->prepare( $sql, $prep ) );
|
1024 |
+
if ( $wpdb->num_rows > 0 )
|
1025 |
+
$has = true;
|
1026 |
}
|
1027 |
|
1028 |
+
return apply_filters( 'mycred_has_entry', $has, $reference, $ref_id, $user_id, $data );
|
1029 |
}
|
1030 |
}
|
1031 |
}
|
1032 |
|
1033 |
+
/**
|
1034 |
+
* myCRED Label
|
1035 |
+
* Returns the myCRED Label
|
1036 |
+
* @since 1.3.3
|
1037 |
+
* @version 1.0
|
1038 |
+
*/
|
1039 |
+
if ( ! function_exists( 'mycred_label' ) ) {
|
1040 |
+
function mycred_label( $trim = false )
|
1041 |
+
{
|
1042 |
+
global $mycred_label;
|
1043 |
+
if ( ! isset( $mycred_label ) || empty( $mycred_label ) )
|
1044 |
+
$name = apply_filters( 'mycred_label', myCRED_NAME );
|
1045 |
+
|
1046 |
+
if ( $trim )
|
1047 |
+
$name = strip_tags( $name );
|
1048 |
+
|
1049 |
+
return $name;
|
1050 |
+
}
|
1051 |
+
}
|
1052 |
+
|
1053 |
/**
|
1054 |
* Get Settings
|
1055 |
* Returns myCRED's general settings.
|
|
|
1056 |
* @since 0.1
|
1057 |
* @version 1.0
|
1058 |
*/
|
1059 |
+
if ( ! function_exists( 'mycred_get_settings' ) ) {
|
1060 |
function mycred_get_settings()
|
1061 |
{
|
1062 |
global $mycred;
|
1063 |
+
if ( ! isset( $mycred ) || ! is_object( $mycred ) )
|
1064 |
+
$mycred = new myCRED_Settings();
|
1065 |
+
|
1066 |
return $mycred;
|
1067 |
}
|
1068 |
}
|
1070 |
/**
|
1071 |
* Get Network Settings
|
1072 |
* Returns myCRED's network settings or false if multisite is not enabled.
|
|
|
1073 |
* @since 0.1
|
1074 |
* @version 1.0
|
1075 |
*/
|
1076 |
+
if ( ! function_exists( 'mycred_get_settings_network' ) ) {
|
1077 |
function mycred_get_settings_network()
|
1078 |
{
|
1079 |
+
if ( ! is_multisite() ) return false;
|
1080 |
|
1081 |
$defaults = array(
|
1082 |
'master' => 0,
|
1094 |
* @since 0.1
|
1095 |
* @version 1.0
|
1096 |
*/
|
1097 |
+
if ( ! function_exists( 'mycred_override_settings' ) ) {
|
1098 |
function mycred_override_settings() {
|
1099 |
// Not a multisite
|
1100 |
if ( ! is_multisite() ) return false;
|
1111 |
* @since 1.3
|
1112 |
* @version 1.0
|
1113 |
*/
|
1114 |
+
if ( ! function_exists( 'mycred_centralize_log' ) ) {
|
1115 |
function mycred_centralize_log() {
|
1116 |
// Not a multisite
|
1117 |
if ( ! is_multisite() ) return true;
|
1126 |
/**
|
1127 |
* Get myCRED Name
|
1128 |
* Returns the name given to creds.
|
|
|
1129 |
* @param $signular (boolean) option to return the plural version, returns singular by default
|
1130 |
* @since 0.1
|
1131 |
* @version 1.0
|
1132 |
*/
|
1133 |
+
if ( ! function_exists( 'mycred_name' ) ) {
|
1134 |
function mycred_name( $singular = true )
|
1135 |
{
|
1136 |
$mycred = mycred_get_settings();
|
1144 |
/**
|
1145 |
* Strip Tags
|
1146 |
* Strippes HTML tags from a given string.
|
|
|
1147 |
* @param $string (string) string to stip
|
1148 |
* @param $overwrite (string), optional HTML tags to allow
|
1149 |
* @since 0.1
|
1150 |
* @version 1.0
|
1151 |
*/
|
1152 |
+
if ( ! function_exists( 'mycred_strip_tags' ) ) {
|
1153 |
function mycred_strip_tags( $string = '', $overwride = '' )
|
1154 |
{
|
1155 |
$mycred = mycred_get_settings();
|
1161 |
* Is Admin
|
1162 |
* Conditional tag that checks if a given user or the current user
|
1163 |
* can either edit the plugin or creds.
|
|
|
1164 |
* @param $user_id (int), optional user id to check, defaults to current user
|
1165 |
* @returns true or false
|
1166 |
* @since 0.1
|
1167 |
* @version 1.0
|
1168 |
*/
|
1169 |
+
if ( ! function_exists( 'mycred_is_admin' ) ) {
|
1170 |
function mycred_is_admin( $user_id = NULL )
|
1171 |
{
|
1172 |
$mycred = mycred_get_settings();
|
1181 |
/**
|
1182 |
* Exclude User
|
1183 |
* Checks if a given user is excluded from using myCRED.
|
|
|
1184 |
* @see http://mycred.me/functions/mycred_exclude_user/
|
1185 |
* @param $user_id (int), optional user to check, defaults to current user
|
1186 |
* @since 0.1
|
1187 |
* @version 1.0
|
1188 |
*/
|
1189 |
+
if ( ! function_exists( 'mycred_exclude_user' ) ) {
|
1190 |
function mycred_exclude_user( $user_id = NULL )
|
1191 |
{
|
1192 |
$mycred = mycred_get_settings();
|
1199 |
* Get Users Creds
|
1200 |
* Returns the given users current cred balance. If no user id is given this function
|
1201 |
* will default to the current user!
|
|
|
1202 |
* @param $user_id (int) user id
|
1203 |
* @return users balance (int|float)
|
1204 |
* @since 0.1
|
1205 |
* @version 1.0
|
1206 |
*/
|
1207 |
+
if ( ! function_exists( 'mycred_get_users_cred' ) ) {
|
1208 |
function mycred_get_users_cred( $user_id = NULL, $type = '' )
|
1209 |
{
|
1210 |
if ( $user_id === NULL ) $user_id = get_current_user_id();
|
1218 |
* Get Users Creds Formated
|
1219 |
* Returns the given users current cred balance formated. If no user id is given
|
1220 |
* this function will return false!
|
|
|
1221 |
* @param $user_id (int), required user id
|
1222 |
* @return users balance (string) or false if no user id is given
|
1223 |
* @since 0.1
|
1224 |
* @version 1.0
|
1225 |
*/
|
1226 |
+
if ( ! function_exists( 'mycred_get_users_fcred' ) ) {
|
1227 |
function mycred_get_users_fcred( $user_id = NULL, $type = '' )
|
1228 |
{
|
1229 |
if ( $user_id === NULL ) return false;
|
1239 |
* @since 0.1
|
1240 |
* @version 1.0
|
1241 |
*/
|
1242 |
+
if ( ! function_exists( 'mycred_flush_widget_cache' ) ) {
|
1243 |
function mycred_flush_widget_cache( $id = NULL )
|
1244 |
{
|
1245 |
if ( $id === NULL ) return;
|
1247 |
}
|
1248 |
}
|
1249 |
|
1250 |
+
/**
|
1251 |
+
* Format Number
|
1252 |
+
* @since 1.3.3
|
1253 |
+
* @version 1.0
|
1254 |
+
*/
|
1255 |
+
if ( ! function_exists( 'mycred_format_number' ) ) {
|
1256 |
+
function mycred_format_number( $value = NULL )
|
1257 |
+
{
|
1258 |
+
$mycred = mycred_get_settings();
|
1259 |
+
if ( $value === NULL )
|
1260 |
+
return $mycred->zero();
|
1261 |
+
|
1262 |
+
return $mycred->format_number( $value );
|
1263 |
+
}
|
1264 |
+
}
|
1265 |
+
|
1266 |
+
/**
|
1267 |
+
* Format Creds
|
1268 |
+
* @since 1.3.3
|
1269 |
+
* @version 1.0
|
1270 |
+
*/
|
1271 |
+
if ( ! function_exists( 'mycred_format_creds' ) ) {
|
1272 |
+
function mycred_format_creds( $value = NULL )
|
1273 |
+
{
|
1274 |
+
$mycred = mycred_get_settings();
|
1275 |
+
if ( $value === NULL ) $mycred->zero();
|
1276 |
+
|
1277 |
+
return $mycred->format_creds( $value );
|
1278 |
+
}
|
1279 |
+
}
|
1280 |
+
|
1281 |
/**
|
1282 |
* Add Creds
|
1283 |
* Adds creds to a given user. A refernece ID, user id and amount must be given.
|
1294 |
* @since 0.1
|
1295 |
* @version 1.1
|
1296 |
*/
|
1297 |
+
if ( ! function_exists( 'mycred_add' ) ) {
|
1298 |
function mycred_add( $ref = '', $user_id = '', $amount = '', $entry = '', $ref_id = '', $data = '', $type = 'mycred_default' )
|
1299 |
{
|
1300 |
// $ref, $user_id and $cred is required
|
1316 |
* @since 0.1
|
1317 |
* @version 1.0
|
1318 |
*/
|
1319 |
+
if ( ! function_exists( 'mycred_subtract' ) ) {
|
1320 |
function mycred_subtract( $ref = '', $user_id = '', $amount = '', $entry = '', $ref_id = '', $data = '', $type = 'mycred_default' )
|
1321 |
{
|
1322 |
if ( empty( $ref ) || empty( $user_id ) || empty( $amount ) ) return false;
|
1333 |
* @param $user_id (int) option to check references for a specific user
|
1334 |
* @uses get_var()
|
1335 |
* @since 1.1
|
1336 |
+
* @version 1.0.1
|
1337 |
*/
|
1338 |
+
if ( ! function_exists( 'mycred_count_ref_instances' ) ) {
|
1339 |
function mycred_count_ref_instances( $reference = '', $user_id = NULL )
|
1340 |
{
|
1341 |
+
if ( empty( $reference ) ) return '';
|
1342 |
|
1343 |
$mycred = mycred_get_settings();
|
1344 |
|
1356 |
}
|
1357 |
}
|
1358 |
|
1359 |
+
/**
|
1360 |
+
* Count All Reference Instances
|
1361 |
+
* Counts all the reference instances in the log returning the result
|
1362 |
+
* in an assosiative array.
|
1363 |
+
* @see http://mycred.me/functions/mycred_count_all_ref_instances/
|
1364 |
+
* @param $number (int) number of references to return. Defaults to 5. Use '-1' for all.
|
1365 |
+
* @param $order (string) order to return ASC or DESC
|
1366 |
+
* @filter mycred_count_all_refs
|
1367 |
+
* @since 1.3.3
|
1368 |
+
* @version 1.0
|
1369 |
+
*/
|
1370 |
+
if ( ! function_exists( 'mycred_count_all_ref_instances' ) ) {
|
1371 |
+
function mycred_count_all_ref_instances( $number = 5, $order = 'DESC' )
|
1372 |
+
{
|
1373 |
+
global $wpdb;
|
1374 |
+
$mycred = mycred_get_settings();
|
1375 |
+
|
1376 |
+
if ( $number == '-1' )
|
1377 |
+
$limit = '';
|
1378 |
+
else
|
1379 |
+
$limit = ' LIMIT 0,' . abs( $number );
|
1380 |
+
|
1381 |
+
if ( ! in_array( $order, array( 'ASC', 'DESC' ) ) )
|
1382 |
+
$order = 'DESC';
|
1383 |
+
|
1384 |
+
$query = $wpdb->get_results( "SELECT ref, COUNT(*) AS count FROM {$mycred->log_table} GROUP BY ref ORDER BY count {$order} {$limit};" );
|
1385 |
+
|
1386 |
+
$results = array();
|
1387 |
+
if ( $wpdb->num_rows > 0 ) {
|
1388 |
+
foreach ( $query as $num => $reference ) {
|
1389 |
+
$occurrence = $reference->count;
|
1390 |
+
if ( $reference->ref == 'transfer' )
|
1391 |
+
$occurrence = $occurrence/2;
|
1392 |
+
|
1393 |
+
$results[ $reference->ref ] = $occurrence;
|
1394 |
+
}
|
1395 |
+
arsort( $results );
|
1396 |
+
}
|
1397 |
+
|
1398 |
+
return apply_filters( 'mycred_count_all_refs', $results );
|
1399 |
+
}
|
1400 |
+
}
|
1401 |
+
|
1402 |
/**
|
1403 |
* Get Total Points by Time
|
1404 |
* Counts the total amount of points that has been entered into the log between
|
1418 |
* @param $type (string) point type to filer by.
|
1419 |
* @returns total points (int|float) or error message (string)
|
1420 |
* @since 1.1.1
|
1421 |
+
* @version 1.1
|
1422 |
*/
|
1423 |
+
if ( ! function_exists( 'mycred_get_total_by_time' ) ) {
|
1424 |
function mycred_get_total_by_time( $from = 'today', $to = 'now', $ref = NULL, $user_id = NULL, $type = '' )
|
1425 |
{
|
1426 |
// Get myCRED
|
1453 |
}
|
1454 |
|
1455 |
// From
|
1456 |
+
if ( ! is_numeric( $from ) ) return __( 'incorrect unix timestamp (from):', 'mycred' ) . ' ' . $from;
|
1457 |
$wheres[] = 'time >= %d';
|
1458 |
$prep[] = $from;
|
1459 |
|
1462 |
$to = date_i18n( 'U' );
|
1463 |
|
1464 |
// To
|
1465 |
+
if ( ! is_numeric( $to ) ) return __( 'incorrect unix timestamp (to):', 'mycred' ) . ' ' . $to;
|
1466 |
$wheres[] = 'time <= %d';
|
1467 |
$prep[] = $to;
|
1468 |
|
1477 |
|
1478 |
// Construct
|
1479 |
$where = implode( ' AND ', $wheres );
|
|
|
1480 |
|
1481 |
// Query
|
1482 |
+
$query = $wpdb->get_var( $wpdb->prepare( "
|
1483 |
+
SELECT SUM( creds )
|
1484 |
+
FROM {$mycred->log_table}
|
1485 |
+
WHERE {$where}
|
1486 |
+
ORDER BY time;", $prep ) );
|
1487 |
|
1488 |
+
if ( $query === NULL || $query == 0 )
|
1489 |
+
return $mycred->zero();
|
|
|
|
|
|
|
|
|
|
|
1490 |
|
1491 |
+
return $mycred->number( $query );
|
1492 |
}
|
1493 |
}
|
1494 |
|
1503 |
* @since 1.2
|
1504 |
* @version 1.0
|
1505 |
*/
|
1506 |
+
if ( ! function_exists( 'mycred_get_users_total' ) ) {
|
1507 |
function mycred_get_users_total( $user_id = '', $type = '' ) {
|
1508 |
if ( empty( $user_id ) ) return 0;
|
1509 |
|
1525 |
* @param $mycred (myCRED_Settings object), required myCRED settings object
|
1526 |
* @returns zero if user id is not set or if no total were found, else returns total
|
1527 |
* @since 1.2
|
1528 |
+
* @version 1.1
|
1529 |
*/
|
1530 |
+
if ( ! function_exists( 'mycred_update_users_total' ) ) {
|
1531 |
function mycred_update_users_total( $type = '', $request = NULL, $mycred = NULL ) {
|
1532 |
+
if ( $request === NULL || ! is_object( $mycred ) || ! isset( $request['user_id'] ) || ! isset( $request['amount'] ) ) return false;
|
1533 |
if ( empty( $type ) ) $type = $mycred->get_cred_id();
|
1534 |
|
1535 |
do_action( 'mycred_update_users_total', $request, $type, $mycred );
|
1536 |
|
1537 |
$amount = $mycred->number( $request['amount'] );
|
|
|
|
|
1538 |
$user_id = $request['user_id'];
|
1539 |
+
$users_total = get_user_meta( $user_id, $type . '_total', true );
|
1540 |
+
if ( empty( $users_total ) ) {
|
1541 |
+
global $wpdb;
|
1542 |
+
$users_total = $wpdb->get_var( $wpdb->prepare( "
|
1543 |
+
SELECT SUM( creds )
|
1544 |
+
FROM {$mycred->log_table}
|
1545 |
+
WHERE user_id = %d
|
1546 |
+
AND ( ( creds > 0 ) OR ( creds < 0 AND ref = %s ) );", $user_id, 'manual' ) );
|
1547 |
+
}
|
1548 |
|
1549 |
$new_total = $mycred->number( $users_total+$amount );
|
1550 |
update_user_meta( $user_id, $type . '_total', $new_total );
|
1560 |
* @since 1.1.2
|
1561 |
* @version 1.0
|
1562 |
*/
|
1563 |
+
if ( ! function_exists( 'mycred_apply_defaults' ) ) {
|
1564 |
function mycred_apply_defaults( &$pref, $set ) {
|
1565 |
$set = (array) $set;
|
1566 |
$return = array();
|
1582 |
* @since 1.3
|
1583 |
* @version 1.0
|
1584 |
*/
|
1585 |
+
if ( ! function_exists( 'mycred_get_remote' ) ) {
|
1586 |
function mycred_get_remote() {
|
1587 |
$defaults = apply_filters( 'mycred_remote_defaults', array(
|
1588 |
'enabled' => 0,
|
includes/mycred-install.php
CHANGED
@@ -26,7 +26,7 @@ if ( !class_exists( 'myCRED_Install' ) ) {
|
|
26 |
* Compat
|
27 |
* Check to make sure we reach minimum requirements for this plugin to work propery.
|
28 |
* @since 0.1
|
29 |
-
* @version 1.0
|
30 |
*/
|
31 |
public function compat() {
|
32 |
global $wpdb;
|
@@ -39,8 +39,8 @@ if ( !class_exists( 'myCRED_Install' ) ) {
|
|
39 |
|
40 |
// PHP check
|
41 |
$php_version = phpversion();
|
42 |
-
if ( version_compare( $php_version, '5.2.
|
43 |
-
$message[] = __( 'myCRED requires PHP 5.2.
|
44 |
|
45 |
// SQL check
|
46 |
$sql_version = $wpdb->db_version();
|
26 |
* Compat
|
27 |
* Check to make sure we reach minimum requirements for this plugin to work propery.
|
28 |
* @since 0.1
|
29 |
+
* @version 1.0.1
|
30 |
*/
|
31 |
public function compat() {
|
32 |
global $wpdb;
|
39 |
|
40 |
// PHP check
|
41 |
$php_version = phpversion();
|
42 |
+
if ( version_compare( $php_version, '5.2.4', '<' ) )
|
43 |
+
$message[] = __( 'myCRED requires PHP 5.2.4 or higher. Version detected: ', 'mycred' ) . ' ' . $php_version;
|
44 |
|
45 |
// SQL check
|
46 |
$sql_version = $wpdb->db_version();
|
includes/mycred-log.php
CHANGED
@@ -50,7 +50,7 @@ if ( !class_exists( 'myCRED_Query_Log' ) ) {
|
|
50 |
'ids' => false,
|
51 |
'cache' => NULL
|
52 |
);
|
53 |
-
$this->args =
|
54 |
|
55 |
$data = false;
|
56 |
if ( $this->args['cache'] !== NULL ) {
|
@@ -298,7 +298,7 @@ if ( !class_exists( 'myCRED_Query_Log' ) ) {
|
|
298 |
*/
|
299 |
public function get_display() {
|
300 |
$output = '
|
301 |
-
<table class="wp-list-table widefat
|
302 |
<thead>
|
303 |
<tr>';
|
304 |
|
50 |
'ids' => false,
|
51 |
'cache' => NULL
|
52 |
);
|
53 |
+
$this->args = mycred_apply_defaults( $defaults, $args );
|
54 |
|
55 |
$data = false;
|
56 |
if ( $this->args['cache'] !== NULL ) {
|
298 |
*/
|
299 |
public function get_display() {
|
300 |
$output = '
|
301 |
+
<table class="table wp-list-table widefat mycred-table log-entries" cellspacing="0">
|
302 |
<thead>
|
303 |
<tr>';
|
304 |
|
includes/mycred-network.php
CHANGED
@@ -155,7 +155,7 @@ h4.ui-accordion-header:before { content: "<?php _e( 'click to open', 'mycred' );
|
|
155 |
|
156 |
<div class="wrap" id="myCRED-wrap">
|
157 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
158 |
-
<h2> <?php echo
|
159 |
<?php
|
160 |
|
161 |
// Inform user that myCRED has not yet been setup
|
155 |
|
156 |
<div class="wrap" id="myCRED-wrap">
|
157 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
158 |
+
<h2> <?php echo sprintf( __( '%s Network', 'mycred' ), mycred_label() ); ?></h2>
|
159 |
<?php
|
160 |
|
161 |
// Inform user that myCRED has not yet been setup
|
includes/mycred-overview.php
ADDED
@@ -0,0 +1,397 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Dashboard Widget: Overview
|
6 |
+
* @see https://codex.wordpress.org/Example_Dashboard_Widget
|
7 |
+
* @since 1.3.3
|
8 |
+
* @version 1.1
|
9 |
+
*/
|
10 |
+
add_action( 'wp_dashboard_setup', array( 'myCRED_Dashboard_Widget_Overview', 'init' ) );
|
11 |
+
add_action( 'admin_head', array( 'myCRED_Dashboard_Widget_Overview', 'style' ) );
|
12 |
+
if ( ! class_exists( 'myCRED_Dashboard_Widget_Overview' ) ) {
|
13 |
+
class myCRED_Dashboard_Widget_Overview {
|
14 |
+
|
15 |
+
const wid = 'mycred_overview';
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Init Widget
|
19 |
+
*/
|
20 |
+
public static function init() {
|
21 |
+
// Update settings
|
22 |
+
self::update_settings();
|
23 |
+
|
24 |
+
// Add widget
|
25 |
+
wp_add_dashboard_widget(
|
26 |
+
self::wid,
|
27 |
+
sprintf( __( '%s Right Now', 'mycred' ), mycred_label() ),
|
28 |
+
array( 'myCRED_Dashboard_Widget_Overview', 'widget' ),
|
29 |
+
array( 'myCRED_Dashboard_Widget_Overview', 'config' )
|
30 |
+
);
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Get Modules
|
35 |
+
*/
|
36 |
+
public static function get_modules() {
|
37 |
+
$modules = array(
|
38 |
+
'refs' => array(
|
39 |
+
'title' => __( 'Reference Occurrences', 'mycred' ),
|
40 |
+
'call' => 'myCRED_Overview_Widget_Module_Refs',
|
41 |
+
'prefs' => true,
|
42 |
+
'default' => array(
|
43 |
+
'number' => 5
|
44 |
+
)
|
45 |
+
),
|
46 |
+
'totals' => array(
|
47 |
+
'title' => __( '%singular% Totals', 'mycred' ),
|
48 |
+
'call' => 'myCRED_Overview_Widget_Module_Totals',
|
49 |
+
'prefs' => false
|
50 |
+
)
|
51 |
+
);
|
52 |
+
|
53 |
+
return apply_filters( 'mycred_overview_modules', $modules );
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Widget Styling
|
58 |
+
*/
|
59 |
+
public static function style() {
|
60 |
+
$screen = get_current_screen();
|
61 |
+
if ( ! isset( $screen->id ) || $screen->id != 'dashboard' ) return;
|
62 |
+
wp_enqueue_style( 'mycred-dashboard-overview' );
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Widget output
|
67 |
+
*/
|
68 |
+
public static function widget() {
|
69 |
+
$mycred = mycred_get_settings();
|
70 |
+
$modules = self::get_modules();
|
71 |
+
$prefs = self::get_dashboard_widget_options( self::wid ); ?>
|
72 |
+
|
73 |
+
<div class="overview-module-wrap">
|
74 |
+
<?php
|
75 |
+
// No modules exists
|
76 |
+
if ( empty( $modules ) || empty( $prefs['active'] ) ) {
|
77 |
+
echo '<p class="no-modules">' . __( 'no modules shown', 'mycred' ) . '</p>';
|
78 |
+
}
|
79 |
+
|
80 |
+
// Modules exists
|
81 |
+
else {
|
82 |
+
|
83 |
+
// Loop though modules
|
84 |
+
$count = 0;
|
85 |
+
foreach ( $modules as $module_id => $module ) {
|
86 |
+
if ( ! in_array( $module_id, $prefs['active'] ) ) continue;
|
87 |
+
|
88 |
+
if ( class_exists( $module['call'] ) ) {
|
89 |
+
$count++;
|
90 |
+
|
91 |
+
if ( $count % 2 != 0 )
|
92 |
+
$class = ' push';
|
93 |
+
else
|
94 |
+
$class = '';
|
95 |
+
|
96 |
+
echo '<div class="module table table_content' . $class . '"><p class="sub">' . $mycred->template_tags_general( $module['title'] ) . '</p>';
|
97 |
+
|
98 |
+
if ( isset( $prefs[ $module_id ] ) && isset( $module['default'] ) )
|
99 |
+
$_prefs = mycred_apply_defaults( $module['default'], $prefs[ $module_id ] );
|
100 |
+
else
|
101 |
+
$_prefs = array();
|
102 |
+
|
103 |
+
|
104 |
+
$module = new $module['call']();
|
105 |
+
$module->display( $_prefs );
|
106 |
+
|
107 |
+
echo '</div>';
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
} ?>
|
112 |
+
|
113 |
+
<div class="clear"></div>
|
114 |
+
</div>
|
115 |
+
<?php
|
116 |
+
}
|
117 |
+
|
118 |
+
/**
|
119 |
+
* Widget Settings
|
120 |
+
*/
|
121 |
+
public static function config() {
|
122 |
+
$mycred = mycred_get_settings();
|
123 |
+
$modules = self::get_modules();
|
124 |
+
$prefs = self::get_dashboard_widget_options( self::wid ); ?>
|
125 |
+
|
126 |
+
<div class="overview-module-wrap">
|
127 |
+
<?php
|
128 |
+
// If modules exists
|
129 |
+
if ( ! empty( $modules ) ) {
|
130 |
+
|
131 |
+
$count = 0;
|
132 |
+
foreach ( $modules as $module_id => $module ) {
|
133 |
+
$count++;
|
134 |
+
|
135 |
+
if ( $count % 2 != 0 )
|
136 |
+
$class = ' push';
|
137 |
+
else
|
138 |
+
$class = ''; ?>
|
139 |
+
|
140 |
+
<div class="module table table_content<?php echo $class; ?>">
|
141 |
+
<p class="sub"><?php echo $mycred->template_tags_general( $module['title'] ); ?></p>
|
142 |
+
<table>
|
143 |
+
<tbody>
|
144 |
+
<tr class="first">
|
145 |
+
<td class="first b"><input type="checkbox" name="<?php echo self::wid; ?>[active][]" id="mycred-overview-module-<?php echo $module_id; ?>"<?php if ( in_array( $module_id, $prefs['active'] ) ) echo ' checked="checked"'; ?> value="<?php echo $module_id; ?>" /></td>
|
146 |
+
<td class="t posts"><label for="mycred-overview-module-<?php echo $module_id; ?>"><?php _e( 'Show', 'mycred' ); ?></label></td>
|
147 |
+
</tr>
|
148 |
+
<?php
|
149 |
+
|
150 |
+
// Module Preferencs
|
151 |
+
if ( isset( $module['prefs'] ) && $module['prefs'] && class_exists( $module['call'] ) ) {
|
152 |
+
if ( isset( $prefs[ $module_id ] ) && isset( $module['default'] ) )
|
153 |
+
$_prefs = mycred_apply_defaults( $module['default'], $prefs[ $module_id ] );
|
154 |
+
else
|
155 |
+
$_prefs = $module['default'];
|
156 |
+
|
157 |
+
$module = new $module['call']();
|
158 |
+
$module->config( self::wid, $_prefs );
|
159 |
+
} ?>
|
160 |
+
|
161 |
+
</tbody>
|
162 |
+
</table>
|
163 |
+
</div>
|
164 |
+
<?php }
|
165 |
+
} else { ?>
|
166 |
+
|
167 |
+
<p><?php _e( 'No modules found', 'mycred' ); ?></p>
|
168 |
+
<?php } ?>
|
169 |
+
|
170 |
+
<div class="clear"></div>
|
171 |
+
</div>
|
172 |
+
<?php
|
173 |
+
}
|
174 |
+
|
175 |
+
/**
|
176 |
+
* Save Settings
|
177 |
+
*/
|
178 |
+
public static function update_settings() {
|
179 |
+
if ( isset( $_POST[ self::wid ] ) ) {
|
180 |
+
if ( ! isset( $_POST[ self::wid ]['active'] ) )
|
181 |
+
$_POST[ self::wid ]['active'] = array();
|
182 |
+
|
183 |
+
$defaults = array( 'active' => array() );
|
184 |
+
$modules = self::get_modules();
|
185 |
+
|
186 |
+
if ( ! empty( $modules ) ) {
|
187 |
+
foreach ( $modules as $module_id => $module ) {
|
188 |
+
if ( ! isset( $module['default'] ) ) continue;
|
189 |
+
$defaults[ $module_id ] = $module['default'];
|
190 |
+
}
|
191 |
+
}
|
192 |
+
|
193 |
+
self::update_dashboard_widget_options(
|
194 |
+
self::wid,
|
195 |
+
$_POST[ self::wid ],
|
196 |
+
$defaults
|
197 |
+
);
|
198 |
+
}
|
199 |
+
}
|
200 |
+
|
201 |
+
/**
|
202 |
+
* Get Widget Options
|
203 |
+
*/
|
204 |
+
public static function get_dashboard_widget_options( $widget_id = '' ) {
|
205 |
+
// Fetch ALL dashboard widget options from the db...
|
206 |
+
$opts = get_option( 'dashboard_widget_options' );
|
207 |
+
|
208 |
+
// If no widget is specified, return everything
|
209 |
+
if ( empty( $widget_id ) )
|
210 |
+
return $opts;
|
211 |
+
|
212 |
+
// If we request a widget and it exists, return it
|
213 |
+
if ( isset( $opts[ $widget_id ] ) )
|
214 |
+
return $opts[ $widget_id ];
|
215 |
+
|
216 |
+
// Something went wrong...
|
217 |
+
return false;
|
218 |
+
}
|
219 |
+
|
220 |
+
/**
|
221 |
+
* Get Widget Option
|
222 |
+
*/
|
223 |
+
public static function get_dashboard_widget_option( $widget_id, $option, $default = NULL ) {
|
224 |
+
$opts = self::get_dashboard_widget_options( $widget_id );
|
225 |
+
|
226 |
+
// If widget opts dont exist, return false
|
227 |
+
if ( ! $opts )
|
228 |
+
return false;
|
229 |
+
|
230 |
+
// Otherwise fetch the option or use default
|
231 |
+
if ( isset( $opts[ $option ] ) && ! empty( $opts[ $option ] ) )
|
232 |
+
return $opts[ $option ];
|
233 |
+
else
|
234 |
+
return ( isset( $default ) ) ? $default : false;
|
235 |
+
}
|
236 |
+
|
237 |
+
/**
|
238 |
+
* Update Widget Option
|
239 |
+
*/
|
240 |
+
public static function update_dashboard_widget_options( $widget_id , $args = array(), $default = array() ) {
|
241 |
+
// Fetch ALL dashboard widget options from the db...
|
242 |
+
$opts = get_option( 'dashboard_widget_options' );
|
243 |
+
|
244 |
+
$opts[ $widget_id ] = mycred_apply_defaults( $default, $args );
|
245 |
+
|
246 |
+
// Save the entire widgets array back to the db
|
247 |
+
return update_option( 'dashboard_widget_options', $opts );
|
248 |
+
}
|
249 |
+
}
|
250 |
+
}
|
251 |
+
|
252 |
+
/**
|
253 |
+
* Overview Module: Reference Occurences
|
254 |
+
* @since 1.3.3
|
255 |
+
* @version 1.0
|
256 |
+
*/
|
257 |
+
if ( ! class_exists( 'myCRED_Overview_Widget_Module_Refs' ) ) {
|
258 |
+
class myCRED_Overview_Widget_Module_Refs {
|
259 |
+
|
260 |
+
public function __construct() { }
|
261 |
+
|
262 |
+
/**
|
263 |
+
* Display Module
|
264 |
+
*/
|
265 |
+
public function display( $prefs ) {
|
266 |
+
$reference_count = mycred_count_all_ref_instances( $prefs['number'] );
|
267 |
+
$ref_count = count( $reference_count ); ?>
|
268 |
+
|
269 |
+
<table>
|
270 |
+
<tbody>
|
271 |
+
<?php
|
272 |
+
// References exists
|
273 |
+
if ( $ref_count > 0 ) {
|
274 |
+
$count = 0;
|
275 |
+
foreach ( $reference_count as $reference => $occurrence ) {
|
276 |
+
$name = str_replace( array( '_', '-' ), ' ', $reference );
|
277 |
+
$name = ucwords( $name );
|
278 |
+
|
279 |
+
$url = add_query_arg( array( 'page' => 'myCRED', 'ref' => $reference ), admin_url( 'admin.php' ) ); ?>
|
280 |
+
|
281 |
+
<tr<?php if ( $count == 0 ) echo ' class="first"'; ?>>
|
282 |
+
<td class="first b"><a href="<?php echo $url; ?>"><?php echo $occurrence; ?></a></td>
|
283 |
+
<td class="t posts"><?php echo $name; ?></td>
|
284 |
+
</tr>
|
285 |
+
<?php $count++;
|
286 |
+
}
|
287 |
+
}
|
288 |
+
|
289 |
+
// No references = empty log
|
290 |
+
else { ?>
|
291 |
+
|
292 |
+
<tr class="first">
|
293 |
+
<td class="" colspan="2"><?php _e( 'Your log is empty', 'mycred' ); ?></td>
|
294 |
+
</tr>
|
295 |
+
<?php } ?>
|
296 |
+
|
297 |
+
</tbody>
|
298 |
+
</table>
|
299 |
+
<?php
|
300 |
+
}
|
301 |
+
|
302 |
+
/**
|
303 |
+
* Module Config
|
304 |
+
*/
|
305 |
+
public function config( $widget_id, $prefs ) { ?>
|
306 |
+
|
307 |
+
<tr class="first">
|
308 |
+
<td class="first b"><input type="text" name="<?php echo $widget_id; ?>[refs][number]" id="mycred-overview-module-refs-number" value="<?php echo $prefs['number']; ?>" size="2" /></td>
|
309 |
+
<td class="t posts"><label for="mycred-overview-module-refs-number"><?php _e( 'Number', 'mycred' ); ?></label></td>
|
310 |
+
</tr>
|
311 |
+
<?php
|
312 |
+
}
|
313 |
+
}
|
314 |
+
}
|
315 |
+
|
316 |
+
/**
|
317 |
+
* Overview Module: Totals
|
318 |
+
* @since 1.3.3
|
319 |
+
* @version 1.0
|
320 |
+
*/
|
321 |
+
if ( ! class_exists( 'myCRED_Overview_Widget_Module_Totals' ) ) {
|
322 |
+
class myCRED_Overview_Widget_Module_Totals {
|
323 |
+
|
324 |
+
public function __construct() { }
|
325 |
+
|
326 |
+
/**
|
327 |
+
* Display Module
|
328 |
+
*/
|
329 |
+
public function display() {
|
330 |
+
$name = apply_filters( 'mycred_label', myCRED_NAME );
|
331 |
+
$url = add_query_arg( array( 'page' => 'myCRED' ), admin_url( 'admin.php' ) );
|
332 |
+
|
333 |
+
global $wpdb;
|
334 |
+
$mycred = mycred_get_settings();
|
335 |
+
|
336 |
+
$gains = $wpdb->get_var( "SELECT SUM(creds) FROM {$mycred->log_table} WHERE creds > 0;" );
|
337 |
+
$loses = $wpdb->get_var( "SELECT SUM(creds) FROM {$mycred->log_table} WHERE creds < 0;" ); ?>
|
338 |
+
|
339 |
+
<table>
|
340 |
+
<tbody>
|
341 |
+
<tr class="first">
|
342 |
+
<td class="first b"><a href="<?php echo add_query_arg( array( 'num' => 0, 'compare' => '>' ), $url ); ?>"><?php echo $mycred->format_number( $gains ); ?></a></td>
|
343 |
+
<td class="t approved"><?php _e( 'Earned by users', 'mycred' ); ?></td>
|
344 |
+
</tr>
|
345 |
+
<tr>
|
346 |
+
<td class="first b"><a href="<?php echo add_query_arg( array( 'num' => 0, 'compare' => '<' ), $url ); ?>"><?php echo $mycred->format_number( abs( $loses ) ); ?></a></td>
|
347 |
+
<td class="t spam"><?php _e( 'Taken from users', 'mycred' ); ?></td>
|
348 |
+
</tr>
|
349 |
+
<?php
|
350 |
+
// buyCRED Add-on
|
351 |
+
if ( defined( 'myCRED_PURCHASE' ) ) :
|
352 |
+
$purchase = $wpdb->get_var( "SELECT SUM(creds) FROM {$mycred->log_table} WHERE ref IN ('buy_creds_with_paypal_standard','buy_creds_with_skrill','buy_creds_with_zombaio','buy_creds_with_netbilling');" ); ?>
|
353 |
+
|
354 |
+
<tr>
|
355 |
+
<td class="first b"><a href="<?php echo add_query_arg( array( 'ref' => 'buy_creds_with_paypal_standard,buy_creds_with_skrill,buy_creds_with_zombaio,buy_creds_with_netbilling' ), $url ); ?>"><?php echo $mycred->format_number( abs( $purchase ) ); ?></a></td>
|
356 |
+
<td class="t"><?php _e( 'Purchased by users', 'mycred' ); ?></td>
|
357 |
+
</tr>
|
358 |
+
<?php
|
359 |
+
endif;
|
360 |
+
|
361 |
+
// Transfer Add-on
|
362 |
+
if ( defined( 'myCRED_TRANSFER' ) ) :
|
363 |
+
$transfers = $wpdb->get_var( "SELECT SUM(creds) FROM {$mycred->log_table} WHERE creds > 0 AND ref = 'transfer';" ); ?>
|
364 |
+
|
365 |
+
<tr>
|
366 |
+
<td class="first b"><a href="<?php echo add_query_arg( array( 'ref' => 'transfer' ), $url ); ?>"><?php echo $mycred->format_number( abs( $transfers ) ); ?></a></td>
|
367 |
+
<td class="t"><?php _e( 'Transferred between users', 'mycred' ); ?></td>
|
368 |
+
</tr>
|
369 |
+
<?php
|
370 |
+
endif;
|
371 |
+
|
372 |
+
// Gateway Add-on
|
373 |
+
if ( defined( 'myCRED_GATE' ) ) :
|
374 |
+
$store = $wpdb->get_var( "SELECT SUM(creds) FROM {$mycred->log_table} WHERE ref IN ('woocommerce_payment','marketpress_payment','wpecom_payment');" ); ?>
|
375 |
+
|
376 |
+
<tr>
|
377 |
+
<td class="first b"><a href="<?php echo add_query_arg( array( 'ref' => 'woocommerce_payment,marketpress_payment,wpecom_payment,ticket_purchase,event_payment' ), $url ); ?>"><?php echo $mycred->format_number( abs( $store ) ); ?></a></td>
|
378 |
+
<td class="t"><?php _e( 'Used as payment', 'mycred' ); ?></td>
|
379 |
+
</tr>
|
380 |
+
<?php endif;
|
381 |
+
|
382 |
+
// Let others play
|
383 |
+
do_action( 'mycred_ow_totals_display', $mycred ); ?>
|
384 |
+
|
385 |
+
</tbody>
|
386 |
+
</table>
|
387 |
+
<p><span class="description"><?php _e( 'Note that manual balance adjustments without a log entry are not counted.', 'mycred' ); ?></span></p>
|
388 |
+
<?php
|
389 |
+
}
|
390 |
+
|
391 |
+
/**
|
392 |
+
* Module Config
|
393 |
+
*/
|
394 |
+
public function config( $widget_id, $prefs ) { }
|
395 |
+
}
|
396 |
+
}
|
397 |
+
?>
|
includes/mycred-protect.php
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
<?php
|
2 |
-
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
|
|
3 |
/**
|
4 |
* myCRED_Protect class
|
5 |
* @since 0.1
|
@@ -37,7 +38,7 @@ class myCRED_Protect {
|
|
37 |
* Encode
|
38 |
*/
|
39 |
public function do_encode( $value ) {
|
40 |
-
if (
|
41 |
$text = $value;
|
42 |
$iv_size = mcrypt_get_iv_size( MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB );
|
43 |
$iv = mcrypt_create_iv( $iv_size, MCRYPT_RAND );
|
@@ -49,7 +50,7 @@ class myCRED_Protect {
|
|
49 |
* Decode
|
50 |
*/
|
51 |
public function do_decode( $value ) {
|
52 |
-
if (
|
53 |
$crypttext = $this->do_safe_b64decode( $value );
|
54 |
$iv_size = mcrypt_get_iv_size( MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB );
|
55 |
$iv = mcrypt_create_iv( $iv_size, MCRYPT_RAND );
|
@@ -61,7 +62,7 @@ class myCRED_Protect {
|
|
61 |
* Retrieve
|
62 |
*/
|
63 |
protected function do_retrieve( $value ) {
|
64 |
-
if (
|
65 |
$crypttext = $this->do_safe_b64decode( $value );
|
66 |
$iv_size = mcrypt_get_iv_size( MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB );
|
67 |
$iv = mcrypt_create_iv( $iv_size, MCRYPT_RAND );
|
@@ -92,4 +93,19 @@ class myCRED_Protect {
|
|
92 |
return base64_decode( $data );
|
93 |
}
|
94 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
?>
|
1 |
<?php
|
2 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
3 |
+
|
4 |
/**
|
5 |
* myCRED_Protect class
|
6 |
* @since 0.1
|
38 |
* Encode
|
39 |
*/
|
40 |
public function do_encode( $value ) {
|
41 |
+
if ( ! $value ) { return false; }
|
42 |
$text = $value;
|
43 |
$iv_size = mcrypt_get_iv_size( MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB );
|
44 |
$iv = mcrypt_create_iv( $iv_size, MCRYPT_RAND );
|
50 |
* Decode
|
51 |
*/
|
52 |
public function do_decode( $value ) {
|
53 |
+
if ( ! $value ) { return false; }
|
54 |
$crypttext = $this->do_safe_b64decode( $value );
|
55 |
$iv_size = mcrypt_get_iv_size( MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB );
|
56 |
$iv = mcrypt_create_iv( $iv_size, MCRYPT_RAND );
|
62 |
* Retrieve
|
63 |
*/
|
64 |
protected function do_retrieve( $value ) {
|
65 |
+
if ( ! $value ) { return false; }
|
66 |
$crypttext = $this->do_safe_b64decode( $value );
|
67 |
$iv_size = mcrypt_get_iv_size( MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB );
|
68 |
$iv = mcrypt_create_iv( $iv_size, MCRYPT_RAND );
|
93 |
return base64_decode( $data );
|
94 |
}
|
95 |
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Load myCRED Protect
|
99 |
+
* @since 0.1
|
100 |
+
* @version 1.0.1
|
101 |
+
*/
|
102 |
+
function mycred_protect()
|
103 |
+
{
|
104 |
+
global $mycred_protect;
|
105 |
+
|
106 |
+
if ( ! isset( $mycred_protect ) || ! is_object( $mycred_protect ) )
|
107 |
+
$mycred_protect = new myCRED_Protect();
|
108 |
+
|
109 |
+
return $mycred_protect;
|
110 |
+
}
|
111 |
?>
|
includes/mycred-rankings.php
CHANGED
@@ -5,7 +5,7 @@ if ( !defined( 'myCRED_VERSION' ) ) exit;
|
|
5 |
* myCRED Query Rankings Class
|
6 |
* @see http://mycred.me/features/mycred_query_rankings/
|
7 |
* @since 1.1.2
|
8 |
-
* @version 1.
|
9 |
*/
|
10 |
if ( !class_exists( 'myCRED_Query_Rankings' ) ) {
|
11 |
class myCRED_Query_Rankings {
|
@@ -23,6 +23,7 @@ if ( !class_exists( 'myCRED_Query_Rankings' ) ) {
|
|
23 |
'order' => 'DESC',
|
24 |
'user_fields' => 'user_login,display_name,user_email,user_nicename,user_url',
|
25 |
'offset' => 0,
|
|
|
26 |
'type' => 'mycred_default'
|
27 |
), $args );
|
28 |
}
|
@@ -43,7 +44,7 @@ if ( !class_exists( 'myCRED_Query_Rankings' ) ) {
|
|
43 |
* Get Rankings
|
44 |
* Queries the DB for all users in order of their point balance.
|
45 |
* @since 1.1.2
|
46 |
-
* @version 1.0.
|
47 |
*/
|
48 |
public function get_rankings() {
|
49 |
global $wpdb;
|
@@ -74,10 +75,6 @@ if ( !class_exists( 'myCRED_Query_Rankings' ) ) {
|
|
74 |
$user_fields = str_replace( ' ', '', $user_fields );
|
75 |
$user_fields = explode( ',', $user_fields );
|
76 |
|
77 |
-
// Start constructing query
|
78 |
-
|
79 |
-
$prep = array();
|
80 |
-
|
81 |
// SELECT
|
82 |
$selects = array( "{$wpdb->users}.ID" );
|
83 |
foreach ( $user_fields as $field ) {
|
@@ -85,14 +82,22 @@ if ( !class_exists( 'myCRED_Query_Rankings' ) ) {
|
|
85 |
$selects[] = "{$wpdb->users}." . $field;
|
86 |
}
|
87 |
$selects[] = "{$wpdb->usermeta}.meta_value AS cred";
|
88 |
-
|
89 |
$select = implode( ', ', $selects );
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
$this->result = $wpdb->get_results( $wpdb->prepare( $SQL, $key ), 'ARRAY_A' );
|
97 |
$this->count = $wpdb->num_rows;
|
98 |
}
|
@@ -260,7 +265,7 @@ if ( !class_exists( 'myCRED_Rankings' ) ) {
|
|
260 |
/**
|
261 |
* Leaderboard Loop
|
262 |
* @since 1.1.2
|
263 |
-
* @version 1.0
|
264 |
*/
|
265 |
public function loop( $wrap = '' ) {
|
266 |
// Default template
|
@@ -279,7 +284,7 @@ if ( !class_exists( 'myCRED_Rankings' ) ) {
|
|
279 |
|
280 |
if ( $position % 2 != 0 )
|
281 |
$class[] = 'alt';
|
282 |
-
|
283 |
// Template Tags
|
284 |
if ( !function_exists( 'mycred_get_users_rank' ) )
|
285 |
$layout = str_replace( array( '%rank%', '%ranking%' ), $position+1, $this->args['template'] );
|
@@ -289,13 +294,13 @@ if ( !class_exists( 'myCRED_Rankings' ) ) {
|
|
289 |
$layout = $this->core->template_tags_amount( $layout, $row['cred'] );
|
290 |
$layout = $this->core->template_tags_user( $layout, false, $row );
|
291 |
|
292 |
-
$layout = apply_filters( 'mycred_ranking_row', $layout, $this->args['template'], $row, $position+1 );
|
293 |
-
|
294 |
// Wrapper
|
295 |
if ( !empty( $wrap ) )
|
296 |
$layout = '<' . $wrap . ' class="%classes%">' . $layout . '</' . $wrap . '>';
|
297 |
|
298 |
-
$layout = str_replace( '%classes%', implode( ' ', $class ), $layout );
|
|
|
|
|
299 |
$output .= $layout . "\n";
|
300 |
}
|
301 |
|
5 |
* myCRED Query Rankings Class
|
6 |
* @see http://mycred.me/features/mycred_query_rankings/
|
7 |
* @since 1.1.2
|
8 |
+
* @version 1.1
|
9 |
*/
|
10 |
if ( !class_exists( 'myCRED_Query_Rankings' ) ) {
|
11 |
class myCRED_Query_Rankings {
|
23 |
'order' => 'DESC',
|
24 |
'user_fields' => 'user_login,display_name,user_email,user_nicename,user_url',
|
25 |
'offset' => 0,
|
26 |
+
'zero' => 1,
|
27 |
'type' => 'mycred_default'
|
28 |
), $args );
|
29 |
}
|
44 |
* Get Rankings
|
45 |
* Queries the DB for all users in order of their point balance.
|
46 |
* @since 1.1.2
|
47 |
+
* @version 1.0.2
|
48 |
*/
|
49 |
public function get_rankings() {
|
50 |
global $wpdb;
|
75 |
$user_fields = str_replace( ' ', '', $user_fields );
|
76 |
$user_fields = explode( ',', $user_fields );
|
77 |
|
|
|
|
|
|
|
|
|
78 |
// SELECT
|
79 |
$selects = array( "{$wpdb->users}.ID" );
|
80 |
foreach ( $user_fields as $field ) {
|
82 |
$selects[] = "{$wpdb->users}." . $field;
|
83 |
}
|
84 |
$selects[] = "{$wpdb->usermeta}.meta_value AS cred";
|
|
|
85 |
$select = implode( ', ', $selects );
|
86 |
+
|
87 |
+
// WHERE
|
88 |
+
$where = '';
|
89 |
+
if ( $this->args['zero'] )
|
90 |
+
$where = "WHERE {$wpdb->usermeta}.meta_value > 0 ";
|
91 |
+
|
92 |
+
$SQL = apply_filters( 'mycred_ranking_sql', "
|
93 |
+
SELECT {$select}
|
94 |
+
FROM {$wpdb->users}
|
95 |
+
LEFT JOIN {$wpdb->usermeta}
|
96 |
+
ON {$wpdb->users}.ID = {$wpdb->usermeta}.user_id
|
97 |
+
AND {$wpdb->usermeta}.meta_key = %s
|
98 |
+
{$where}
|
99 |
+
ORDER BY {$wpdb->usermeta}.meta_value+1 {$order} {$limit};", $this->args, $wpdb );
|
100 |
+
|
101 |
$this->result = $wpdb->get_results( $wpdb->prepare( $SQL, $key ), 'ARRAY_A' );
|
102 |
$this->count = $wpdb->num_rows;
|
103 |
}
|
265 |
/**
|
266 |
* Leaderboard Loop
|
267 |
* @since 1.1.2
|
268 |
+
* @version 1.0.2
|
269 |
*/
|
270 |
public function loop( $wrap = '' ) {
|
271 |
// Default template
|
284 |
|
285 |
if ( $position % 2 != 0 )
|
286 |
$class[] = 'alt';
|
287 |
+
|
288 |
// Template Tags
|
289 |
if ( !function_exists( 'mycred_get_users_rank' ) )
|
290 |
$layout = str_replace( array( '%rank%', '%ranking%' ), $position+1, $this->args['template'] );
|
294 |
$layout = $this->core->template_tags_amount( $layout, $row['cred'] );
|
295 |
$layout = $this->core->template_tags_user( $layout, false, $row );
|
296 |
|
|
|
|
|
297 |
// Wrapper
|
298 |
if ( !empty( $wrap ) )
|
299 |
$layout = '<' . $wrap . ' class="%classes%">' . $layout . '</' . $wrap . '>';
|
300 |
|
301 |
+
$layout = str_replace( '%classes%', apply_filters( 'mycred_ranking_classes', implode( ' ', $class ) ), $layout );
|
302 |
+
$layout = apply_filters( 'mycred_ranking_row', $layout, $this->args['template'], $row, $position+1 );
|
303 |
+
|
304 |
$output .= $layout . "\n";
|
305 |
}
|
306 |
|
includes/mycred-shortcodes.php
CHANGED
@@ -8,7 +8,7 @@ if ( !defined( 'myCRED_VERSION' ) ) exit;
|
|
8 |
* @since 1.0.9
|
9 |
* @version 1.1
|
10 |
*/
|
11 |
-
if ( !function_exists( 'mycred_render_shortcode_my_balance' ) ) {
|
12 |
function mycred_render_shortcode_my_balance( $atts, $content = NULL )
|
13 |
{
|
14 |
extract( shortcode_atts( array(
|
@@ -84,7 +84,7 @@ if ( !function_exists( 'mycred_render_shortcode_my_balance' ) ) {
|
|
84 |
* @since 1.0.9
|
85 |
* @version 1.0
|
86 |
*/
|
87 |
-
if ( !function_exists( 'mycred_render_shortcode_history' ) ) {
|
88 |
function mycred_render_shortcode_history( $atts ) {
|
89 |
extract( shortcode_atts( array(
|
90 |
'user_id' => NULL,
|
@@ -97,7 +97,7 @@ if ( !function_exists( 'mycred_render_shortcode_history' ) ) {
|
|
97 |
), $atts ) );
|
98 |
|
99 |
// If we are not logged in
|
100 |
-
if ( !is_user_logged_in() && !empty( $login ) ) return '<p class="mycred-history login">' . $login . '</p>';
|
101 |
|
102 |
if ( $user_id === NULL )
|
103 |
$user_id = get_current_user_id();
|
@@ -133,7 +133,7 @@ if ( !function_exists( 'mycred_render_shortcode_history' ) ) {
|
|
133 |
* @since 0.1
|
134 |
* @version 1.2
|
135 |
*/
|
136 |
-
if ( !function_exists( 'mycred_render_leaderboard' ) ) {
|
137 |
function mycred_render_leaderboard( $atts, $content = NULL )
|
138 |
{
|
139 |
$attr = shortcode_atts( array(
|
@@ -167,7 +167,7 @@ if ( !function_exists( 'mycred_render_leaderboard' ) ) {
|
|
167 |
}
|
168 |
|
169 |
// No result template is set
|
170 |
-
if ( !empty( $attr['nothing'] ) )
|
171 |
return '<p class="mycred-leaderboard-none">' . $attr['nothing'] . '</p>';
|
172 |
}
|
173 |
}
|
@@ -177,7 +177,7 @@ if ( !function_exists( 'mycred_render_leaderboard' ) ) {
|
|
177 |
* @since 0.1
|
178 |
* @version 1.1
|
179 |
*/
|
180 |
-
if ( !function_exists( 'mycred_render_my_ranking' ) ) {
|
181 |
function mycred_render_my_ranking( $atts, $content )
|
182 |
{
|
183 |
extract( shortcode_atts( array(
|
@@ -187,7 +187,7 @@ if ( !function_exists( 'mycred_render_my_ranking' ) ) {
|
|
187 |
// If no id is given
|
188 |
if ( $user_id === NULL ) {
|
189 |
// Current user must be logged in for this shortcode to work
|
190 |
-
if ( !is_user_logged_in() ) return;
|
191 |
// Get current user id
|
192 |
$user_id = get_current_user_id();
|
193 |
}
|
@@ -209,7 +209,7 @@ if ( !function_exists( 'mycred_render_my_ranking' ) ) {
|
|
209 |
if ( !function_exists( 'mycred_render_shortcode_give' ) ) {
|
210 |
function mycred_render_shortcode_give( $atts, $content )
|
211 |
{
|
212 |
-
if ( !is_user_logged_in() ) return;
|
213 |
|
214 |
extract( shortcode_atts( array(
|
215 |
'amount' => NULL,
|
@@ -221,10 +221,10 @@ if ( !function_exists( 'mycred_render_shortcode_give' ) ) {
|
|
221 |
), $atts ) );
|
222 |
|
223 |
if ( $amount === NULL )
|
224 |
-
return '<strong>' .
|
225 |
|
226 |
if ( empty( $log ) )
|
227 |
-
return '<strong>' .
|
228 |
|
229 |
$mycred = mycred_get_settings();
|
230 |
|
@@ -264,7 +264,7 @@ if ( !function_exists( 'mycred_render_shortcode_give' ) ) {
|
|
264 |
* @since 1.1
|
265 |
* @version 1.1
|
266 |
*/
|
267 |
-
if ( !function_exists( 'mycred_render_shortcode_link' ) ) {
|
268 |
function mycred_render_shortcode_link( $atts, $content )
|
269 |
{
|
270 |
global $mycred_link_points;
|
@@ -285,7 +285,7 @@ if ( !function_exists( 'mycred_render_shortcode_link' ) ) {
|
|
285 |
|
286 |
// HREF is required
|
287 |
if ( empty( $atts['href'] ) )
|
288 |
-
return '<strong>' .
|
289 |
|
290 |
// All links must contain the 'mycred-points-link' class
|
291 |
if ( empty( $atts['class'] ) )
|
@@ -331,10 +331,10 @@ if ( !function_exists( 'mycred_render_shortcode_link' ) ) {
|
|
331 |
* @since 1.1
|
332 |
* @version 1.0
|
333 |
*/
|
334 |
-
if ( !function_exists( 'mycred_render_shortcode_send' ) ) {
|
335 |
function mycred_render_shortcode_send( $atts, $content )
|
336 |
{
|
337 |
-
if ( !is_user_logged_in() ) return;
|
338 |
|
339 |
extract( shortcode_atts( array(
|
340 |
'amount' => NULL,
|
@@ -346,15 +346,15 @@ if ( !function_exists( 'mycred_render_shortcode_send' ) ) {
|
|
346 |
|
347 |
// Amount is required
|
348 |
if ( $amount === NULL )
|
349 |
-
return '<strong>' .
|
350 |
|
351 |
// Recipient is required
|
352 |
if ( empty( $to ) )
|
353 |
-
return '<strong>' .
|
354 |
|
355 |
// Log template is required
|
356 |
if ( empty( $log ) )
|
357 |
-
return '<strong>' .
|
358 |
|
359 |
if ( $to == 'author' ) {
|
360 |
// You can not use this outside the loop
|
@@ -390,7 +390,7 @@ if ( !function_exists( 'mycred_render_shortcode_send' ) ) {
|
|
390 |
* @since 0.1
|
391 |
* @version 1.2
|
392 |
*/
|
393 |
-
if ( !function_exists( 'mycred_send_shortcode_footer' ) ) {
|
394 |
add_action( 'wp_footer', 'mycred_send_shortcode_footer' );
|
395 |
function mycred_send_shortcode_footer() {
|
396 |
global $mycred_sending_points;
|
@@ -422,11 +422,11 @@ if ( !function_exists( 'mycred_send_shortcode_footer' ) ) {
|
|
422 |
* @since 0.1
|
423 |
* @version 1.2
|
424 |
*/
|
425 |
-
if ( !function_exists( 'mycred_shortcode_send_points_ajax' ) ) {
|
426 |
add_action( 'wp_ajax_mycred-send-points', 'mycred_shortcode_send_points_ajax' );
|
427 |
function mycred_shortcode_send_points_ajax() {
|
428 |
// We must be logged in
|
429 |
-
if ( !is_user_logged_in() ) die();
|
430 |
|
431 |
// Security
|
432 |
check_ajax_referer( 'mycred-send-points', 'token' );
|
@@ -485,72 +485,77 @@ if ( !function_exists( 'mycred_shortcode_send_points_ajax' ) ) {
|
|
485 |
* @since 1.2
|
486 |
* @version 1.0
|
487 |
*/
|
488 |
-
if ( !function_exists( 'mycred_render_shortcode_video' ) ) {
|
489 |
function mycred_render_shortcode_video( $atts, $content )
|
490 |
{
|
491 |
global $mycred_video_points;
|
492 |
|
|
|
|
|
|
|
493 |
extract( shortcode_atts( array(
|
494 |
-
'id'
|
495 |
-
'width'
|
496 |
-
'height'
|
497 |
-
'amount'
|
498 |
-
'logic'
|
499 |
-
'interval' => '
|
500 |
), $atts ) );
|
501 |
|
502 |
// ID is required
|
503 |
-
if ( $id === NULL ) return __( 'A video ID is required for this shortcode', 'mycred' );
|
504 |
-
|
505 |
-
// Width
|
506 |
-
if ( $width == 0 )
|
507 |
-
$width = 560;
|
508 |
|
509 |
-
//
|
510 |
-
if ( $
|
511 |
-
$
|
512 |
-
|
513 |
-
// Prep Interval by converting it to Miliseconds
|
514 |
-
if ( $interval != 'def' )
|
515 |
-
$interval = $interval*1000;
|
516 |
|
517 |
// Video ID
|
518 |
$video_id = str_replace( '-', '__', $id );
|
519 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
// Construct YouTube Query
|
521 |
-
$query = apply_filters( '
|
522 |
'enablejsapi' => 1,
|
523 |
'version' => 3,
|
524 |
-
'playerapiid' => $video_id,
|
525 |
'rel' => 0,
|
526 |
'controls' => 1,
|
527 |
-
'showinfo' => 0
|
|
|
528 |
), $atts, $video_id );
|
529 |
-
|
530 |
// Construct Youtube Query Address
|
531 |
-
$url = 'http://www.youtube.com/
|
532 |
$url = add_query_arg( $query, $url );
|
533 |
-
|
534 |
-
// Construct Flash Embed
|
535 |
-
$embed_args = apply_filters( 'mycred_video_embed_args', array(
|
536 |
-
'"' . $url . '"', '"' . $video_id . '"', '"' . $width . '"', '"' . $height . '"', '"9.0.0"', 'null', 'null', '{ allowScriptAccess: "always", wmode: "transparent" }', 'null'
|
537 |
-
), $atts );
|
538 |
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
<script type="text/javascript">
|
549 |
-
function
|
550 |
-
|
|
|
551 |
}
|
552 |
-
</script>
|
553 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
554 |
}
|
555 |
}
|
556 |
?>
|
8 |
* @since 1.0.9
|
9 |
* @version 1.1
|
10 |
*/
|
11 |
+
if ( ! function_exists( 'mycred_render_shortcode_my_balance' ) ) {
|
12 |
function mycred_render_shortcode_my_balance( $atts, $content = NULL )
|
13 |
{
|
14 |
extract( shortcode_atts( array(
|
84 |
* @since 1.0.9
|
85 |
* @version 1.0
|
86 |
*/
|
87 |
+
if ( ! function_exists( 'mycred_render_shortcode_history' ) ) {
|
88 |
function mycred_render_shortcode_history( $atts ) {
|
89 |
extract( shortcode_atts( array(
|
90 |
'user_id' => NULL,
|
97 |
), $atts ) );
|
98 |
|
99 |
// If we are not logged in
|
100 |
+
if ( ! is_user_logged_in() && ! empty( $login ) ) return '<p class="mycred-history login">' . $login . '</p>';
|
101 |
|
102 |
if ( $user_id === NULL )
|
103 |
$user_id = get_current_user_id();
|
133 |
* @since 0.1
|
134 |
* @version 1.2
|
135 |
*/
|
136 |
+
if ( ! function_exists( 'mycred_render_leaderboard' ) ) {
|
137 |
function mycred_render_leaderboard( $atts, $content = NULL )
|
138 |
{
|
139 |
$attr = shortcode_atts( array(
|
167 |
}
|
168 |
|
169 |
// No result template is set
|
170 |
+
if ( ! empty( $attr['nothing'] ) )
|
171 |
return '<p class="mycred-leaderboard-none">' . $attr['nothing'] . '</p>';
|
172 |
}
|
173 |
}
|
177 |
* @since 0.1
|
178 |
* @version 1.1
|
179 |
*/
|
180 |
+
if ( ! function_exists( 'mycred_render_my_ranking' ) ) {
|
181 |
function mycred_render_my_ranking( $atts, $content )
|
182 |
{
|
183 |
extract( shortcode_atts( array(
|
187 |
// If no id is given
|
188 |
if ( $user_id === NULL ) {
|
189 |
// Current user must be logged in for this shortcode to work
|
190 |
+
if ( ! is_user_logged_in() ) return;
|
191 |
// Get current user id
|
192 |
$user_id = get_current_user_id();
|
193 |
}
|
209 |
if ( !function_exists( 'mycred_render_shortcode_give' ) ) {
|
210 |
function mycred_render_shortcode_give( $atts, $content )
|
211 |
{
|
212 |
+
if ( ! is_user_logged_in() ) return;
|
213 |
|
214 |
extract( shortcode_atts( array(
|
215 |
'amount' => NULL,
|
221 |
), $atts ) );
|
222 |
|
223 |
if ( $amount === NULL )
|
224 |
+
return '<strong>' . __( 'error', 'mycred' ) . '</strong> ' . __( 'Amount missing!', 'mycred' );
|
225 |
|
226 |
if ( empty( $log ) )
|
227 |
+
return '<strong>' . __( 'error', 'mycred' ) . '</strong> ' . __( 'Log Template Missing!', 'mycred' );
|
228 |
|
229 |
$mycred = mycred_get_settings();
|
230 |
|
264 |
* @since 1.1
|
265 |
* @version 1.1
|
266 |
*/
|
267 |
+
if ( ! function_exists( 'mycred_render_shortcode_link' ) ) {
|
268 |
function mycred_render_shortcode_link( $atts, $content )
|
269 |
{
|
270 |
global $mycred_link_points;
|
285 |
|
286 |
// HREF is required
|
287 |
if ( empty( $atts['href'] ) )
|
288 |
+
return '<strong>' . __( 'error', 'mycred' ) . '</strong> ' . __( 'Anchor missing URL!', 'mycred' );
|
289 |
|
290 |
// All links must contain the 'mycred-points-link' class
|
291 |
if ( empty( $atts['class'] ) )
|
331 |
* @since 1.1
|
332 |
* @version 1.0
|
333 |
*/
|
334 |
+
if ( ! function_exists( 'mycred_render_shortcode_send' ) ) {
|
335 |
function mycred_render_shortcode_send( $atts, $content )
|
336 |
{
|
337 |
+
if ( ! is_user_logged_in() ) return;
|
338 |
|
339 |
extract( shortcode_atts( array(
|
340 |
'amount' => NULL,
|
346 |
|
347 |
// Amount is required
|
348 |
if ( $amount === NULL )
|
349 |
+
return '<strong>' . __( 'error', 'mycred' ) . '</strong> ' . __( 'Amount missing!', 'mycred' );
|
350 |
|
351 |
// Recipient is required
|
352 |
if ( empty( $to ) )
|
353 |
+
return '<strong>' . __( 'error', 'mycred' ) . '</strong> ' . __( 'User ID missing for recipient.', 'mycred' );
|
354 |
|
355 |
// Log template is required
|
356 |
if ( empty( $log ) )
|
357 |
+
return '<strong>' . __( 'error', 'mycred' ) . '</strong> ' . __( 'Log Template Missing!', 'mycred' );
|
358 |
|
359 |
if ( $to == 'author' ) {
|
360 |
// You can not use this outside the loop
|
390 |
* @since 0.1
|
391 |
* @version 1.2
|
392 |
*/
|
393 |
+
if ( ! function_exists( 'mycred_send_shortcode_footer' ) ) {
|
394 |
add_action( 'wp_footer', 'mycred_send_shortcode_footer' );
|
395 |
function mycred_send_shortcode_footer() {
|
396 |
global $mycred_sending_points;
|
422 |
* @since 0.1
|
423 |
* @version 1.2
|
424 |
*/
|
425 |
+
if ( ! function_exists( 'mycred_shortcode_send_points_ajax' ) ) {
|
426 |
add_action( 'wp_ajax_mycred-send-points', 'mycred_shortcode_send_points_ajax' );
|
427 |
function mycred_shortcode_send_points_ajax() {
|
428 |
// We must be logged in
|
429 |
+
if ( ! is_user_logged_in() ) die();
|
430 |
|
431 |
// Security
|
432 |
check_ajax_referer( 'mycred-send-points', 'token' );
|
485 |
* @since 1.2
|
486 |
* @version 1.0
|
487 |
*/
|
488 |
+
if ( ! function_exists( 'mycred_render_shortcode_video' ) ) {
|
489 |
function mycred_render_shortcode_video( $atts, $content )
|
490 |
{
|
491 |
global $mycred_video_points;
|
492 |
|
493 |
+
$hooks = get_option( 'mycred_pref_hooks' );
|
494 |
+
$prefs = $hooks['hook_prefs']['video_view'];
|
495 |
+
|
496 |
extract( shortcode_atts( array(
|
497 |
+
'id' => NULL,
|
498 |
+
'width' => 560,
|
499 |
+
'height' => 315,
|
500 |
+
'amount' => $prefs['creds'],
|
501 |
+
'logic' => $prefs['logic'],
|
502 |
+
'interval' => $prefs['interval']
|
503 |
), $atts ) );
|
504 |
|
505 |
// ID is required
|
506 |
+
if ( $id === NULL || empty( $id ) ) return __( 'A video ID is required for this shortcode', 'mycred' );
|
|
|
|
|
|
|
|
|
507 |
|
508 |
+
// Interval
|
509 |
+
if ( strlen( $interval ) < 3 )
|
510 |
+
$interval = abs( $interval * 1000 );
|
|
|
|
|
|
|
|
|
511 |
|
512 |
// Video ID
|
513 |
$video_id = str_replace( '-', '__', $id );
|
514 |
+
|
515 |
+
// Create key
|
516 |
+
$protect = mycred_protect();
|
517 |
+
$key = $protect->do_encode( 'youtube:' . $video_id . ':' . $amount . ':' . $logic . ':' . $interval );
|
518 |
+
|
519 |
+
if ( ! isset( $mycred_video_points ) || ! is_array( $mycred_video_points ) )
|
520 |
+
$mycred_video_points = array();
|
521 |
+
|
522 |
// Construct YouTube Query
|
523 |
+
$query = apply_filters( 'mycred_video_query_youtube', array(
|
524 |
'enablejsapi' => 1,
|
525 |
'version' => 3,
|
526 |
+
'playerapiid' => 'mycred_vvideo_v' . $video_id,
|
527 |
'rel' => 0,
|
528 |
'controls' => 1,
|
529 |
+
'showinfo' => 0,
|
530 |
+
'origin' => home_url()
|
531 |
), $atts, $video_id );
|
532 |
+
|
533 |
// Construct Youtube Query Address
|
534 |
+
$url = 'http://www.youtube.com/embed/' . $id;
|
535 |
$url = add_query_arg( $query, $url );
|
|
|
|
|
|
|
|
|
|
|
536 |
|
537 |
+
$mycred_video_points[] = 'youtube';
|
538 |
+
|
539 |
+
// Make sure video source ids are unique
|
540 |
+
$mycred_video_points = array_unique( $mycred_video_points );
|
541 |
+
|
542 |
+
ob_start(); ?>
|
543 |
+
|
544 |
+
<div class="mycred-video-wrapper youtube-video">
|
545 |
+
<iframe id="mycred_vvideo_v<?php echo $video_id; ?>" class="mycred-video mycred-youtube-video" data-vid="<?php echo $video_id; ?>" src="<?php echo $url; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
546 |
+
<script type="text/javascript">
|
547 |
+
function mycred_vvideo_v<?php echo $video_id; ?>( state ) {
|
548 |
+
duration[ "<?php echo $video_id; ?>" ] = state.target.getDuration();
|
549 |
+
mycred_view_video( "<?php echo $video_id; ?>", state.data, "<?php echo $logic; ?>", "<?php echo $interval; ?>", "<?php echo $key; ?>" );
|
550 |
}
|
551 |
+
</script>
|
552 |
+
</div>
|
553 |
+
<?php
|
554 |
+
$output = ob_get_contents();
|
555 |
+
ob_end_clean();
|
556 |
+
|
557 |
+
// Return the shortcode output
|
558 |
+
return apply_filters( 'mycred_video_output', $output, $atts );
|
559 |
}
|
560 |
}
|
561 |
?>
|
includes/mycred-widgets.php
CHANGED
@@ -1,24 +1,26 @@
|
|
1 |
<?php
|
2 |
-
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
|
|
3 |
/**
|
4 |
* Widget: myCRED Balance
|
5 |
* @since 0.1
|
6 |
* @version 1.3
|
7 |
*/
|
8 |
-
if ( !class_exists( 'myCRED_Widget_Balance' ) ) {
|
9 |
class myCRED_Widget_Balance extends WP_Widget {
|
10 |
|
11 |
/**
|
12 |
* Construct
|
13 |
*/
|
14 |
function myCRED_Widget_Balance() {
|
15 |
-
$name =
|
|
|
16 |
// Basic details about our widget
|
17 |
$widget_ops = array(
|
18 |
'classname' => 'widget-my-cred',
|
19 |
-
'description' => sprintf( __( 'Show the current users %s balance', 'mycred' ),
|
20 |
);
|
21 |
-
$this->WP_Widget( 'mycred_widget_balance', sprintf( __( '%s Balance', 'mycred' ), $name ), $widget_ops );
|
22 |
$this->alt_option_name = 'mycred_widget_balance';
|
23 |
}
|
24 |
|
@@ -43,7 +45,7 @@ if ( !class_exists( 'myCRED_Widget_Balance' ) ) {
|
|
43 |
echo $before_widget;
|
44 |
|
45 |
// Title
|
46 |
-
if ( !empty( $instance['title'] ) ) {
|
47 |
echo $before_title;
|
48 |
echo $mycred->template_tags_general( $instance['title'] );
|
49 |
echo $after_title;
|
@@ -259,7 +261,7 @@ if ( !class_exists( 'myCRED_Widget_Balance' ) ) {
|
|
259 |
$instance['show_rank'] = ( isset( $new_instance['show_rank'] ) ) ? 1 : 0;
|
260 |
$rank_format = trim( $new_instance['rank_format'] );
|
261 |
|
262 |
-
if ( !function_exists( 'mycred_get_users_rank' ) )
|
263 |
$instance['rank_format'] = str_replace( '%rank%', '%ranking%', $rank_format );
|
264 |
else
|
265 |
$instance['rank_format'] = $rank_format;
|
@@ -283,20 +285,21 @@ if ( !class_exists( 'myCRED_Widget_Balance' ) ) {
|
|
283 |
* @since 0.1
|
284 |
* @version 1.1
|
285 |
*/
|
286 |
-
if ( !class_exists( 'myCRED_Widget_List' ) ) {
|
287 |
class myCRED_Widget_List extends WP_Widget {
|
288 |
|
289 |
/**
|
290 |
* Construct
|
291 |
*/
|
292 |
function myCRED_Widget_List() {
|
293 |
-
$name =
|
|
|
294 |
// Basic details about our widget
|
295 |
$widget_ops = array(
|
296 |
'classname' => 'widget-mycred-list',
|
297 |
-
'description' => sprintf( __( 'Show a list of users sorted by their %s balance', 'mycred' ),
|
298 |
);
|
299 |
-
$this->WP_Widget( 'mycred_widget_list', sprintf( __( '%s
|
300 |
$this->alt_option_name = 'mycred_widget_list';
|
301 |
}
|
302 |
|
@@ -307,7 +310,7 @@ if ( !class_exists( 'myCRED_Widget_List' ) ) {
|
|
307 |
extract( $args, EXTR_SKIP );
|
308 |
|
309 |
// Check if we want to show this to visitors
|
310 |
-
if (
|
311 |
|
312 |
// Get Rankings
|
313 |
$args = array(
|
@@ -330,7 +333,7 @@ if ( !class_exists( 'myCRED_Widget_List' ) ) {
|
|
330 |
echo $before_widget;
|
331 |
|
332 |
// Title
|
333 |
-
if ( !empty( $instance['title'] ) ) {
|
334 |
echo $before_title;
|
335 |
echo $mycred->template_tags_general( $instance['title'] );
|
336 |
echo $after_title;
|
1 |
<?php
|
2 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
3 |
+
|
4 |
/**
|
5 |
* Widget: myCRED Balance
|
6 |
* @since 0.1
|
7 |
* @version 1.3
|
8 |
*/
|
9 |
+
if ( ! class_exists( 'myCRED_Widget_Balance' ) ) {
|
10 |
class myCRED_Widget_Balance extends WP_Widget {
|
11 |
|
12 |
/**
|
13 |
* Construct
|
14 |
*/
|
15 |
function myCRED_Widget_Balance() {
|
16 |
+
$name = mycred_label( true );
|
17 |
+
|
18 |
// Basic details about our widget
|
19 |
$widget_ops = array(
|
20 |
'classname' => 'widget-my-cred',
|
21 |
+
'description' => sprintf( __( 'Show the current users %s balance', 'mycred' ), $name )
|
22 |
);
|
23 |
+
$this->WP_Widget( 'mycred_widget_balance', sprintf( __( '(%s) My Balance', 'mycred' ), $name ), $widget_ops );
|
24 |
$this->alt_option_name = 'mycred_widget_balance';
|
25 |
}
|
26 |
|
45 |
echo $before_widget;
|
46 |
|
47 |
// Title
|
48 |
+
if ( ! empty( $instance['title'] ) ) {
|
49 |
echo $before_title;
|
50 |
echo $mycred->template_tags_general( $instance['title'] );
|
51 |
echo $after_title;
|
261 |
$instance['show_rank'] = ( isset( $new_instance['show_rank'] ) ) ? 1 : 0;
|
262 |
$rank_format = trim( $new_instance['rank_format'] );
|
263 |
|
264 |
+
if ( ! function_exists( 'mycred_get_users_rank' ) )
|
265 |
$instance['rank_format'] = str_replace( '%rank%', '%ranking%', $rank_format );
|
266 |
else
|
267 |
$instance['rank_format'] = $rank_format;
|
285 |
* @since 0.1
|
286 |
* @version 1.1
|
287 |
*/
|
288 |
+
if ( ! class_exists( 'myCRED_Widget_List' ) ) {
|
289 |
class myCRED_Widget_List extends WP_Widget {
|
290 |
|
291 |
/**
|
292 |
* Construct
|
293 |
*/
|
294 |
function myCRED_Widget_List() {
|
295 |
+
$name = mycred_label( true );
|
296 |
+
|
297 |
// Basic details about our widget
|
298 |
$widget_ops = array(
|
299 |
'classname' => 'widget-mycred-list',
|
300 |
+
'description' => sprintf( __( 'Show a list of users sorted by their %s balance', 'mycred' ), $name )
|
301 |
);
|
302 |
+
$this->WP_Widget( 'mycred_widget_list', sprintf( __( '(%s) Leaderboard', 'mycred' ), $name ), $widget_ops );
|
303 |
$this->alt_option_name = 'mycred_widget_list';
|
304 |
}
|
305 |
|
310 |
extract( $args, EXTR_SKIP );
|
311 |
|
312 |
// Check if we want to show this to visitors
|
313 |
+
if ( ! $instance['show_visitors'] && ! is_user_logged_in() ) return;
|
314 |
|
315 |
// Get Rankings
|
316 |
$args = array(
|
333 |
echo $before_widget;
|
334 |
|
335 |
// Title
|
336 |
+
if ( ! empty( $instance['title'] ) ) {
|
337 |
echo $before_title;
|
338 |
echo $mycred->template_tags_general( $instance['title'] );
|
339 |
echo $after_title;
|
lang/mycred-en_US.mo
CHANGED
Binary file
|
lang/mycred.pot
CHANGED
@@ -4,181 +4,182 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: myCRED\n"
|
6 |
"Report-Msgid-Bugs-To: http://mycred.me\n"
|
7 |
-
"POT-Creation-Date: 2013-
|
8 |
-
"PO-Revision-Date: 2013-
|
9 |
"Last-Translator: Gabriel Sebastian Merovingi <support@mycred.me>\n"
|
10 |
"Language-Team: LANGUAGE <support@mycred.me>\n"
|
|
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"X-Generator: Poedit 1.
|
15 |
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-KeywordsList: _n;_e;__\n"
|
17 |
-
"
|
|
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
21 |
msgid "My Balance: %cred_f%"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
25 |
#, php-format
|
26 |
msgid "About %s"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
30 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
31 |
msgid "Awesome People"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
35 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
36 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
37 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
38 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
39 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
40 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
41 |
msgid "Processing..."
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
45 |
msgid ""
|
46 |
"Warning! All entries in your log will be permamenly removed! This can not be "
|
47 |
"undone!"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
51 |
msgid "Warning! All user balances will be set to zero! This can not be undone!"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
55 |
msgid "Done!"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
59 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
60 |
msgid "Close"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
64 |
msgid "Export users %plural%"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
68 |
#, php-format
|
69 |
msgid "Edit Users %s balance"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
73 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
74 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
75 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
76 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
77 |
msgid "Setup"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
81 |
msgid "About"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
85 |
msgid "Tutorials"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
89 |
msgid "Codex"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
93 |
msgid "Store"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
97 |
msgid "function myCRED_Hook::run() must be over-ridden in a sub-class."
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
101 |
msgid "This Hook has no settings"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
105 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
106 |
msgid "No limit"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
110 |
msgid "Once every 24 hours"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
114 |
msgid "Once every 12 hours"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
118 |
msgid "Once every 7 days"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
122 |
msgid "Once per day (reset at midnight)"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
126 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
127 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
128 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
129 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
130 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
131 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
132 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
133 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
134 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
135 |
msgid "Select"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
139 |
msgid "myCRED_Module() Error. A Module ID is required!"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
143 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
144 |
msgid "Surprise"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
148 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
149 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
150 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
151 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
152 |
msgid "click to close"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
156 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
157 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
158 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
159 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
160 |
msgid "click to open"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
164 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
165 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
166 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
167 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/banking/myCRED-addon-banking.php:179
|
168 |
msgid "Banking"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
172 |
msgid ""
|
173 |
"This add-on allows you to offer interest on your users points balances or "
|
174 |
"setup recurring payouts."
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
178 |
msgid "Compound Interest"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
182 |
msgid ""
|
183 |
"Apply an interest rate on your users %_plural% balances. Interest rate is "
|
184 |
"annual and is compounded daily as long as this service is enabled. Positive "
|
@@ -186,205 +187,210 @@ msgid ""
|
|
186 |
"rate will to users loosing %_plural%."
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
190 |
msgid "Recurring Payouts"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
194 |
msgid ""
|
195 |
"Give your users %_plural% on a regular basis with the option to set the "
|
196 |
"number of times you want this payout to run (cycles)."
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
200 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
201 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
202 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
203 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
204 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
205 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
206 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
207 |
msgid "Access Denied"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
211 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
212 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
213 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
214 |
msgid "Settings Updated"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
218 |
msgid ""
|
219 |
"This add-on allows you to setup transaction fees for %_plural% transfers, "
|
220 |
"purchases or payments using the Gateway add-on, along with offering interest "
|
221 |
"on %_plural% balances."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
225 |
msgid "WP-Cron deactivation detected!"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
229 |
msgid "Warning! This add-on requires WP - Cron to work."
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
233 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
234 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
235 |
msgid "Enable"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
239 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
240 |
msgid "Update Changes"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
244 |
msgid "function myCRED_Service::run() must be over-ridden in a sub-class."
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
248 |
msgid "This Service has no settings"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
252 |
msgid "Hourly"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
256 |
msgid "Daily"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
260 |
msgid "Weekly"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
264 |
msgid "Monthly"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
268 |
msgid "Quarterly"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
272 |
msgid "Semiannually"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
276 |
msgid "Annually"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
280 |
msgid "%plural% interest rate payment"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
284 |
msgid "Interest Rate"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
288 |
msgid "Payed / Charged"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
292 |
msgid ""
|
293 |
"The interest rate can be either positive or negative and is compounded daily."
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
297 |
msgid "Minimum Balance"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
301 |
msgid "The minimum requires balance for interest to apply."
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
305 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
306 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
307 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
308 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
309 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
310 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
311 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
312 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
313 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
314 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
315 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
316 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
317 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
318 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
319 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
320 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
321 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
322 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
323 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
324 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
325 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
326 |
msgid "Log Template"
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
330 |
msgid "Available template tags: General, %timeframe%, %rate%, %base%"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
334 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
335 |
msgid "Run Time"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
339 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
340 |
msgid ""
|
341 |
"For large websites, if you are running into time out issues during payouts, "
|
342 |
"you can set the number of seconds a process can run. Use zero for unlimited, "
|
343 |
"but be careful especially if you are on a shared server."
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
347 |
msgid "Daily %_plural%"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
351 |
msgid "Not yet run"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
355 |
msgid "Pay Users"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
359 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
360 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
361 |
msgid "Amount"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
365 |
msgid "Can not be zero."
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
369 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
370 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
371 |
msgid "Interval"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
375 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
376 |
msgid "Cycles"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
380 |
msgid "Set to -1 for unlimited"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
384 |
msgid "Last Run / Activated"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
388 |
msgid ""
|
389 |
"Select how often you want to award %_plural%. Note that when this service is "
|
390 |
"enabled, the first payout will be in the beginning of the next period. So "
|
@@ -392,646 +398,658 @@ msgid ""
|
|
392 |
"morning."
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
396 |
msgid ""
|
397 |
"Cycles let you choose how many intervals this service should run. Each time "
|
398 |
"a cycle runs, the value will decrease until it hits zero, in which case this "
|
399 |
"service will deactivate itself. Use -1 to run unlimited times."
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
403 |
msgid "Important"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
407 |
msgid ""
|
408 |
"You can always stop payouts by deactivating this service. Just remember that "
|
409 |
"if you deactivate while there are cycles left, this service will continue on "
|
410 |
"when it gets re-activated. Set cycles to zero to reset."
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
414 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
415 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
416 |
msgid "Excludes"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
420 |
msgid ""
|
421 |
"Comma separated list of user IDs to exclude from this service. No spaces "
|
422 |
"allowed!"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
426 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
427 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
428 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
429 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
430 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
431 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
432 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
433 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
434 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
435 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
436 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
437 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
438 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
439 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
440 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
441 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
442 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
443 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
444 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
445 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
446 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
447 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
448 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
449 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
450 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
451 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
452 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
453 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
454 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
455 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
456 |
msgid "Available template tags: General"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
460 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
461 |
msgid "BuddyPress"
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
465 |
msgid ""
|
466 |
"The BuddyPress add-on extends <strong>my</strong>CRED to work with "
|
467 |
"BuddyPress allowing you to hook into most BuddyPress related actions."
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
471 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
472 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
473 |
msgid "My History"
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
477 |
#, php-format
|
478 |
msgid "%s's History"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
482 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
483 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
484 |
msgid "All"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
488 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
489 |
msgid "Today"
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
493 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
494 |
msgid "Yesterday"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
498 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
499 |
msgid "This Week"
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
503 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
504 |
msgid "This Month"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
508 |
msgid "BuddyPress: Groups"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
512 |
msgid ""
|
513 |
"Awards %_plural% for group related actions. Use minus to deduct %_plural% or "
|
514 |
"zero to disable a specific hook."
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
518 |
msgid "BuddyPress: Members"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
522 |
msgid "Awards %_plural% for profile related actions."
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
526 |
msgid "BuddyPress: Links"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
530 |
msgid "Awards %_plural% for link related actions."
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
534 |
msgid "BuddyPress: Gallery Actions"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
538 |
msgid ""
|
539 |
"Awards %_plural% for creating a new gallery either using BP Album+ or BP "
|
540 |
"Gallery."
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
544 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
545 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
546 |
msgid "Do not show."
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
550 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
551 |
msgid "Include in Profile Header."
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
555 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
556 |
msgid "Include under the \"Profile\" tab"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
560 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
561 |
msgid "Include under the \"Profile\" tab and Profile Header."
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
565 |
msgid "Show in Profile"
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
569 |
msgid "%singular% Balance"
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
573 |
msgid "Members can view each others %_singular% balance."
|
574 |
msgstr ""
|
575 |
|
576 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
577 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
578 |
msgid "Template"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
582 |
msgid "Available template tags are: %creds%, %number%, %rank%"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
586 |
msgid ""
|
587 |
"Note that you can also use %rank_logo% to show the feature image of the rank."
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
591 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
592 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
593 |
msgid "%plural% History"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
597 |
msgid "Members can view each others %_plural% history."
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
601 |
msgid "Menu Title"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
605 |
msgid "Title shown to me"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
609 |
#, php-format
|
610 |
msgid "Title shown to others. Use %s to show the first name."
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
614 |
msgid "Menu Position"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
618 |
msgid "Current menu positions:"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
622 |
msgid "History URL slug"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
626 |
msgid "Do not use empty spaces!"
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
630 |
msgid "Number of history entries to show"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
634 |
msgid "%plural% for New Gallery"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
638 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
639 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
640 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
641 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
642 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
643 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
644 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
645 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
646 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
647 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
648 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
649 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
650 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
651 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
652 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
653 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
654 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
655 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
656 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
657 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
658 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
659 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
660 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
661 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
662 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
663 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
664 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
665 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
666 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
667 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
668 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
669 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
670 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
671 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
672 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
673 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
674 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
675 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
676 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
677 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
678 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
679 |
msgid "Log template"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
683 |
msgid "%plural% for Creating Groups"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
687 |
msgid ""
|
688 |
"If you use a negative value and the user does not have enough %_plural% the "
|
689 |
"\"Create Group\" button will be disabled."
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
693 |
msgid "Number of members before awarding %_plural%"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
697 |
msgid "Use zero to award %_plural% when group is created."
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
701 |
msgid "%plural% for Deleting Groups"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
705 |
msgid "%plural% for New Forum Topic"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
709 |
msgid "%plural% for Editing Forum Topic"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
713 |
msgid "%plural% for New Forum Post"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
717 |
msgid "%plural% for Editing Forum Post"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
721 |
msgid "%plural% for Joining Groups"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
725 |
msgid ""
|
726 |
"If you use a negative value and the user does not have enough %_plural% the "
|
727 |
"\"Join Group\" button will be disabled."
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
731 |
msgid "%plural% for Leaving Groups"
|
732 |
msgstr ""
|
733 |
|
734 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
735 |
msgid "%plural% for New Group Avatar"
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
739 |
msgid "%plural% for New Group Comment"
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
743 |
msgid "%plural% for New Links"
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
747 |
msgid "%plural% for Vote on Link"
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
751 |
msgid "%plural% for Updating Links"
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
755 |
msgid "%plural% for Deleting Links"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
759 |
msgid "%plural% for Profile Updates"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
763 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
764 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
765 |
msgid "Daily Limit"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
769 |
msgid "Daily limit. User zero for unlimited."
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
773 |
msgid "%plural% for New Avatar"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
777 |
msgid "%plural% for New Friendships"
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
781 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
782 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
783 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
784 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
785 |
msgid "Available template tags: General, User"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
789 |
msgid "%plural% for Leaving Friendship"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
793 |
msgid "%plural% for New Comment"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
797 |
msgid "%plural% for Deleting Comment"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
801 |
msgid "%plural% for New Messages"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
805 |
msgid "%plural% for Sending Gift"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
809 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
810 |
msgid "buyCRED"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
814 |
msgid ""
|
815 |
"The <strong>buy</strong>CRED Add-on allows your users to buy points using "
|
816 |
"PayPal, Skrill (Moneybookers) or NETbilling. <strong>buy</strong>CRED can "
|
817 |
"also let your users buy points for other members."
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
821 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
822 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
823 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/buy-creds/myCRED-addon-buy-creds.php:346
|
824 |
msgid "Payment Gateways"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
828 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
829 |
msgid "PayPal Payments Standard"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
833 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
834 |
msgid "NETbilling"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
838 |
msgid "Skrill (Moneybookers)"
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
842 |
msgid "Zombaio"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
846 |
msgid "Please login to purchase %_plural%"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
850 |
msgid "Gift purchase from %display_name%."
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
854 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
855 |
msgid "Minimum %plural%"
|
856 |
msgstr ""
|
857 |
|
858 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
859 |
msgid "Minimum amount of %plural% a user must purchase. Will default to 1."
|
860 |
msgstr ""
|
861 |
|
862 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
863 |
msgid "Login Template"
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
867 |
msgid "Content to show when a user is not logged in."
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
871 |
msgid ""
|
872 |
"Available template tags: General and %gateway% for the payment gateway used."
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
876 |
msgid "Thank You Page"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
880 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
881 |
msgid "Custom URL"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
885 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
886 |
msgid "Page"
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
890 |
msgid "Cancellation Page"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
894 |
msgid "Gifting"
|
895 |
msgstr ""
|
896 |
|
897 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
898 |
msgid "Allow users to buy %_plural% for other users."
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
902 |
msgid "Allow users to buy %_plural% for content authors."
|
903 |
msgstr ""
|
904 |
|
905 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
906 |
msgid "Available template tags: %singular%, %plural% and %display_name%"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
910 |
msgid ""
|
911 |
"Select the payment gateways you want to offer your users to buy %plural%."
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
915 |
msgid "Test Mode"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
919 |
msgid "Enabled"
|
920 |
msgstr ""
|
921 |
|
922 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
923 |
msgid "Disabled"
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
927 |
msgid "Update Gateway Settings"
|
928 |
msgstr ""
|
929 |
|
930 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
931 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
932 |
msgid "This Add-on needs to setup before you can use this shortcode."
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
936 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
937 |
msgid "No gateways installed."
|
938 |
msgstr ""
|
939 |
|
940 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
941 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
942 |
msgid "Gateway does not exist."
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
946 |
msgid "Yourself"
|
947 |
msgstr ""
|
948 |
|
949 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
950 |
msgid "No active gateways found."
|
951 |
msgstr ""
|
952 |
|
953 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
954 |
msgid "The selected gateway is not active."
|
955 |
msgstr ""
|
956 |
|
957 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
958 |
msgid "Buy with"
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
962 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
963 |
msgid "Buy Now"
|
964 |
msgstr ""
|
965 |
|
966 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
967 |
msgid "No users found"
|
968 |
msgstr ""
|
969 |
|
970 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
971 |
msgid "To"
|
972 |
msgstr ""
|
973 |
|
974 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
975 |
msgid "Select Amount"
|
976 |
msgstr ""
|
977 |
|
978 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
979 |
msgid "min."
|
980 |
msgstr ""
|
981 |
|
982 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
983 |
msgid "Select Gateway"
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
987 |
msgid "Buy %plural%"
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
991 |
msgid "This add-on lets your users buy %_plural% using a payment gateway."
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
995 |
msgid "Supported Gateways"
|
996 |
msgstr ""
|
997 |
|
998 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
999 |
msgid ""
|
1000 |
"myCRED supports purchases through: PayPal Payments Standard, Skrill "
|
1001 |
"(Moneybookers) and NETbilling. Let us know if you want to add other payment "
|
1002 |
"gateways."
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1006 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/sell-content/myCRED-addon-sell-content.php:1066
|
1007 |
msgid "Usage"
|
1008 |
msgstr ""
|
1009 |
|
1010 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1011 |
msgid "Purchases can be made using one of the following shortcodes:"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1015 |
msgid ""
|
1016 |
"When you want to sell a pre-set amount, sell to a specific user or use a "
|
1017 |
"specific gateway.<br />For more information on how to use the shortcode, "
|
1018 |
"please visit the"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1022 |
msgid ""
|
1023 |
"When you want to give your users the option to select an amount, gateway or "
|
1024 |
"recipient.<br />For more information on how to use the shortcode, please "
|
1025 |
"visit the"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1029 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1030 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1031 |
msgid "Currency"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1035 |
msgid ""
|
1036 |
"Make sure you select a currency that your PayPal account supports. Otherwise "
|
1037 |
"transactions will not be approved until you login to your PayPal account and "
|
@@ -1039,12 +1057,12 @@ msgid ""
|
|
1039 |
"will not be applied to the buyer until you have resolved the issue."
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1043 |
msgid "Instant Payment Notifications"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1047 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1048 |
msgid ""
|
1049 |
"For this gateway to work, you must login to your PayPal account and under "
|
1050 |
"\"Profile\" > \"Selling Tools\" enable \"Instant Payment Notifications\". "
|
@@ -1052,1050 +1070,1050 @@ msgid ""
|
|
1052 |
"have selected \"Receive IPN messages (Enabled)\"."
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1056 |
msgid "Skrill"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1060 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1061 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1062 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1063 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1064 |
msgid "Sandbox Mode"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1068 |
msgid ""
|
1069 |
"Transactions made while Sandbox mode is active are real transactions! "
|
1070 |
"Remember to use your \"Test Merchant Account\" when Sandbox mode is active!"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1074 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1075 |
msgid "Checkout Page"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1079 |
msgid ""
|
1080 |
"By default all Skrill Merchant account accept payments via Bank Transfers. "
|
1081 |
"When a user selects this option, no points are awarded! You will need to "
|
1082 |
"manually award these once the bank transfer is completed."
|
1083 |
msgstr ""
|
1084 |
|
1085 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1086 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1087 |
msgid ""
|
1088 |
"By default purchases made using Skrill will result in users having to signup "
|
1089 |
"for a Skrill account (if they do not have one already). You can contact "
|
1090 |
"Skrill Merchant Services and request to disable this feature."
|
1091 |
msgstr ""
|
1092 |
|
1093 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1094 |
msgid ""
|
1095 |
"function myCRED_Payment_Gateway::process() must be over-ridden in a sub-"
|
1096 |
"class."
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1100 |
msgid ""
|
1101 |
"function myCRED_Payment_Gateway::buy() must be over-ridden in a sub-class."
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1105 |
msgid "This Payment Gateway has no settings"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1109 |
msgid "Go to "
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1113 |
msgid "Payment Gateway Logo"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1117 |
msgid "Click here if you are not automatically redirected"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1121 |
msgid "Outside US"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1125 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1126 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1127 |
msgid "Purchase of myCRED %plural%"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1131 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1132 |
msgid "You have tried too many times. Please contact support."
|
1133 |
msgstr ""
|
1134 |
|
1135 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1136 |
msgid "This payment gateway has not yet been setup! Exiting."
|
1137 |
msgstr ""
|
1138 |
|
1139 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1140 |
msgid "First name can not be empty"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1144 |
msgid "Last name can not be empty"
|
1145 |
msgstr ""
|
1146 |
|
1147 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1148 |
msgid "Street can not be empty"
|
1149 |
msgstr ""
|
1150 |
|
1151 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1152 |
msgid "City can not be empty"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1156 |
msgid "Country can not be empty"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1160 |
msgid "State can not be empty"
|
1161 |
msgstr ""
|
1162 |
|
1163 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1164 |
msgid "Zip / Post Code can not be empty"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1168 |
msgid "Email can not be empty"
|
1169 |
msgstr ""
|
1170 |
|
1171 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1172 |
msgid "Please enter your credit card number"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1176 |
msgid "Card Expiration Month must be selected"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1180 |
msgid "Card Expiration Year must be set"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1184 |
msgid "Please enter the CVV2 code from the back of your card"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1188 |
msgid "Account Routing number missing"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1192 |
msgid "Account Number missing"
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1196 |
msgid "Incorrect Credit Card number"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1200 |
msgid "The credit card entered is past its expiration date."
|
1201 |
msgstr ""
|
1202 |
|
1203 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1204 |
msgid "The CVV2 number entered is not valid."
|
1205 |
msgstr ""
|
1206 |
|
1207 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1208 |
msgid "The bank routing number entered is not valid."
|
1209 |
msgstr ""
|
1210 |
|
1211 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1212 |
msgid "The bank account number entered is not valid."
|
1213 |
msgstr ""
|
1214 |
|
1215 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1216 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1217 |
msgid "Invalid Address"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1221 |
msgid "Invalid CVV2"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1225 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1226 |
msgid "Please contact support."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1230 |
msgid "Your email address is invalid."
|
1231 |
msgstr ""
|
1232 |
|
1233 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1234 |
msgid "Your information is invalid. Please correct"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1238 |
msgid "Your card was declined. Please try again."
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1242 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1243 |
msgid "Duplicate transaction. Please contact support"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1247 |
msgid "Your transaction was approved"
|
1248 |
msgstr ""
|
1249 |
|
1250 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1251 |
msgid " error: "
|
1252 |
msgstr ""
|
1253 |
|
1254 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1255 |
msgid "Debug"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1259 |
msgid "Error"
|
1260 |
msgstr ""
|
1261 |
|
1262 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1263 |
msgid "The following error/s were found: "
|
1264 |
msgstr ""
|
1265 |
|
1266 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1267 |
msgid "Please update and try again."
|
1268 |
msgstr ""
|
1269 |
|
1270 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1271 |
msgid "Transaction Approved"
|
1272 |
msgstr ""
|
1273 |
|
1274 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1275 |
msgid "Your have successfully purchased "
|
1276 |
msgstr ""
|
1277 |
|
1278 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1279 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1280 |
msgid "Click here to continue"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1284 |
msgid "Transaction Declined"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1288 |
msgid ""
|
1289 |
"I am sorry but your transaction could not be completed due to the following "
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1293 |
msgid "Transaction Error"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1297 |
msgid "NETbilling returned the following error: "
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1301 |
msgid "Please try again."
|
1302 |
msgstr ""
|
1303 |
|
1304 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1305 |
msgid "Purchase of"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1309 |
msgid "for"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1313 |
msgid "Fields marked * are required!"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1317 |
msgid "Billing Details"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1321 |
msgid "Month"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1325 |
msgid "Year"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1329 |
msgid "Account ID"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1333 |
msgid "Site Tag"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1337 |
msgid "Dynamic IP Security Code"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1341 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1342 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1343 |
msgid "Item Name"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1347 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1348 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1349 |
msgid "%plural% Exchange Rate"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1353 |
msgid "Allowed Attempts"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1357 |
msgid "Maximum number of attempts allowed for purchases."
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1361 |
msgid "Advanced"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1365 |
msgid "Disable AVS (Address Verification System) for credit card transactions."
|
1366 |
msgstr ""
|
1367 |
|
1368 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1369 |
msgid "Disable CVV2 (Card Verification Value 2) for credit card transactions."
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1373 |
msgid ""
|
1374 |
"Disable all fraud protection other than AVS/CVV2. (This implies "
|
1375 |
"disable_negative_db)"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1379 |
msgid ""
|
1380 |
"Disable only the negative database component of the fraud protection system."
|
1381 |
msgstr ""
|
1382 |
|
1383 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1384 |
msgid "Disable automatic sending of both merchant and customer email receipts."
|
1385 |
msgstr ""
|
1386 |
|
1387 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1388 |
msgid "Disable immediate rejection of expired cards."
|
1389 |
msgstr ""
|
1390 |
|
1391 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1392 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1393 |
msgid "Success"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1397 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1398 |
msgid "Thank you for your purchase"
|
1399 |
msgstr ""
|
1400 |
|
1401 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1402 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1403 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1404 |
msgid "Please setup this gateway before attempting to make a purchase!"
|
1405 |
msgstr ""
|
1406 |
|
1407 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1408 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1409 |
msgid "Return to "
|
1410 |
msgstr ""
|
1411 |
|
1412 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1413 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1414 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1415 |
msgid "Processing payment …"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1419 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1420 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1421 |
msgid "Important!"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1425 |
msgid ""
|
1426 |
"Make sure you select a currency that your PayPal account supports. Otherwise "
|
1427 |
"transactions will not be approved until you login to your PayPal account and "
|
1428 |
"Accept each transaction!"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1432 |
msgid "Account Email"
|
1433 |
msgstr ""
|
1434 |
|
1435 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1436 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1437 |
msgid "Description of the item being purchased by the user."
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1441 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1442 |
msgid "Your selected currency"
|
1443 |
msgstr ""
|
1444 |
|
1445 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1446 |
msgid "IPN Address"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1450 |
msgid "Product:"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1454 |
msgid "Gift to:"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1458 |
msgid "(author)"
|
1459 |
msgstr ""
|
1460 |
|
1461 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1462 |
msgid "Remember to use your Test Merchant Account when Sandbox mode is active!"
|
1463 |
msgstr ""
|
1464 |
|
1465 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1466 |
msgid "Merchant Account Email"
|
1467 |
msgstr ""
|
1468 |
|
1469 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1470 |
msgid "Secret Word"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1474 |
msgid ""
|
1475 |
"You can set your secret word under \"Merchant Tools\" in your Skrill Account."
|
1476 |
msgstr ""
|
1477 |
|
1478 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1479 |
msgid "Confirmation Email"
|
1480 |
msgstr ""
|
1481 |
|
1482 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1483 |
msgid ""
|
1484 |
"Ask Skrill to send me a confirmation email for each successful purchase."
|
1485 |
msgstr ""
|
1486 |
|
1487 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1488 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1489 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1490 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1491 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1492 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1493 |
msgid "Title"
|
1494 |
msgstr ""
|
1495 |
|
1496 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1497 |
msgid ""
|
1498 |
"If left empty, your account email is used as title on the Skill Payment Page."
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1502 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1503 |
msgid "Logo URL"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1507 |
msgid ""
|
1508 |
"The URL to the image you want to use on the top of the gateway. For best "
|
1509 |
"integration results we recommend you use logos with dimensions up to 200px "
|
1510 |
"in width and 50px in height."
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1514 |
msgid "Confirmation Note"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1518 |
msgid ""
|
1519 |
"Optional text to show user once a transaction has been successfully "
|
1520 |
"completed. This text is shown by Skrill."
|
1521 |
msgstr ""
|
1522 |
|
1523 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1524 |
msgid ""
|
1525 |
"By default all Skrill Merchant account accept payments via Bank Transfers. "
|
1526 |
"When a user selects this option, no %_plural% are awarded! You will need to "
|
1527 |
"manually award these once the bank transfer is completed."
|
1528 |
msgstr ""
|
1529 |
|
1530 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1531 |
msgid "Site ID"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1535 |
msgid "GW Password"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1539 |
msgid "Pricing ID"
|
1540 |
msgstr ""
|
1541 |
|
1542 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1543 |
msgid "IP Verification"
|
1544 |
msgstr ""
|
1545 |
|
1546 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1547 |
msgid "Do not verify that callbacks are coming from Zombaio."
|
1548 |
msgstr ""
|
1549 |
|
1550 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1551 |
msgid "Language"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1555 |
msgid "Postback URL (ZScript)"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1559 |
msgid ""
|
1560 |
"For this gateway to work, login to ZOA and set the Postback URL to the above "
|
1561 |
"address and click validate."
|
1562 |
msgstr ""
|
1563 |
|
1564 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1565 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1566 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1567 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1568 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1569 |
msgid "Email Notices"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1573 |
msgid "Create email notices for any type of myCRED instance."
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1577 |
msgid "Email Notice"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1581 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1582 |
msgid "Add New"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1586 |
msgid "Add New Notice"
|
1587 |
msgstr ""
|
1588 |
|
1589 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1590 |
msgid "Edit Notice"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1594 |
msgid "New Notice"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1598 |
msgid "View Notice"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1602 |
msgid "Search Email Notices"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1606 |
msgid "No email notices found"
|
1607 |
msgstr ""
|
1608 |
|
1609 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1610 |
msgid "No email notices found in Trash"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1614 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1615 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1616 |
msgid "General"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1620 |
msgid "users balance changes"
|
1621 |
msgstr ""
|
1622 |
|
1623 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1624 |
msgid "user gains %_plural%"
|
1625 |
msgstr ""
|
1626 |
|
1627 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1628 |
msgid "user lose %_plural%"
|
1629 |
msgstr ""
|
1630 |
|
1631 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1632 |
msgid "users balance reaches zero"
|
1633 |
msgstr ""
|
1634 |
|
1635 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1636 |
msgid "users balance goes minus"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1640 |
msgid "Sell Content Add-on"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1644 |
msgid "user buys content"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1648 |
msgid "authors content gets sold"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1652 |
msgid "buyCREDs Add-on"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1656 |
msgid "user buys %_plural%"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
1660 |
msgid "Transfer Add-on"
|
1661 |
msgstr ""
|
1662 |
|
1663 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1664 |
msgid "user sends %_plural%"
|
1665 |
msgstr ""
|
1666 |
|
1667 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1668 |
msgid "user receives %_plural%"
|
1669 |
msgstr ""
|
1670 |
|
1671 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1672 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1673 |
msgid "Ranks Add-on"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1677 |
msgid "user is demoted"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1681 |
msgid "user is promoted"
|
1682 |
msgstr ""
|
1683 |
|
1684 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1685 |
msgid ""
|
1686 |
"Settings that apply to all email notices and can not be overridden for "
|
1687 |
"individual emails."
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1691 |
msgid "Email Format"
|
1692 |
msgstr ""
|
1693 |
|
1694 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1695 |
msgid "Plain text emails only."
|
1696 |
msgstr ""
|
1697 |
|
1698 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1699 |
msgid "HTML or Plain text emails."
|
1700 |
msgstr ""
|
1701 |
|
1702 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1703 |
msgid "Filters"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1707 |
msgid ""
|
1708 |
"Allow WordPress and Third Party Plugins to filter the email subject before "
|
1709 |
"an email is sent."
|
1710 |
msgstr ""
|
1711 |
|
1712 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1713 |
msgid ""
|
1714 |
"Allow WordPress and Third Party Plugins to filter the email content before "
|
1715 |
"an email is sent."
|
1716 |
msgstr ""
|
1717 |
|
1718 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1719 |
msgid ""
|
1720 |
"Default email settings. These settings can be individually overridden when "
|
1721 |
"editing emails."
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1725 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1726 |
msgid "Email Settings"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1730 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1731 |
msgid "Senders Name:"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1735 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1736 |
msgid "Senders Email:"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1740 |
msgid "Reply-To:"
|
1741 |
msgstr ""
|
1742 |
|
1743 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1744 |
msgid "Default Email Content"
|
1745 |
msgstr ""
|
1746 |
|
1747 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1748 |
msgid "Default email content."
|
1749 |
msgstr ""
|
1750 |
|
1751 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1752 |
msgid "Default Email Styling"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1756 |
msgid "Ignored if HTML is not allowed in emails."
|
1757 |
msgstr ""
|
1758 |
|
1759 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1760 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1761 |
msgid "Email Subject"
|
1762 |
msgstr ""
|
1763 |
|
1764 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1765 |
msgid "Status"
|
1766 |
msgstr ""
|
1767 |
|
1768 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1769 |
msgid "Not Active"
|
1770 |
msgstr ""
|
1771 |
|
1772 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1773 |
#, php-format
|
1774 |
msgid "Scheduled:<br /><strong>%1$s</strong>"
|
1775 |
msgstr ""
|
1776 |
|
1777 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1778 |
msgid "Active"
|
1779 |
msgstr ""
|
1780 |
|
1781 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1782 |
#, php-format
|
1783 |
msgid "Active - Last run:<br /><strong>%1$s</strong>"
|
1784 |
msgstr ""
|
1785 |
|
1786 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1787 |
msgid "Email is sent when"
|
1788 |
msgstr ""
|
1789 |
|
1790 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1791 |
msgid "Missing instance for this notice!"
|
1792 |
msgstr ""
|
1793 |
|
1794 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1795 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1796 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1797 |
msgid "Sent To"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1801 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1802 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1803 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1804 |
msgid "User"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1808 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1809 |
msgid "Administrator"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1813 |
msgid "Both Administrator and User"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1817 |
msgid "Available Template Tags"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1821 |
msgid "Email Header"
|
1822 |
msgstr ""
|
1823 |
|
1824 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1825 |
msgid "Send this email notice when..."
|
1826 |
msgstr ""
|
1827 |
|
1828 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1829 |
msgid "Recipient:"
|
1830 |
msgstr ""
|
1831 |
|
1832 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1833 |
msgid "Both"
|
1834 |
msgstr ""
|
1835 |
|
1836 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1837 |
msgid "Reply-To Email:"
|
1838 |
msgstr ""
|
1839 |
|
1840 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1841 |
msgid "Save"
|
1842 |
msgstr ""
|
1843 |
|
1844 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1845 |
msgid "CSS Styling"
|
1846 |
msgstr ""
|
1847 |
|
1848 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1849 |
msgid "Site Related"
|
1850 |
msgstr ""
|
1851 |
|
1852 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1853 |
msgid "Your websites title"
|
1854 |
msgstr ""
|
1855 |
|
1856 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1857 |
msgid "Your websites address"
|
1858 |
msgstr ""
|
1859 |
|
1860 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1861 |
msgid "Your websites tagline (description)"
|
1862 |
msgstr ""
|
1863 |
|
1864 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1865 |
msgid "Your websites admin email"
|
1866 |
msgstr ""
|
1867 |
|
1868 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1869 |
msgid "Total number of blog members"
|
1870 |
msgstr ""
|
1871 |
|
1872 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1873 |
msgid "Points name in singular format"
|
1874 |
msgstr ""
|
1875 |
|
1876 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1877 |
msgid "Points name in plural"
|
1878 |
msgstr ""
|
1879 |
|
1880 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1881 |
msgid "Login URL"
|
1882 |
msgstr ""
|
1883 |
|
1884 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1885 |
msgid "User Related"
|
1886 |
msgstr ""
|
1887 |
|
1888 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1889 |
msgid "The users ID"
|
1890 |
msgstr ""
|
1891 |
|
1892 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1893 |
msgid "The users login name (username)"
|
1894 |
msgstr ""
|
1895 |
|
1896 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1897 |
msgid "The users display name"
|
1898 |
msgstr ""
|
1899 |
|
1900 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1901 |
msgid "The users profile address"
|
1902 |
msgstr ""
|
1903 |
|
1904 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1905 |
msgid "Link to the users profile address with their display name as title"
|
1906 |
msgstr ""
|
1907 |
|
1908 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1909 |
msgid "The users current balance unformated"
|
1910 |
msgstr ""
|
1911 |
|
1912 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1913 |
msgid "The users current balance formated"
|
1914 |
msgstr ""
|
1915 |
|
1916 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1917 |
msgid "Post Related"
|
1918 |
msgstr ""
|
1919 |
|
1920 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1921 |
msgid "Post Title"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1925 |
msgid "Post URL address"
|
1926 |
msgstr ""
|
1927 |
|
1928 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1929 |
msgid "Link to post Post title"
|
1930 |
msgstr ""
|
1931 |
|
1932 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1933 |
msgid "The post type"
|
1934 |
msgstr ""
|
1935 |
|
1936 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1937 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1938 |
#, php-format
|
1939 |
msgid "Email Notice Updated. View <a href=\"%1$s\">All Notices</a>."
|
1940 |
msgstr ""
|
1941 |
|
1942 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1943 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1944 |
msgid "Custom field updated"
|
1945 |
msgstr ""
|
1946 |
|
1947 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1948 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1949 |
msgid "Custom filed updated"
|
1950 |
msgstr ""
|
1951 |
|
1952 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1953 |
msgid "Email Notice Activated"
|
1954 |
msgstr ""
|
1955 |
|
1956 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1957 |
msgid "Email Notice Saved"
|
1958 |
msgstr ""
|
1959 |
|
1960 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1961 |
#, php-format
|
1962 |
msgid ""
|
1963 |
"Email Notice Submitted for approval. View <a href=\"%1$s\">All Notices</a>."
|
1964 |
msgstr ""
|
1965 |
|
1966 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1967 |
#, php-format
|
1968 |
msgid "Email Notice scheduled for: <strong>%1$s</strong>."
|
1969 |
msgstr ""
|
1970 |
|
1971 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1972 |
msgid ""
|
1973 |
"Once a notice is \"published\" it becomes active! Select \"Save Draft\" if "
|
1974 |
"you are not yet ready to use this email notice!"
|
1975 |
msgstr ""
|
1976 |
|
1977 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1978 |
#, php-format
|
1979 |
msgid "This notice will become active on:<br /><strong>%1$s</strong>"
|
1980 |
msgstr ""
|
1981 |
|
1982 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1983 |
msgid "This email notice is active."
|
1984 |
msgstr ""
|
1985 |
|
1986 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1987 |
msgid "Gateway"
|
1988 |
msgstr ""
|
1989 |
|
1990 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1991 |
msgid ""
|
1992 |
"Let your users pay using their <strong>my</strong>CRED points balance. "
|
1993 |
"Supported Carts: WooCommerce, MarketPress. Supported Event Bookings: Event "
|
1994 |
"Espresso, Events Manager."
|
1995 |
msgstr ""
|
1996 |
|
1997 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1998 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
1999 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2000 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2001 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2002 |
msgid "Current Balance"
|
2003 |
msgstr ""
|
2004 |
|
2005 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2006 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2007 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2008 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2009 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2010 |
msgid "Total Cost"
|
2011 |
msgstr ""
|
2012 |
|
2013 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2014 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2015 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2016 |
msgid "Balance After Purchase"
|
2017 |
msgstr ""
|
2018 |
|
2019 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2020 |
msgid "Payment"
|
2021 |
msgstr ""
|
2022 |
|
2023 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2024 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2025 |
#, php-format
|
2026 |
msgid "<a href=\"%s\">Go Back</a>"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2030 |
msgid "will be deducted from your account."
|
2031 |
msgstr ""
|
2032 |
|
2033 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2034 |
#, php-format
|
2035 |
msgid ""
|
2036 |
"Sorry, but you can not use this gateway as your account is excluded. Please "
|
2037 |
"<a href=\"%s\">select a different payment method</a>."
|
2038 |
msgstr ""
|
2039 |
|
2040 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2041 |
msgid "Paid"
|
2042 |
msgstr ""
|
2043 |
|
2044 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2045 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2046 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2047 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2048 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2049 |
msgid "myCRED"
|
2050 |
msgstr ""
|
2051 |
|
2052 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2053 |
msgid "%_singular% Balance"
|
2054 |
msgstr ""
|
2055 |
|
2056 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2057 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2058 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2059 |
msgid "Payment for Order: #%order_id%"
|
2060 |
msgstr ""
|
2061 |
|
2062 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2063 |
msgid "Product Sale: %post_title%"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2067 |
msgid "Pay using your account balance."
|
2068 |
msgstr ""
|
2069 |
|
2070 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2071 |
msgid ""
|
2072 |
"TOTAL amount has been deducted from your account. Your current balance is: "
|
2073 |
"%balance_f%"
|
2074 |
msgstr ""
|
2075 |
|
2076 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2077 |
msgid ""
|
2078 |
"Insufficient funds. Please select another form of payment. Your current "
|
2079 |
"balance is: %balance_f%"
|
2080 |
msgstr ""
|
2081 |
|
2082 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2083 |
msgid ""
|
2084 |
"You must be logged in to pay with %_plural%. Please <a href=\"%login_url_here"
|
2085 |
"%\">login</a>."
|
2086 |
msgstr ""
|
2087 |
|
2088 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2089 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2090 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2091 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2092 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2093 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2094 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/modules/mycred-module-log.php:246
|
2095 |
msgid "Settings"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2099 |
#, php-format
|
2100 |
msgid ""
|
2101 |
"Let your users pay for items in their shopping cart using their %s Account. "
|
@@ -2103,134 +2121,134 @@ msgid ""
|
|
2103 |
"purchase!"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2107 |
msgid "Method Name"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2111 |
msgid ""
|
2112 |
"Enter a public name for this payment method that is displayed to users - No "
|
2113 |
"HTML"
|
2114 |
msgstr ""
|
2115 |
|
2116 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2117 |
msgid "Gateway Logo URL"
|
2118 |
msgstr ""
|
2119 |
|
2120 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2121 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2122 |
msgid ""
|
2123 |
"Log entry template for successful payments. Available template tags: "
|
2124 |
"%order_id%, %order_link%"
|
2125 |
msgstr ""
|
2126 |
|
2127 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2128 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2129 |
msgid "How much is 1 %_singular% worth in %currency%?"
|
2130 |
msgstr ""
|
2131 |
|
2132 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2133 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2134 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2135 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2136 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2137 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2138 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2139 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2140 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2141 |
msgid "Exchange Rate"
|
2142 |
msgstr ""
|
2143 |
|
2144 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2145 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2146 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2147 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2148 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2149 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2150 |
msgid "Profit Sharing"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2154 |
msgid "Percentage"
|
2155 |
msgstr ""
|
2156 |
|
2157 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2158 |
msgid "Option to share sales with the product owner. User zero to disable"
|
2159 |
msgstr ""
|
2160 |
|
2161 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2162 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2163 |
msgid ""
|
2164 |
"Log entry template for profit sharing. Available template tags: General and "
|
2165 |
"Post related"
|
2166 |
msgstr ""
|
2167 |
|
2168 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2169 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2170 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2171 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2172 |
msgid "Messages"
|
2173 |
msgstr ""
|
2174 |
|
2175 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2176 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2177 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2178 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2179 |
msgid "Insufficient Funds"
|
2180 |
msgstr ""
|
2181 |
|
2182 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2183 |
msgid "Message to show when the user can not use this gateway."
|
2184 |
msgstr ""
|
2185 |
|
2186 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2187 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2188 |
msgid "Available template tags are: General."
|
2189 |
msgstr ""
|
2190 |
|
2191 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2192 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2193 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2194 |
msgid "Visitors"
|
2195 |
msgstr ""
|
2196 |
|
2197 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2198 |
msgid "Message to show to buyers that are not logged in."
|
2199 |
msgstr ""
|
2200 |
|
2201 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2202 |
msgid "User Instructions"
|
2203 |
msgstr ""
|
2204 |
|
2205 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2206 |
msgid "Information to show users before payment."
|
2207 |
msgstr ""
|
2208 |
|
2209 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2210 |
msgid ""
|
2211 |
"Available template tags are: %balance% and %balance_f% for users current "
|
2212 |
"balance."
|
2213 |
msgstr ""
|
2214 |
|
2215 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2216 |
msgid "Confirmation Information"
|
2217 |
msgstr ""
|
2218 |
|
2219 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2220 |
msgid "Information to display on the order confirmation page. - HTML allowed"
|
2221 |
msgstr ""
|
2222 |
|
2223 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2224 |
msgid ""
|
2225 |
"Available template tags: TOTAL - total cart cost, %balance% and %balance_f% "
|
2226 |
"- users current balance."
|
2227 |
msgstr ""
|
2228 |
|
2229 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2230 |
msgid "Order Confirmation Email"
|
2231 |
msgstr ""
|
2232 |
|
2233 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2234 |
#, php-format
|
2235 |
msgid ""
|
2236 |
"This is the email text to send to those who have made %s checkouts. It "
|
@@ -2239,772 +2257,776 @@ msgid ""
|
|
2239 |
"PAYMENTINFO, TOTAL, TRACKINGURL. No HTML allowed."
|
2240 |
msgstr ""
|
2241 |
|
2242 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2243 |
#, php-format
|
2244 |
msgid "Available template tags: %balance% or %balance_f% for users balance."
|
2245 |
msgstr ""
|
2246 |
|
2247 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2248 |
msgid "Let users pay using their myCRED balance."
|
2249 |
msgstr ""
|
2250 |
|
2251 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2252 |
msgid "Enable/Disable"
|
2253 |
msgstr ""
|
2254 |
|
2255 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2256 |
msgid "Enable myCRED Payment"
|
2257 |
msgstr ""
|
2258 |
|
2259 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2260 |
msgid ""
|
2261 |
"Users who are not logged in or excluded from using myCRED will not have "
|
2262 |
"access to this gateway!"
|
2263 |
msgstr ""
|
2264 |
|
2265 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2266 |
msgid "Title to show for this payment option."
|
2267 |
msgstr ""
|
2268 |
|
2269 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2270 |
msgid "Pay with myCRED"
|
2271 |
msgstr ""
|
2272 |
|
2273 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2274 |
msgid "Customer Message"
|
2275 |
msgstr ""
|
2276 |
|
2277 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2278 |
msgid "Deduct the amount from your %_plural% balance."
|
2279 |
msgstr ""
|
2280 |
|
2281 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2282 |
msgid "Show Total"
|
2283 |
msgstr ""
|
2284 |
|
2285 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2286 |
msgid "Show the final price in %_plural% ."
|
2287 |
msgstr ""
|
2288 |
|
2289 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2290 |
msgid "Do not show"
|
2291 |
msgstr ""
|
2292 |
|
2293 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2294 |
msgid "Show in Cart"
|
2295 |
msgstr ""
|
2296 |
|
2297 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2298 |
msgid "Show on Checkout Page"
|
2299 |
msgstr ""
|
2300 |
|
2301 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2302 |
msgid "Show in Cart and on Checkout Page"
|
2303 |
msgstr ""
|
2304 |
|
2305 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2306 |
msgid "Label"
|
2307 |
msgstr ""
|
2308 |
|
2309 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2310 |
msgid "Order Total in %_plural%"
|
2311 |
msgstr ""
|
2312 |
|
2313 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2314 |
msgid "Option to share a percentage of the sale with the product owner."
|
2315 |
msgstr ""
|
2316 |
|
2317 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2318 |
msgid ""
|
2319 |
"Log entry template for profit sharing. Available template tags: General and "
|
2320 |
"Post related."
|
2321 |
msgstr ""
|
2322 |
|
2323 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2324 |
msgid "Sale of %post_title%"
|
2325 |
msgstr ""
|
2326 |
|
2327 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2328 |
msgid "myCRED Payment"
|
2329 |
msgstr ""
|
2330 |
|
2331 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2332 |
msgid ""
|
2333 |
"Allows users to pay using their myCRED %_singular% balance. Please note that "
|
2334 |
"users with insufficient funds and users who are not logged in will not see "
|
2335 |
"this payment gateway on the checkout page."
|
2336 |
msgstr ""
|
2337 |
|
2338 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2339 |
msgid "You must be logged in to pay with %_plural%"
|
2340 |
msgstr ""
|
2341 |
|
2342 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2343 |
msgid "You can not use this gateway. Please try a different payment option."
|
2344 |
msgstr ""
|
2345 |
|
2346 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2347 |
msgid "Insufficient funds. Please try a different payment option."
|
2348 |
msgstr ""
|
2349 |
|
2350 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2351 |
msgid "Your account has successfully been charged."
|
2352 |
msgstr ""
|
2353 |
|
2354 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2355 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2356 |
msgid "Your current balance"
|
2357 |
msgstr ""
|
2358 |
|
2359 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2360 |
msgid "Store sale"
|
2361 |
msgstr ""
|
2362 |
|
2363 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2364 |
msgid "You must be logged in to use this gateway"
|
2365 |
msgstr ""
|
2366 |
|
2367 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2368 |
msgid "Insufficient Funds."
|
2369 |
msgstr ""
|
2370 |
|
2371 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2372 |
msgid "Deduct the amount from your balance."
|
2373 |
msgstr ""
|
2374 |
|
2375 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2376 |
msgid "Item"
|
2377 |
msgstr ""
|
2378 |
|
2379 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2380 |
msgid "You can not use this gateway."
|
2381 |
msgstr ""
|
2382 |
|
2383 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2384 |
msgid "Log Template for Payments"
|
2385 |
msgstr ""
|
2386 |
|
2387 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2388 |
msgid ""
|
2389 |
"Log entry template for successful payments. Available template tags: "
|
2390 |
"General, %order_id%"
|
2391 |
msgstr ""
|
2392 |
|
2393 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2394 |
#, php-format
|
2395 |
msgid "How much is 1 %s worth in %s"
|
2396 |
msgstr ""
|
2397 |
|
2398 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2399 |
msgid "Payout"
|
2400 |
msgstr ""
|
2401 |
|
2402 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2403 |
msgid ""
|
2404 |
"Option to share a percentage of the sale with the product owner (post "
|
2405 |
"author). User zero to disable."
|
2406 |
msgstr ""
|
2407 |
|
2408 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2409 |
msgid "Instructions"
|
2410 |
msgstr ""
|
2411 |
|
2412 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2413 |
msgid ""
|
2414 |
"Optional instructions to show users when selecting this gateway. Leave empty "
|
2415 |
"to hide."
|
2416 |
msgstr ""
|
2417 |
|
2418 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2419 |
msgid "Message to show visitors who are not logged in."
|
2420 |
msgstr ""
|
2421 |
|
2422 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2423 |
msgid ""
|
2424 |
"Message to show when users does not have enough %plural% to pay using this "
|
2425 |
"gateway."
|
2426 |
msgstr ""
|
2427 |
|
2428 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2429 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2430 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2431 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2432 |
msgid "Payments"
|
2433 |
msgstr ""
|
2434 |
|
2435 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2436 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2437 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2438 |
msgid "Pay Now"
|
2439 |
msgstr ""
|
2440 |
|
2441 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2442 |
msgid "Payment for Event Registration"
|
2443 |
msgstr ""
|
2444 |
|
2445 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2446 |
#, php-format
|
2447 |
msgid "Activate %s"
|
2448 |
msgstr ""
|
2449 |
|
2450 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2451 |
#, php-format
|
2452 |
msgid "Deactivate %s"
|
2453 |
msgstr ""
|
2454 |
|
2455 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2456 |
msgid "Gateway Settings"
|
2457 |
msgstr ""
|
2458 |
|
2459 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2460 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2461 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2462 |
#, php-format
|
2463 |
msgid "How many %s is 1 %s worth?"
|
2464 |
msgstr ""
|
2465 |
|
2466 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2467 |
msgid "Gateways Settings Successfully Updated"
|
2468 |
msgstr ""
|
2469 |
|
2470 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2471 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2472 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2473 |
msgid "Labels"
|
2474 |
msgstr ""
|
2475 |
|
2476 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2477 |
msgid "Gateway Title"
|
2478 |
msgstr ""
|
2479 |
|
2480 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2481 |
msgid "Title to show on Payment page"
|
2482 |
msgstr ""
|
2483 |
|
2484 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2485 |
msgid "Payment Type"
|
2486 |
msgstr ""
|
2487 |
|
2488 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2489 |
msgid "Title to show on receipts and logs"
|
2490 |
msgstr ""
|
2491 |
|
2492 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2493 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2494 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2495 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2496 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2497 |
msgid "Button Label"
|
2498 |
msgstr ""
|
2499 |
|
2500 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2501 |
msgid "Pay Button"
|
2502 |
msgstr ""
|
2503 |
|
2504 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2505 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2506 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2507 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2508 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2509 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2510 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2511 |
msgid "Price"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2515 |
msgid ""
|
2516 |
"You can disable purchases using this gateway by adding a custom Event Meta: "
|
2517 |
"<code>mycred_no_sale</code>"
|
2518 |
msgstr ""
|
2519 |
|
2520 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2521 |
msgid "Users must be logged in to use this gateway!"
|
2522 |
msgstr ""
|
2523 |
|
2524 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2525 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2526 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2527 |
msgid ""
|
2528 |
"Option to share sales with the event owner (post author). Use zero to "
|
2529 |
"disable."
|
2530 |
msgstr ""
|
2531 |
|
2532 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2533 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2534 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2535 |
msgid "Log"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2539 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2540 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2541 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2542 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2543 |
msgid "Log Entry"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2547 |
msgid "Templates"
|
2548 |
msgstr ""
|
2549 |
|
2550 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2551 |
msgid "Solvent users"
|
2552 |
msgstr ""
|
2553 |
|
2554 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2555 |
msgid ""
|
2556 |
"Message to show users on the payment page before they are charged. Leave "
|
2557 |
"empty to hide.<br />Available template tags: General"
|
2558 |
msgstr ""
|
2559 |
|
2560 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2561 |
msgid "Insolvent users"
|
2562 |
msgstr ""
|
2563 |
|
2564 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2565 |
msgid ""
|
2566 |
"Message to show users who do not have enough points to pay.<br />Available "
|
2567 |
"template tags: General"
|
2568 |
msgstr ""
|
2569 |
|
2570 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2571 |
msgid ""
|
2572 |
"Message to show visitors (users not logged in) on the payment page.<br /"
|
2573 |
">Available template tags: General"
|
2574 |
msgstr ""
|
2575 |
|
2576 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2577 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2578 |
msgid "Update Settings"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2582 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2583 |
msgid "Payment for tickets to %link_with_title%"
|
2584 |
msgstr ""
|
2585 |
|
2586 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2587 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2588 |
msgid "Ticket refund for %link_with_title%"
|
2589 |
msgstr ""
|
2590 |
|
2591 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2592 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2593 |
msgid "Pay using your %_plural% balance"
|
2594 |
msgstr ""
|
2595 |
|
2596 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2597 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2598 |
msgid "Pay"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2602 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2603 |
msgid "Thank you for your payment!"
|
2604 |
msgstr ""
|
2605 |
|
2606 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2607 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2608 |
msgid "I'm sorry but you can not pay for these tickets using %_plural%"
|
2609 |
msgstr ""
|
2610 |
|
2611 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2612 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2613 |
msgid "Ticket Type"
|
2614 |
msgstr ""
|
2615 |
|
2616 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2617 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2618 |
msgid "Spaces"
|
2619 |
msgstr ""
|
2620 |
|
2621 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2622 |
msgid "You can not pay using this gateway."
|
2623 |
msgstr ""
|
2624 |
|
2625 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2626 |
msgid "Reject"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2630 |
msgid "Delete"
|
2631 |
msgstr ""
|
2632 |
|
2633 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2634 |
msgid "Edit/View"
|
2635 |
msgstr ""
|
2636 |
|
2637 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2638 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2639 |
msgid "Disabled - Users CAN NOT pay for tickets using %plural%."
|
2640 |
msgstr ""
|
2641 |
|
2642 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2643 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2644 |
msgid "Single - Users can ONLY pay for tickets using %plural%."
|
2645 |
msgstr ""
|
2646 |
|
2647 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2648 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2649 |
msgid "Multi - Users can pay for tickets using other gateways or %plural%."
|
2650 |
msgstr ""
|
2651 |
|
2652 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2653 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2654 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2655 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2656 |
msgid "Refunds"
|
2657 |
msgstr ""
|
2658 |
|
2659 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2660 |
msgid ""
|
2661 |
"The percentage of the paid amount to refund if a user cancells their "
|
2662 |
"booking. Use zero for no refunds. No refunds are given to \"Rejected\" "
|
2663 |
"bookings!"
|
2664 |
msgstr ""
|
2665 |
|
2666 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2667 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2668 |
msgid "Log Templates"
|
2669 |
msgstr ""
|
2670 |
|
2671 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2672 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2673 |
msgid "Purchases"
|
2674 |
msgstr ""
|
2675 |
|
2676 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2677 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2678 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2679 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2680 |
msgid "Available template tags: General and Post related."
|
2681 |
msgstr ""
|
2682 |
|
2683 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2684 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2685 |
msgid "Payment Link Label"
|
2686 |
msgstr ""
|
2687 |
|
2688 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2689 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2690 |
msgid ""
|
2691 |
"The payment link shows / hides the payment form under \"My Bookings\". No "
|
2692 |
"HTML allowed."
|
2693 |
msgstr ""
|
2694 |
|
2695 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2696 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2697 |
msgid "Payment Header"
|
2698 |
msgstr ""
|
2699 |
|
2700 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2701 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2702 |
msgid "Shown on top of the payment form. No HTML allowed."
|
2703 |
msgstr ""
|
2704 |
|
2705 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2706 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2707 |
msgid "The button label for payments. No HTML allowed!"
|
2708 |
msgstr ""
|
2709 |
|
2710 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2711 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2712 |
msgid "Successful Payments"
|
2713 |
msgstr ""
|
2714 |
|
2715 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2716 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2717 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2718 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2719 |
msgid "No HTML allowed! Available template tags: General"
|
2720 |
msgstr ""
|
2721 |
|
2722 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2723 |
msgid "Balance After Payment"
|
2724 |
msgstr ""
|
2725 |
|
2726 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2727 |
msgid "Click to toggle"
|
2728 |
msgstr ""
|
2729 |
|
2730 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2731 |
#, php-format
|
2732 |
msgid "%s Payments"
|
2733 |
msgstr ""
|
2734 |
|
2735 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2736 |
msgid ""
|
2737 |
"The percentage of the paid amount to refund if a booking gets cancelled. Use "
|
2738 |
"zero for no refunds. No refunds are given to \"Rejected\" bookings."
|
2739 |
msgstr ""
|
2740 |
|
2741 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2742 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2743 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2744 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2745 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2746 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/import/myCRED-addon-import.php:743
|
2747 |
msgid "Import"
|
2748 |
msgstr ""
|
2749 |
|
2750 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2751 |
msgid ""
|
2752 |
"With the Import add-on you can import CSV files, CubePoints or existing "
|
2753 |
"points under any custom user meta values."
|
2754 |
msgstr ""
|
2755 |
|
2756 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2757 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2758 |
msgid "CSV File"
|
2759 |
msgstr ""
|
2760 |
|
2761 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2762 |
msgid "Import %_plural% from a comma-separated values (CSV) file."
|
2763 |
msgstr ""
|
2764 |
|
2765 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2766 |
msgid "CubePoints"
|
2767 |
msgstr ""
|
2768 |
|
2769 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2770 |
msgid "Import CubePoints"
|
2771 |
msgstr ""
|
2772 |
|
2773 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2774 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2775 |
msgid "Custom User Meta"
|
2776 |
msgstr ""
|
2777 |
|
2778 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2779 |
msgid "Import %_plural% from pre-existing custom user meta."
|
2780 |
msgstr ""
|
2781 |
|
2782 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2783 |
msgid "No file selected. Please select your CSV file and try again."
|
2784 |
msgstr ""
|
2785 |
|
2786 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2787 |
msgid "Failed to load file."
|
2788 |
msgstr ""
|
2789 |
|
2790 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2791 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2792 |
#, php-format
|
2793 |
msgid ""
|
2794 |
"Zero rows imported! Skipped %d entries. Import completed in %.2f seconds."
|
2795 |
msgstr ""
|
2796 |
|
2797 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2798 |
msgid ""
|
2799 |
"No valid records found in file. Make sure you have selected the correct way "
|
2800 |
"to identify users in the mycred_user column!"
|
2801 |
msgstr ""
|
2802 |
|
2803 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2804 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2805 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2806 |
#, php-format
|
2807 |
msgid ""
|
2808 |
"Import successfully completed. A total of %d users were effected and %d "
|
2809 |
"entires were skipped. Import completed in %.2f seconds."
|
2810 |
msgstr ""
|
2811 |
|
2812 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2813 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2814 |
msgid "No CubePoints found."
|
2815 |
msgstr ""
|
2816 |
|
2817 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2818 |
#, php-format
|
2819 |
msgid ""
|
2820 |
"Zero CubePoints imported! Skipped %d entries. Import completed in %.2f "
|
2821 |
"seconds."
|
2822 |
msgstr ""
|
2823 |
|
2824 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2825 |
msgid "No valid CubePoints founds."
|
2826 |
msgstr ""
|
2827 |
|
2828 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2829 |
msgid "Missing meta key. Not sure what I should be looking for."
|
2830 |
msgstr ""
|
2831 |
|
2832 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2833 |
#, php-format
|
2834 |
msgid "No rows found for the <strong>%s</strong> meta key."
|
2835 |
msgstr ""
|
2836 |
|
2837 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2838 |
msgid "No valid records founds."
|
2839 |
msgstr ""
|
2840 |
|
2841 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
2842 |
msgid "Remember to de-activate this add-on once you are done importing!"
|
2843 |
msgstr ""
|
2844 |
|
2845 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2846 |
msgid "File"
|
2847 |
msgstr ""
|
2848 |
|
2849 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2850 |
msgid "Maximum allowed upload size is "
|
2851 |
msgstr ""
|
2852 |
|
2853 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2854 |
msgid ""
|
2855 |
"Required columns: <code>mycred_user</code> and <code>mycred_amount</code>. "
|
2856 |
"Optional columns: <code>mycred_log</code>."
|
2857 |
msgstr ""
|
2858 |
|
2859 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2860 |
msgid "Identify Users By"
|
2861 |
msgstr ""
|
2862 |
|
2863 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2864 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2865 |
msgid "ID"
|
2866 |
msgstr ""
|
2867 |
|
2868 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2869 |
msgid "Username"
|
2870 |
msgstr ""
|
2871 |
|
2872 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2873 |
msgid "Email"
|
2874 |
msgstr ""
|
2875 |
|
2876 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2877 |
msgid "How much is 1 imported value worth?"
|
2878 |
msgstr ""
|
2879 |
|
2880 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2881 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2882 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2883 |
msgid "Round"
|
2884 |
msgstr ""
|
2885 |
|
2886 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2887 |
msgid "None"
|
2888 |
msgstr ""
|
2889 |
|
2890 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2891 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2892 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2893 |
msgid "Round Up"
|
2894 |
msgstr ""
|
2895 |
|
2896 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2897 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2898 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2899 |
msgid "Round Down"
|
2900 |
msgstr ""
|
2901 |
|
2902 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2903 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2904 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2905 |
msgid "Precision"
|
2906 |
msgstr ""
|
2907 |
|
2908 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2909 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2910 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2911 |
msgid ""
|
2912 |
"The optional number of decimal digits to round to. Use zero to round the "
|
2913 |
"nearest whole number."
|
2914 |
msgstr ""
|
2915 |
|
2916 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2917 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2918 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2919 |
msgid "See the help tab for available template tags. Leave blank to disable."
|
2920 |
msgstr ""
|
2921 |
|
2922 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2923 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2924 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2925 |
msgid "Run Import"
|
2926 |
msgstr ""
|
2927 |
|
2928 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2929 |
#, php-format
|
2930 |
msgid "Found %d users with CubePoints."
|
2931 |
msgstr ""
|
2932 |
|
2933 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2934 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2935 |
msgid "Meta Key"
|
2936 |
msgstr ""
|
2937 |
|
2938 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2939 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2940 |
msgid "Do not round"
|
2941 |
msgstr ""
|
2942 |
|
2943 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2944 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2945 |
msgid "After Import"
|
2946 |
msgstr ""
|
2947 |
|
2948 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2949 |
msgid "Delete users CubePoints balance."
|
2950 |
msgstr ""
|
2951 |
|
2952 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2953 |
msgid "Delete the old value."
|
2954 |
msgstr ""
|
2955 |
|
2956 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2957 |
msgid "Failed to get file contents."
|
2958 |
msgstr ""
|
2959 |
|
2960 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2961 |
msgid "Failed to put file contents."
|
2962 |
msgstr ""
|
2963 |
|
2964 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2965 |
msgid ""
|
2966 |
"This add-on lets you import %_plural% either though a CSV-file or from your "
|
2967 |
"database. Remember that the import can take time depending on your file size "
|
2968 |
"or the number of users being imported."
|
2969 |
msgstr ""
|
2970 |
|
2971 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2972 |
msgid "CSV Import"
|
2973 |
msgstr ""
|
2974 |
|
2975 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2976 |
msgid ""
|
2977 |
"Imports using a comma-separated values file requires the following columns:"
|
2978 |
msgstr ""
|
2979 |
|
2980 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2981 |
msgid ""
|
2982 |
"Column identifing the user. All rows must identify the user the same way, "
|
2983 |
"either using an ID, Username (user_login) or email. Users that can not be "
|
2984 |
"found will be ignored."
|
2985 |
msgstr ""
|
2986 |
|
2987 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2988 |
msgid ""
|
2989 |
"Column with the amount to be imported. If set, an exchange rate is applied "
|
2990 |
"to this value before import."
|
2991 |
msgstr ""
|
2992 |
|
2993 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
2994 |
msgid ""
|
2995 |
"Optionally you can also use the <code>mycred_log</code> column to pre-define "
|
2996 |
"the log entry for each import."
|
2997 |
msgstr ""
|
2998 |
|
2999 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3000 |
msgid "Cubepoints"
|
3001 |
msgstr ""
|
3002 |
|
3003 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3004 |
msgid "Cubepoints Import"
|
3005 |
msgstr ""
|
3006 |
|
3007 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3008 |
msgid ""
|
3009 |
"When this page loads, the importer will automatically check if you have been "
|
3010 |
"using Cubepoints. If you have, you can import these with the option to "
|
@@ -3012,1202 +3034,1193 @@ msgid ""
|
|
3012 |
"clean."
|
3013 |
msgstr ""
|
3014 |
|
3015 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3016 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3017 |
msgid ""
|
3018 |
"Before a value is imported, you can apply an exchange rate. To import "
|
3019 |
"without changing the value, use 1 as the exchange rate."
|
3020 |
msgstr ""
|
3021 |
|
3022 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3023 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3024 |
msgid ""
|
3025 |
"You can select to add a log entry for each import or leave the template "
|
3026 |
"empty to skip."
|
3027 |
msgstr ""
|
3028 |
|
3029 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3030 |
msgid ""
|
3031 |
"The Cubepoints importer will automatically disable itself if no Cubepoints "
|
3032 |
"installation exists."
|
3033 |
msgstr ""
|
3034 |
|
3035 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3036 |
msgid "Custom User Meta Import"
|
3037 |
msgstr ""
|
3038 |
|
3039 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3040 |
msgid ""
|
3041 |
"You can import any type of points that have previously been saved in your "
|
3042 |
"database. All you need is the meta key under which it has been saved."
|
3043 |
msgstr ""
|
3044 |
|
3045 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3046 |
msgid ""
|
3047 |
"Please note that the meta key is case sensitive and can not contain "
|
3048 |
"whitespaces!"
|
3049 |
msgstr ""
|
3050 |
|
3051 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3052 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3053 |
msgid "Notifications"
|
3054 |
msgstr ""
|
3055 |
|
3056 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3057 |
msgid "Notify your users when their balances changes."
|
3058 |
msgstr ""
|
3059 |
|
3060 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3061 |
msgid "Styling"
|
3062 |
msgstr ""
|
3063 |
|
3064 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3065 |
msgid "Use the included CSS Styling for notifications."
|
3066 |
msgstr ""
|
3067 |
|
3068 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3069 |
msgid ""
|
3070 |
"Use %entry% to show the log entry in the notice and %amount% for the amount."
|
3071 |
msgstr ""
|
3072 |
|
3073 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3074 |
msgid "Transient Lifespan"
|
3075 |
msgstr ""
|
3076 |
|
3077 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3078 |
msgid ""
|
3079 |
"The number of days a users notification is saved before being automatically "
|
3080 |
"deleted."
|
3081 |
msgstr ""
|
3082 |
|
3083 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3084 |
msgid "Duration"
|
3085 |
msgstr ""
|
3086 |
|
3087 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3088 |
msgid ""
|
3089 |
"The number of milliseconds a notice should be visible.<br />Use zero to "
|
3090 |
"require that the user closes the notice manually. 1000 milliseconds = 1 "
|
3091 |
"second."
|
3092 |
msgstr ""
|
3093 |
|
3094 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3095 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3096 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3097 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3098 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3099 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3100 |
msgid "Ranks"
|
3101 |
msgstr ""
|
3102 |
|
3103 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3104 |
msgid ""
|
3105 |
"Create ranks for users reaching a certain number of points with the option "
|
3106 |
"to add logos for each rank."
|
3107 |
msgstr ""
|
3108 |
|
3109 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3110 |
msgid "Warning! All ranks will be deleted! This can not be undone!"
|
3111 |
msgstr ""
|
3112 |
|
3113 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3114 |
msgid "Are you sure you want to re-assign user ranks?"
|
3115 |
msgstr ""
|
3116 |
|
3117 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3118 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3119 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3120 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3121 |
msgid "Rank"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3125 |
msgid "Add New Rank"
|
3126 |
msgstr ""
|
3127 |
|
3128 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3129 |
msgid "Edit Rank"
|
3130 |
msgstr ""
|
3131 |
|
3132 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3133 |
msgid "New Rank"
|
3134 |
msgstr ""
|
3135 |
|
3136 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3137 |
msgid "View Rank"
|
3138 |
msgstr ""
|
3139 |
|
3140 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3141 |
msgid "Search Ranks"
|
3142 |
msgstr ""
|
3143 |
|
3144 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3145 |
msgid "No ranks found"
|
3146 |
msgstr ""
|
3147 |
|
3148 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3149 |
msgid "No ranks found in Trash"
|
3150 |
msgstr ""
|
3151 |
|
3152 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3153 |
#, php-format
|
3154 |
msgid "Completed - Total of %d users effected"
|
3155 |
msgstr ""
|
3156 |
|
3157 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3158 |
msgid "Log is Empty"
|
3159 |
msgstr ""
|
3160 |
|
3161 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3162 |
msgid "Newbie"
|
3163 |
msgstr ""
|
3164 |
|
3165 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3166 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3167 |
#, php-format
|
3168 |
msgid "Rank Updated. View <a href=\"%1$s\">All Ranks</a>."
|
3169 |
msgstr ""
|
3170 |
|
3171 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3172 |
msgid "Rank Activated"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3176 |
msgid "Rank Saved"
|
3177 |
msgstr ""
|
3178 |
|
3179 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3180 |
#, php-format
|
3181 |
msgid "Rank Submitted for approval. View <a href=\"%1$s\">All Ranks</a>."
|
3182 |
msgstr ""
|
3183 |
|
3184 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3185 |
#, php-format
|
3186 |
msgid "Rank scheduled for: <strong>%1$s</strong>."
|
3187 |
msgstr ""
|
3188 |
|
3189 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3190 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3191 |
msgid "Rank Title"
|
3192 |
msgstr ""
|
3193 |
|
3194 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3195 |
msgid "Logo"
|
3196 |
msgstr ""
|
3197 |
|
3198 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3199 |
msgid "Requirement"
|
3200 |
msgstr ""
|
3201 |
|
3202 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3203 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3204 |
msgid "Users"
|
3205 |
msgstr ""
|
3206 |
|
3207 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3208 |
msgid "No Logo Set"
|
3209 |
msgstr ""
|
3210 |
|
3211 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3212 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3213 |
msgid "Any Value"
|
3214 |
msgstr ""
|
3215 |
|
3216 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3217 |
msgid "Maximum %plural%"
|
3218 |
msgstr ""
|
3219 |
|
3220 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3221 |
msgid "Rank Settings"
|
3222 |
msgstr ""
|
3223 |
|
3224 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3225 |
msgid "Minimum %plural% to reach this rank"
|
3226 |
msgstr ""
|
3227 |
|
3228 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3229 |
msgid "Maximum %plural% to be included in this rank"
|
3230 |
msgstr ""
|
3231 |
|
3232 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3233 |
msgid "All Published Ranks"
|
3234 |
msgstr ""
|
3235 |
|
3236 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3237 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3238 |
msgid "Not Set"
|
3239 |
msgstr ""
|
3240 |
|
3241 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3242 |
msgid "No Ranks found"
|
3243 |
msgstr ""
|
3244 |
|
3245 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3246 |
msgid "Rank Features"
|
3247 |
msgstr ""
|
3248 |
|
3249 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3250 |
msgid "%plural% requirement"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3254 |
msgid "Featured Image (Logo)"
|
3255 |
msgstr ""
|
3256 |
|
3257 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3258 |
msgid "Content"
|
3259 |
msgstr ""
|
3260 |
|
3261 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3262 |
msgid "Excerpt"
|
3263 |
msgstr ""
|
3264 |
|
3265 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3266 |
msgid "Comments"
|
3267 |
msgstr ""
|
3268 |
|
3269 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3270 |
msgid "Page Attributes"
|
3271 |
msgstr ""
|
3272 |
|
3273 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3274 |
msgid "Custom Fields"
|
3275 |
msgstr ""
|
3276 |
|
3277 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3278 |
msgid "Public"
|
3279 |
msgstr ""
|
3280 |
|
3281 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3282 |
msgid ""
|
3283 |
"If you want to create a template archive for each rank, you must select to "
|
3284 |
"have ranks public. Defaults to disabled."
|
3285 |
msgstr ""
|
3286 |
|
3287 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3288 |
msgid "Rank Basis"
|
3289 |
msgstr ""
|
3290 |
|
3291 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3292 |
msgid "Users are ranked according to their current balance."
|
3293 |
msgstr ""
|
3294 |
|
3295 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3296 |
msgid ""
|
3297 |
"Users are ranked according to the total amount of %_plural% they have "
|
3298 |
"accumulated."
|
3299 |
msgstr ""
|
3300 |
|
3301 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3302 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3303 |
msgid "Calculate Totals"
|
3304 |
msgstr ""
|
3305 |
|
3306 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3307 |
msgid ""
|
3308 |
"Use this button to calculate or re-calcualte your users totals. If not used, "
|
3309 |
"the users current balance will be used as a starting point."
|
3310 |
msgstr ""
|
3311 |
|
3312 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3313 |
msgid ""
|
3314 |
"Once a users total has been calculated, they will be assigned to their "
|
3315 |
"appropriate roles. For this reason, it is highly recommended that you first "
|
3316 |
"setup your ranks!"
|
3317 |
msgstr ""
|
3318 |
|
3319 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3320 |
msgid ""
|
3321 |
"Depending on your log size and number of users this process may take a "
|
3322 |
"while. Please do not leave, click \"Update Settings\" or re-fresh this page "
|
3323 |
"until this is completed!"
|
3324 |
msgstr ""
|
3325 |
|
3326 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3327 |
msgid "Archive URL"
|
3328 |
msgstr ""
|
3329 |
|
3330 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3331 |
msgid "Ignored if Ranks are not public"
|
3332 |
msgstr ""
|
3333 |
|
3334 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3335 |
msgid "Display Order"
|
3336 |
msgstr ""
|
3337 |
|
3338 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3339 |
msgid "Ascending - Lowest rank to highest"
|
3340 |
msgstr ""
|
3341 |
|
3342 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3343 |
msgid "Descending - Highest rank to lowest"
|
3344 |
msgstr ""
|
3345 |
|
3346 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3347 |
msgid ""
|
3348 |
"Select in what order ranks should be displayed in your admin area and/or "
|
3349 |
"front if ranks are \"Public\""
|
3350 |
msgstr ""
|
3351 |
|
3352 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3353 |
msgid "Rank in BuddyPress"
|
3354 |
msgstr ""
|
3355 |
|
3356 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3357 |
msgid "Script Communication Error"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3361 |
msgid "Rank Post Type"
|
3362 |
msgstr ""
|
3363 |
|
3364 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3365 |
msgid "No. of ranks"
|
3366 |
msgstr ""
|
3367 |
|
3368 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3369 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3370 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3371 |
msgid "Actions"
|
3372 |
msgstr ""
|
3373 |
|
3374 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3375 |
msgid "Remove All Ranks"
|
3376 |
msgstr ""
|
3377 |
|
3378 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3379 |
msgid "Assign Ranks to Users"
|
3380 |
msgstr ""
|
3381 |
|
3382 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3383 |
msgid "No rank"
|
3384 |
msgstr ""
|
3385 |
|
3386 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3387 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3388 |
msgid "No users found with this rank"
|
3389 |
msgstr ""
|
3390 |
|
3391 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3392 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3393 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3394 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3395 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3396 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3397 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3398 |
msgid "error"
|
3399 |
msgstr ""
|
3400 |
|
3401 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3402 |
msgid "Rank ID is required!"
|
3403 |
msgstr ""
|
3404 |
|
3405 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3406 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3407 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/sell-content/myCRED-addon-sell-content.php:1061
|
3408 |
msgid "Sell Content"
|
3409 |
msgstr ""
|
3410 |
|
3411 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3412 |
msgid ""
|
3413 |
"This add-on allows you to sell posts, pages or any public post types on your "
|
3414 |
"website. You can either sell the entire content or using our shortcode, sell "
|
3415 |
"parts of your content allowing you to offer \"teasers\"."
|
3416 |
msgstr ""
|
3417 |
|
3418 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3419 |
msgid "<p>Buy this %post_type% for only %price% %buy_button%</p>"
|
3420 |
msgstr ""
|
3421 |
|
3422 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3423 |
msgid ""
|
3424 |
"<p><a href=\"%login_url_here%\">Login</a> to buy access to this %post_type%."
|
3425 |
"</p>"
|
3426 |
msgstr ""
|
3427 |
|
3428 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3429 |
msgid ""
|
3430 |
"<p>You do not have enough %plural% to buy access to this %post_type%.</p>\n"
|
3431 |
"<p><strong>Price</strong>: %price%</p>"
|
3432 |
msgstr ""
|
3433 |
|
3434 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3435 |
msgid "Purchase of %link_with_title%"
|
3436 |
msgstr ""
|
3437 |
|
3438 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3439 |
msgid "Sale of %link_with_title%"
|
3440 |
msgstr ""
|
3441 |
|
3442 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3443 |
msgid "Hours"
|
3444 |
msgstr ""
|
3445 |
|
3446 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3447 |
msgid "You can not buy this content."
|
3448 |
msgstr ""
|
3449 |
|
3450 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3451 |
msgid "Error. Try Again"
|
3452 |
msgstr ""
|
3453 |
|
3454 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3455 |
msgid "No Payout. Just charge."
|
3456 |
msgstr ""
|
3457 |
|
3458 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3459 |
msgid "Pay Content Author."
|
3460 |
msgstr ""
|
3461 |
|
3462 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3463 |
msgid "Post Types"
|
3464 |
msgstr ""
|
3465 |
|
3466 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3467 |
msgid "Comma separated list of post types that can be sold."
|
3468 |
msgstr ""
|
3469 |
|
3470 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3471 |
msgid "Percentage to pay Author"
|
3472 |
msgstr ""
|
3473 |
|
3474 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3475 |
msgid ""
|
3476 |
"Percentage of the price to pay the author. Can not be zero and is ignored if "
|
3477 |
"authors are not paid."
|
3478 |
msgstr ""
|
3479 |
|
3480 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3481 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/sell-content/myCRED-addon-sell-content.php:1064
|
3482 |
msgid "Defaults"
|
3483 |
msgstr ""
|
3484 |
|
3485 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3486 |
msgid "Allow authors to change price."
|
3487 |
msgstr ""
|
3488 |
|
3489 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3490 |
msgid "Allow authors to change button label."
|
3491 |
msgstr ""
|
3492 |
|
3493 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3494 |
msgid "Purchases expire after"
|
3495 |
msgstr ""
|
3496 |
|
3497 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3498 |
msgid "Use zero for permanent sales."
|
3499 |
msgstr ""
|
3500 |
|
3501 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3502 |
msgid "Sale Template for non members"
|
3503 |
msgstr ""
|
3504 |
|
3505 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3506 |
msgid ""
|
3507 |
"Do <strong>not</strong> use the %buy_button% in this template as a user must "
|
3508 |
"be logged in to buy content!"
|
3509 |
msgstr ""
|
3510 |
|
3511 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3512 |
msgid ""
|
3513 |
"Available template tags are: %singular%, %plural%, %post_title%, %post_url%, "
|
3514 |
"%link_with_title%, %price%"
|
3515 |
msgstr ""
|
3516 |
|
3517 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3518 |
msgid "Sale Template for members"
|
3519 |
msgstr ""
|
3520 |
|
3521 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3522 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3523 |
msgid "Your template must contain the %buy_button% tag for purchases to work!"
|
3524 |
msgstr ""
|
3525 |
|
3526 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3527 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3528 |
msgid ""
|
3529 |
"Available template tags are: %singular%, %plural%, %post_title%, %post_url%, "
|
3530 |
"%link_with_title%, %buy_button%, %price%"
|
3531 |
msgstr ""
|
3532 |
|
3533 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3534 |
msgid "Insufficient funds template"
|
3535 |
msgstr ""
|
3536 |
|
3537 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3538 |
msgid "Log template for Purchases"
|
3539 |
msgstr ""
|
3540 |
|
3541 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3542 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3543 |
msgid ""
|
3544 |
"Available template tags are: %singular%, %plural%, %post_title%, %post_url% "
|
3545 |
"or %link_with_title%"
|
3546 |
msgstr ""
|
3547 |
|
3548 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3549 |
msgid "Log template for Sales"
|
3550 |
msgstr ""
|
3551 |
|
3552 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3553 |
-
|
|
|
3554 |
msgstr ""
|
3555 |
|
3556 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3557 |
-
|
|
|
3558 |
msgstr ""
|
3559 |
|
3560 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3561 |
msgid "Setup add-on"
|
3562 |
msgstr ""
|
3563 |
|
3564 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3565 |
msgid "Lets do it"
|
3566 |
msgstr ""
|
3567 |
|
3568 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3569 |
msgid "Enable sale of this "
|
3570 |
msgstr ""
|
3571 |
|
3572 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3573 |
msgid "Purchase expires after"
|
3574 |
msgstr ""
|
3575 |
|
3576 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3577 |
msgid "Thank you for your purchase!"
|
3578 |
msgstr ""
|
3579 |
|
3580 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3581 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3582 |
msgid "The following content is set for sale:"
|
3583 |
msgstr ""
|
3584 |
|
3585 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3586 |
msgid "No purchases found"
|
3587 |
msgstr ""
|
3588 |
|
3589 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3590 |
msgid "Purchased"
|
3591 |
msgstr ""
|
3592 |
|
3593 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3594 |
-
|
3595 |
-
"This add-on lets you sell either entire contents or parts of it. You can "
|
3596 |
-
"select if you want to just charge users or share a percentage of the sale "
|
3597 |
-
"with the post author."
|
3598 |
-
msgstr ""
|
3599 |
-
|
3600 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/sell-content/myCRED-addon-sell-content.php:1065
|
3601 |
-
msgid ""
|
3602 |
-
"The default price and button label is applied to all content that is set for "
|
3603 |
-
"sale. You can select if you want to enforce these settings or let the "
|
3604 |
-
"content authors set their own."
|
3605 |
-
msgstr ""
|
3606 |
-
|
3607 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/sell-content/myCRED-addon-sell-content.php:1067
|
3608 |
-
msgid ""
|
3609 |
-
"You can either sell entire posts via the Sell Content Meta Box or by using "
|
3610 |
-
"the <code>mycred_sell_this</code> shortcode.<br />For more information on "
|
3611 |
-
"how to use the shortcode, please visit the"
|
3612 |
-
msgstr ""
|
3613 |
-
|
3614 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/transfer/myCRED-addon-transfer.php:12
|
3615 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/transfer/myCRED-addon-transfer.php:50
|
3616 |
msgid "Transfer"
|
3617 |
msgstr ""
|
3618 |
|
3619 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3620 |
msgid ""
|
3621 |
"Allow your users to send or \"donate\" points to other members by either "
|
3622 |
"using the mycred_transfer shortcode or the myCRED Transfer widget."
|
3623 |
msgstr ""
|
3624 |
|
3625 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3626 |
msgid "You do not have enough %plural% to send."
|
3627 |
msgstr ""
|
3628 |
|
3629 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3630 |
msgid "You have exceeded your %limit% transfer limit."
|
3631 |
msgstr ""
|
3632 |
|
3633 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3634 |
msgid "Transaction completed."
|
3635 |
msgstr ""
|
3636 |
|
3637 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3638 |
msgid ""
|
3639 |
"Security token could not be verified. Please contact your site administrator!"
|
3640 |
msgstr ""
|
3641 |
|
3642 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3643 |
msgid "Communications error. Please try again later."
|
3644 |
msgstr ""
|
3645 |
|
3646 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3647 |
msgid "Recipient not found. Please try again."
|
3648 |
msgstr ""
|
3649 |
|
3650 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3651 |
msgid "Transaction declined by recipient."
|
3652 |
msgstr ""
|
3653 |
|
3654 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3655 |
msgid "Incorrect amount. Please try again."
|
3656 |
msgstr ""
|
3657 |
|
3658 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3659 |
msgid ""
|
3660 |
"This myCRED Add-on has not yet been setup! No transfers are allowed until "
|
3661 |
"this has been done!"
|
3662 |
msgstr ""
|
3663 |
|
3664 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3665 |
msgid "Insufficient funds. Please enter a lower amount."
|
3666 |
msgstr ""
|
3667 |
|
3668 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3669 |
msgid "Transfer Limit exceeded."
|
3670 |
msgstr ""
|
3671 |
|
3672 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3673 |
-
msgid ""
|
3674 |
-
"The request amount will exceed your transfer limit. Please try again with a "
|
3675 |
-
"lower amount!"
|
3676 |
-
msgstr ""
|
3677 |
-
|
3678 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/addons/transfer/myCRED-addon-transfer.php:179
|
3679 |
msgid "No limits."
|
3680 |
msgstr ""
|
3681 |
|
3682 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3683 |
msgid "Impose daily limit."
|
3684 |
msgstr ""
|
3685 |
|
3686 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3687 |
msgid "Impose weekly limit."
|
3688 |
msgstr ""
|
3689 |
|
3690 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3691 |
msgid "User Login (user_login)"
|
3692 |
msgstr ""
|
3693 |
|
3694 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3695 |
msgid "User Email (user_email)"
|
3696 |
msgstr ""
|
3697 |
|
3698 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3699 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3700 |
msgid "Transfer %plural%"
|
3701 |
msgstr ""
|
3702 |
|
3703 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3704 |
msgid "Log template for sending"
|
3705 |
msgstr ""
|
3706 |
|
3707 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3708 |
msgid "Log template for receiving"
|
3709 |
msgstr ""
|
3710 |
|
3711 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3712 |
msgid "Autofill Recipient"
|
3713 |
msgstr ""
|
3714 |
|
3715 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3716 |
msgid "Select what user details recipients should be autofilled by."
|
3717 |
msgstr ""
|
3718 |
|
3719 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3720 |
msgid "Reload"
|
3721 |
msgstr ""
|
3722 |
|
3723 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3724 |
msgid "Reload page on successful transfers."
|
3725 |
msgstr ""
|
3726 |
|
3727 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3728 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3729 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3730 |
msgid "Limits"
|
3731 |
msgstr ""
|
3732 |
|
3733 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3734 |
msgid "Maximum Amount"
|
3735 |
msgstr ""
|
3736 |
|
3737 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3738 |
msgid "This amount is ignored if no limits are imposed."
|
3739 |
msgstr ""
|
3740 |
|
3741 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3742 |
msgid "Form Templates"
|
3743 |
msgstr ""
|
3744 |
|
3745 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3746 |
msgid "Not logged in Template"
|
3747 |
msgstr ""
|
3748 |
|
3749 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3750 |
msgid ""
|
3751 |
"Text to show when users are not logged in. Leave empty to hide. No HTML "
|
3752 |
"elements allowed!"
|
3753 |
msgstr ""
|
3754 |
|
3755 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3756 |
msgid "Balance Template"
|
3757 |
msgstr ""
|
3758 |
|
3759 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3760 |
msgid ""
|
3761 |
"Template to use when displaying the users balance (if included). No HTML "
|
3762 |
"elements allowed!"
|
3763 |
msgstr ""
|
3764 |
|
3765 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3766 |
msgid "Limit Template"
|
3767 |
msgstr ""
|
3768 |
|
3769 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3770 |
msgid ""
|
3771 |
"Template to use when displaying limits (if used). No HTML elements allowed!"
|
3772 |
msgstr ""
|
3773 |
|
3774 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3775 |
msgid "Button Template"
|
3776 |
msgstr ""
|
3777 |
|
3778 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3779 |
msgid "Send Transfer button template. No HTML elements allowed!"
|
3780 |
msgstr ""
|
3781 |
|
3782 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3783 |
msgid "Error Messages"
|
3784 |
msgstr ""
|
3785 |
|
3786 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3787 |
msgid "Balance to low to send."
|
3788 |
msgstr ""
|
3789 |
|
3790 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3791 |
msgid ""
|
3792 |
"Text to show when a users balance is to low for transfers. Leave empty to "
|
3793 |
"hide. No HTML elements allowed!"
|
3794 |
msgstr ""
|
3795 |
|
3796 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3797 |
msgid "Transfer Limit Reached."
|
3798 |
msgstr ""
|
3799 |
|
3800 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3801 |
msgid ""
|
3802 |
"Text to show when a user has reached their transfer limit (if used). Leave "
|
3803 |
"empty to hide. No HTML elements allowed!"
|
3804 |
msgstr ""
|
3805 |
|
3806 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3807 |
msgid "Allow transfers between users."
|
3808 |
msgstr ""
|
3809 |
|
3810 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3811 |
#, php-format
|
3812 |
-
msgid "%s Transfer"
|
3813 |
msgstr ""
|
3814 |
|
3815 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3816 |
msgid "The myCRED Transfer add-on has not yet been setup!"
|
3817 |
msgstr ""
|
3818 |
|
3819 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3820 |
msgid "Show users balance"
|
3821 |
msgstr ""
|
3822 |
|
3823 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3824 |
msgid "Show users limit"
|
3825 |
msgstr ""
|
3826 |
|
3827 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3828 |
msgid "username"
|
3829 |
msgstr ""
|
3830 |
|
3831 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3832 |
msgid "email"
|
3833 |
msgstr ""
|
3834 |
|
3835 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3836 |
#, php-format
|
3837 |
msgid "recipients %s"
|
3838 |
msgstr ""
|
3839 |
|
3840 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3841 |
msgid "To:"
|
3842 |
msgstr ""
|
3843 |
|
3844 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3845 |
msgid "Amount:"
|
3846 |
msgstr ""
|
3847 |
|
3848 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3849 |
#, php-format
|
3850 |
msgid ""
|
3851 |
"Thank you for choosing %s as your points management tool!<br />I hope you "
|
3852 |
"have as much fun using it as I had developing it."
|
3853 |
msgstr ""
|
3854 |
|
3855 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3856 |
msgid "What’s New"
|
3857 |
msgstr ""
|
3858 |
|
3859 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3860 |
msgid "Credits"
|
3861 |
msgstr ""
|
3862 |
|
3863 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3864 |
#, php-format
|
3865 |
msgid "Welcome to %s %s"
|
3866 |
msgstr ""
|
3867 |
|
3868 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3869 |
-
msgid "
|
3870 |
msgstr ""
|
3871 |
|
3872 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3873 |
-
|
3874 |
-
|
3875 |
-
"
|
3876 |
msgstr ""
|
3877 |
|
3878 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3879 |
-
msgid "
|
|
|
|
|
3880 |
msgstr ""
|
3881 |
|
3882 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3883 |
-
msgid ""
|
3884 |
-
"Several rank functions have been re-written to search and assign ranks much "
|
3885 |
-
"faster and at a lower memory cost."
|
3886 |
msgstr ""
|
3887 |
|
3888 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3889 |
-
msgid "
|
|
|
|
|
|
|
3890 |
msgstr ""
|
3891 |
|
3892 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3893 |
-
msgid "
|
3894 |
msgstr ""
|
3895 |
|
3896 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3897 |
-
msgid ""
|
3898 |
-
"As of version 1.3.2 you can now set a maximum number that can be given or "
|
3899 |
-
"taken from a user in a single instance. So if someone decides to cheat, this "
|
3900 |
-
"would be the maximum amount they could gain."
|
3901 |
msgstr ""
|
3902 |
|
3903 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3904 |
#, php-format
|
3905 |
-
msgid ""
|
3906 |
-
"You can find this setting on the %s <a href=\"%s\">settings</a> page under "
|
3907 |
-
"\"Security\" in the \"Core\" menu."
|
3908 |
msgstr ""
|
3909 |
|
3910 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3911 |
-
msgid "
|
|
|
|
|
|
|
3912 |
msgstr ""
|
3913 |
|
3914 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3915 |
-
msgid "
|
|
|
|
|
|
|
3916 |
msgstr ""
|
3917 |
|
3918 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3919 |
msgid ""
|
3920 |
-
"
|
3921 |
-
"
|
3922 |
msgstr ""
|
3923 |
|
3924 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3925 |
-
msgid "
|
3926 |
msgstr ""
|
3927 |
|
3928 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3929 |
msgid ""
|
3930 |
-
"
|
3931 |
-
"
|
3932 |
-
"you to customize this further."
|
3933 |
msgstr ""
|
3934 |
|
3935 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3936 |
-
msgid "
|
|
|
|
|
|
|
3937 |
msgstr ""
|
3938 |
|
3939 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3940 |
msgid ""
|
3941 |
-
"
|
3942 |
-
"
|
3943 |
msgstr ""
|
3944 |
|
3945 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
3946 |
msgid ""
|
3947 |
-
"
|
3948 |
-
"
|
3949 |
msgstr ""
|
3950 |
|
3951 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3952 |
#, php-format
|
3953 |
msgid "%s Users"
|
3954 |
msgstr ""
|
3955 |
|
3956 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3957 |
msgid "Bug Finders"
|
3958 |
msgstr ""
|
3959 |
|
3960 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3961 |
msgid ""
|
3962 |
"Users who have taken the time to report bugs helping me improve this plugin."
|
3963 |
msgstr ""
|
3964 |
|
3965 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3966 |
msgid "Plugin Translators"
|
3967 |
msgstr ""
|
3968 |
|
3969 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3970 |
msgid "Users who have helped with translating this plugin."
|
3971 |
msgstr ""
|
3972 |
|
3973 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3974 |
msgid "Find out more"
|
3975 |
msgstr ""
|
3976 |
|
3977 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3978 |
#, php-format
|
3979 |
msgid ""
|
3980 |
"You can always find more information about this plugin on the %s <a href=\"%s"
|
3981 |
"\">website</a>."
|
3982 |
msgstr ""
|
3983 |
|
3984 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3985 |
msgid "User is excluded"
|
3986 |
msgstr ""
|
3987 |
|
3988 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3989 |
msgid "Log Entry can not be empty"
|
3990 |
msgstr ""
|
3991 |
|
3992 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3993 |
msgid "Amount can not be zero"
|
3994 |
msgstr ""
|
3995 |
|
3996 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
3997 |
msgid "Excluded"
|
3998 |
msgstr ""
|
3999 |
|
4000 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4001 |
msgid "History"
|
4002 |
msgstr ""
|
4003 |
|
4004 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4005 |
msgid "Adjust"
|
4006 |
msgstr ""
|
4007 |
|
4008 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4009 |
#, php-format
|
4010 |
msgid "My current %singular% balance"
|
4011 |
msgstr ""
|
4012 |
|
4013 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4014 |
msgid "Adjust Your Balance"
|
4015 |
msgstr ""
|
4016 |
|
4017 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4018 |
msgid "Adjust Users Balance"
|
4019 |
msgstr ""
|
4020 |
|
4021 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4022 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4023 |
msgid "required"
|
4024 |
msgstr ""
|
4025 |
|
4026 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4027 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4028 |
msgid "optional"
|
4029 |
msgstr ""
|
4030 |
|
4031 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4032 |
msgid "Log description for adjustment"
|
4033 |
msgstr ""
|
4034 |
|
4035 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4036 |
msgid "Update"
|
4037 |
msgstr ""
|
4038 |
|
4039 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4040 |
msgid "Description is required!"
|
4041 |
msgstr ""
|
4042 |
|
4043 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4044 |
msgid "Users Current Balance"
|
4045 |
msgstr ""
|
4046 |
|
4047 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4048 |
msgid "A positive or negative value"
|
4049 |
msgstr ""
|
4050 |
|
4051 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4052 |
msgid "Update Balance"
|
4053 |
msgstr ""
|
4054 |
|
4055 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4056 |
msgid "Point"
|
4057 |
msgstr ""
|
4058 |
|
4059 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4060 |
msgid "Points"
|
4061 |
msgstr ""
|
4062 |
|
4063 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4064 |
msgid "Deleted"
|
4065 |
msgstr ""
|
4066 |
|
4067 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4068 |
msgid "Deleted Item"
|
4069 |
msgstr ""
|
4070 |
|
4071 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4072 |
msgid "ref empty"
|
4073 |
msgstr ""
|
4074 |
|
4075 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4076 |
msgid "incorrect user id format"
|
4077 |
msgstr ""
|
4078 |
|
4079 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4080 |
msgid "incorrect unix timestamp (from):"
|
4081 |
msgstr ""
|
4082 |
|
4083 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4084 |
msgid "incorrect unix timestamp (to):"
|
4085 |
msgstr ""
|
4086 |
|
4087 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4088 |
msgid "myCRED requires WordPress 3.1 or higher. Version detected:"
|
4089 |
msgstr ""
|
4090 |
|
4091 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4092 |
-
msgid "myCRED requires PHP 5.2.
|
4093 |
msgstr ""
|
4094 |
|
4095 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4096 |
msgid "myCRED requires SQL 5.0 or higher. Version detected: "
|
4097 |
msgstr ""
|
4098 |
|
4099 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4100 |
msgid ""
|
4101 |
"Sorry but your WordPress installation does not reach the minimum "
|
4102 |
"requirements for running myCRED. The following errors were given:"
|
4103 |
msgstr ""
|
4104 |
|
4105 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4106 |
msgid "myCRED needs your attention."
|
4107 |
msgstr ""
|
4108 |
|
4109 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4110 |
msgid "Run Setup"
|
4111 |
msgstr ""
|
4112 |
|
4113 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4114 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4115 |
msgid "myCRED Setup"
|
4116 |
msgstr ""
|
4117 |
|
4118 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4119 |
msgid "Step"
|
4120 |
msgstr ""
|
4121 |
|
4122 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4123 |
msgid ""
|
4124 |
"Click \"Begin Setup\" to install myCRED. You will be able to select your "
|
4125 |
"points format, layout and security settings."
|
4126 |
msgstr ""
|
4127 |
|
4128 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4129 |
msgid "Begin Setup"
|
4130 |
msgstr ""
|
4131 |
|
4132 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4133 |
msgid "Select the format you want to use for your points."
|
4134 |
msgstr ""
|
4135 |
|
4136 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4137 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4138 |
msgid "Format"
|
4139 |
msgstr ""
|
4140 |
|
4141 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4142 |
msgid "Separators"
|
4143 |
msgstr ""
|
4144 |
|
4145 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4146 |
msgid "Decimals"
|
4147 |
msgstr ""
|
4148 |
|
4149 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4150 |
msgid "Use zero for no decimals."
|
4151 |
msgstr ""
|
4152 |
|
4153 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4154 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4155 |
msgid "Presentation"
|
4156 |
msgstr ""
|
4157 |
|
4158 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4159 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4160 |
msgid "Name (Singular)"
|
4161 |
msgstr ""
|
4162 |
|
4163 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4164 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4165 |
msgid "Name (Plural)"
|
4166 |
msgstr ""
|
4167 |
|
4168 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4169 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4170 |
msgid "Prefix"
|
4171 |
msgstr ""
|
4172 |
|
4173 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4174 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4175 |
msgid "Suffix"
|
4176 |
msgstr ""
|
4177 |
|
4178 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4179 |
msgid "Cancel Setup"
|
4180 |
msgstr ""
|
4181 |
|
4182 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4183 |
msgid "Cancel"
|
4184 |
msgstr ""
|
4185 |
|
4186 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4187 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4188 |
msgid "Next"
|
4189 |
msgstr ""
|
4190 |
|
4191 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4192 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4193 |
msgid "Security"
|
4194 |
msgstr ""
|
4195 |
|
4196 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4197 |
msgid "Edit Settings Capability"
|
4198 |
msgstr ""
|
4199 |
|
4200 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4201 |
msgid "Edit Users %plural% Capability"
|
4202 |
msgstr ""
|
4203 |
|
4204 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4205 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4206 |
msgid "Maximum %plural% payouts"
|
4207 |
msgstr ""
|
4208 |
|
4209 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4210 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4211 |
msgid ""
|
4212 |
"As an added security, you can set the maximum amount a user can gain or "
|
4213 |
"loose in a single instance. If used, make sure this is the maximum amount a "
|
@@ -4215,743 +4228,811 @@ msgid ""
|
|
4215 |
"disable."
|
4216 |
msgstr ""
|
4217 |
|
4218 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4219 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4220 |
msgid "Exclude those who can \"Edit Settings\"."
|
4221 |
msgstr ""
|
4222 |
|
4223 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4224 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4225 |
msgid "Exclude those who can \"Edit Users %plural%\"."
|
4226 |
msgstr ""
|
4227 |
|
4228 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4229 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4230 |
msgid "Exclude the following user IDs:"
|
4231 |
msgstr ""
|
4232 |
|
4233 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4234 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4235 |
msgid "Rankings"
|
4236 |
msgstr ""
|
4237 |
|
4238 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4239 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4240 |
msgid "Update rankings each time a users balance changes."
|
4241 |
msgstr ""
|
4242 |
|
4243 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4244 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4245 |
msgid "Update rankings once a day."
|
4246 |
msgstr ""
|
4247 |
|
4248 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4249 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4250 |
msgid "Update rankings once a week."
|
4251 |
msgstr ""
|
4252 |
|
4253 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4254 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4255 |
msgid "Update rankings on a specific date."
|
4256 |
msgstr ""
|
4257 |
|
4258 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4259 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4260 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4261 |
msgid "Date"
|
4262 |
msgstr ""
|
4263 |
|
4264 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4265 |
msgid "Ready"
|
4266 |
msgstr ""
|
4267 |
|
4268 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4269 |
msgid "Almost done! Click the button below to finish this setup."
|
4270 |
msgstr ""
|
4271 |
|
4272 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4273 |
msgid "Install & Run"
|
4274 |
msgstr ""
|
4275 |
|
4276 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4277 |
msgid "Entry"
|
4278 |
msgstr ""
|
4279 |
|
4280 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4281 |
msgid "User Missing"
|
4282 |
msgstr ""
|
4283 |
|
4284 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4285 |
msgid "No log entries found"
|
4286 |
msgstr ""
|
4287 |
|
4288 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4289 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4290 |
msgid "Search Log"
|
4291 |
msgstr ""
|
4292 |
|
4293 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4294 |
msgid "search log entries"
|
4295 |
msgstr ""
|
4296 |
|
4297 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4298 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4299 |
msgid "Network Settings"
|
4300 |
msgstr ""
|
4301 |
|
4302 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4303 |
-
|
|
|
4304 |
msgstr ""
|
4305 |
|
4306 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4307 |
#, php-format
|
4308 |
msgid "Note! %s has not yet been setup."
|
4309 |
msgstr ""
|
4310 |
|
4311 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4312 |
msgid "Network Settings Updated"
|
4313 |
msgstr ""
|
4314 |
|
4315 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4316 |
#, php-format
|
4317 |
msgid "Configure network settings for %s."
|
4318 |
msgstr ""
|
4319 |
|
4320 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4321 |
msgid "Master Template"
|
4322 |
msgstr ""
|
4323 |
|
4324 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4325 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4326 |
msgid "Yes"
|
4327 |
msgstr ""
|
4328 |
|
4329 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4330 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4331 |
msgid "No"
|
4332 |
msgstr ""
|
4333 |
|
4334 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4335 |
#, php-format
|
4336 |
msgid ""
|
4337 |
"If enabled, %s will use your main site's settings for all other sites in "
|
4338 |
"your network."
|
4339 |
msgstr ""
|
4340 |
|
4341 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4342 |
msgid "Central Logging"
|
4343 |
msgstr ""
|
4344 |
|
4345 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4346 |
#, php-format
|
4347 |
msgid "If enabled, %s will log all site actions in your main site's log."
|
4348 |
msgstr ""
|
4349 |
|
4350 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4351 |
msgid "Site Block"
|
4352 |
msgstr ""
|
4353 |
|
4354 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4355 |
#, php-format
|
4356 |
msgid "Comma separated list of blog ids where %s is to be disabled."
|
4357 |
msgstr ""
|
4358 |
|
4359 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4360 |
msgid "Save Network Settings"
|
4361 |
msgstr ""
|
4362 |
|
4363 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4364 |
msgid "This feature requires WordPress Permalinks to be setup and enabled!"
|
4365 |
msgstr ""
|
4366 |
|
4367 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4368 |
msgid "Click Update Settings to load the Remote API settings."
|
4369 |
msgstr ""
|
4370 |
|
4371 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4372 |
msgid "Allow Remote Access"
|
4373 |
msgstr ""
|
4374 |
|
4375 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4376 |
msgid "Remote Access"
|
4377 |
msgstr ""
|
4378 |
|
4379 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4380 |
msgid "API Key"
|
4381 |
msgstr ""
|
4382 |
|
4383 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4384 |
msgid "Key"
|
4385 |
msgstr ""
|
4386 |
|
4387 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4388 |
msgid "min. 12 characters"
|
4389 |
msgstr ""
|
4390 |
|
4391 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4392 |
msgid "Required for this feature to work!<br />Minimum 12 characters."
|
4393 |
msgstr ""
|
4394 |
|
4395 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4396 |
msgid "Key Length"
|
4397 |
msgstr ""
|
4398 |
|
4399 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4400 |
msgid "Generate New Key"
|
4401 |
msgstr ""
|
4402 |
|
4403 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4404 |
msgid "Warning!"
|
4405 |
msgstr ""
|
4406 |
|
4407 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4408 |
msgid ""
|
4409 |
"Keep this key safe! Those you share this key with will be able to remotely "
|
4410 |
"deduct / add / transfer %plural%!"
|
4411 |
msgstr ""
|
4412 |
|
4413 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4414 |
msgid "Incoming URI"
|
4415 |
msgstr ""
|
4416 |
|
4417 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4418 |
msgid ""
|
4419 |
"The incoming call address. Remote calls made to any other URL will be "
|
4420 |
"ignored."
|
4421 |
msgstr ""
|
4422 |
|
4423 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4424 |
msgid "Debug Mode"
|
4425 |
msgstr ""
|
4426 |
|
4427 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4428 |
msgid ""
|
4429 |
"Remember to disable when not used to prevent mischievous calls from learning "
|
4430 |
"about your setup!"
|
4431 |
msgstr ""
|
4432 |
|
4433 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4434 |
msgid "Leaderboard is empty."
|
4435 |
msgstr ""
|
4436 |
|
4437 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4438 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4439 |
msgid "Amount missing!"
|
4440 |
msgstr ""
|
4441 |
|
4442 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4443 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4444 |
msgid "Log Template Missing!"
|
4445 |
msgstr ""
|
4446 |
|
4447 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4448 |
msgid "Anchor missing URL!"
|
4449 |
msgstr ""
|
4450 |
|
4451 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4452 |
msgid "User ID missing for recipient."
|
4453 |
msgstr ""
|
4454 |
|
4455 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4456 |
msgid "Sent"
|
4457 |
msgstr ""
|
4458 |
|
4459 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4460 |
msgid "Error - Try Again"
|
4461 |
msgstr ""
|
4462 |
|
4463 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4464 |
msgid "A video ID is required for this shortcode"
|
4465 |
msgstr ""
|
4466 |
|
4467 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4468 |
#, php-format
|
4469 |
msgid "Show the current users %s balance"
|
4470 |
msgstr ""
|
4471 |
|
4472 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4473 |
#, php-format
|
4474 |
-
msgid "%s Balance"
|
4475 |
msgstr ""
|
4476 |
|
4477 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4478 |
msgid "My Balance"
|
4479 |
msgstr ""
|
4480 |
|
4481 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4482 |
msgid "<a href=\"%login_url_here%\">Login</a> to view your balance."
|
4483 |
msgstr ""
|
4484 |
|
4485 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4486 |
msgid "Layout"
|
4487 |
msgstr ""
|
4488 |
|
4489 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4490 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4491 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4492 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4493 |
msgid "See the help tab for available template tags."
|
4494 |
msgstr ""
|
4495 |
|
4496 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4497 |
msgid "Include users ranking"
|
4498 |
msgstr ""
|
4499 |
|
4500 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4501 |
msgid ""
|
4502 |
"This will be appended after the balance. See the help tab for available "
|
4503 |
"template tags."
|
4504 |
msgstr ""
|
4505 |
|
4506 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4507 |
msgid "Include history"
|
4508 |
msgstr ""
|
4509 |
|
4510 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4511 |
msgid "History Title"
|
4512 |
msgstr ""
|
4513 |
|
4514 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4515 |
msgid "Number of entires"
|
4516 |
msgstr ""
|
4517 |
|
4518 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4519 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4520 |
msgid "Row layout"
|
4521 |
msgstr ""
|
4522 |
|
4523 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4524 |
msgid "Show message when not logged in"
|
4525 |
msgstr ""
|
4526 |
|
4527 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4528 |
msgid "Message"
|
4529 |
msgstr ""
|
4530 |
|
4531 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4532 |
#, php-format
|
4533 |
msgid "Show a list of users sorted by their %s balance"
|
4534 |
msgstr ""
|
4535 |
|
4536 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4537 |
#, php-format
|
4538 |
-
msgid "%s
|
4539 |
msgstr ""
|
4540 |
|
4541 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4542 |
msgid "Leaderboard"
|
4543 |
msgstr ""
|
4544 |
|
4545 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4546 |
msgid "Visible to non-members"
|
4547 |
msgstr ""
|
4548 |
|
4549 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4550 |
msgid "Number of users"
|
4551 |
msgstr ""
|
4552 |
|
4553 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4554 |
msgid "Offset"
|
4555 |
msgstr ""
|
4556 |
|
4557 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4558 |
msgid "Optional offset of order. Use zero to return the first in the list."
|
4559 |
msgstr ""
|
4560 |
|
4561 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4562 |
msgid "Order"
|
4563 |
msgstr ""
|
4564 |
|
4565 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4566 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4567 |
msgid "Ascending"
|
4568 |
msgstr ""
|
4569 |
|
4570 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4571 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4572 |
msgid "Descending"
|
4573 |
msgstr ""
|
4574 |
|
4575 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4576 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4577 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4578 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/modules/mycred-module-addons.php:260
|
4579 |
msgid "Add-ons"
|
4580 |
msgstr ""
|
4581 |
|
4582 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
4583 |
msgid "Add-on Activated"
|
4584 |
msgstr ""
|
4585 |
|
4586 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4587 |
msgid "Add-on Deactivated"
|
4588 |
msgstr ""
|
4589 |
|
4590 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4591 |
msgid "Add-ons can expand your current installation with further features."
|
4592 |
msgstr ""
|
4593 |
|
4594 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4595 |
#, php-format
|
4596 |
msgid "You can find more add-ons in our %s."
|
4597 |
msgstr ""
|
4598 |
|
4599 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4600 |
msgid "online store"
|
4601 |
msgstr ""
|
4602 |
|
4603 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4604 |
msgid "Deactivate Add-on"
|
4605 |
msgstr ""
|
4606 |
|
4607 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4608 |
msgid "Deactivate"
|
4609 |
msgstr ""
|
4610 |
|
4611 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4612 |
msgid "Activate Add-on"
|
4613 |
msgstr ""
|
4614 |
|
4615 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4616 |
msgid "Activate"
|
4617 |
msgstr ""
|
4618 |
|
4619 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4620 |
msgid "Version"
|
4621 |
msgstr ""
|
4622 |
|
4623 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4624 |
msgid "By"
|
4625 |
msgstr ""
|
4626 |
|
4627 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4628 |
msgid "Documentation"
|
4629 |
msgstr ""
|
4630 |
|
4631 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4632 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4633 |
msgid "Access denied for this action"
|
4634 |
msgstr ""
|
4635 |
|
4636 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4637 |
msgid "Accounts successfully reset"
|
4638 |
msgstr ""
|
4639 |
|
4640 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4641 |
msgid "No users found to export"
|
4642 |
msgstr ""
|
4643 |
|
4644 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
4645 |
msgid "Adjust your core or add-on settings. Follow us on:"
|
4646 |
msgstr ""
|
4647 |
|
4648 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4649 |
msgid "Facebook"
|
4650 |
msgstr ""
|
4651 |
|
4652 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4653 |
msgid "Google Plus"
|
4654 |
msgstr ""
|
4655 |
|
4656 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4657 |
msgid "Core Settings"
|
4658 |
msgstr ""
|
4659 |
|
4660 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4661 |
msgid "Name"
|
4662 |
msgstr ""
|
4663 |
|
4664 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4665 |
msgid "Accessible though the %singular% template tag."
|
4666 |
msgstr ""
|
4667 |
|
4668 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4669 |
msgid "Accessible though the %plural% template tag."
|
4670 |
msgstr ""
|
4671 |
|
4672 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4673 |
msgid "Tip"
|
4674 |
msgstr ""
|
4675 |
|
4676 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4677 |
msgid ""
|
4678 |
"Adding an underscore at the beginning of template tag for names will return "
|
4679 |
"them in lowercase. i.e. %_singular%"
|
4680 |
msgstr ""
|
4681 |
|
4682 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4683 |
msgid "Separator"
|
4684 |
msgstr ""
|
4685 |
|
4686 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4687 |
msgid "Edit Settings"
|
4688 |
msgstr ""
|
4689 |
|
4690 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4691 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4692 |
msgid "Capability to check for."
|
4693 |
msgstr ""
|
4694 |
|
4695 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4696 |
msgid "Edit Users %plural%"
|
4697 |
msgstr ""
|
4698 |
|
4699 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4700 |
msgid "Comma separated list of user ids to exclude. No spaces allowed!"
|
4701 |
msgstr ""
|
4702 |
|
4703 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4704 |
msgid "Management"
|
4705 |
msgstr ""
|
4706 |
|
4707 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4708 |
msgid "The Log"
|
4709 |
msgstr ""
|
4710 |
|
4711 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4712 |
msgid "Table Name"
|
4713 |
msgstr ""
|
4714 |
|
4715 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4716 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4717 |
msgid "Entries"
|
4718 |
msgstr ""
|
4719 |
|
4720 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4721 |
msgid "Empty Log"
|
4722 |
msgstr ""
|
4723 |
|
4724 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4725 |
msgid "User Meta Key"
|
4726 |
msgstr ""
|
4727 |
|
4728 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4729 |
msgid "Set all to zero"
|
4730 |
msgstr ""
|
4731 |
|
4732 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4733 |
msgid "CSV Export"
|
4734 |
msgstr ""
|
4735 |
|
4736 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4737 |
msgid "Identify users by"
|
4738 |
msgstr ""
|
4739 |
|
4740 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4741 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4742 |
msgid "User ID"
|
4743 |
msgstr ""
|
4744 |
|
4745 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4746 |
msgid "User Email"
|
4747 |
msgstr ""
|
4748 |
|
4749 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4750 |
msgid "User Login"
|
4751 |
msgstr ""
|
4752 |
|
4753 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4754 |
msgid ""
|
4755 |
"Use ID if you intend to use this export as a backup of your current site "
|
4756 |
"while Email is recommended if you want to export to a different site."
|
4757 |
msgstr ""
|
4758 |
|
4759 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4760 |
msgid "Import Log Entry"
|
4761 |
msgstr ""
|
4762 |
|
4763 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4764 |
#, php-format
|
4765 |
msgid ""
|
4766 |
"Optional log entry to use if you intend to import this file in a different "
|
4767 |
"%s installation."
|
4768 |
msgstr ""
|
4769 |
|
4770 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4771 |
msgid "Export"
|
4772 |
msgstr ""
|
4773 |
|
4774 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4775 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4776 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4777 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.2/modules/mycred-module-hooks.php:156
|
4778 |
msgid "Hooks"
|
4779 |
msgstr ""
|
4780 |
|
4781 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4782 |
msgid "%plural% for registrations"
|
4783 |
msgstr ""
|
4784 |
|
4785 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4786 |
msgid "Award %_plural% for users joining your website."
|
4787 |
msgstr ""
|
4788 |
|
4789 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4790 |
msgid "%plural% for logins"
|
4791 |
msgstr ""
|
4792 |
|
4793 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4794 |
msgid ""
|
4795 |
"Award %_plural% for logging in to your website. You can also set an optional "
|
4796 |
"limit."
|
4797 |
msgstr ""
|
4798 |
|
4799 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4800 |
msgid "%plural% for publishing content"
|
4801 |
msgstr ""
|
4802 |
|
4803 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4804 |
msgid ""
|
4805 |
"Award %_plural% for publishing content on your website. If your custom post "
|
4806 |
"type is not shown bellow, make sure it is set to \"Public\"."
|
4807 |
msgstr ""
|
4808 |
|
4809 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4810 |
msgid "%plural% for comments"
|
4811 |
msgstr ""
|
4812 |
|
4813 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4814 |
msgid "Award %_plural% for making comments."
|
4815 |
msgstr ""
|
4816 |
|
4817 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4818 |
msgid "%plural% for clicking on links"
|
4819 |
msgstr ""
|
4820 |
|
4821 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4822 |
msgid ""
|
4823 |
"Award %_plural% to users who clicks on links generated by the [mycred_link] "
|
4824 |
"shortcode."
|
4825 |
msgstr ""
|
4826 |
|
4827 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4828 |
msgid "%plural% for viewing Videos"
|
4829 |
msgstr ""
|
4830 |
|
4831 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4832 |
msgid ""
|
4833 |
"Award %_plural% to users who watches videos embedded using the "
|
4834 |
"[mycred_video] shortcode."
|
4835 |
msgstr ""
|
4836 |
|
4837 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
4838 |
msgid ""
|
4839 |
"Hooks are instances where %_plural% are awarded or deducted from a user, "
|
4840 |
"depending on their actions around your website."
|
4841 |
msgstr ""
|
4842 |
|
4843 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4844 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4845 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4846 |
msgid "Limit"
|
4847 |
msgstr ""
|
4848 |
|
4849 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4850 |
msgid "%plural% for Posts"
|
4851 |
msgstr ""
|
4852 |
|
4853 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4854 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4855 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4856 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4857 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4858 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4859 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4860 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4861 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4862 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4863 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4864 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
4865 |
msgid "Available template tags: General, Post"
|
4866 |
msgstr ""
|
4867 |
|
4868 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4869 |
msgid "%plural% for Pages"
|
4870 |
msgstr ""
|
4871 |
|
4872 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4873 |
msgid "%plural% for %s"
|
4874 |
msgstr ""
|
4875 |
|
4876 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4877 |
msgid "Approved Comment"
|
4878 |
msgstr ""
|
4879 |
|
4880 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4881 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4882 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4883 |
msgid "Comment Author"
|
4884 |
msgstr ""
|
4885 |
|
4886 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4887 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4888 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4889 |
msgid "Content Author"
|
4890 |
msgstr ""
|
4891 |
|
4892 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4893 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4894 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4895 |
msgid "Available template tags: General, Comment"
|
4896 |
msgstr ""
|
4897 |
|
4898 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4899 |
msgid "Comment Marked SPAM"
|
4900 |
msgstr ""
|
4901 |
|
4902 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4903 |
msgid "Trashed / Unapproved Comments"
|
4904 |
msgstr ""
|
4905 |
|
4906 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4907 |
msgid "Limit per post"
|
4908 |
msgstr ""
|
4909 |
|
4910 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4911 |
msgid ""
|
4912 |
"The number of comments per post that grants %_plural% to the comment author. "
|
4913 |
"Use zero for unlimited."
|
4914 |
msgstr ""
|
4915 |
|
4916 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4917 |
msgid "Limit per day"
|
4918 |
msgstr ""
|
4919 |
|
4920 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4921 |
msgid ""
|
4922 |
"Number of comments per day that grants %_plural%. Use zero for unlimited."
|
4923 |
msgstr ""
|
4924 |
|
4925 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4926 |
msgid ""
|
4927 |
"%plural% is to be awarded even when comment authors reply to their own "
|
4928 |
"comment."
|
4929 |
msgstr ""
|
4930 |
|
4931 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4932 |
msgid "Once for each unique URL"
|
4933 |
msgstr ""
|
4934 |
|
4935 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4936 |
msgid "Once for each unique link id"
|
4937 |
msgstr ""
|
4938 |
|
4939 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4940 |
msgid ""
|
4941 |
"The default amount to award for clicking on links. You can override this in "
|
4942 |
"the shortcode."
|
4943 |
msgstr ""
|
4944 |
|
4945 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4946 |
msgid ""
|
4947 |
"Available template tags: General and custom tags: %url%, %title% or %id%."
|
4948 |
msgstr ""
|
4949 |
|
4950 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4951 |
msgid "Note!"
|
4952 |
msgstr ""
|
4953 |
|
4954 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4955 |
msgid ""
|
4956 |
"If no ID is set when using the mycred_link shortcode, the shortcode will "
|
4957 |
"generate one automatically based on the value set under href. If you are "
|
@@ -4959,303 +5040,331 @@ msgid ""
|
|
4959 |
"by ID."
|
4960 |
msgstr ""
|
4961 |
|
4962 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4963 |
msgid "Amount to award for viewing videos."
|
4964 |
msgstr ""
|
4965 |
|
4966 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4967 |
msgid "Award Logic"
|
4968 |
msgstr ""
|
4969 |
|
4970 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4971 |
msgid "Select when %_plural% should be awarded or deducted."
|
4972 |
msgstr ""
|
4973 |
|
4974 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4975 |
msgid "Play - As soon as video starts playing."
|
4976 |
msgstr ""
|
4977 |
|
4978 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4979 |
msgid "Full - First when the entire video has played."
|
4980 |
msgstr ""
|
4981 |
|
4982 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4983 |
msgid "Interval - For each x number of seconds watched."
|
4984 |
msgstr ""
|
4985 |
|
4986 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4987 |
msgid "Number of seconds"
|
4988 |
msgstr ""
|
4989 |
|
4990 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4991 |
msgid "Leniency"
|
4992 |
msgstr ""
|
4993 |
|
4994 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
4995 |
msgid ""
|
4996 |
"The maximum percentage a users view of a movie can differ from the actual "
|
4997 |
"length."
|
4998 |
msgstr ""
|
4999 |
|
5000 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5001 |
msgid ""
|
5002 |
"Do not set this value to zero! A lot of thing can happen while a user "
|
5003 |
"watches a movie and sometimes a few seconds can drop of the counter due to "
|
5004 |
"buffering or play back errors."
|
5005 |
msgstr ""
|
5006 |
|
5007 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5008 |
msgid "Activity Log"
|
5009 |
msgstr ""
|
5010 |
|
5011 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5012 |
msgid "Show all references"
|
5013 |
msgstr ""
|
5014 |
|
5015 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5016 |
msgid "Show in order"
|
5017 |
msgstr ""
|
5018 |
|
5019 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5020 |
msgid "Filter"
|
5021 |
msgstr ""
|
5022 |
|
5023 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5024 |
#, php-format
|
5025 |
msgid "Showing %d %s"
|
5026 |
msgstr ""
|
5027 |
|
5028 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5029 |
msgid "entry"
|
5030 |
msgstr ""
|
5031 |
|
5032 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5033 |
msgid "Search results for"
|
5034 |
msgstr ""
|
5035 |
|
5036 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5037 |
msgid "BadgeOS"
|
5038 |
msgstr ""
|
5039 |
|
5040 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5041 |
msgid ""
|
5042 |
"Default settings for each BadgeOS Achievement type. These settings may be "
|
5043 |
"overridden for individual achievement type."
|
5044 |
msgstr ""
|
5045 |
|
5046 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5047 |
#, php-format
|
5048 |
msgid ""
|
5049 |
"Please setup your <a href=\"%s\">default settings</a> before using this "
|
5050 |
"feature."
|
5051 |
msgstr ""
|
5052 |
|
5053 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5054 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5055 |
msgid "%plural% to Award"
|
5056 |
msgstr ""
|
5057 |
|
5058 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5059 |
msgid "Use zero to disable"
|
5060 |
msgstr ""
|
5061 |
|
5062 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5063 |
msgid "Deduction Log Template"
|
5064 |
msgstr ""
|
5065 |
|
5066 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5067 |
#, php-format
|
5068 |
msgid "Default %s for %s"
|
5069 |
msgstr ""
|
5070 |
|
5071 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5072 |
msgid "Use zero to disable users gaining %_plural%"
|
5073 |
msgstr ""
|
5074 |
|
5075 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5076 |
msgid "Default Log template"
|
5077 |
msgstr ""
|
5078 |
|
5079 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5080 |
msgid "Deduct %_plural% if user looses "
|
5081 |
msgstr ""
|
5082 |
|
5083 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5084 |
msgid "bbPress"
|
5085 |
msgstr ""
|
5086 |
|
5087 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5088 |
msgid "Awards %_plural% for bbPress actions."
|
5089 |
msgstr ""
|
5090 |
|
5091 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5092 |
msgid "%plural% for New Forum"
|
5093 |
msgstr ""
|
5094 |
|
5095 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5096 |
msgid "%plural% for Forum Deletion"
|
5097 |
msgstr ""
|
5098 |
|
5099 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
5100 |
msgid "%plural% for New Topic"
|
5101 |
msgstr ""
|
5102 |
|
5103 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5104 |
msgid "Forum authors can receive %_plural% for creating new topics."
|
5105 |
msgstr ""
|
5106 |
|
5107 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
5108 |
msgid "%plural% for Topic Deletion"
|
5109 |
msgstr ""
|
5110 |
|
5111 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5112 |
msgid "%plural% for Favorited Topic"
|
5113 |
msgstr ""
|
5114 |
|
5115 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5116 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
5117 |
msgid "Use zero for unlimited"
|
5118 |
msgstr ""
|
5119 |
|
5120 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5121 |
msgid "%plural% for New Reply"
|
5122 |
msgstr ""
|
5123 |
|
5124 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5125 |
msgid "Topic authors can receive %_plural% for replying to their own Topic"
|
5126 |
msgstr ""
|
5127 |
|
5128 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5129 |
msgid "Show users %_plural% balance in replies"
|
5130 |
msgstr ""
|
5131 |
|
5132 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5133 |
msgid "Contact Form 7 Form Submissions"
|
5134 |
msgstr ""
|
5135 |
|
5136 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5137 |
msgid "Awards %_plural% for successful form submissions (by logged in users)."
|
5138 |
msgstr ""
|
5139 |
|
5140 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5141 |
msgid "No forms found."
|
5142 |
msgstr ""
|
5143 |
|
5144 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5145 |
msgid "Events Manager"
|
5146 |
msgstr ""
|
5147 |
|
5148 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5149 |
msgid "Awards %_plural% for users attending events."
|
5150 |
msgstr ""
|
5151 |
|
5152 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5153 |
msgid "Attending Event"
|
5154 |
msgstr ""
|
5155 |
|
5156 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5157 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5158 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5159 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5160 |
msgid "Available template tags: General and Post Related"
|
5161 |
msgstr ""
|
5162 |
|
5163 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5164 |
msgid "Cancelling Attendance"
|
5165 |
msgstr ""
|
5166 |
|
5167 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5168 |
msgid "GD Star Rating"
|
5169 |
msgstr ""
|
5170 |
|
5171 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5172 |
msgid "Awards %_plural% for users rate items using the GD Star Rating plugin."
|
5173 |
msgstr ""
|
5174 |
|
5175 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5176 |
msgid "Rating"
|
5177 |
msgstr ""
|
5178 |
|
5179 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5180 |
msgid "Up / Down Vote"
|
5181 |
msgstr ""
|
5182 |
|
5183 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5184 |
msgid "Invite Anyone Plugin"
|
5185 |
msgstr ""
|
5186 |
|
5187 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5188 |
msgid ""
|
5189 |
"Awards %_plural% for sending invitations and/or %_plural% if the invite is "
|
5190 |
"accepted."
|
5191 |
msgstr ""
|
5192 |
|
5193 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5194 |
msgid "%plural% for Sending An Invite"
|
5195 |
msgstr ""
|
5196 |
|
5197 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5198 |
msgid ""
|
5199 |
"Maximum number of invites that grants %_plural%. Use zero for unlimited."
|
5200 |
msgstr ""
|
5201 |
|
5202 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5203 |
msgid "%plural% for Accepting An Invite"
|
5204 |
msgstr ""
|
5205 |
|
5206 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5207 |
msgid "%plural% for each invited user that accepts an invitation."
|
5208 |
msgstr ""
|
5209 |
|
5210 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5211 |
msgid ""
|
5212 |
"Maximum number of accepted invitations that grants %_plural%. Use zero for "
|
5213 |
"unlimited."
|
5214 |
msgstr ""
|
5215 |
|
5216 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5217 |
msgid "Jetpack Subscriptions"
|
5218 |
msgstr ""
|
5219 |
|
5220 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5221 |
msgid ""
|
5222 |
"Awards %_plural% for users signing up for site or comment updates using "
|
5223 |
"Jetpack."
|
5224 |
msgstr ""
|
5225 |
|
5226 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5227 |
msgid "Site Subscriptions"
|
5228 |
msgstr ""
|
5229 |
|
5230 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5231 |
msgid "Comment Subscriptions"
|
5232 |
msgstr ""
|
5233 |
|
5234 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5235 |
msgid "WP Favorite Posts"
|
5236 |
msgstr ""
|
5237 |
|
5238 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5239 |
msgid "Awards %_plural% for users adding posts to their favorites."
|
5240 |
msgstr ""
|
5241 |
|
5242 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5243 |
msgid "Adding Content to Favorites"
|
5244 |
msgstr ""
|
5245 |
|
5246 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5247 |
msgid "Removing Content from Favorites"
|
5248 |
msgstr ""
|
5249 |
|
5250 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5251 |
msgid "WP-Polls"
|
5252 |
msgstr ""
|
5253 |
|
5254 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5255 |
msgid "Awards %_plural% for users voting in polls."
|
5256 |
msgstr ""
|
5257 |
|
5258 |
-
#: /Users/gabriel/Repositories/mycred/tags/1.3.
|
5259 |
msgid ""
|
5260 |
"Available template tags: General. You can also use %poll_id% and "
|
5261 |
"%poll_question%."
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: myCRED\n"
|
6 |
"Report-Msgid-Bugs-To: http://mycred.me\n"
|
7 |
+
"POT-Creation-Date: 2013-12-10 10:20+0100\n"
|
8 |
+
"PO-Revision-Date: 2013-12-10 10:21+0100\n"
|
9 |
"Last-Translator: Gabriel Sebastian Merovingi <support@mycred.me>\n"
|
10 |
"Language-Team: LANGUAGE <support@mycred.me>\n"
|
11 |
+
"Language: en_US\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 1.6.1\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-KeywordsList: _n;_e;__\n"
|
18 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19 |
+
"X-Poedit-SearchPath-0: /Users/gabriel/Repositories/mycred/tags/1.3.3\n"
|
20 |
"X-Poedit-SearchPath-1: .\n"
|
21 |
|
22 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:354
|
23 |
msgid "My Balance: %cred_f%"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:387
|
27 |
#, php-format
|
28 |
msgid "About %s"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:396
|
32 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:138
|
33 |
msgid "Awesome People"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:477
|
37 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:500
|
38 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:235
|
39 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:913
|
40 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:275
|
41 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:138
|
42 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:406
|
43 |
msgid "Processing..."
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:478
|
47 |
msgid ""
|
48 |
"Warning! All entries in your log will be permamenly removed! This can not be "
|
49 |
"undone!"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:479
|
53 |
msgid "Warning! All user balances will be set to zero! This can not be undone!"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:480
|
57 |
msgid "Done!"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:481
|
61 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:499
|
62 |
msgid "Close"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:482
|
66 |
msgid "Export users %plural%"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:498
|
70 |
#, php-format
|
71 |
msgid "Edit Users %s balance"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:562
|
75 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:622
|
76 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:447
|
77 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:515
|
78 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:421
|
79 |
msgid "Setup"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:566
|
83 |
msgid "About"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:567
|
87 |
msgid "Tutorials"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:568
|
91 |
msgid "Codex"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/mycred.php:569
|
95 |
msgid "Store"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-hook.php:57
|
99 |
msgid "function myCRED_Hook::run() must be over-ridden in a sub-class."
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-hook.php:66
|
103 |
msgid "This Hook has no settings"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-hook.php:133
|
107 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1051
|
108 |
msgid "No limit"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-hook.php:134
|
112 |
msgid "Once every 24 hours"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-hook.php:135
|
116 |
msgid "Once every 12 hours"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-hook.php:136
|
120 |
msgid "Once every 7 days"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-hook.php:137
|
124 |
msgid "Once per day (reset at midnight)"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-hook.php:144
|
128 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:342
|
129 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:262
|
130 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:283
|
131 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:537
|
132 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:560
|
133 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:516
|
134 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:373
|
135 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:184
|
136 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:771
|
137 |
msgid "Select"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-module.php:42
|
141 |
msgid "myCRED_Module() Error. A Module ID is required!"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-module.php:313
|
145 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-module.php:321
|
146 |
msgid "Surprise"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-module.php:378
|
150 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:154
|
151 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:180
|
152 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:103
|
153 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:202
|
154 |
msgid "click to close"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/abstracts/mycred-abstract-module.php:379
|
158 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:155
|
159 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:181
|
160 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:104
|
161 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:203
|
162 |
msgid "click to open"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:12
|
166 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:49
|
167 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:50
|
168 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:51
|
|
|
169 |
msgid "Banking"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:13
|
173 |
msgid ""
|
174 |
"This add-on allows you to offer interest on your users points balances or "
|
175 |
"setup recurring payouts."
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:110
|
179 |
msgid "Compound Interest"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:111
|
183 |
msgid ""
|
184 |
"Apply an interest rate on your users %_plural% balances. Interest rate is "
|
185 |
"annual and is compounded daily as long as this service is enabled. Positive "
|
187 |
"rate will to users loosing %_plural%."
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:117
|
191 |
msgid "Recurring Payouts"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:118
|
195 |
msgid ""
|
196 |
"Give your users %_plural% on a regular basis with the option to set the "
|
197 |
"number of times you want this payout to run (cycles)."
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:167
|
201 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:458
|
202 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:149
|
203 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:254
|
204 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:215
|
205 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:149
|
206 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:266
|
207 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:355
|
208 |
msgid "Access Denied"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:174
|
212 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:341
|
213 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:226
|
214 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:158
|
215 |
msgid "Settings Updated"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:179
|
219 |
+
#, php-format
|
220 |
+
msgid "%s Banking"
|
221 |
+
msgstr ""
|
222 |
+
|
223 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:180
|
224 |
msgid ""
|
225 |
"This add-on allows you to setup transaction fees for %_plural% transfers, "
|
226 |
"purchases or payments using the Gateway add-on, along with offering interest "
|
227 |
"on %_plural% balances."
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:183
|
231 |
msgid "WP-Cron deactivation detected!"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:184
|
235 |
msgid "Warning! This add-on requires WP - Cron to work."
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:197
|
239 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:370
|
240 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:172
|
241 |
msgid "Enable"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/myCRED-addon-banking.php:210
|
245 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:185
|
246 |
msgid "Update Changes"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:57
|
250 |
msgid "function myCRED_Service::run() must be over-ridden in a sub-class."
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:66
|
254 |
msgid "This Service has no settings"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:143
|
258 |
msgid "Hourly"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:147
|
262 |
msgid "Daily"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:151
|
266 |
msgid "Weekly"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:155
|
270 |
msgid "Monthly"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:159
|
274 |
msgid "Quarterly"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:163
|
278 |
msgid "Semiannually"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/abstracts/mycred-abstract-service.php:167
|
282 |
msgid "Annually"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:25
|
286 |
msgid "%plural% interest rate payment"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:275
|
290 |
msgid "Interest Rate"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:282
|
294 |
msgid "Payed / Charged"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:288
|
298 |
msgid ""
|
299 |
"The interest rate can be either positive or negative and is compounded daily."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:291
|
303 |
msgid "Minimum Balance"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:295
|
307 |
msgid "The minimum requires balance for interest to apply."
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:298
|
311 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:263
|
312 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:240
|
313 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:295
|
314 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:360
|
315 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:393
|
316 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:93
|
317 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:141
|
318 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:335
|
319 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:440
|
320 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1217
|
321 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1548
|
322 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:110
|
323 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:112
|
324 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:121
|
325 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-events-manager-light.php:146
|
326 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-events-manager-light.php:159
|
327 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-gd-star-rating.php:105
|
328 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-gd-star-rating.php:118
|
329 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-favorite-posts.php:130
|
330 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-favorite-posts.php:143
|
331 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-polls.php:132
|
332 |
msgid "Log Template"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:302
|
336 |
msgid "Available template tags: General, %timeframe%, %rate%, %base%"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:305
|
340 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:270
|
341 |
msgid "Run Time"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-interest.php:309
|
345 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:274
|
346 |
msgid ""
|
347 |
"For large websites, if you are running into time out issues during payouts, "
|
348 |
"you can set the number of seconds a process can run. Use zero for unlimited, "
|
349 |
"but be careful especially if you are on a shared server."
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:21
|
353 |
msgid "Daily %_plural%"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:225
|
357 |
msgid "Not yet run"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:230
|
361 |
msgid "Pay Users"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:233
|
365 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:679
|
366 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:351
|
367 |
msgid "Amount"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:235
|
371 |
msgid "Can not be zero."
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:239
|
375 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:252
|
376 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1563
|
377 |
msgid "Interval"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:244
|
381 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:253
|
382 |
msgid "Cycles"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:246
|
386 |
msgid "Set to -1 for unlimited"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:249
|
390 |
msgid "Last Run / Activated"
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:252
|
394 |
msgid ""
|
395 |
"Select how often you want to award %_plural%. Note that when this service is "
|
396 |
"enabled, the first payout will be in the beginning of the next period. So "
|
398 |
"morning."
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:253
|
402 |
msgid ""
|
403 |
"Cycles let you choose how many intervals this service should run. Each time "
|
404 |
"a cycle runs, the value will decrease until it hits zero, in which case this "
|
405 |
"service will deactivate itself. Use -1 to run unlimited times."
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:254
|
409 |
msgid "Important"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:254
|
413 |
msgid ""
|
414 |
"You can always stop payouts by deactivating this service. Just remember that "
|
415 |
"if you deactivate while there are cycles left, this service will continue on "
|
416 |
"when it gets re-activated. Set cycles to zero to reset."
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:256
|
420 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:597
|
421 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:289
|
422 |
msgid "Excludes"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:260
|
426 |
msgid ""
|
427 |
"Comma separated list of user IDs to exclude from this service. No spaces "
|
428 |
"allowed!"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/banking/services/mycred-bank-service-payouts.php:267
|
432 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-galleries.php:81
|
433 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:435
|
434 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:448
|
435 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:461
|
436 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:474
|
437 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:487
|
438 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:500
|
439 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:514
|
440 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:527
|
441 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:540
|
442 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:553
|
443 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:175
|
444 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:188
|
445 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:201
|
446 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:214
|
447 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:338
|
448 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:351
|
449 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:390
|
450 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:403
|
451 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:416
|
452 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:429
|
453 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:450
|
454 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:444
|
455 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1552
|
456 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-gd-star-rating.php:109
|
457 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-gd-star-rating.php:122
|
458 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:144
|
459 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:165
|
460 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-jetpack.php:499
|
461 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-jetpack.php:512
|
462 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:328
|
463 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:341
|
464 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:365
|
465 |
msgid "Available template tags: General"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:13
|
469 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:407
|
470 |
msgid "BuddyPress"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:14
|
474 |
msgid ""
|
475 |
"The BuddyPress add-on extends <strong>my</strong>CRED to work with "
|
476 |
"BuddyPress allowing you to hook into most BuddyPress related actions."
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:58
|
480 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:69
|
481 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:379
|
482 |
msgid "My History"
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:59
|
486 |
#, php-format
|
487 |
msgid "%s's History"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:239
|
491 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:248
|
492 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:447
|
493 |
msgid "All"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:240
|
497 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:448
|
498 |
msgid "Today"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:241
|
502 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:449
|
503 |
msgid "Yesterday"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:242
|
507 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:450
|
508 |
msgid "This Week"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:243
|
512 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:451
|
513 |
msgid "This Month"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:343
|
517 |
msgid "BuddyPress: Groups"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:344
|
521 |
msgid ""
|
522 |
"Awards %_plural% for group related actions. Use minus to deduct %_plural% or "
|
523 |
"zero to disable a specific hook."
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:351
|
527 |
msgid "BuddyPress: Members"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:352
|
531 |
msgid "Awards %_plural% for profile related actions."
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:359
|
535 |
msgid "BuddyPress: Links"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:360
|
539 |
msgid "Awards %_plural% for link related actions."
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:367
|
543 |
msgid "BuddyPress: Gallery Actions"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:368
|
547 |
msgid ""
|
548 |
"Awards %_plural% for creating a new gallery either using BP Album+ or BP "
|
549 |
"Gallery."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:388
|
553 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:395
|
554 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:852
|
555 |
msgid "Do not show."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:389
|
559 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:853
|
560 |
msgid "Include in Profile Header."
|
561 |
msgstr ""
|
562 |
|
563 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:390
|
564 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:854
|
565 |
msgid "Include under the \"Profile\" tab"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:391
|
569 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:855
|
570 |
msgid "Include under the \"Profile\" tab and Profile Header."
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:396
|
574 |
msgid "Show in Profile"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:409
|
578 |
msgid "%singular% Balance"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:425
|
582 |
msgid "Members can view each others %_singular% balance."
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:430
|
586 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:176
|
587 |
msgid "Template"
|
588 |
msgstr ""
|
589 |
|
590 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:432
|
591 |
msgid "Available template tags are: %creds%, %number%, %rank%"
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:433
|
595 |
msgid ""
|
596 |
"Note that you can also use %rank_logo% to show the feature image of the rank."
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:437
|
600 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:162
|
601 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:70
|
602 |
msgid "%plural% History"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:453
|
606 |
msgid "Members can view each others %_plural% history."
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:458
|
610 |
msgid "Menu Title"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:460
|
614 |
msgid "Title shown to me"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:465
|
618 |
#, php-format
|
619 |
msgid "Title shown to others. Use %s to show the first name."
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:470
|
623 |
msgid "Menu Position"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:472
|
627 |
msgid "Current menu positions:"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:477
|
631 |
msgid "History URL slug"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:479
|
635 |
msgid "Do not use empty spaces!"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/myCRED-addon-buddypress.php:484
|
639 |
msgid "Number of history entries to show"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-galleries.php:72
|
643 |
msgid "%plural% for New Gallery"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-galleries.php:79
|
647 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:433
|
648 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:446
|
649 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:459
|
650 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:472
|
651 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:485
|
652 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:498
|
653 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:512
|
654 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:525
|
655 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:538
|
656 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:551
|
657 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:173
|
658 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:186
|
659 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:199
|
660 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:212
|
661 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:336
|
662 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:349
|
663 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:362
|
664 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:375
|
665 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:388
|
666 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:401
|
667 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:414
|
668 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:427
|
669 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:303
|
670 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:560
|
671 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:573
|
672 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:608
|
673 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:930
|
674 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:947
|
675 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:964
|
676 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:276
|
677 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:440
|
678 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:453
|
679 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:466
|
680 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:484
|
681 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:497
|
682 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:516
|
683 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:544
|
684 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-contact-form7.php:136
|
685 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:142
|
686 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:163
|
687 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-jetpack.php:497
|
688 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-jetpack.php:510
|
689 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:313
|
690 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:326
|
691 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:339
|
692 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:363
|
693 |
msgid "Log template"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:419
|
697 |
msgid "%plural% for Creating Groups"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:423
|
701 |
msgid ""
|
702 |
"If you use a negative value and the user does not have enough %_plural% the "
|
703 |
"\"Create Group\" button will be disabled."
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:427
|
707 |
msgid "Number of members before awarding %_plural%"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:429
|
711 |
msgid "Use zero to award %_plural% when group is created."
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:439
|
715 |
msgid "%plural% for Deleting Groups"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:452
|
719 |
msgid "%plural% for New Forum Topic"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:465
|
723 |
msgid "%plural% for Editing Forum Topic"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:478
|
727 |
msgid "%plural% for New Forum Post"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:491
|
731 |
msgid "%plural% for Editing Forum Post"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:504
|
735 |
msgid "%plural% for Joining Groups"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:508
|
739 |
msgid ""
|
740 |
"If you use a negative value and the user does not have enough %_plural% the "
|
741 |
"\"Join Group\" button will be disabled."
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:518
|
745 |
msgid "%plural% for Leaving Groups"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:531
|
749 |
msgid "%plural% for New Group Avatar"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-groups.php:544
|
753 |
msgid "%plural% for New Group Comment"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:166
|
757 |
msgid "%plural% for New Links"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:179
|
761 |
msgid "%plural% for Vote on Link"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:192
|
765 |
msgid "%plural% for Updating Links"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-links.php:205
|
769 |
msgid "%plural% for Deleting Links"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:324
|
773 |
msgid "%plural% for Profile Updates"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:330
|
777 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:503
|
778 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:527
|
779 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:350
|
780 |
msgid "Daily Limit"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:332
|
784 |
msgid "Daily limit. User zero for unlimited."
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:342
|
788 |
msgid "%plural% for New Avatar"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:355
|
792 |
msgid "%plural% for New Friendships"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:364
|
796 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:377
|
797 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:199
|
798 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:206
|
799 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:307
|
800 |
msgid "Available template tags: General, User"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:368
|
804 |
msgid "%plural% for Leaving Friendship"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:381
|
808 |
msgid "%plural% for New Comment"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:394
|
812 |
msgid "%plural% for Deleting Comment"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:407
|
816 |
msgid "%plural% for New Messages"
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buddypress/hooks/bp-profile.php:420
|
820 |
msgid "%plural% for Sending Gift"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:12
|
824 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:224
|
825 |
msgid "buyCRED"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:13
|
829 |
msgid ""
|
830 |
"The <strong>buy</strong>CRED Add-on allows your users to buy points using "
|
831 |
"PayPal, Skrill (Moneybookers) or NETbilling. <strong>buy</strong>CRED can "
|
832 |
"also let your users buy points for other members."
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:55
|
836 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:56
|
837 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:57
|
|
|
838 |
msgid "Payment Gateways"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:141
|
842 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:785
|
843 |
msgid "PayPal Payments Standard"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:145
|
847 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:425
|
848 |
msgid "NETbilling"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:149
|
852 |
msgid "Skrill (Moneybookers)"
|
853 |
msgstr ""
|
854 |
|
855 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:153
|
856 |
msgid "Zombaio"
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:199
|
860 |
msgid "Please login to purchase %_plural%"
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:213
|
864 |
msgid "Gift purchase from %display_name%."
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:226
|
868 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:639
|
869 |
msgid "Minimum %plural%"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:230
|
873 |
msgid "Minimum amount of %plural% a user must purchase. Will default to 1."
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:233
|
877 |
msgid "Login Template"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:237
|
881 |
msgid "Content to show when a user is not logged in."
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:244
|
885 |
msgid ""
|
886 |
"Available template tags: General and %gateway% for the payment gateway used."
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:247
|
890 |
msgid "Thank You Page"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:250
|
894 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:271
|
895 |
msgid "Custom URL"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:255
|
899 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:276
|
900 |
msgid "Page"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:268
|
904 |
msgid "Cancellation Page"
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:289
|
908 |
msgid "Gifting"
|
909 |
msgstr ""
|
910 |
|
911 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:291
|
912 |
msgid "Allow users to buy %_plural% for other users."
|
913 |
msgstr ""
|
914 |
|
915 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:292
|
916 |
msgid "Allow users to buy %_plural% for content authors."
|
917 |
msgstr ""
|
918 |
|
919 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:297
|
920 |
msgid "Available template tags: %singular%, %plural% and %display_name%"
|
921 |
msgstr ""
|
922 |
|
923 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:346
|
924 |
+
#, php-format
|
925 |
+
msgid "%s Payment Gateways"
|
926 |
+
msgstr ""
|
927 |
+
|
928 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:347
|
929 |
msgid ""
|
930 |
"Select the payment gateways you want to offer your users to buy %plural%."
|
931 |
msgstr ""
|
932 |
|
933 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:363
|
934 |
msgid "Test Mode"
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:365
|
938 |
msgid "Enabled"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:368
|
942 |
msgid "Disabled"
|
943 |
msgstr ""
|
944 |
|
945 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:388
|
946 |
msgid "Update Gateway Settings"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:436
|
950 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:533
|
951 |
msgid "This Add-on needs to setup before you can use this shortcode."
|
952 |
msgstr ""
|
953 |
|
954 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:454
|
955 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:550
|
956 |
msgid "No gateways installed."
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:455
|
960 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:551
|
961 |
msgid "Gateway does not exist."
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:491
|
965 |
msgid "Yourself"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:552
|
969 |
msgid "No active gateways found."
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:553
|
973 |
msgid "The selected gateway is not active."
|
974 |
msgstr ""
|
975 |
|
976 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:593
|
977 |
msgid "Buy with"
|
978 |
msgstr ""
|
979 |
|
980 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:597
|
981 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:49
|
982 |
msgid "Buy Now"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:630
|
986 |
msgid "No users found"
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:640
|
990 |
msgid "To"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:657
|
994 |
msgid "Select Amount"
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:681
|
998 |
msgid "min."
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:689
|
1002 |
msgid "Select Gateway"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:769
|
1006 |
msgid "Buy %plural%"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:771
|
1010 |
msgid "This add-on lets your users buy %_plural% using a payment gateway."
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:772
|
1014 |
msgid "Supported Gateways"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:773
|
1018 |
msgid ""
|
1019 |
"myCRED supports purchases through: PayPal Payments Standard, Skrill "
|
1020 |
"(Moneybookers) and NETbilling. Let us know if you want to add other payment "
|
1021 |
"gateways."
|
1022 |
msgstr ""
|
1023 |
|
1024 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:774
|
|
|
1025 |
msgid "Usage"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:775
|
1029 |
msgid "Purchases can be made using one of the following shortcodes:"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:777
|
1033 |
msgid ""
|
1034 |
"When you want to sell a pre-set amount, sell to a specific user or use a "
|
1035 |
"specific gateway.<br />For more information on how to use the shortcode, "
|
1036 |
"please visit the"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:778
|
1040 |
msgid ""
|
1041 |
"When you want to give your users the option to select an amount, gateway or "
|
1042 |
"recipient.<br />For more information on how to use the shortcode, please "
|
1043 |
"visit the"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:787
|
1047 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:322
|
1048 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:344
|
1049 |
msgid "Currency"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:788
|
1053 |
msgid ""
|
1054 |
"Make sure you select a currency that your PayPal account supports. Otherwise "
|
1055 |
"transactions will not be approved until you login to your PayPal account and "
|
1057 |
"will not be applied to the buyer until you have resolved the issue."
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:789
|
1061 |
msgid "Instant Payment Notifications"
|
1062 |
msgstr ""
|
1063 |
|
1064 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:790
|
1065 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:353
|
1066 |
msgid ""
|
1067 |
"For this gateway to work, you must login to your PayPal account and under "
|
1068 |
"\"Profile\" > \"Selling Tools\" enable \"Instant Payment Notifications\". "
|
1070 |
"have selected \"Receive IPN messages (Enabled)\"."
|
1071 |
msgstr ""
|
1072 |
|
1073 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:794
|
1074 |
msgid "Skrill"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:796
|
1078 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:609
|
1079 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:316
|
1080 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:338
|
1081 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:281
|
1082 |
msgid "Sandbox Mode"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:797
|
1086 |
msgid ""
|
1087 |
"Transactions made while Sandbox mode is active are real transactions! "
|
1088 |
"Remember to use your \"Test Merchant Account\" when Sandbox mode is active!"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:798
|
1092 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:383
|
1093 |
msgid "Checkout Page"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:799
|
1097 |
msgid ""
|
1098 |
"By default all Skrill Merchant account accept payments via Bank Transfers. "
|
1099 |
"When a user selects this option, no points are awarded! You will need to "
|
1100 |
"manually award these once the bank transfer is completed."
|
1101 |
msgstr ""
|
1102 |
|
1103 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/myCRED-addon-buy-creds.php:800
|
1104 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:403
|
1105 |
msgid ""
|
1106 |
"By default purchases made using Skrill will result in users having to signup "
|
1107 |
"for a Skrill account (if they do not have one already). You can contact "
|
1108 |
"Skrill Merchant Services and request to disable this feature."
|
1109 |
msgstr ""
|
1110 |
|
1111 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:60
|
1112 |
msgid ""
|
1113 |
"function myCRED_Payment_Gateway::process() must be over-ridden in a sub-"
|
1114 |
"class."
|
1115 |
msgstr ""
|
1116 |
|
1117 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:69
|
1118 |
msgid ""
|
1119 |
"function myCRED_Payment_Gateway::buy() must be over-ridden in a sub-class."
|
1120 |
msgstr ""
|
1121 |
|
1122 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:85
|
1123 |
msgid "This Payment Gateway has no settings"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:234
|
1127 |
msgid "Go to "
|
1128 |
msgstr ""
|
1129 |
|
1130 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:255
|
1131 |
msgid "Payment Gateway Logo"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:268
|
1135 |
msgid "Click here if you are not automatically redirected"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php:888
|
1139 |
msgid "Outside US"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:26
|
1143 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:23
|
1144 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:28
|
1145 |
msgid "Purchase of myCRED %plural%"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:55
|
1149 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:318
|
1150 |
msgid "You have tried too many times. Please contact support."
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:62
|
1154 |
msgid "This payment gateway has not yet been setup! Exiting."
|
1155 |
msgstr ""
|
1156 |
|
1157 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:81
|
1158 |
msgid "First name can not be empty"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:87
|
1162 |
msgid "Last name can not be empty"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:93
|
1166 |
msgid "Street can not be empty"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:99
|
1170 |
msgid "City can not be empty"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:105
|
1174 |
msgid "Country can not be empty"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:113
|
1178 |
msgid "State can not be empty"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:121
|
1182 |
msgid "Zip / Post Code can not be empty"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:127
|
1186 |
msgid "Email can not be empty"
|
1187 |
msgstr ""
|
1188 |
|
1189 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:143
|
1190 |
msgid "Please enter your credit card number"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:149
|
1194 |
msgid "Card Expiration Month must be selected"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:155
|
1198 |
msgid "Card Expiration Year must be set"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:161
|
1202 |
msgid "Please enter the CVV2 code from the back of your card"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:170
|
1206 |
msgid "Account Routing number missing"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:176
|
1210 |
msgid "Account Number missing"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:184
|
1214 |
msgid "Incorrect Credit Card number"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:190
|
1218 |
msgid "The credit card entered is past its expiration date."
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:196
|
1222 |
msgid "The CVV2 number entered is not valid."
|
1223 |
msgstr ""
|
1224 |
|
1225 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:202
|
1226 |
msgid "The bank routing number entered is not valid."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:205
|
1230 |
msgid "The bank account number entered is not valid."
|
1231 |
msgstr ""
|
1232 |
|
1233 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:312
|
1234 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:333
|
1235 |
msgid "Invalid Address"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:315
|
1239 |
msgid "Invalid CVV2"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:321
|
1243 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:324
|
1244 |
msgid "Please contact support."
|
1245 |
msgstr ""
|
1246 |
|
1247 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:327
|
1248 |
msgid "Your email address is invalid."
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:330
|
1252 |
msgid "Your information is invalid. Please correct"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:336
|
1256 |
msgid "Your card was declined. Please try again."
|
1257 |
msgstr ""
|
1258 |
|
1259 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:340
|
1260 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:358
|
1261 |
msgid "Duplicate transaction. Please contact support"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:343
|
1265 |
msgid "Your transaction was approved"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:350
|
1269 |
msgid " error: "
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:432
|
1273 |
msgid "Debug"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:441
|
1277 |
msgid "Error"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:442
|
1281 |
msgid "The following error/s were found: "
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:450
|
1285 |
msgid "Please update and try again."
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:456
|
1289 |
msgid "Transaction Approved"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:457
|
1293 |
msgid "Your have successfully purchased "
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:458
|
1297 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:468
|
1298 |
msgid "Click here to continue"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:466
|
1302 |
msgid "Transaction Declined"
|
1303 |
msgstr ""
|
1304 |
|
1305 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:467
|
1306 |
msgid ""
|
1307 |
"I am sorry but your transaction could not be completed due to the following "
|
1308 |
msgstr ""
|
1309 |
|
1310 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:476
|
1311 |
msgid "Transaction Error"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:477
|
1315 |
msgid "NETbilling returned the following error: "
|
1316 |
msgstr ""
|
1317 |
|
1318 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:478
|
1319 |
msgid "Please try again."
|
1320 |
msgstr ""
|
1321 |
|
1322 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:482
|
1323 |
msgid "Purchase of"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:482
|
1327 |
msgid "for"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:483
|
1331 |
msgid "Fields marked * are required!"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:493
|
1335 |
msgid "Billing Details"
|
1336 |
msgstr ""
|
1337 |
|
1338 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:562
|
1339 |
msgid "Month"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:568
|
1343 |
msgid "Year"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:615
|
1347 |
msgid "Account ID"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:621
|
1351 |
msgid "Site Tag"
|
1352 |
msgstr ""
|
1353 |
|
1354 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:627
|
1355 |
msgid "Dynamic IP Security Code"
|
1356 |
msgstr ""
|
1357 |
|
1358 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:633
|
1359 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:336
|
1360 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:364
|
1361 |
msgid "Item Name"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:639
|
1365 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:343
|
1366 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:371
|
1367 |
msgid "%plural% Exchange Rate"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:645
|
1371 |
msgid "Allowed Attempts"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:649
|
1375 |
msgid "Maximum number of attempts allowed for purchases."
|
1376 |
msgstr ""
|
1377 |
|
1378 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:652
|
1379 |
msgid "Advanced"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:656
|
1383 |
msgid "Disable AVS (Address Verification System) for credit card transactions."
|
1384 |
msgstr ""
|
1385 |
|
1386 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:660
|
1387 |
msgid "Disable CVV2 (Card Verification Value 2) for credit card transactions."
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:664
|
1391 |
msgid ""
|
1392 |
"Disable all fraud protection other than AVS/CVV2. (This implies "
|
1393 |
"disable_negative_db)"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:668
|
1397 |
msgid ""
|
1398 |
"Disable only the negative database component of the fraud protection system."
|
1399 |
msgstr ""
|
1400 |
|
1401 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:672
|
1402 |
msgid "Disable automatic sending of both merchant and customer email receipts."
|
1403 |
msgstr ""
|
1404 |
|
1405 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/netbilling.php:676
|
1406 |
msgid "Disable immediate rejection of expired cards."
|
1407 |
msgstr ""
|
1408 |
|
1409 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:225
|
1410 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:211
|
1411 |
msgid "Success"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:226
|
1415 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:212
|
1416 |
msgid "Thank you for your purchase"
|
1417 |
msgstr ""
|
1418 |
|
1419 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:239
|
1420 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:225
|
1421 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:231
|
1422 |
msgid "Please setup this gateway before attempting to make a purchase!"
|
1423 |
msgstr ""
|
1424 |
|
1425 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:294
|
1426 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:266
|
1427 |
msgid "Return to "
|
1428 |
msgstr ""
|
1429 |
|
1430 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:299
|
1431 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:320
|
1432 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:262
|
1433 |
msgid "Processing payment …"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:327
|
1437 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:401
|
1438 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:433
|
1439 |
msgid "Important!"
|
1440 |
msgstr ""
|
1441 |
|
1442 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:327
|
1443 |
msgid ""
|
1444 |
"Make sure you select a currency that your PayPal account supports. Otherwise "
|
1445 |
"transactions will not be approved until you login to your PayPal account and "
|
1446 |
"Accept each transaction!"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:330
|
1450 |
msgid "Account Email"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:340
|
1454 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:368
|
1455 |
msgid "Description of the item being purchased by the user."
|
1456 |
msgstr ""
|
1457 |
|
1458 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:346
|
1459 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:374
|
1460 |
msgid "Your selected currency"
|
1461 |
msgstr ""
|
1462 |
|
1463 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/paypal-standard.php:349
|
1464 |
msgid "IPN Address"
|
1465 |
msgstr ""
|
1466 |
|
1467 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:303
|
1468 |
msgid "Product:"
|
1469 |
msgstr ""
|
1470 |
|
1471 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:312
|
1472 |
msgid "Gift to:"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:313
|
1476 |
msgid "(author)"
|
1477 |
msgstr ""
|
1478 |
|
1479 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:341
|
1480 |
msgid "Remember to use your Test Merchant Account when Sandbox mode is active!"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:351
|
1484 |
msgid "Merchant Account Email"
|
1485 |
msgstr ""
|
1486 |
|
1487 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:357
|
1488 |
msgid "Secret Word"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:361
|
1492 |
msgid ""
|
1493 |
"You can set your secret word under \"Merchant Tools\" in your Skrill Account."
|
1494 |
msgstr ""
|
1495 |
|
1496 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:377
|
1497 |
msgid "Confirmation Email"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:380
|
1501 |
msgid ""
|
1502 |
"Ask Skrill to send me a confirmation email for each successful purchase."
|
1503 |
msgstr ""
|
1504 |
|
1505 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:386
|
1506 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:81
|
1507 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:782
|
1508 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:596
|
1509 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:188
|
1510 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:363
|
1511 |
msgid "Title"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:388
|
1515 |
msgid ""
|
1516 |
"If left empty, your account email is used as title on the Skill Payment Page."
|
1517 |
msgstr ""
|
1518 |
|
1519 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:391
|
1520 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:305
|
1521 |
msgid "Logo URL"
|
1522 |
msgstr ""
|
1523 |
|
1524 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:393
|
1525 |
msgid ""
|
1526 |
"The URL to the image you want to use on the top of the gateway. For best "
|
1527 |
"integration results we recommend you use logos with dimensions up to 200px "
|
1528 |
"in width and 50px in height."
|
1529 |
msgstr ""
|
1530 |
|
1531 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:396
|
1532 |
msgid "Confirmation Note"
|
1533 |
msgstr ""
|
1534 |
|
1535 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:398
|
1536 |
msgid ""
|
1537 |
"Optional text to show user once a transaction has been successfully "
|
1538 |
"completed. This text is shown by Skrill."
|
1539 |
msgstr ""
|
1540 |
|
1541 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/skrill.php:402
|
1542 |
msgid ""
|
1543 |
"By default all Skrill Merchant account accept payments via Bank Transfers. "
|
1544 |
"When a user selects this option, no %_plural% are awarded! You will need to "
|
1545 |
"manually award these once the bank transfer is completed."
|
1546 |
msgstr ""
|
1547 |
|
1548 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:287
|
1549 |
msgid "Site ID"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:293
|
1553 |
msgid "GW Password"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:299
|
1557 |
msgid "Pricing ID"
|
1558 |
msgstr ""
|
1559 |
|
1560 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:311
|
1561 |
msgid "IP Verification"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:314
|
1565 |
msgid "Do not verify that callbacks are coming from Zombaio."
|
1566 |
msgstr ""
|
1567 |
|
1568 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:317
|
1569 |
msgid "Language"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:324
|
1573 |
msgid "Postback URL (ZScript)"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/buy-creds/gateways/zombaio.php:328
|
1577 |
msgid ""
|
1578 |
"For this gateway to work, login to ZOA and set the Postback URL to the above "
|
1579 |
"address and click validate."
|
1580 |
msgstr ""
|
1581 |
|
1582 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:12
|
1583 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:153
|
1584 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:159
|
1585 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:165
|
1586 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:263
|
1587 |
msgid "Email Notices"
|
1588 |
msgstr ""
|
1589 |
|
1590 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:13
|
1591 |
msgid "Create email notices for any type of myCRED instance."
|
1592 |
msgstr ""
|
1593 |
|
1594 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:154
|
1595 |
msgid "Email Notice"
|
1596 |
msgstr ""
|
1597 |
|
1598 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:155
|
1599 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:260
|
1600 |
msgid "Add New"
|
1601 |
msgstr ""
|
1602 |
|
1603 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:156
|
1604 |
msgid "Add New Notice"
|
1605 |
msgstr ""
|
1606 |
|
1607 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:157
|
1608 |
msgid "Edit Notice"
|
1609 |
msgstr ""
|
1610 |
|
1611 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:158
|
1612 |
msgid "New Notice"
|
1613 |
msgstr ""
|
1614 |
|
1615 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:160
|
1616 |
msgid "View Notice"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:161
|
1620 |
msgid "Search Email Notices"
|
1621 |
msgstr ""
|
1622 |
|
1623 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:162
|
1624 |
msgid "No email notices found"
|
1625 |
msgstr ""
|
1626 |
|
1627 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:163
|
1628 |
msgid "No email notices found in Trash"
|
1629 |
msgstr ""
|
1630 |
|
1631 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:186
|
1632 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:846
|
1633 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:317
|
1634 |
msgid "General"
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:187
|
1638 |
msgid "users balance changes"
|
1639 |
msgstr ""
|
1640 |
|
1641 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:188
|
1642 |
msgid "user gains %_plural%"
|
1643 |
msgstr ""
|
1644 |
|
1645 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:189
|
1646 |
msgid "user lose %_plural%"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:190
|
1650 |
msgid "users balance reaches zero"
|
1651 |
msgstr ""
|
1652 |
|
1653 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:191
|
1654 |
msgid "users balance goes minus"
|
1655 |
msgstr ""
|
1656 |
|
1657 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:197
|
1658 |
msgid "Sell Content Add-on"
|
1659 |
msgstr ""
|
1660 |
|
1661 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:198
|
1662 |
msgid "user buys content"
|
1663 |
msgstr ""
|
1664 |
|
1665 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:199
|
1666 |
msgid "authors content gets sold"
|
1667 |
msgstr ""
|
1668 |
|
1669 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:206
|
1670 |
msgid "buyCREDs Add-on"
|
1671 |
msgstr ""
|
1672 |
|
1673 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:207
|
1674 |
msgid "user buys %_plural%"
|
1675 |
msgstr ""
|
1676 |
|
1677 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:214
|
1678 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:109
|
1679 |
msgid "Transfer Add-on"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:215
|
1683 |
msgid "user sends %_plural%"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:216
|
1687 |
msgid "user receives %_plural%"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:223
|
1691 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:113
|
1692 |
msgid "Ranks Add-on"
|
1693 |
msgstr ""
|
1694 |
|
1695 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:224
|
1696 |
msgid "user is demoted"
|
1697 |
msgstr ""
|
1698 |
|
1699 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:225
|
1700 |
msgid "user is promoted"
|
1701 |
msgstr ""
|
1702 |
|
1703 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:265
|
1704 |
msgid ""
|
1705 |
"Settings that apply to all email notices and can not be overridden for "
|
1706 |
"individual emails."
|
1707 |
msgstr ""
|
1708 |
|
1709 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:266
|
1710 |
msgid "Email Format"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:270
|
1714 |
msgid "Plain text emails only."
|
1715 |
msgstr ""
|
1716 |
|
1717 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:274
|
1718 |
msgid "HTML or Plain text emails."
|
1719 |
msgstr ""
|
1720 |
|
1721 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:277
|
1722 |
msgid "Filters"
|
1723 |
msgstr ""
|
1724 |
|
1725 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:281
|
1726 |
msgid ""
|
1727 |
"Allow WordPress and Third Party Plugins to filter the email subject before "
|
1728 |
"an email is sent."
|
1729 |
msgstr ""
|
1730 |
|
1731 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:285
|
1732 |
msgid ""
|
1733 |
"Allow WordPress and Third Party Plugins to filter the email content before "
|
1734 |
"an email is sent."
|
1735 |
msgstr ""
|
1736 |
|
1737 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:288
|
1738 |
msgid ""
|
1739 |
"Default email settings. These settings can be individually overridden when "
|
1740 |
"editing emails."
|
1741 |
msgstr ""
|
1742 |
|
1743 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:289
|
1744 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:685
|
1745 |
msgid "Email Settings"
|
1746 |
msgstr ""
|
1747 |
|
1748 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:292
|
1749 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:802
|
1750 |
msgid "Senders Name:"
|
1751 |
msgstr ""
|
1752 |
|
1753 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:296
|
1754 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:804
|
1755 |
msgid "Senders Email:"
|
1756 |
msgstr ""
|
1757 |
|
1758 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:300
|
1759 |
msgid "Reply-To:"
|
1760 |
msgstr ""
|
1761 |
|
1762 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:304
|
1763 |
msgid "Default Email Content"
|
1764 |
msgstr ""
|
1765 |
|
1766 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:308
|
1767 |
msgid "Default email content."
|
1768 |
msgstr ""
|
1769 |
|
1770 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:311
|
1771 |
msgid "Default Email Styling"
|
1772 |
msgstr ""
|
1773 |
|
1774 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:315
|
1775 |
msgid "Ignored if HTML is not allowed in emails."
|
1776 |
msgstr ""
|
1777 |
|
1778 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:620
|
1779 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:734
|
1780 |
msgid "Email Subject"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:621
|
1784 |
msgid "Status"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:641
|
1788 |
msgid "Not Active"
|
1789 |
msgstr ""
|
1790 |
|
1791 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:643
|
1792 |
#, php-format
|
1793 |
msgid "Scheduled:<br /><strong>%1$s</strong>"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:647
|
1797 |
msgid "Active"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:649
|
1801 |
#, php-format
|
1802 |
msgid "Active - Last run:<br /><strong>%1$s</strong>"
|
1803 |
msgstr ""
|
1804 |
|
1805 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:658
|
1806 |
msgid "Email is sent when"
|
1807 |
msgstr ""
|
1808 |
|
1809 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:660
|
1810 |
msgid "Missing instance for this notice!"
|
1811 |
msgstr ""
|
1812 |
|
1813 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:669
|
1814 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:671
|
1815 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:673
|
1816 |
msgid "Sent To"
|
1817 |
msgstr ""
|
1818 |
|
1819 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:669
|
1820 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:796
|
1821 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:347
|
1822 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:276
|
1823 |
msgid "User"
|
1824 |
msgstr ""
|
1825 |
|
1826 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:671
|
1827 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:797
|
1828 |
msgid "Administrator"
|
1829 |
msgstr ""
|
1830 |
|
1831 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:673
|
1832 |
msgid "Both Administrator and User"
|
1833 |
msgstr ""
|
1834 |
|
1835 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:694
|
1836 |
msgid "Available Template Tags"
|
1837 |
msgstr ""
|
1838 |
|
1839 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:705
|
1840 |
msgid "Email Header"
|
1841 |
msgstr ""
|
1842 |
|
1843 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:765
|
1844 |
msgid "Send this email notice when..."
|
1845 |
msgstr ""
|
1846 |
|
1847 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:794
|
1848 |
msgid "Recipient:"
|
1849 |
msgstr ""
|
1850 |
|
1851 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:798
|
1852 |
msgid "Both"
|
1853 |
msgstr ""
|
1854 |
|
1855 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:806
|
1856 |
msgid "Reply-To Email:"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:812
|
1860 |
msgid "Save"
|
1861 |
msgstr ""
|
1862 |
|
1863 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:824
|
1864 |
msgid "CSS Styling"
|
1865 |
msgstr ""
|
1866 |
|
1867 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:839
|
1868 |
msgid "Site Related"
|
1869 |
msgstr ""
|
1870 |
|
1871 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:840
|
1872 |
msgid "Your websites title"
|
1873 |
msgstr ""
|
1874 |
|
1875 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:841
|
1876 |
msgid "Your websites address"
|
1877 |
msgstr ""
|
1878 |
|
1879 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:842
|
1880 |
msgid "Your websites tagline (description)"
|
1881 |
msgstr ""
|
1882 |
|
1883 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:843
|
1884 |
msgid "Your websites admin email"
|
1885 |
msgstr ""
|
1886 |
|
1887 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:844
|
1888 |
msgid "Total number of blog members"
|
1889 |
msgstr ""
|
1890 |
|
1891 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:847
|
1892 |
msgid "Points name in singular format"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:848
|
1896 |
msgid "Points name in plural"
|
1897 |
msgstr ""
|
1898 |
|
1899 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:849
|
1900 |
msgid "Login URL"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:852
|
1904 |
msgid "User Related"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:853
|
1908 |
msgid "The users ID"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:854
|
1912 |
msgid "The users login name (username)"
|
1913 |
msgstr ""
|
1914 |
|
1915 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:855
|
1916 |
msgid "The users display name"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:856
|
1920 |
msgid "The users profile address"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:857
|
1924 |
msgid "Link to the users profile address with their display name as title"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:858
|
1928 |
msgid "The users current balance unformated"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:859
|
1932 |
msgid "The users current balance formated"
|
1933 |
msgstr ""
|
1934 |
|
1935 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:861
|
1936 |
msgid "Post Related"
|
1937 |
msgstr ""
|
1938 |
|
1939 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:862
|
1940 |
msgid "Post Title"
|
1941 |
msgstr ""
|
1942 |
|
1943 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:863
|
1944 |
msgid "Post URL address"
|
1945 |
msgstr ""
|
1946 |
|
1947 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:864
|
1948 |
msgid "Link to post Post title"
|
1949 |
msgstr ""
|
1950 |
|
1951 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:865
|
1952 |
msgid "The post type"
|
1953 |
msgstr ""
|
1954 |
|
1955 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:941
|
1956 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:944
|
1957 |
#, php-format
|
1958 |
msgid "Email Notice Updated. View <a href=\"%1$s\">All Notices</a>."
|
1959 |
msgstr ""
|
1960 |
|
1961 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:942
|
1962 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:544
|
1963 |
msgid "Custom field updated"
|
1964 |
msgstr ""
|
1965 |
|
1966 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:943
|
1967 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:545
|
1968 |
msgid "Custom filed updated"
|
1969 |
msgstr ""
|
1970 |
|
1971 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:946
|
1972 |
msgid "Email Notice Activated"
|
1973 |
msgstr ""
|
1974 |
|
1975 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:947
|
1976 |
msgid "Email Notice Saved"
|
1977 |
msgstr ""
|
1978 |
|
1979 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:948
|
1980 |
#, php-format
|
1981 |
msgid ""
|
1982 |
"Email Notice Submitted for approval. View <a href=\"%1$s\">All Notices</a>."
|
1983 |
msgstr ""
|
1984 |
|
1985 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:950
|
1986 |
#, php-format
|
1987 |
msgid "Email Notice scheduled for: <strong>%1$s</strong>."
|
1988 |
msgstr ""
|
1989 |
|
1990 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:969
|
1991 |
msgid ""
|
1992 |
"Once a notice is \"published\" it becomes active! Select \"Save Draft\" if "
|
1993 |
"you are not yet ready to use this email notice!"
|
1994 |
msgstr ""
|
1995 |
|
1996 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:971
|
1997 |
#, php-format
|
1998 |
msgid "This notice will become active on:<br /><strong>%1$s</strong>"
|
1999 |
msgstr ""
|
2000 |
|
2001 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/email-notices/myCRED-addon-email-notices.php:973
|
2002 |
msgid "This email notice is active."
|
2003 |
msgstr ""
|
2004 |
|
2005 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/myCRED-addon-gateway.php:12
|
2006 |
msgid "Gateway"
|
2007 |
msgstr ""
|
2008 |
|
2009 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/myCRED-addon-gateway.php:13
|
2010 |
msgid ""
|
2011 |
"Let your users pay using their <strong>my</strong>CRED points balance. "
|
2012 |
"Supported Carts: WooCommerce, MarketPress. Supported Event Bookings: Event "
|
2013 |
"Espresso, Events Manager."
|
2014 |
msgstr ""
|
2015 |
|
2016 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:132
|
2017 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:271
|
2018 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:295
|
2019 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:396
|
2020 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:348
|
2021 |
msgid "Current Balance"
|
2022 |
msgstr ""
|
2023 |
|
2024 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:136
|
2025 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:112
|
2026 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:275
|
2027 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:299
|
2028 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:400
|
2029 |
msgid "Total Cost"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:140
|
2033 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:279
|
2034 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:303
|
2035 |
msgid "Balance After Purchase"
|
2036 |
msgstr ""
|
2037 |
|
2038 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:164
|
2039 |
msgid "Payment"
|
2040 |
msgstr ""
|
2041 |
|
2042 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:167
|
2043 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:216
|
2044 |
#, php-format
|
2045 |
msgid "<a href=\"%s\">Go Back</a>"
|
2046 |
msgstr ""
|
2047 |
|
2048 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:170
|
2049 |
msgid "will be deducted from your account."
|
2050 |
msgstr ""
|
2051 |
|
2052 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:206
|
2053 |
#, php-format
|
2054 |
msgid ""
|
2055 |
"Sorry, but you can not use this gateway as your account is excluded. Please "
|
2056 |
"<a href=\"%s\">select a different payment method</a>."
|
2057 |
msgstr ""
|
2058 |
|
2059 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:225
|
2060 |
msgid "Paid"
|
2061 |
msgstr ""
|
2062 |
|
2063 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:228
|
2064 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:34
|
2065 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:51
|
2066 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:52
|
2067 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:76
|
2068 |
msgid "myCRED"
|
2069 |
msgstr ""
|
2070 |
|
2071 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:328
|
2072 |
msgid "%_singular% Balance"
|
2073 |
msgstr ""
|
2074 |
|
2075 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:330
|
2076 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:96
|
2077 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:25
|
2078 |
msgid "Payment for Order: #%order_id%"
|
2079 |
msgstr ""
|
2080 |
|
2081 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:333
|
2082 |
msgid "Product Sale: %post_title%"
|
2083 |
msgstr ""
|
2084 |
|
2085 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:334
|
2086 |
msgid "Pay using your account balance."
|
2087 |
msgstr ""
|
2088 |
|
2089 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:335
|
2090 |
msgid ""
|
2091 |
"TOTAL amount has been deducted from your account. Your current balance is: "
|
2092 |
"%balance_f%"
|
2093 |
msgstr ""
|
2094 |
|
2095 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:336
|
2096 |
msgid ""
|
2097 |
"Insufficient funds. Please select another form of payment. Your current "
|
2098 |
"balance is: %balance_f%"
|
2099 |
msgstr ""
|
2100 |
|
2101 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:337
|
2102 |
msgid ""
|
2103 |
"You must be logged in to pay with %_plural%. Please <a href=\"%login_url_here"
|
2104 |
"%\">login</a>."
|
2105 |
msgstr ""
|
2106 |
|
2107 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:342
|
2108 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:175
|
2109 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:19
|
2110 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:20
|
2111 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:21
|
2112 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:246
|
|
|
2113 |
msgid "Settings"
|
2114 |
msgstr ""
|
2115 |
|
2116 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:344
|
2117 |
#, php-format
|
2118 |
msgid ""
|
2119 |
"Let your users pay for items in their shopping cart using their %s Account. "
|
2121 |
"purchase!"
|
2122 |
msgstr ""
|
2123 |
|
2124 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:347
|
2125 |
msgid "Method Name"
|
2126 |
msgstr ""
|
2127 |
|
2128 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:349
|
2129 |
msgid ""
|
2130 |
"Enter a public name for this payment method that is displayed to users - No "
|
2131 |
"HTML"
|
2132 |
msgstr ""
|
2133 |
|
2134 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:354
|
2135 |
msgid "Gateway Logo URL"
|
2136 |
msgstr ""
|
2137 |
|
2138 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:362
|
2139 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:95
|
2140 |
msgid ""
|
2141 |
"Log entry template for successful payments. Available template tags: "
|
2142 |
"%order_id%, %order_link%"
|
2143 |
msgstr ""
|
2144 |
|
2145 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:369
|
2146 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:101
|
2147 |
msgid "How much is 1 %_singular% worth in %currency%?"
|
2148 |
msgstr ""
|
2149 |
|
2150 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:374
|
2151 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:106
|
2152 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:324
|
2153 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:428
|
2154 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:474
|
2155 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:542
|
2156 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:525
|
2157 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:594
|
2158 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:658
|
2159 |
msgid "Exchange Rate"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:383
|
2163 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:134
|
2164 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:328
|
2165 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:440
|
2166 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:465
|
2167 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:533
|
2168 |
msgid "Profit Sharing"
|
2169 |
msgstr ""
|
2170 |
|
2171 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:386
|
2172 |
msgid "Percentage"
|
2173 |
msgstr ""
|
2174 |
|
2175 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:388
|
2176 |
msgid "Option to share sales with the product owner. User zero to disable"
|
2177 |
msgstr ""
|
2178 |
|
2179 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:395
|
2180 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:336
|
2181 |
msgid ""
|
2182 |
"Log entry template for profit sharing. Available template tags: General and "
|
2183 |
"Post related"
|
2184 |
msgstr ""
|
2185 |
|
2186 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:400
|
2187 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:339
|
2188 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:534
|
2189 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:602
|
2190 |
msgid "Messages"
|
2191 |
msgstr ""
|
2192 |
|
2193 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:403
|
2194 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:350
|
2195 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:544
|
2196 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:612
|
2197 |
msgid "Insufficient Funds"
|
2198 |
msgstr ""
|
2199 |
|
2200 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:405
|
2201 |
msgid "Message to show when the user can not use this gateway."
|
2202 |
msgstr ""
|
2203 |
|
2204 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:407
|
2205 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:415
|
2206 |
msgid "Available template tags are: General."
|
2207 |
msgstr ""
|
2208 |
|
2209 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:411
|
2210 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:346
|
2211 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:468
|
2212 |
msgid "Visitors"
|
2213 |
msgstr ""
|
2214 |
|
2215 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:413
|
2216 |
msgid "Message to show to buyers that are not logged in."
|
2217 |
msgstr ""
|
2218 |
|
2219 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:419
|
2220 |
msgid "User Instructions"
|
2221 |
msgstr ""
|
2222 |
|
2223 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:421
|
2224 |
msgid "Information to show users before payment."
|
2225 |
msgstr ""
|
2226 |
|
2227 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:423
|
2228 |
msgid ""
|
2229 |
"Available template tags are: %balance% and %balance_f% for users current "
|
2230 |
"balance."
|
2231 |
msgstr ""
|
2232 |
|
2233 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:427
|
2234 |
msgid "Confirmation Information"
|
2235 |
msgstr ""
|
2236 |
|
2237 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:429
|
2238 |
msgid "Information to display on the order confirmation page. - HTML allowed"
|
2239 |
msgstr ""
|
2240 |
|
2241 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:431
|
2242 |
msgid ""
|
2243 |
"Available template tags: TOTAL - total cart cost, %balance% and %balance_f% "
|
2244 |
"- users current balance."
|
2245 |
msgstr ""
|
2246 |
|
2247 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:435
|
2248 |
msgid "Order Confirmation Email"
|
2249 |
msgstr ""
|
2250 |
|
2251 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:437
|
2252 |
#, php-format
|
2253 |
msgid ""
|
2254 |
"This is the email text to send to those who have made %s checkouts. It "
|
2257 |
"PAYMENTINFO, TOTAL, TRACKINGURL. No HTML allowed."
|
2258 |
msgstr ""
|
2259 |
|
2260 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-marketpress.php:439
|
2261 |
#, php-format
|
2262 |
msgid "Available template tags: %balance% or %balance_f% for users balance."
|
2263 |
msgstr ""
|
2264 |
|
2265 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:35
|
2266 |
msgid "Let users pay using their myCRED balance."
|
2267 |
msgstr ""
|
2268 |
|
2269 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:74
|
2270 |
msgid "Enable/Disable"
|
2271 |
msgstr ""
|
2272 |
|
2273 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:76
|
2274 |
msgid "Enable myCRED Payment"
|
2275 |
msgstr ""
|
2276 |
|
2277 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:78
|
2278 |
msgid ""
|
2279 |
"Users who are not logged in or excluded from using myCRED will not have "
|
2280 |
"access to this gateway!"
|
2281 |
msgstr ""
|
2282 |
|
2283 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:83
|
2284 |
msgid "Title to show for this payment option."
|
2285 |
msgstr ""
|
2286 |
|
2287 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:84
|
2288 |
msgid "Pay with myCRED"
|
2289 |
msgstr ""
|
2290 |
|
2291 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:88
|
2292 |
msgid "Customer Message"
|
2293 |
msgstr ""
|
2294 |
|
2295 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:90
|
2296 |
msgid "Deduct the amount from your %_plural% balance."
|
2297 |
msgstr ""
|
2298 |
|
2299 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:113
|
2300 |
msgid "Show Total"
|
2301 |
msgstr ""
|
2302 |
|
2303 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:115
|
2304 |
msgid "Show the final price in %_plural% ."
|
2305 |
msgstr ""
|
2306 |
|
2307 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:117
|
2308 |
msgid "Do not show"
|
2309 |
msgstr ""
|
2310 |
|
2311 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:118
|
2312 |
msgid "Show in Cart"
|
2313 |
msgstr ""
|
2314 |
|
2315 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:119
|
2316 |
msgid "Show on Checkout Page"
|
2317 |
msgstr ""
|
2318 |
|
2319 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:120
|
2320 |
msgid "Show in Cart and on Checkout Page"
|
2321 |
msgstr ""
|
2322 |
|
2323 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:125
|
2324 |
msgid "Label"
|
2325 |
msgstr ""
|
2326 |
|
2327 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:127
|
2328 |
msgid "Order Total in %_plural%"
|
2329 |
msgstr ""
|
2330 |
|
2331 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:136
|
2332 |
msgid "Option to share a percentage of the sale with the product owner."
|
2333 |
msgstr ""
|
2334 |
|
2335 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:143
|
2336 |
msgid ""
|
2337 |
"Log entry template for profit sharing. Available template tags: General and "
|
2338 |
"Post related."
|
2339 |
msgstr ""
|
2340 |
|
2341 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:144
|
2342 |
msgid "Sale of %post_title%"
|
2343 |
msgstr ""
|
2344 |
|
2345 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:169
|
2346 |
msgid "myCRED Payment"
|
2347 |
msgstr ""
|
2348 |
|
2349 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:170
|
2350 |
msgid ""
|
2351 |
"Allows users to pay using their myCRED %_singular% balance. Please note that "
|
2352 |
"users with insufficient funds and users who are not logged in will not see "
|
2353 |
"this payment gateway on the checkout page."
|
2354 |
msgstr ""
|
2355 |
|
2356 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:191
|
2357 |
msgid "You must be logged in to pay with %_plural%"
|
2358 |
msgstr ""
|
2359 |
|
2360 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:197
|
2361 |
msgid "You can not use this gateway. Please try a different payment option."
|
2362 |
msgstr ""
|
2363 |
|
2364 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:209
|
2365 |
msgid "Insufficient funds. Please try a different payment option."
|
2366 |
msgstr ""
|
2367 |
|
2368 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:273
|
2369 |
msgid "Your account has successfully been charged."
|
2370 |
msgstr ""
|
2371 |
|
2372 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-woocommerce.php:483
|
2373 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:120
|
2374 |
msgid "Your current balance"
|
2375 |
msgstr ""
|
2376 |
|
2377 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:27
|
2378 |
msgid "Store sale"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:29
|
2382 |
msgid "You must be logged in to use this gateway"
|
2383 |
msgstr ""
|
2384 |
|
2385 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:30
|
2386 |
msgid "Insufficient Funds."
|
2387 |
msgstr ""
|
2388 |
|
2389 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:31
|
2390 |
msgid "Deduct the amount from your balance."
|
2391 |
msgstr ""
|
2392 |
|
2393 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:101
|
2394 |
msgid "Item"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:186
|
2398 |
msgid "You can not use this gateway."
|
2399 |
msgstr ""
|
2400 |
|
2401 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:320
|
2402 |
msgid "Log Template for Payments"
|
2403 |
msgstr ""
|
2404 |
|
2405 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:321
|
2406 |
msgid ""
|
2407 |
"Log entry template for successful payments. Available template tags: "
|
2408 |
"General, %order_id%"
|
2409 |
msgstr ""
|
2410 |
|
2411 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:325
|
2412 |
#, php-format
|
2413 |
msgid "How much is 1 %s worth in %s"
|
2414 |
msgstr ""
|
2415 |
|
2416 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:331
|
2417 |
msgid "Payout"
|
2418 |
msgstr ""
|
2419 |
|
2420 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:332
|
2421 |
msgid ""
|
2422 |
"Option to share a percentage of the sale with the product owner (post "
|
2423 |
"author). User zero to disable."
|
2424 |
msgstr ""
|
2425 |
|
2426 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:342
|
2427 |
msgid "Instructions"
|
2428 |
msgstr ""
|
2429 |
|
2430 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:343
|
2431 |
msgid ""
|
2432 |
"Optional instructions to show users when selecting this gateway. Leave empty "
|
2433 |
"to hide."
|
2434 |
msgstr ""
|
2435 |
|
2436 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:347
|
2437 |
msgid "Message to show visitors who are not logged in."
|
2438 |
msgstr ""
|
2439 |
|
2440 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/carts/mycred-wpecommerce.php:351
|
2441 |
msgid ""
|
2442 |
"Message to show when users does not have enough %plural% to pay using this "
|
2443 |
"gateway."
|
2444 |
msgstr ""
|
2445 |
|
2446 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:24
|
2447 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:450
|
2448 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:518
|
2449 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:312
|
2450 |
msgid "Payments"
|
2451 |
msgstr ""
|
2452 |
|
2453 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:25
|
2454 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:36
|
2455 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:33
|
2456 |
msgid "Pay Now"
|
2457 |
msgstr ""
|
2458 |
|
2459 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:29
|
2460 |
msgid "Payment for Event Registration"
|
2461 |
msgstr ""
|
2462 |
|
2463 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:337
|
2464 |
#, php-format
|
2465 |
msgid "Activate %s"
|
2466 |
msgstr ""
|
2467 |
|
2468 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:345
|
2469 |
#, php-format
|
2470 |
msgid "Deactivate %s"
|
2471 |
msgstr ""
|
2472 |
|
2473 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:361
|
2474 |
msgid "Gateway Settings"
|
2475 |
msgstr ""
|
2476 |
|
2477 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:393
|
2478 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:440
|
2479 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:505
|
2480 |
#, php-format
|
2481 |
msgid "How many %s is 1 %s worth?"
|
2482 |
msgstr ""
|
2483 |
|
2484 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:399
|
2485 |
msgid "Gateways Settings Successfully Updated"
|
2486 |
msgstr ""
|
2487 |
|
2488 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:407
|
2489 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:510
|
2490 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:578
|
2491 |
msgid "Labels"
|
2492 |
msgstr ""
|
2493 |
|
2494 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:410
|
2495 |
msgid "Gateway Title"
|
2496 |
msgstr ""
|
2497 |
|
2498 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:412
|
2499 |
msgid "Title to show on Payment page"
|
2500 |
msgstr ""
|
2501 |
|
2502 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:415
|
2503 |
msgid "Payment Type"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:417
|
2507 |
msgid "Title to show on receipts and logs"
|
2508 |
msgstr ""
|
2509 |
|
2510 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:420
|
2511 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:527
|
2512 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:595
|
2513 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:348
|
2514 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:540
|
2515 |
msgid "Button Label"
|
2516 |
msgstr ""
|
2517 |
|
2518 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:422
|
2519 |
msgid "Pay Button"
|
2520 |
msgstr ""
|
2521 |
|
2522 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:425
|
2523 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:132
|
2524 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:135
|
2525 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:326
|
2526 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:329
|
2527 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:339
|
2528 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:536
|
2529 |
msgid "Price"
|
2530 |
msgstr ""
|
2531 |
|
2532 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:435
|
2533 |
msgid ""
|
2534 |
"You can disable purchases using this gateway by adding a custom Event Meta: "
|
2535 |
"<code>mycred_no_sale</code>"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:436
|
2539 |
msgid "Users must be logged in to use this gateway!"
|
2540 |
msgstr ""
|
2541 |
|
2542 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:442
|
2543 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:468
|
2544 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:536
|
2545 |
msgid ""
|
2546 |
"Option to share sales with the event owner (post author). Use zero to "
|
2547 |
"disable."
|
2548 |
msgstr ""
|
2549 |
|
2550 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:445
|
2551 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:22
|
2552 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:23
|
2553 |
msgid "Log"
|
2554 |
msgstr ""
|
2555 |
|
2556 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:448
|
2557 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:549
|
2558 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:623
|
2559 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:681
|
2560 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:352
|
2561 |
msgid "Log Entry"
|
2562 |
msgstr ""
|
2563 |
|
2564 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:455
|
2565 |
msgid "Templates"
|
2566 |
msgstr ""
|
2567 |
|
2568 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:458
|
2569 |
msgid "Solvent users"
|
2570 |
msgstr ""
|
2571 |
|
2572 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:460
|
2573 |
msgid ""
|
2574 |
"Message to show users on the payment page before they are charged. Leave "
|
2575 |
"empty to hide.<br />Available template tags: General"
|
2576 |
msgstr ""
|
2577 |
|
2578 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:463
|
2579 |
msgid "Insolvent users"
|
2580 |
msgstr ""
|
2581 |
|
2582 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:465
|
2583 |
msgid ""
|
2584 |
"Message to show users who do not have enough points to pay.<br />Available "
|
2585 |
"template tags: General"
|
2586 |
msgstr ""
|
2587 |
|
2588 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:470
|
2589 |
msgid ""
|
2590 |
"Message to show visitors (users not logged in) on the payment page.<br /"
|
2591 |
">Available template tags: General"
|
2592 |
msgstr ""
|
2593 |
|
2594 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventespresso3.php:480
|
2595 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:382
|
2596 |
msgid "Update Settings"
|
2597 |
msgstr ""
|
2598 |
|
2599 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:30
|
2600 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:27
|
2601 |
msgid "Payment for tickets to %link_with_title%"
|
2602 |
msgstr ""
|
2603 |
|
2604 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:31
|
2605 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:28
|
2606 |
msgid "Ticket refund for %link_with_title%"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:35
|
2610 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:32
|
2611 |
msgid "Pay using your %_plural% balance"
|
2612 |
msgstr ""
|
2613 |
|
2614 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:37
|
2615 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:34
|
2616 |
msgid "Pay"
|
2617 |
msgstr ""
|
2618 |
|
2619 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:40
|
2620 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:37
|
2621 |
msgid "Thank you for your payment!"
|
2622 |
msgstr ""
|
2623 |
|
2624 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:41
|
2625 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:38
|
2626 |
msgid "I'm sorry but you can not pay for these tickets using %_plural%"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:129
|
2630 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:323
|
2631 |
msgid "Ticket Type"
|
2632 |
msgstr ""
|
2633 |
|
2634 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:138
|
2635 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:332
|
2636 |
msgid "Spaces"
|
2637 |
msgstr ""
|
2638 |
|
2639 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:223
|
2640 |
msgid "You can not pay using this gateway."
|
2641 |
msgstr ""
|
2642 |
|
2643 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:362
|
2644 |
msgid "Reject"
|
2645 |
msgstr ""
|
2646 |
|
2647 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:366
|
2648 |
msgid "Delete"
|
2649 |
msgstr ""
|
2650 |
|
2651 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:371
|
2652 |
msgid "Edit/View"
|
2653 |
msgstr ""
|
2654 |
|
2655 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:452
|
2656 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:520
|
2657 |
msgid "Disabled - Users CAN NOT pay for tickets using %plural%."
|
2658 |
msgstr ""
|
2659 |
|
2660 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:453
|
2661 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:521
|
2662 |
msgid "Single - Users can ONLY pay for tickets using %plural%."
|
2663 |
msgstr ""
|
2664 |
|
2665 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:454
|
2666 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:522
|
2667 |
msgid "Multi - Users can pay for tickets using other gateways or %plural%."
|
2668 |
msgstr ""
|
2669 |
|
2670 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:458
|
2671 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:491
|
2672 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:526
|
2673 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:559
|
2674 |
msgid "Refunds"
|
2675 |
msgstr ""
|
2676 |
|
2677 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:461
|
2678 |
msgid ""
|
2679 |
"The percentage of the paid amount to refund if a user cancells their "
|
2680 |
"booking. Use zero for no refunds. No refunds are given to \"Rejected\" "
|
2681 |
"bookings!"
|
2682 |
msgstr ""
|
2683 |
|
2684 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:481
|
2685 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:549
|
2686 |
msgid "Log Templates"
|
2687 |
msgstr ""
|
2688 |
|
2689 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:484
|
2690 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:552
|
2691 |
msgid "Purchases"
|
2692 |
msgstr ""
|
2693 |
|
2694 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:487
|
2695 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:494
|
2696 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:555
|
2697 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:562
|
2698 |
msgid "Available template tags: General and Post related."
|
2699 |
msgstr ""
|
2700 |
|
2701 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:513
|
2702 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:581
|
2703 |
msgid "Payment Link Label"
|
2704 |
msgstr ""
|
2705 |
|
2706 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:516
|
2707 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:584
|
2708 |
msgid ""
|
2709 |
"The payment link shows / hides the payment form under \"My Bookings\". No "
|
2710 |
"HTML allowed."
|
2711 |
msgstr ""
|
2712 |
|
2713 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:520
|
2714 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:588
|
2715 |
msgid "Payment Header"
|
2716 |
msgstr ""
|
2717 |
|
2718 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:523
|
2719 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:591
|
2720 |
msgid "Shown on top of the payment form. No HTML allowed."
|
2721 |
msgstr ""
|
2722 |
|
2723 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:530
|
2724 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:598
|
2725 |
msgid "The button label for payments. No HTML allowed!"
|
2726 |
msgstr ""
|
2727 |
|
2728 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:537
|
2729 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:605
|
2730 |
msgid "Successful Payments"
|
2731 |
msgstr ""
|
2732 |
|
2733 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:540
|
2734 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager-pro.php:547
|
2735 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:608
|
2736 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:615
|
2737 |
msgid "No HTML allowed! Available template tags: General"
|
2738 |
msgstr ""
|
2739 |
|
2740 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:404
|
2741 |
msgid "Balance After Payment"
|
2742 |
msgstr ""
|
2743 |
|
2744 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:511
|
2745 |
msgid "Click to toggle"
|
2746 |
msgstr ""
|
2747 |
|
2748 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:511
|
2749 |
#, php-format
|
2750 |
msgid "%s Payments"
|
2751 |
msgstr ""
|
2752 |
|
2753 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/gateway/event-booking/mycred-eventsmanager.php:529
|
2754 |
msgid ""
|
2755 |
"The percentage of the paid amount to refund if a booking gets cancelled. Use "
|
2756 |
"zero for no refunds. No refunds are given to \"Rejected\" bookings."
|
2757 |
msgstr ""
|
2758 |
|
2759 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:12
|
2760 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:40
|
2761 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:41
|
2762 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:42
|
2763 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:743
|
|
|
2764 |
msgid "Import"
|
2765 |
msgstr ""
|
2766 |
|
2767 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:13
|
2768 |
msgid ""
|
2769 |
"With the Import add-on you can import CSV files, CubePoints or existing "
|
2770 |
"points under any custom user meta values."
|
2771 |
msgstr ""
|
2772 |
|
2773 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:91
|
2774 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:749
|
2775 |
msgid "CSV File"
|
2776 |
msgstr ""
|
2777 |
|
2778 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:92
|
2779 |
msgid "Import %_plural% from a comma-separated values (CSV) file."
|
2780 |
msgstr ""
|
2781 |
|
2782 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:95
|
2783 |
msgid "CubePoints"
|
2784 |
msgstr ""
|
2785 |
|
2786 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:96
|
2787 |
msgid "Import CubePoints"
|
2788 |
msgstr ""
|
2789 |
|
2790 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:99
|
2791 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:769
|
2792 |
msgid "Custom User Meta"
|
2793 |
msgstr ""
|
2794 |
|
2795 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:100
|
2796 |
msgid "Import %_plural% from pre-existing custom user meta."
|
2797 |
msgstr ""
|
2798 |
|
2799 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:217
|
2800 |
msgid "No file selected. Please select your CSV file and try again."
|
2801 |
msgstr ""
|
2802 |
|
2803 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:232
|
2804 |
msgid "Failed to load file."
|
2805 |
msgstr ""
|
2806 |
|
2807 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:253
|
2808 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:423
|
2809 |
#, php-format
|
2810 |
msgid ""
|
2811 |
"Zero rows imported! Skipped %d entries. Import completed in %.2f seconds."
|
2812 |
msgstr ""
|
2813 |
|
2814 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:262
|
2815 |
msgid ""
|
2816 |
"No valid records found in file. Make sure you have selected the correct way "
|
2817 |
"to identify users in the mycred_user column!"
|
2818 |
msgstr ""
|
2819 |
|
2820 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:268
|
2821 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:351
|
2822 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:438
|
2823 |
#, php-format
|
2824 |
msgid ""
|
2825 |
"Import successfully completed. A total of %d users were effected and %d "
|
2826 |
"entires were skipped. Import completed in %.2f seconds."
|
2827 |
msgstr ""
|
2828 |
|
2829 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:302
|
2830 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:587
|
2831 |
msgid "No CubePoints found."
|
2832 |
msgstr ""
|
2833 |
|
2834 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:336
|
2835 |
#, php-format
|
2836 |
msgid ""
|
2837 |
"Zero CubePoints imported! Skipped %d entries. Import completed in %.2f "
|
2838 |
"seconds."
|
2839 |
msgstr ""
|
2840 |
|
2841 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:345
|
2842 |
msgid "No valid CubePoints founds."
|
2843 |
msgstr ""
|
2844 |
|
2845 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:371
|
2846 |
msgid "Missing meta key. Not sure what I should be looking for."
|
2847 |
msgstr ""
|
2848 |
|
2849 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:390
|
2850 |
#, php-format
|
2851 |
msgid "No rows found for the <strong>%s</strong> meta key."
|
2852 |
msgstr ""
|
2853 |
|
2854 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:432
|
2855 |
msgid "No valid records founds."
|
2856 |
msgstr ""
|
2857 |
|
2858 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:466
|
2859 |
+
#, php-format
|
2860 |
+
msgid "%s Import"
|
2861 |
+
msgstr ""
|
2862 |
+
|
2863 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:478
|
2864 |
msgid "Remember to de-activate this add-on once you are done importing!"
|
2865 |
msgstr ""
|
2866 |
|
2867 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:510
|
2868 |
msgid "File"
|
2869 |
msgstr ""
|
2870 |
|
2871 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:514
|
2872 |
msgid "Maximum allowed upload size is "
|
2873 |
msgstr ""
|
2874 |
|
2875 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:514
|
2876 |
msgid ""
|
2877 |
"Required columns: <code>mycred_user</code> and <code>mycred_amount</code>. "
|
2878 |
"Optional columns: <code>mycred_log</code>."
|
2879 |
msgstr ""
|
2880 |
|
2881 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:517
|
2882 |
msgid "Identify Users By"
|
2883 |
msgstr ""
|
2884 |
|
2885 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:520
|
2886 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:346
|
2887 |
msgid "ID"
|
2888 |
msgstr ""
|
2889 |
|
2890 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:521
|
2891 |
msgid "Username"
|
2892 |
msgstr ""
|
2893 |
|
2894 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:522
|
2895 |
msgid "Email"
|
2896 |
msgstr ""
|
2897 |
|
2898 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:529
|
2899 |
msgid "How much is 1 imported value worth?"
|
2900 |
msgstr ""
|
2901 |
|
2902 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:534
|
2903 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:602
|
2904 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:666
|
2905 |
msgid "Round"
|
2906 |
msgstr ""
|
2907 |
|
2908 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:535
|
2909 |
msgid "None"
|
2910 |
msgstr ""
|
2911 |
|
2912 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:536
|
2913 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:604
|
2914 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:668
|
2915 |
msgid "Round Up"
|
2916 |
msgstr ""
|
2917 |
|
2918 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:537
|
2919 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:605
|
2920 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:669
|
2921 |
msgid "Round Down"
|
2922 |
msgstr ""
|
2923 |
|
2924 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:542
|
2925 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:610
|
2926 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:674
|
2927 |
msgid "Precision"
|
2928 |
msgstr ""
|
2929 |
|
2930 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:544
|
2931 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:612
|
2932 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:676
|
2933 |
msgid ""
|
2934 |
"The optional number of decimal digits to round to. Use zero to round the "
|
2935 |
"nearest whole number."
|
2936 |
msgstr ""
|
2937 |
|
2938 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:553
|
2939 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:627
|
2940 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:685
|
2941 |
msgid "See the help tab for available template tags. Leave blank to disable."
|
2942 |
msgstr ""
|
2943 |
|
2944 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:558
|
2945 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:632
|
2946 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:696
|
2947 |
msgid "Run Import"
|
2948 |
msgstr ""
|
2949 |
|
2950 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:585
|
2951 |
#, php-format
|
2952 |
msgid "Found %d users with CubePoints."
|
2953 |
msgstr ""
|
2954 |
|
2955 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:588
|
2956 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:652
|
2957 |
msgid "Meta Key"
|
2958 |
msgstr ""
|
2959 |
|
2960 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:603
|
2961 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:667
|
2962 |
msgid "Do not round"
|
2963 |
msgstr ""
|
2964 |
|
2965 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:617
|
2966 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:688
|
2967 |
msgid "After Import"
|
2968 |
msgstr ""
|
2969 |
|
2970 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:620
|
2971 |
msgid "Delete users CubePoints balance."
|
2972 |
msgstr ""
|
2973 |
|
2974 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:691
|
2975 |
msgid "Delete the old value."
|
2976 |
msgstr ""
|
2977 |
|
2978 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:720
|
2979 |
msgid "Failed to get file contents."
|
2980 |
msgstr ""
|
2981 |
|
2982 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:725
|
2983 |
msgid "Failed to put file contents."
|
2984 |
msgstr ""
|
2985 |
|
2986 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:745
|
2987 |
msgid ""
|
2988 |
"This add-on lets you import %_plural% either though a CSV-file or from your "
|
2989 |
"database. Remember that the import can take time depending on your file size "
|
2990 |
"or the number of users being imported."
|
2991 |
msgstr ""
|
2992 |
|
2993 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:751
|
2994 |
msgid "CSV Import"
|
2995 |
msgstr ""
|
2996 |
|
2997 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:752
|
2998 |
msgid ""
|
2999 |
"Imports using a comma-separated values file requires the following columns:"
|
3000 |
msgstr ""
|
3001 |
|
3002 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:753
|
3003 |
msgid ""
|
3004 |
"Column identifing the user. All rows must identify the user the same way, "
|
3005 |
"either using an ID, Username (user_login) or email. Users that can not be "
|
3006 |
"found will be ignored."
|
3007 |
msgstr ""
|
3008 |
|
3009 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:754
|
3010 |
msgid ""
|
3011 |
"Column with the amount to be imported. If set, an exchange rate is applied "
|
3012 |
"to this value before import."
|
3013 |
msgstr ""
|
3014 |
|
3015 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:755
|
3016 |
msgid ""
|
3017 |
"Optionally you can also use the <code>mycred_log</code> column to pre-define "
|
3018 |
"the log entry for each import."
|
3019 |
msgstr ""
|
3020 |
|
3021 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:759
|
3022 |
msgid "Cubepoints"
|
3023 |
msgstr ""
|
3024 |
|
3025 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:761
|
3026 |
msgid "Cubepoints Import"
|
3027 |
msgstr ""
|
3028 |
|
3029 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:762
|
3030 |
msgid ""
|
3031 |
"When this page loads, the importer will automatically check if you have been "
|
3032 |
"using Cubepoints. If you have, you can import these with the option to "
|
3034 |
"clean."
|
3035 |
msgstr ""
|
3036 |
|
3037 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:763
|
3038 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:773
|
3039 |
msgid ""
|
3040 |
"Before a value is imported, you can apply an exchange rate. To import "
|
3041 |
"without changing the value, use 1 as the exchange rate."
|
3042 |
msgstr ""
|
3043 |
|
3044 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:764
|
3045 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:774
|
3046 |
msgid ""
|
3047 |
"You can select to add a log entry for each import or leave the template "
|
3048 |
"empty to skip."
|
3049 |
msgstr ""
|
3050 |
|
3051 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:765
|
3052 |
msgid ""
|
3053 |
"The Cubepoints importer will automatically disable itself if no Cubepoints "
|
3054 |
"installation exists."
|
3055 |
msgstr ""
|
3056 |
|
3057 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:771
|
3058 |
msgid "Custom User Meta Import"
|
3059 |
msgstr ""
|
3060 |
|
3061 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:772
|
3062 |
msgid ""
|
3063 |
"You can import any type of points that have previously been saved in your "
|
3064 |
"database. All you need is the meta key under which it has been saved."
|
3065 |
msgstr ""
|
3066 |
|
3067 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/import/myCRED-addon-import.php:775
|
3068 |
msgid ""
|
3069 |
"Please note that the meta key is case sensitive and can not contain "
|
3070 |
"whitespaces!"
|
3071 |
msgstr ""
|
3072 |
|
3073 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:12
|
3074 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:167
|
3075 |
msgid "Notifications"
|
3076 |
msgstr ""
|
3077 |
|
3078 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:13
|
3079 |
msgid "Notify your users when their balances changes."
|
3080 |
msgstr ""
|
3081 |
|
3082 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:169
|
3083 |
msgid "Styling"
|
3084 |
msgstr ""
|
3085 |
|
3086 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:173
|
3087 |
msgid "Use the included CSS Styling for notifications."
|
3088 |
msgstr ""
|
3089 |
|
3090 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:180
|
3091 |
msgid ""
|
3092 |
"Use %entry% to show the log entry in the notice and %amount% for the amount."
|
3093 |
msgstr ""
|
3094 |
|
3095 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:183
|
3096 |
msgid "Transient Lifespan"
|
3097 |
msgstr ""
|
3098 |
|
3099 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:187
|
3100 |
msgid ""
|
3101 |
"The number of days a users notification is saved before being automatically "
|
3102 |
"deleted."
|
3103 |
msgstr ""
|
3104 |
|
3105 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:190
|
3106 |
msgid "Duration"
|
3107 |
msgstr ""
|
3108 |
|
3109 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/notifications/myCRED-addon-notifications.php:194
|
3110 |
msgid ""
|
3111 |
"The number of milliseconds a notice should be visible.<br />Use zero to "
|
3112 |
"require that the user closes the notice manually. 1000 milliseconds = 1 "
|
3113 |
"second."
|
3114 |
msgstr ""
|
3115 |
|
3116 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:12
|
3117 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:258
|
3118 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:264
|
3119 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:270
|
3120 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:777
|
3121 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:972
|
3122 |
msgid "Ranks"
|
3123 |
msgstr ""
|
3124 |
|
3125 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:13
|
3126 |
msgid ""
|
3127 |
"Create ranks for users reaching a certain number of points with the option "
|
3128 |
"to add logos for each rank."
|
3129 |
msgstr ""
|
3130 |
|
3131 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:236
|
3132 |
msgid "Warning! All ranks will be deleted! This can not be undone!"
|
3133 |
msgstr ""
|
3134 |
|
3135 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:237
|
3136 |
msgid "Are you sure you want to re-assign user ranks?"
|
3137 |
msgstr ""
|
3138 |
|
3139 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:259
|
3140 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:471
|
3141 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:488
|
3142 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:583
|
3143 |
msgid "Rank"
|
3144 |
msgstr ""
|
3145 |
|
3146 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:261
|
3147 |
msgid "Add New Rank"
|
3148 |
msgstr ""
|
3149 |
|
3150 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:262
|
3151 |
msgid "Edit Rank"
|
3152 |
msgstr ""
|
3153 |
|
3154 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:263
|
3155 |
msgid "New Rank"
|
3156 |
msgstr ""
|
3157 |
|
3158 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:265
|
3159 |
msgid "View Rank"
|
3160 |
msgstr ""
|
3161 |
|
3162 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:266
|
3163 |
msgid "Search Ranks"
|
3164 |
msgstr ""
|
3165 |
|
3166 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:267
|
3167 |
msgid "No ranks found"
|
3168 |
msgstr ""
|
3169 |
|
3170 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:268
|
3171 |
msgid "No ranks found in Trash"
|
3172 |
msgstr ""
|
3173 |
|
3174 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:333
|
3175 |
#, php-format
|
3176 |
msgid "Completed - Total of %d users effected"
|
3177 |
msgstr ""
|
3178 |
|
3179 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:335
|
3180 |
msgid "Log is Empty"
|
3181 |
msgstr ""
|
3182 |
|
3183 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:517
|
3184 |
msgid "Newbie"
|
3185 |
msgstr ""
|
3186 |
|
3187 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:543
|
3188 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:546
|
3189 |
#, php-format
|
3190 |
msgid "Rank Updated. View <a href=\"%1$s\">All Ranks</a>."
|
3191 |
msgstr ""
|
3192 |
|
3193 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:548
|
3194 |
msgid "Rank Activated"
|
3195 |
msgstr ""
|
3196 |
|
3197 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:549
|
3198 |
msgid "Rank Saved"
|
3199 |
msgstr ""
|
3200 |
|
3201 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:550
|
3202 |
#, php-format
|
3203 |
msgid "Rank Submitted for approval. View <a href=\"%1$s\">All Ranks</a>."
|
3204 |
msgstr ""
|
3205 |
|
3206 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:552
|
3207 |
#, php-format
|
3208 |
msgid "Rank scheduled for: <strong>%1$s</strong>."
|
3209 |
msgstr ""
|
3210 |
|
3211 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:609
|
3212 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:664
|
3213 |
msgid "Rank Title"
|
3214 |
msgstr ""
|
3215 |
|
3216 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:610
|
3217 |
msgid "Logo"
|
3218 |
msgstr ""
|
3219 |
|
3220 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:611
|
3221 |
msgid "Requirement"
|
3222 |
msgstr ""
|
3223 |
|
3224 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:612
|
3225 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:367
|
3226 |
msgid "Users"
|
3227 |
msgstr ""
|
3228 |
|
3229 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:628
|
3230 |
msgid "No Logo Set"
|
3231 |
msgstr ""
|
3232 |
|
3233 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:637
|
3234 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:642
|
3235 |
msgid "Any Value"
|
3236 |
msgstr ""
|
3237 |
|
3238 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:644
|
3239 |
msgid "Maximum %plural%"
|
3240 |
msgstr ""
|
3241 |
|
3242 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:677
|
3243 |
msgid "Rank Settings"
|
3244 |
msgstr ""
|
3245 |
|
3246 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:699
|
3247 |
msgid "Minimum %plural% to reach this rank"
|
3248 |
msgstr ""
|
3249 |
|
3250 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:703
|
3251 |
msgid "Maximum %plural% to be included in this rank"
|
3252 |
msgstr ""
|
3253 |
|
3254 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:710
|
3255 |
msgid "All Published Ranks"
|
3256 |
msgstr ""
|
3257 |
|
3258 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:717
|
3259 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:719
|
3260 |
msgid "Not Set"
|
3261 |
msgstr ""
|
3262 |
|
3263 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:724
|
3264 |
msgid "No Ranks found"
|
3265 |
msgstr ""
|
3266 |
|
3267 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:779
|
3268 |
msgid "Rank Features"
|
3269 |
msgstr ""
|
3270 |
|
3271 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:783
|
3272 |
msgid "%plural% requirement"
|
3273 |
msgstr ""
|
3274 |
|
3275 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:784
|
3276 |
msgid "Featured Image (Logo)"
|
3277 |
msgstr ""
|
3278 |
|
3279 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:785
|
3280 |
msgid "Content"
|
3281 |
msgstr ""
|
3282 |
|
3283 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:786
|
3284 |
msgid "Excerpt"
|
3285 |
msgstr ""
|
3286 |
|
3287 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:787
|
3288 |
msgid "Comments"
|
3289 |
msgstr ""
|
3290 |
|
3291 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:788
|
3292 |
msgid "Page Attributes"
|
3293 |
msgstr ""
|
3294 |
|
3295 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:789
|
3296 |
msgid "Custom Fields"
|
3297 |
msgstr ""
|
3298 |
|
3299 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:792
|
3300 |
msgid "Public"
|
3301 |
msgstr ""
|
3302 |
|
3303 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:796
|
3304 |
msgid ""
|
3305 |
"If you want to create a template archive for each rank, you must select to "
|
3306 |
"have ranks public. Defaults to disabled."
|
3307 |
msgstr ""
|
3308 |
|
3309 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:799
|
3310 |
msgid "Rank Basis"
|
3311 |
msgstr ""
|
3312 |
|
3313 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:802
|
3314 |
msgid "Users are ranked according to their current balance."
|
3315 |
msgstr ""
|
3316 |
|
3317 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:805
|
3318 |
msgid ""
|
3319 |
"Users are ranked according to the total amount of %_plural% they have "
|
3320 |
"accumulated."
|
3321 |
msgstr ""
|
3322 |
|
3323 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:809
|
3324 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:814
|
3325 |
msgid "Calculate Totals"
|
3326 |
msgstr ""
|
3327 |
|
3328 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:812
|
3329 |
msgid ""
|
3330 |
"Use this button to calculate or re-calcualte your users totals. If not used, "
|
3331 |
"the users current balance will be used as a starting point."
|
3332 |
msgstr ""
|
3333 |
|
3334 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:812
|
3335 |
msgid ""
|
3336 |
"Once a users total has been calculated, they will be assigned to their "
|
3337 |
"appropriate roles. For this reason, it is highly recommended that you first "
|
3338 |
"setup your ranks!"
|
3339 |
msgstr ""
|
3340 |
|
3341 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:813
|
3342 |
msgid ""
|
3343 |
"Depending on your log size and number of users this process may take a "
|
3344 |
"while. Please do not leave, click \"Update Settings\" or re-fresh this page "
|
3345 |
"until this is completed!"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:818
|
3349 |
msgid "Archive URL"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:822
|
3353 |
msgid "Ignored if Ranks are not public"
|
3354 |
msgstr ""
|
3355 |
|
3356 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:825
|
3357 |
msgid "Display Order"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:832
|
3361 |
msgid "Ascending - Lowest rank to highest"
|
3362 |
msgstr ""
|
3363 |
|
3364 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:833
|
3365 |
msgid "Descending - Highest rank to lowest"
|
3366 |
msgstr ""
|
3367 |
|
3368 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:842
|
3369 |
msgid ""
|
3370 |
"Select in what order ranks should be displayed in your admin area and/or "
|
3371 |
"front if ranks are \"Public\""
|
3372 |
msgstr ""
|
3373 |
|
3374 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:858
|
3375 |
msgid "Rank in BuddyPress"
|
3376 |
msgstr ""
|
3377 |
|
3378 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:926
|
3379 |
msgid "Script Communication Error"
|
3380 |
msgstr ""
|
3381 |
|
3382 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:975
|
3383 |
msgid "Rank Post Type"
|
3384 |
msgstr ""
|
3385 |
|
3386 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:979
|
3387 |
msgid "No. of ranks"
|
3388 |
msgstr ""
|
3389 |
|
3390 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:983
|
3391 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:356
|
3392 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:371
|
3393 |
msgid "Actions"
|
3394 |
msgstr ""
|
3395 |
|
3396 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:984
|
3397 |
msgid "Remove All Ranks"
|
3398 |
msgstr ""
|
3399 |
|
3400 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/myCRED-addon-ranks.php:984
|
3401 |
msgid "Assign Ranks to Users"
|
3402 |
msgstr ""
|
3403 |
|
3404 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/includes/mycred-rank-functions.php:181
|
3405 |
+
msgid "mycred_get_users_rank() : Missing required user id"
|
3406 |
+
msgstr ""
|
3407 |
+
|
3408 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/includes/mycred-rank-functions.php:192
|
3409 |
+
msgid "no rank"
|
3410 |
+
msgstr ""
|
3411 |
+
|
3412 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/includes/mycred-rank-functions.php:271
|
3413 |
msgid "No rank"
|
3414 |
msgstr ""
|
3415 |
|
3416 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/includes/mycred-rank-shortcodes.php:57
|
3417 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/includes/mycred-rank-shortcodes.php:132
|
3418 |
msgid "No users found with this rank"
|
3419 |
msgstr ""
|
3420 |
|
3421 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/includes/mycred-rank-shortcodes.php:62
|
3422 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:224
|
3423 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:227
|
3424 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:288
|
3425 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:349
|
3426 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:353
|
3427 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:357
|
3428 |
msgid "error"
|
3429 |
msgstr ""
|
3430 |
|
3431 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/ranks/includes/mycred-rank-shortcodes.php:62
|
3432 |
msgid "Rank ID is required!"
|
3433 |
msgstr ""
|
3434 |
|
3435 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:12
|
3436 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:303
|
|
|
3437 |
msgid "Sell Content"
|
3438 |
msgstr ""
|
3439 |
|
3440 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:13
|
3441 |
msgid ""
|
3442 |
"This add-on allows you to sell posts, pages or any public post types on your "
|
3443 |
"website. You can either sell the entire content or using our shortcode, sell "
|
3444 |
"parts of your content allowing you to offer \"teasers\"."
|
3445 |
msgstr ""
|
3446 |
|
3447 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:42
|
3448 |
msgid "<p>Buy this %post_type% for only %price% %buy_button%</p>"
|
3449 |
msgstr ""
|
3450 |
|
3451 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:43
|
3452 |
msgid ""
|
3453 |
"<p><a href=\"%login_url_here%\">Login</a> to buy access to this %post_type%."
|
3454 |
"</p>"
|
3455 |
msgstr ""
|
3456 |
|
3457 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:44
|
3458 |
msgid ""
|
3459 |
"<p>You do not have enough %plural% to buy access to this %post_type%.</p>\n"
|
3460 |
"<p><strong>Price</strong>: %price%</p>"
|
3461 |
msgstr ""
|
3462 |
|
3463 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:54
|
3464 |
msgid "Purchase of %link_with_title%"
|
3465 |
msgstr ""
|
3466 |
|
3467 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:55
|
3468 |
msgid "Sale of %link_with_title%"
|
3469 |
msgstr ""
|
3470 |
|
3471 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:71
|
3472 |
msgid "Hours"
|
3473 |
msgstr ""
|
3474 |
|
3475 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:213
|
3476 |
msgid "You can not buy this content."
|
3477 |
msgstr ""
|
3478 |
|
3479 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:276
|
3480 |
msgid "Error. Try Again"
|
3481 |
msgstr ""
|
3482 |
|
3483 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:298
|
3484 |
msgid "No Payout. Just charge."
|
3485 |
msgstr ""
|
3486 |
|
3487 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:299
|
3488 |
msgid "Pay Content Author."
|
3489 |
msgstr ""
|
3490 |
|
3491 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:305
|
3492 |
msgid "Post Types"
|
3493 |
msgstr ""
|
3494 |
|
3495 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:309
|
3496 |
msgid "Comma separated list of post types that can be sold."
|
3497 |
msgstr ""
|
3498 |
|
3499 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:326
|
3500 |
msgid "Percentage to pay Author"
|
3501 |
msgstr ""
|
3502 |
|
3503 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:328
|
3504 |
msgid ""
|
3505 |
"Percentage of the price to pay the author. Can not be zero and is ignored if "
|
3506 |
"authors are not paid."
|
3507 |
msgstr ""
|
3508 |
|
3509 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:336
|
|
|
3510 |
msgid "Defaults"
|
3511 |
msgstr ""
|
3512 |
|
3513 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:344
|
3514 |
msgid "Allow authors to change price."
|
3515 |
msgstr ""
|
3516 |
|
3517 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:353
|
3518 |
msgid "Allow authors to change button label."
|
3519 |
msgstr ""
|
3520 |
|
3521 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:357
|
3522 |
msgid "Purchases expire after"
|
3523 |
msgstr ""
|
3524 |
|
3525 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:359
|
3526 |
msgid "Use zero for permanent sales."
|
3527 |
msgstr ""
|
3528 |
|
3529 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:362
|
3530 |
msgid "Sale Template for non members"
|
3531 |
msgstr ""
|
3532 |
|
3533 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:366
|
3534 |
msgid ""
|
3535 |
"Do <strong>not</strong> use the %buy_button% in this template as a user must "
|
3536 |
"be logged in to buy content!"
|
3537 |
msgstr ""
|
3538 |
|
3539 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:367
|
3540 |
msgid ""
|
3541 |
"Available template tags are: %singular%, %plural%, %post_title%, %post_url%, "
|
3542 |
"%link_with_title%, %price%"
|
3543 |
msgstr ""
|
3544 |
|
3545 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:370
|
3546 |
msgid "Sale Template for members"
|
3547 |
msgstr ""
|
3548 |
|
3549 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:374
|
3550 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:382
|
3551 |
msgid "Your template must contain the %buy_button% tag for purchases to work!"
|
3552 |
msgstr ""
|
3553 |
|
3554 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:375
|
3555 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:383
|
3556 |
msgid ""
|
3557 |
"Available template tags are: %singular%, %plural%, %post_title%, %post_url%, "
|
3558 |
"%link_with_title%, %buy_button%, %price%"
|
3559 |
msgstr ""
|
3560 |
|
3561 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:378
|
3562 |
msgid "Insufficient funds template"
|
3563 |
msgstr ""
|
3564 |
|
3565 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:386
|
3566 |
msgid "Log template for Purchases"
|
3567 |
msgstr ""
|
3568 |
|
3569 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:390
|
3570 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:397
|
3571 |
msgid ""
|
3572 |
"Available template tags are: %singular%, %plural%, %post_title%, %post_url% "
|
3573 |
"or %link_with_title%"
|
3574 |
msgstr ""
|
3575 |
|
3576 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:393
|
3577 |
msgid "Log template for Sales"
|
3578 |
msgstr ""
|
3579 |
|
3580 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:444
|
3581 |
+
#, php-format
|
3582 |
+
msgid "%s Sell This"
|
3583 |
msgstr ""
|
3584 |
|
3585 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:498
|
3586 |
+
#, php-format
|
3587 |
+
msgid "%s Sell Content needs to be setup before you can use this feature."
|
3588 |
msgstr ""
|
3589 |
|
3590 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:501
|
3591 |
msgid "Setup add-on"
|
3592 |
msgstr ""
|
3593 |
|
3594 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:501
|
3595 |
msgid "Lets do it"
|
3596 |
msgstr ""
|
3597 |
|
3598 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:530
|
3599 |
msgid "Enable sale of this "
|
3600 |
msgstr ""
|
3601 |
|
3602 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:544
|
3603 |
msgid "Purchase expires after"
|
3604 |
msgstr ""
|
3605 |
|
3606 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:793
|
3607 |
msgid "Thank you for your purchase!"
|
3608 |
msgstr ""
|
3609 |
|
3610 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:877
|
3611 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:960
|
3612 |
msgid "The following content is set for sale:"
|
3613 |
msgstr ""
|
3614 |
|
3615 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:978
|
3616 |
msgid "No purchases found"
|
3617 |
msgstr ""
|
3618 |
|
3619 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/sell-content/myCRED-addon-sell-content.php:1015
|
3620 |
msgid "Purchased"
|
3621 |
msgstr ""
|
3622 |
|
3623 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:12
|
3624 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:51
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3625 |
msgid "Transfer"
|
3626 |
msgstr ""
|
3627 |
|
3628 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:13
|
3629 |
msgid ""
|
3630 |
"Allow your users to send or \"donate\" points to other members by either "
|
3631 |
"using the mycred_transfer shortcode or the myCRED Transfer widget."
|
3632 |
msgstr ""
|
3633 |
|
3634 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:44
|
3635 |
msgid "You do not have enough %plural% to send."
|
3636 |
msgstr ""
|
3637 |
|
3638 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:45
|
3639 |
msgid "You have exceeded your %limit% transfer limit."
|
3640 |
msgstr ""
|
3641 |
|
3642 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:146
|
3643 |
msgid "Transaction completed."
|
3644 |
msgstr ""
|
3645 |
|
3646 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:147
|
3647 |
msgid ""
|
3648 |
"Security token could not be verified. Please contact your site administrator!"
|
3649 |
msgstr ""
|
3650 |
|
3651 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:148
|
3652 |
msgid "Communications error. Please try again later."
|
3653 |
msgstr ""
|
3654 |
|
3655 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:149
|
3656 |
msgid "Recipient not found. Please try again."
|
3657 |
msgstr ""
|
3658 |
|
3659 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:150
|
3660 |
msgid "Transaction declined by recipient."
|
3661 |
msgstr ""
|
3662 |
|
3663 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:151
|
3664 |
msgid "Incorrect amount. Please try again."
|
3665 |
msgstr ""
|
3666 |
|
3667 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:152
|
3668 |
msgid ""
|
3669 |
"This myCRED Add-on has not yet been setup! No transfers are allowed until "
|
3670 |
"this has been done!"
|
3671 |
msgstr ""
|
3672 |
|
3673 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:153
|
3674 |
msgid "Insufficient funds. Please enter a lower amount."
|
3675 |
msgstr ""
|
3676 |
|
3677 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:154
|
3678 |
msgid "Transfer Limit exceeded."
|
3679 |
msgstr ""
|
3680 |
|
3681 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:179
|
|
|
|
|
|
|
|
|
|
|
|
|
3682 |
msgid "No limits."
|
3683 |
msgstr ""
|
3684 |
|
3685 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:180
|
3686 |
msgid "Impose daily limit."
|
3687 |
msgstr ""
|
3688 |
|
3689 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:181
|
3690 |
msgid "Impose weekly limit."
|
3691 |
msgstr ""
|
3692 |
|
3693 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:188
|
3694 |
msgid "User Login (user_login)"
|
3695 |
msgstr ""
|
3696 |
|
3697 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:189
|
3698 |
msgid "User Email (user_email)"
|
3699 |
msgstr ""
|
3700 |
|
3701 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:193
|
3702 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:590
|
3703 |
msgid "Transfer %plural%"
|
3704 |
msgstr ""
|
3705 |
|
3706 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:195
|
3707 |
msgid "Log template for sending"
|
3708 |
msgstr ""
|
3709 |
|
3710 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:202
|
3711 |
msgid "Log template for receiving"
|
3712 |
msgstr ""
|
3713 |
|
3714 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:209
|
3715 |
msgid "Autofill Recipient"
|
3716 |
msgstr ""
|
3717 |
|
3718 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:218
|
3719 |
msgid "Select what user details recipients should be autofilled by."
|
3720 |
msgstr ""
|
3721 |
|
3722 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:221
|
3723 |
msgid "Reload"
|
3724 |
msgstr ""
|
3725 |
|
3726 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:224
|
3727 |
msgid "Reload page on successful transfers."
|
3728 |
msgstr ""
|
3729 |
|
3730 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:227
|
3731 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:969
|
3732 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1224
|
3733 |
msgid "Limits"
|
3734 |
msgstr ""
|
3735 |
|
3736 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:244
|
3737 |
msgid "Maximum Amount"
|
3738 |
msgstr ""
|
3739 |
|
3740 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:246
|
3741 |
msgid "This amount is ignored if no limits are imposed."
|
3742 |
msgstr ""
|
3743 |
|
3744 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:249
|
3745 |
msgid "Form Templates"
|
3746 |
msgstr ""
|
3747 |
|
3748 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:252
|
3749 |
msgid "Not logged in Template"
|
3750 |
msgstr ""
|
3751 |
|
3752 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:254
|
3753 |
msgid ""
|
3754 |
"Text to show when users are not logged in. Leave empty to hide. No HTML "
|
3755 |
"elements allowed!"
|
3756 |
msgstr ""
|
3757 |
|
3758 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:258
|
3759 |
msgid "Balance Template"
|
3760 |
msgstr ""
|
3761 |
|
3762 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:260
|
3763 |
msgid ""
|
3764 |
"Template to use when displaying the users balance (if included). No HTML "
|
3765 |
"elements allowed!"
|
3766 |
msgstr ""
|
3767 |
|
3768 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:264
|
3769 |
msgid "Limit Template"
|
3770 |
msgstr ""
|
3771 |
|
3772 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:266
|
3773 |
msgid ""
|
3774 |
"Template to use when displaying limits (if used). No HTML elements allowed!"
|
3775 |
msgstr ""
|
3776 |
|
3777 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:270
|
3778 |
msgid "Button Template"
|
3779 |
msgstr ""
|
3780 |
|
3781 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:272
|
3782 |
msgid "Send Transfer button template. No HTML elements allowed!"
|
3783 |
msgstr ""
|
3784 |
|
3785 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:275
|
3786 |
msgid "Error Messages"
|
3787 |
msgstr ""
|
3788 |
|
3789 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:278
|
3790 |
msgid "Balance to low to send."
|
3791 |
msgstr ""
|
3792 |
|
3793 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:280
|
3794 |
msgid ""
|
3795 |
"Text to show when a users balance is to low for transfers. Leave empty to "
|
3796 |
"hide. No HTML elements allowed!"
|
3797 |
msgstr ""
|
3798 |
|
3799 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:284
|
3800 |
msgid "Transfer Limit Reached."
|
3801 |
msgstr ""
|
3802 |
|
3803 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:286
|
3804 |
msgid ""
|
3805 |
"Text to show when a user has reached their transfer limit (if used). Leave "
|
3806 |
"empty to hide. No HTML elements allowed!"
|
3807 |
msgstr ""
|
3808 |
|
3809 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:519
|
3810 |
msgid "Allow transfers between users."
|
3811 |
msgstr ""
|
3812 |
|
3813 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:521
|
3814 |
#, php-format
|
3815 |
+
msgid "(%s) Transfer"
|
3816 |
msgstr ""
|
3817 |
|
3818 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:535
|
3819 |
msgid "The myCRED Transfer add-on has not yet been setup!"
|
3820 |
msgstr ""
|
3821 |
|
3822 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:601
|
3823 |
msgid "Show users balance"
|
3824 |
msgstr ""
|
3825 |
|
3826 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:605
|
3827 |
msgid "Show users limit"
|
3828 |
msgstr ""
|
3829 |
|
3830 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:701
|
3831 |
msgid "username"
|
3832 |
msgstr ""
|
3833 |
|
3834 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:703
|
3835 |
msgid "email"
|
3836 |
msgstr ""
|
3837 |
|
3838 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:705
|
3839 |
#, php-format
|
3840 |
msgid "recipients %s"
|
3841 |
msgstr ""
|
3842 |
|
3843 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:755
|
3844 |
msgid "To:"
|
3845 |
msgstr ""
|
3846 |
|
3847 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/addons/transfer/myCRED-addon-transfer.php:761
|
3848 |
msgid "Amount:"
|
3849 |
msgstr ""
|
3850 |
|
3851 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:26
|
3852 |
#, php-format
|
3853 |
msgid ""
|
3854 |
"Thank you for choosing %s as your points management tool!<br />I hope you "
|
3855 |
"have as much fun using it as I had developing it."
|
3856 |
msgstr ""
|
3857 |
|
3858 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:37
|
3859 |
msgid "What’s New"
|
3860 |
msgstr ""
|
3861 |
|
3862 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:39
|
3863 |
msgid "Credits"
|
3864 |
msgstr ""
|
3865 |
|
3866 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:79
|
3867 |
#, php-format
|
3868 |
msgid "Welcome to %s %s"
|
3869 |
msgstr ""
|
3870 |
|
3871 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:83
|
3872 |
+
msgid "New Features"
|
3873 |
msgstr ""
|
3874 |
|
3875 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:86
|
3876 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:27
|
3877 |
+
#, php-format
|
3878 |
+
msgid "%s Right Now"
|
3879 |
msgstr ""
|
3880 |
|
3881 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:87
|
3882 |
+
msgid ""
|
3883 |
+
"This new Dashboard widget gives you an overview of %_plural% gained or lost "
|
3884 |
+
"by your users along with a few other summaries based on your logs content."
|
3885 |
msgstr ""
|
3886 |
|
3887 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:90
|
3888 |
+
msgid "YouTube Iframe API"
|
|
|
|
|
3889 |
msgstr ""
|
3890 |
|
3891 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:91
|
3892 |
+
msgid ""
|
3893 |
+
"The \"%plural% for watching videos\" hook has been updated to use the "
|
3894 |
+
"YouTube Iframe API which allows you to embed videos that can also be viewed "
|
3895 |
+
"on mobile devices."
|
3896 |
msgstr ""
|
3897 |
|
3898 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:94
|
3899 |
+
msgid "Added Support"
|
3900 |
msgstr ""
|
3901 |
|
3902 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:97
|
3903 |
+
msgid "SimplePress"
|
|
|
|
|
|
|
3904 |
msgstr ""
|
3905 |
|
3906 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:98
|
3907 |
#, php-format
|
3908 |
+
msgid "As of 1.3.3, %s has a built in support for SimplePress!"
|
|
|
|
|
3909 |
msgstr ""
|
3910 |
|
3911 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:98
|
3912 |
+
msgid ""
|
3913 |
+
"Once you have installed SimplePress, you will find the \"SimplePress\" hook "
|
3914 |
+
"on your Hooks page. You can award or deduct %_plural% for new topics and "
|
3915 |
+
"topic posts."
|
3916 |
msgstr ""
|
3917 |
|
3918 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:102
|
3919 |
+
msgid ""
|
3920 |
+
"With WordPress Social Invitations aka WSI you can enhance your site by "
|
3921 |
+
"letting your users to invite their social network friends. This plugin works "
|
3922 |
+
"perfectly with Buddypress and also hooks into Invite Anyone Plugin."
|
3923 |
msgstr ""
|
3924 |
|
3925 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:103
|
3926 |
msgid ""
|
3927 |
+
"Please consult the plugins website for information on how to install and "
|
3928 |
+
"setup this plugin."
|
3929 |
msgstr ""
|
3930 |
|
3931 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:106
|
3932 |
+
msgid "Improvements"
|
3933 |
msgstr ""
|
3934 |
|
3935 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:110
|
3936 |
msgid ""
|
3937 |
+
"The transfer add-on has received several improvements which gives you must "
|
3938 |
+
"better control of customizing your setup."
|
|
|
3939 |
msgstr ""
|
3940 |
|
3941 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:114
|
3942 |
+
msgid ""
|
3943 |
+
"The ranks add-on has received several bug fixes, especially if you are "
|
3944 |
+
"assigning ranks according to your users total accumilated points and not "
|
3945 |
+
"their current balance."
|
3946 |
msgstr ""
|
3947 |
|
3948 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:115
|
3949 |
msgid ""
|
3950 |
+
"If you have been experiencing issues with users not getting the correct "
|
3951 |
+
"rank, please make sure you \"Calculate Totals\" to fix the issue!"
|
3952 |
msgstr ""
|
3953 |
|
3954 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:118
|
3955 |
+
msgid "Events Management"
|
3956 |
+
msgstr ""
|
3957 |
+
|
3958 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:119
|
3959 |
msgid ""
|
3960 |
+
"Fixed the issue with users not being able to pay for events in the free "
|
3961 |
+
"version, if attendance is pre-approved."
|
3962 |
msgstr ""
|
3963 |
|
3964 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:142
|
3965 |
#, php-format
|
3966 |
msgid "%s Users"
|
3967 |
msgstr ""
|
3968 |
|
3969 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:145
|
3970 |
msgid "Bug Finders"
|
3971 |
msgstr ""
|
3972 |
|
3973 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:146
|
3974 |
msgid ""
|
3975 |
"Users who have taken the time to report bugs helping me improve this plugin."
|
3976 |
msgstr ""
|
3977 |
|
3978 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:153
|
3979 |
msgid "Plugin Translators"
|
3980 |
msgstr ""
|
3981 |
|
3982 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:154
|
3983 |
msgid "Users who have helped with translating this plugin."
|
3984 |
msgstr ""
|
3985 |
|
3986 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:160
|
3987 |
msgid "Find out more"
|
3988 |
msgstr ""
|
3989 |
|
3990 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-about.php:161
|
3991 |
#, php-format
|
3992 |
msgid ""
|
3993 |
"You can always find more information about this plugin on the %s <a href=\"%s"
|
3994 |
"\">website</a>."
|
3995 |
msgstr ""
|
3996 |
|
3997 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:68
|
3998 |
msgid "User is excluded"
|
3999 |
msgstr ""
|
4000 |
|
4001 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:73
|
4002 |
msgid "Log Entry can not be empty"
|
4003 |
msgstr ""
|
4004 |
|
4005 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:77
|
4006 |
msgid "Amount can not be zero"
|
4007 |
msgstr ""
|
4008 |
|
4009 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:174
|
4010 |
msgid "Excluded"
|
4011 |
msgstr ""
|
4012 |
|
4013 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:181
|
4014 |
msgid "History"
|
4015 |
msgstr ""
|
4016 |
|
4017 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:183
|
4018 |
msgid "Adjust"
|
4019 |
msgstr ""
|
4020 |
|
4021 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:234
|
4022 |
#, php-format
|
4023 |
msgid "My current %singular% balance"
|
4024 |
msgstr ""
|
4025 |
|
4026 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:257
|
4027 |
msgid "Adjust Your Balance"
|
4028 |
msgstr ""
|
4029 |
|
4030 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:259
|
4031 |
msgid "Adjust Users Balance"
|
4032 |
msgstr ""
|
4033 |
|
4034 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:266
|
4035 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:340
|
4036 |
msgid "required"
|
4037 |
msgstr ""
|
4038 |
|
4039 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:268
|
4040 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:342
|
4041 |
msgid "optional"
|
4042 |
msgstr ""
|
4043 |
|
4044 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:274
|
4045 |
msgid "Log description for adjustment"
|
4046 |
msgstr ""
|
4047 |
|
4048 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:275
|
4049 |
msgid "Update"
|
4050 |
msgstr ""
|
4051 |
|
4052 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:276
|
4053 |
msgid "Description is required!"
|
4054 |
msgstr ""
|
4055 |
|
4056 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:281
|
4057 |
msgid "Users Current Balance"
|
4058 |
msgstr ""
|
4059 |
|
4060 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:351
|
4061 |
msgid "A positive or negative value"
|
4062 |
msgstr ""
|
4063 |
|
4064 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-admin.php:353
|
4065 |
msgid "Update Balance"
|
4066 |
msgstr ""
|
4067 |
|
4068 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-functions.php:67
|
4069 |
msgid "Point"
|
4070 |
msgstr ""
|
4071 |
|
4072 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-functions.php:68
|
4073 |
msgid "Points"
|
4074 |
msgstr ""
|
4075 |
|
4076 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-functions.php:391
|
4077 |
msgid "Deleted"
|
4078 |
msgstr ""
|
4079 |
|
4080 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-functions.php:526
|
4081 |
msgid "Deleted Item"
|
4082 |
msgstr ""
|
4083 |
|
4084 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-functions.php:1435
|
4085 |
msgid "ref empty"
|
4086 |
msgstr ""
|
4087 |
|
4088 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-functions.php:1443
|
4089 |
msgid "incorrect user id format"
|
4090 |
msgstr ""
|
4091 |
|
4092 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-functions.php:1456
|
4093 |
msgid "incorrect unix timestamp (from):"
|
4094 |
msgstr ""
|
4095 |
|
4096 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-functions.php:1465
|
4097 |
msgid "incorrect unix timestamp (to):"
|
4098 |
msgstr ""
|
4099 |
|
4100 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:38
|
4101 |
msgid "myCRED requires WordPress 3.1 or higher. Version detected:"
|
4102 |
msgstr ""
|
4103 |
|
4104 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:43
|
4105 |
+
msgid "myCRED requires PHP 5.2.4 or higher. Version detected: "
|
4106 |
msgstr ""
|
4107 |
|
4108 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:48
|
4109 |
msgid "myCRED requires SQL 5.0 or higher. Version detected: "
|
4110 |
msgstr ""
|
4111 |
|
4112 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:53
|
4113 |
msgid ""
|
4114 |
"Sorry but your WordPress installation does not reach the minimum "
|
4115 |
"requirements for running myCRED. The following errors were given:"
|
4116 |
msgstr ""
|
4117 |
|
4118 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:265
|
4119 |
msgid "myCRED needs your attention."
|
4120 |
msgstr ""
|
4121 |
|
4122 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:265
|
4123 |
msgid "Run Setup"
|
4124 |
msgstr ""
|
4125 |
|
4126 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:277
|
4127 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:278
|
4128 |
msgid "myCRED Setup"
|
4129 |
msgstr ""
|
4130 |
|
4131 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:423
|
4132 |
msgid "Step"
|
4133 |
msgstr ""
|
4134 |
|
4135 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:446
|
4136 |
msgid ""
|
4137 |
"Click \"Begin Setup\" to install myCRED. You will be able to select your "
|
4138 |
"points format, layout and security settings."
|
4139 |
msgstr ""
|
4140 |
|
4141 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:447
|
4142 |
msgid "Begin Setup"
|
4143 |
msgstr ""
|
4144 |
|
4145 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:504
|
4146 |
msgid "Select the format you want to use for your points."
|
4147 |
msgstr ""
|
4148 |
|
4149 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:505
|
4150 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:202
|
4151 |
msgid "Format"
|
4152 |
msgstr ""
|
4153 |
|
4154 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:508
|
4155 |
msgid "Separators"
|
4156 |
msgstr ""
|
4157 |
|
4158 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:518
|
4159 |
msgid "Decimals"
|
4160 |
msgstr ""
|
4161 |
|
4162 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:520
|
4163 |
msgid "Use zero for no decimals."
|
4164 |
msgstr ""
|
4165 |
|
4166 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:523
|
4167 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:252
|
4168 |
msgid "Presentation"
|
4169 |
msgstr ""
|
4170 |
|
4171 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:526
|
4172 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:239
|
4173 |
msgid "Name (Singular)"
|
4174 |
msgstr ""
|
4175 |
|
4176 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:530
|
4177 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:244
|
4178 |
msgid "Name (Plural)"
|
4179 |
msgstr ""
|
4180 |
|
4181 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:536
|
4182 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:255
|
4183 |
msgid "Prefix"
|
4184 |
msgstr ""
|
4185 |
|
4186 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:544
|
4187 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:263
|
4188 |
msgid "Suffix"
|
4189 |
msgstr ""
|
4190 |
|
4191 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:549
|
4192 |
msgid "Cancel Setup"
|
4193 |
msgstr ""
|
4194 |
|
4195 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:549
|
4196 |
msgid "Cancel"
|
4197 |
msgstr ""
|
4198 |
|
4199 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:549
|
4200 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:637
|
4201 |
msgid "Next"
|
4202 |
msgstr ""
|
4203 |
|
4204 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:581
|
4205 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:271
|
4206 |
msgid "Security"
|
4207 |
msgstr ""
|
4208 |
|
4209 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:584
|
4210 |
msgid "Edit Settings Capability"
|
4211 |
msgstr ""
|
4212 |
|
4213 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:588
|
4214 |
msgid "Edit Users %plural% Capability"
|
4215 |
msgstr ""
|
4216 |
|
4217 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:592
|
4218 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:284
|
4219 |
msgid "Maximum %plural% payouts"
|
4220 |
msgstr ""
|
4221 |
|
4222 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:594
|
4223 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:286
|
4224 |
msgid ""
|
4225 |
"As an added security, you can set the maximum amount a user can gain or "
|
4226 |
"loose in a single instance. If used, make sure this is the maximum amount a "
|
4228 |
"disable."
|
4229 |
msgstr ""
|
4230 |
|
4231 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:601
|
4232 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:293
|
4233 |
msgid "Exclude those who can \"Edit Settings\"."
|
4234 |
msgstr ""
|
4235 |
|
4236 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:605
|
4237 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:297
|
4238 |
msgid "Exclude those who can \"Edit Users %plural%\"."
|
4239 |
msgstr ""
|
4240 |
|
4241 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:608
|
4242 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:301
|
4243 |
msgid "Exclude the following user IDs:"
|
4244 |
msgstr ""
|
4245 |
|
4246 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:612
|
4247 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:306
|
4248 |
msgid "Rankings"
|
4249 |
msgstr ""
|
4250 |
|
4251 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:616
|
4252 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:310
|
4253 |
msgid "Update rankings each time a users balance changes."
|
4254 |
msgstr ""
|
4255 |
|
4256 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:620
|
4257 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:314
|
4258 |
msgid "Update rankings once a day."
|
4259 |
msgstr ""
|
4260 |
|
4261 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:624
|
4262 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:318
|
4263 |
msgid "Update rankings once a week."
|
4264 |
msgstr ""
|
4265 |
|
4266 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:628
|
4267 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:322
|
4268 |
msgid "Update rankings on a specific date."
|
4269 |
msgstr ""
|
4270 |
|
4271 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:632
|
4272 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:277
|
4273 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:326
|
4274 |
msgid "Date"
|
4275 |
msgstr ""
|
4276 |
|
4277 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:656
|
4278 |
msgid "Ready"
|
4279 |
msgstr ""
|
4280 |
|
4281 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:657
|
4282 |
msgid "Almost done! Click the button below to finish this setup."
|
4283 |
msgstr ""
|
4284 |
|
4285 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-install.php:658
|
4286 |
msgid "Install & Run"
|
4287 |
msgstr ""
|
4288 |
|
4289 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:279
|
4290 |
msgid "Entry"
|
4291 |
msgstr ""
|
4292 |
|
4293 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:379
|
4294 |
msgid "User Missing"
|
4295 |
msgstr ""
|
4296 |
|
4297 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:418
|
4298 |
msgid "No log entries found"
|
4299 |
msgstr ""
|
4300 |
|
4301 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:433
|
4302 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:435
|
4303 |
msgid "Search Log"
|
4304 |
msgstr ""
|
4305 |
|
4306 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-log.php:434
|
4307 |
msgid "search log entries"
|
4308 |
msgstr ""
|
4309 |
|
4310 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:60
|
4311 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:61
|
4312 |
msgid "Network Settings"
|
4313 |
msgstr ""
|
4314 |
|
4315 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:158
|
4316 |
+
#, php-format
|
4317 |
+
msgid "%s Network"
|
4318 |
msgstr ""
|
4319 |
|
4320 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:164
|
4321 |
#, php-format
|
4322 |
msgid "Note! %s has not yet been setup."
|
4323 |
msgstr ""
|
4324 |
|
4325 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:168
|
4326 |
msgid "Network Settings Updated"
|
4327 |
msgstr ""
|
4328 |
|
4329 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:170
|
4330 |
#, php-format
|
4331 |
msgid "Configure network settings for %s."
|
4332 |
msgstr ""
|
4333 |
|
4334 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:177
|
4335 |
msgid "Master Template"
|
4336 |
msgstr ""
|
4337 |
|
4338 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:181
|
4339 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:195
|
4340 |
msgid "Yes"
|
4341 |
msgstr ""
|
4342 |
|
4343 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:185
|
4344 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:199
|
4345 |
msgid "No"
|
4346 |
msgstr ""
|
4347 |
|
4348 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:188
|
4349 |
#, php-format
|
4350 |
msgid ""
|
4351 |
"If enabled, %s will use your main site's settings for all other sites in "
|
4352 |
"your network."
|
4353 |
msgstr ""
|
4354 |
|
4355 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:191
|
4356 |
msgid "Central Logging"
|
4357 |
msgstr ""
|
4358 |
|
4359 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:202
|
4360 |
#, php-format
|
4361 |
msgid "If enabled, %s will log all site actions in your main site's log."
|
4362 |
msgstr ""
|
4363 |
|
4364 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:205
|
4365 |
msgid "Site Block"
|
4366 |
msgstr ""
|
4367 |
|
4368 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:209
|
4369 |
#, php-format
|
4370 |
msgid "Comma separated list of blog ids where %s is to be disabled."
|
4371 |
msgstr ""
|
4372 |
|
4373 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-network.php:218
|
4374 |
msgid "Save Network Settings"
|
4375 |
msgstr ""
|
4376 |
|
4377 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:39
|
4378 |
+
msgid "Reference Occurrences"
|
4379 |
+
msgstr ""
|
4380 |
+
|
4381 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:47
|
4382 |
+
msgid "%singular% Totals"
|
4383 |
+
msgstr ""
|
4384 |
+
|
4385 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:77
|
4386 |
+
msgid "no modules shown"
|
4387 |
+
msgstr ""
|
4388 |
+
|
4389 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:146
|
4390 |
+
msgid "Show"
|
4391 |
+
msgstr ""
|
4392 |
+
|
4393 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:167
|
4394 |
+
msgid "No modules found"
|
4395 |
+
msgstr ""
|
4396 |
+
|
4397 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:293
|
4398 |
+
msgid "Your log is empty"
|
4399 |
+
msgstr ""
|
4400 |
+
|
4401 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:309
|
4402 |
+
msgid "Number"
|
4403 |
+
msgstr ""
|
4404 |
+
|
4405 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:343
|
4406 |
+
msgid "Earned by users"
|
4407 |
+
msgstr ""
|
4408 |
+
|
4409 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:347
|
4410 |
+
msgid "Taken from users"
|
4411 |
+
msgstr ""
|
4412 |
+
|
4413 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:356
|
4414 |
+
msgid "Purchased by users"
|
4415 |
+
msgstr ""
|
4416 |
+
|
4417 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:367
|
4418 |
+
msgid "Transferred between users"
|
4419 |
+
msgstr ""
|
4420 |
+
|
4421 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:378
|
4422 |
+
msgid "Used as payment"
|
4423 |
+
msgstr ""
|
4424 |
+
|
4425 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-overview.php:387
|
4426 |
+
msgid ""
|
4427 |
+
"Note that manual balance adjustments without a log entry are not counted."
|
4428 |
+
msgstr ""
|
4429 |
+
|
4430 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:523
|
4431 |
msgid "This feature requires WordPress Permalinks to be setup and enabled!"
|
4432 |
msgstr ""
|
4433 |
|
4434 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:526
|
4435 |
msgid "Click Update Settings to load the Remote API settings."
|
4436 |
msgstr ""
|
4437 |
|
4438 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:528
|
4439 |
msgid "Allow Remote Access"
|
4440 |
msgstr ""
|
4441 |
|
4442 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:549
|
4443 |
msgid "Remote Access"
|
4444 |
msgstr ""
|
4445 |
|
4446 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:551
|
4447 |
msgid "API Key"
|
4448 |
msgstr ""
|
4449 |
|
4450 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:554
|
4451 |
msgid "Key"
|
4452 |
msgstr ""
|
4453 |
|
4454 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:555
|
4455 |
msgid "min. 12 characters"
|
4456 |
msgstr ""
|
4457 |
|
4458 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:556
|
4459 |
msgid "Required for this feature to work!<br />Minimum 12 characters."
|
4460 |
msgstr ""
|
4461 |
|
4462 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:559
|
4463 |
msgid "Key Length"
|
4464 |
msgstr ""
|
4465 |
|
4466 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:564
|
4467 |
msgid "Generate New Key"
|
4468 |
msgstr ""
|
4469 |
|
4470 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:566
|
4471 |
msgid "Warning!"
|
4472 |
msgstr ""
|
4473 |
|
4474 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:566
|
4475 |
msgid ""
|
4476 |
"Keep this key safe! Those you share this key with will be able to remotely "
|
4477 |
"deduct / add / transfer %plural%!"
|
4478 |
msgstr ""
|
4479 |
|
4480 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:568
|
4481 |
msgid "Incoming URI"
|
4482 |
msgstr ""
|
4483 |
|
4484 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:572
|
4485 |
msgid ""
|
4486 |
"The incoming call address. Remote calls made to any other URL will be "
|
4487 |
"ignored."
|
4488 |
msgstr ""
|
4489 |
|
4490 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:575
|
4491 |
msgid "Debug Mode"
|
4492 |
msgstr ""
|
4493 |
|
4494 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-remote.php:578
|
4495 |
msgid ""
|
4496 |
"Remember to disable when not used to prevent mischievous calls from learning "
|
4497 |
"about your setup!"
|
4498 |
msgstr ""
|
4499 |
|
4500 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:146
|
4501 |
msgid "Leaderboard is empty."
|
4502 |
msgstr ""
|
4503 |
|
4504 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:224
|
4505 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:349
|
4506 |
msgid "Amount missing!"
|
4507 |
msgstr ""
|
4508 |
|
4509 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:227
|
4510 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:357
|
4511 |
msgid "Log Template Missing!"
|
4512 |
msgstr ""
|
4513 |
|
4514 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:288
|
4515 |
msgid "Anchor missing URL!"
|
4516 |
msgstr ""
|
4517 |
|
4518 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:353
|
4519 |
msgid "User ID missing for recipient."
|
4520 |
msgstr ""
|
4521 |
|
4522 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:407
|
4523 |
msgid "Sent"
|
4524 |
msgstr ""
|
4525 |
|
4526 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:408
|
4527 |
msgid "Error - Try Again"
|
4528 |
msgstr ""
|
4529 |
|
4530 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-shortcodes.php:506
|
4531 |
msgid "A video ID is required for this shortcode"
|
4532 |
msgstr ""
|
4533 |
|
4534 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:21
|
4535 |
#, php-format
|
4536 |
msgid "Show the current users %s balance"
|
4537 |
msgstr ""
|
4538 |
|
4539 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:23
|
4540 |
#, php-format
|
4541 |
+
msgid "(%s) My Balance"
|
4542 |
msgstr ""
|
4543 |
|
4544 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:158
|
4545 |
msgid "My Balance"
|
4546 |
msgstr ""
|
4547 |
|
4548 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:169
|
4549 |
msgid "<a href=\"%login_url_here%\">Login</a> to view your balance."
|
4550 |
msgstr ""
|
4551 |
|
4552 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:193
|
4553 |
msgid "Layout"
|
4554 |
msgstr ""
|
4555 |
|
4556 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:195
|
4557 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:218
|
4558 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:228
|
4559 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:377
|
4560 |
msgid "See the help tab for available template tags."
|
4561 |
msgstr ""
|
4562 |
|
4563 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:200
|
4564 |
msgid "Include users ranking"
|
4565 |
msgstr ""
|
4566 |
|
4567 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:204
|
4568 |
msgid ""
|
4569 |
"This will be appended after the balance. See the help tab for available "
|
4570 |
"template tags."
|
4571 |
msgstr ""
|
4572 |
|
4573 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:210
|
4574 |
msgid "Include history"
|
4575 |
msgstr ""
|
4576 |
|
4577 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:212
|
4578 |
msgid "History Title"
|
4579 |
msgstr ""
|
4580 |
|
4581 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:214
|
4582 |
msgid "Number of entires"
|
4583 |
msgstr ""
|
4584 |
|
4585 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:216
|
4586 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:375
|
4587 |
msgid "Row layout"
|
4588 |
msgstr ""
|
4589 |
|
4590 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:224
|
4591 |
msgid "Show message when not logged in"
|
4592 |
msgstr ""
|
4593 |
|
4594 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:226
|
4595 |
msgid "Message"
|
4596 |
msgstr ""
|
4597 |
|
4598 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:300
|
4599 |
#, php-format
|
4600 |
msgid "Show a list of users sorted by their %s balance"
|
4601 |
msgstr ""
|
4602 |
|
4603 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:302
|
4604 |
#, php-format
|
4605 |
+
msgid "(%s) Leaderboard"
|
4606 |
msgstr ""
|
4607 |
|
4608 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:355
|
4609 |
msgid "Leaderboard"
|
4610 |
msgstr ""
|
4611 |
|
4612 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:368
|
4613 |
msgid "Visible to non-members"
|
4614 |
msgstr ""
|
4615 |
|
4616 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:371
|
4617 |
msgid "Number of users"
|
4618 |
msgstr ""
|
4619 |
|
4620 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:380
|
4621 |
msgid "Offset"
|
4622 |
msgstr ""
|
4623 |
|
4624 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:382
|
4625 |
msgid "Optional offset of order. Use zero to return the first in the list."
|
4626 |
msgstr ""
|
4627 |
|
4628 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:385
|
4629 |
msgid "Order"
|
4630 |
msgstr ""
|
4631 |
|
4632 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:389
|
4633 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:195
|
4634 |
msgid "Ascending"
|
4635 |
msgstr ""
|
4636 |
|
4637 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/includes/mycred-widgets.php:390
|
4638 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:195
|
4639 |
msgid "Descending"
|
4640 |
msgstr ""
|
4641 |
|
4642 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:24
|
4643 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:25
|
4644 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:26
|
|
|
4645 |
msgid "Add-ons"
|
4646 |
msgstr ""
|
4647 |
|
4648 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:261
|
4649 |
+
#, php-format
|
4650 |
+
msgid "%s Add-ons"
|
4651 |
+
msgstr ""
|
4652 |
+
|
4653 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:266
|
4654 |
msgid "Add-on Activated"
|
4655 |
msgstr ""
|
4656 |
|
4657 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:268
|
4658 |
msgid "Add-on Deactivated"
|
4659 |
msgstr ""
|
4660 |
|
4661 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:271
|
4662 |
msgid "Add-ons can expand your current installation with further features."
|
4663 |
msgstr ""
|
4664 |
|
4665 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:290
|
4666 |
#, php-format
|
4667 |
msgid "You can find more add-ons in our %s."
|
4668 |
msgstr ""
|
4669 |
|
4670 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:290
|
4671 |
msgid "online store"
|
4672 |
msgstr ""
|
4673 |
|
4674 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:310
|
4675 |
msgid "Deactivate Add-on"
|
4676 |
msgstr ""
|
4677 |
|
4678 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:311
|
4679 |
msgid "Deactivate"
|
4680 |
msgstr ""
|
4681 |
|
4682 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:316
|
4683 |
msgid "Activate Add-on"
|
4684 |
msgstr ""
|
4685 |
|
4686 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:317
|
4687 |
msgid "Activate"
|
4688 |
msgstr ""
|
4689 |
|
4690 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:334
|
4691 |
msgid "Version"
|
4692 |
msgstr ""
|
4693 |
|
4694 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:337
|
4695 |
msgid "By"
|
4696 |
msgstr ""
|
4697 |
|
4698 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-addons.php:340
|
4699 |
msgid "Documentation"
|
4700 |
msgstr ""
|
4701 |
|
4702 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:56
|
4703 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:76
|
4704 |
msgid "Access denied for this action"
|
4705 |
msgstr ""
|
4706 |
|
4707 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:93
|
4708 |
msgid "Accounts successfully reset"
|
4709 |
msgstr ""
|
4710 |
|
4711 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:124
|
4712 |
msgid "No users found to export"
|
4713 |
msgstr ""
|
4714 |
|
4715 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:222
|
4716 |
+
#, php-format
|
4717 |
+
msgid "%s Settings"
|
4718 |
+
msgstr ""
|
4719 |
+
|
4720 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:229
|
4721 |
msgid "Adjust your core or add-on settings. Follow us on:"
|
4722 |
msgstr ""
|
4723 |
|
4724 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:229
|
4725 |
msgid "Facebook"
|
4726 |
msgstr ""
|
4727 |
|
4728 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:229
|
4729 |
msgid "Google Plus"
|
4730 |
msgstr ""
|
4731 |
|
4732 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:234
|
4733 |
msgid "Core Settings"
|
4734 |
msgstr ""
|
4735 |
|
4736 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:236
|
4737 |
msgid "Name"
|
4738 |
msgstr ""
|
4739 |
|
4740 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:241
|
4741 |
msgid "Accessible though the %singular% template tag."
|
4742 |
msgstr ""
|
4743 |
|
4744 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:246
|
4745 |
msgid "Accessible though the %plural% template tag."
|
4746 |
msgstr ""
|
4747 |
|
4748 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:249
|
4749 |
msgid "Tip"
|
4750 |
msgstr ""
|
4751 |
|
4752 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:249
|
4753 |
msgid ""
|
4754 |
"Adding an underscore at the beginning of template tag for names will return "
|
4755 |
"them in lowercase. i.e. %_singular%"
|
4756 |
msgstr ""
|
4757 |
|
4758 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:267
|
4759 |
msgid "Separator"
|
4760 |
msgstr ""
|
4761 |
|
4762 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:274
|
4763 |
msgid "Edit Settings"
|
4764 |
msgstr ""
|
4765 |
|
4766 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:276
|
4767 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:281
|
4768 |
msgid "Capability to check for."
|
4769 |
msgstr ""
|
4770 |
|
4771 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:279
|
4772 |
msgid "Edit Users %plural%"
|
4773 |
msgstr ""
|
4774 |
|
4775 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:303
|
4776 |
msgid "Comma separated list of user ids to exclude. No spaces allowed!"
|
4777 |
msgstr ""
|
4778 |
|
4779 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:343
|
4780 |
msgid "Management"
|
4781 |
msgstr ""
|
4782 |
|
4783 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:345
|
4784 |
msgid "The Log"
|
4785 |
msgstr ""
|
4786 |
|
4787 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:348
|
4788 |
msgid "Table Name"
|
4789 |
msgstr ""
|
4790 |
|
4791 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:352
|
4792 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:92
|
4793 |
msgid "Entries"
|
4794 |
msgstr ""
|
4795 |
|
4796 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:357
|
4797 |
msgid "Empty Log"
|
4798 |
msgstr ""
|
4799 |
|
4800 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:363
|
4801 |
msgid "User Meta Key"
|
4802 |
msgstr ""
|
4803 |
|
4804 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:372
|
4805 |
msgid "Set all to zero"
|
4806 |
msgstr ""
|
4807 |
|
4808 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:372
|
4809 |
msgid "CSV Export"
|
4810 |
msgstr ""
|
4811 |
|
4812 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:390
|
4813 |
msgid "Identify users by"
|
4814 |
msgstr ""
|
4815 |
|
4816 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:395
|
4817 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:188
|
4818 |
msgid "User ID"
|
4819 |
msgstr ""
|
4820 |
|
4821 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:396
|
4822 |
msgid "User Email"
|
4823 |
msgstr ""
|
4824 |
|
4825 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:397
|
4826 |
msgid "User Login"
|
4827 |
msgstr ""
|
4828 |
|
4829 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:404
|
4830 |
msgid ""
|
4831 |
"Use ID if you intend to use this export as a backup of your current site "
|
4832 |
"while Email is recommended if you want to export to a different site."
|
4833 |
msgstr ""
|
4834 |
|
4835 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:407
|
4836 |
msgid "Import Log Entry"
|
4837 |
msgstr ""
|
4838 |
|
4839 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:409
|
4840 |
#, php-format
|
4841 |
msgid ""
|
4842 |
"Optional log entry to use if you intend to import this file in a different "
|
4843 |
"%s installation."
|
4844 |
msgstr ""
|
4845 |
|
4846 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-general.php:412
|
4847 |
msgid "Export"
|
4848 |
msgstr ""
|
4849 |
|
4850 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:23
|
4851 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:24
|
4852 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:25
|
|
|
4853 |
msgid "Hooks"
|
4854 |
msgstr ""
|
4855 |
|
4856 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:85
|
4857 |
msgid "%plural% for registrations"
|
4858 |
msgstr ""
|
4859 |
|
4860 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:86
|
4861 |
msgid "Award %_plural% for users joining your website."
|
4862 |
msgstr ""
|
4863 |
|
4864 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:92
|
4865 |
msgid "%plural% for logins"
|
4866 |
msgstr ""
|
4867 |
|
4868 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:93
|
4869 |
msgid ""
|
4870 |
"Award %_plural% for logging in to your website. You can also set an optional "
|
4871 |
"limit."
|
4872 |
msgstr ""
|
4873 |
|
4874 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:99
|
4875 |
msgid "%plural% for publishing content"
|
4876 |
msgstr ""
|
4877 |
|
4878 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:100
|
4879 |
msgid ""
|
4880 |
"Award %_plural% for publishing content on your website. If your custom post "
|
4881 |
"type is not shown bellow, make sure it is set to \"Public\"."
|
4882 |
msgstr ""
|
4883 |
|
4884 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:106
|
4885 |
msgid "%plural% for comments"
|
4886 |
msgstr ""
|
4887 |
|
4888 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:107
|
4889 |
msgid "Award %_plural% for making comments."
|
4890 |
msgstr ""
|
4891 |
|
4892 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:113
|
4893 |
msgid "%plural% for clicking on links"
|
4894 |
msgstr ""
|
4895 |
|
4896 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:114
|
4897 |
msgid ""
|
4898 |
"Award %_plural% to users who clicks on links generated by the [mycred_link] "
|
4899 |
"shortcode."
|
4900 |
msgstr ""
|
4901 |
|
4902 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:120
|
4903 |
msgid "%plural% for viewing Videos"
|
4904 |
msgstr ""
|
4905 |
|
4906 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:121
|
4907 |
msgid ""
|
4908 |
"Award %_plural% to users who watches videos embedded using the "
|
4909 |
"[mycred_video] shortcode."
|
4910 |
msgstr ""
|
4911 |
|
4912 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:156
|
4913 |
+
#, php-format
|
4914 |
+
msgid "%s Hooks"
|
4915 |
+
msgstr ""
|
4916 |
+
|
4917 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:160
|
4918 |
msgid ""
|
4919 |
"Hooks are instances where %_plural% are awarded or deducted from a user, "
|
4920 |
"depending on their actions around your website."
|
4921 |
msgstr ""
|
4922 |
|
4923 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:447
|
4924 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:147
|
4925 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:168
|
4926 |
msgid "Limit"
|
4927 |
msgstr ""
|
4928 |
|
4929 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:554
|
4930 |
msgid "%plural% for Posts"
|
4931 |
msgstr ""
|
4932 |
|
4933 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:564
|
4934 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:577
|
4935 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:612
|
4936 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:268
|
4937 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:278
|
4938 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:442
|
4939 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:455
|
4940 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:468
|
4941 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:486
|
4942 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:499
|
4943 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:518
|
4944 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:546
|
4945 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-contact-form7.php:138
|
4946 |
msgid "Available template tags: General, Post"
|
4947 |
msgstr ""
|
4948 |
|
4949 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:567
|
4950 |
msgid "%plural% for Pages"
|
4951 |
msgstr ""
|
4952 |
|
4953 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:602
|
4954 |
msgid "%plural% for %s"
|
4955 |
msgstr ""
|
4956 |
|
4957 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:918
|
4958 |
msgid "Approved Comment"
|
4959 |
msgstr ""
|
4960 |
|
4961 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:921
|
4962 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:938
|
4963 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:955
|
4964 |
msgid "Comment Author"
|
4965 |
msgstr ""
|
4966 |
|
4967 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:925
|
4968 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:942
|
4969 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:959
|
4970 |
msgid "Content Author"
|
4971 |
msgstr ""
|
4972 |
|
4973 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:932
|
4974 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:949
|
4975 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:966
|
4976 |
msgid "Available template tags: General, Comment"
|
4977 |
msgstr ""
|
4978 |
|
4979 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:935
|
4980 |
msgid "Comment Marked SPAM"
|
4981 |
msgstr ""
|
4982 |
|
4983 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:952
|
4984 |
msgid "Trashed / Unapproved Comments"
|
4985 |
msgstr ""
|
4986 |
|
4987 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:972
|
4988 |
msgid "Limit per post"
|
4989 |
msgstr ""
|
4990 |
|
4991 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:974
|
4992 |
msgid ""
|
4993 |
"The number of comments per post that grants %_plural% to the comment author. "
|
4994 |
"Use zero for unlimited."
|
4995 |
msgstr ""
|
4996 |
|
4997 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:978
|
4998 |
msgid "Limit per day"
|
4999 |
msgstr ""
|
5000 |
|
5001 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:980
|
5002 |
msgid ""
|
5003 |
"Number of comments per day that grants %_plural%. Use zero for unlimited."
|
5004 |
msgstr ""
|
5005 |
|
5006 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:985
|
5007 |
msgid ""
|
5008 |
"%plural% is to be awarded even when comment authors reply to their own "
|
5009 |
"comment."
|
5010 |
msgstr ""
|
5011 |
|
5012 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1052
|
5013 |
msgid "Once for each unique URL"
|
5014 |
msgstr ""
|
5015 |
|
5016 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1053
|
5017 |
msgid "Once for each unique link id"
|
5018 |
msgstr ""
|
5019 |
|
5020 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1214
|
5021 |
msgid ""
|
5022 |
"The default amount to award for clicking on links. You can override this in "
|
5023 |
"the shortcode."
|
5024 |
msgstr ""
|
5025 |
|
5026 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1221
|
5027 |
msgid ""
|
5028 |
"Available template tags: General and custom tags: %url%, %title% or %id%."
|
5029 |
msgstr ""
|
5030 |
|
5031 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1232
|
5032 |
msgid "Note!"
|
5033 |
msgstr ""
|
5034 |
|
5035 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1232
|
5036 |
msgid ""
|
5037 |
"If no ID is set when using the mycred_link shortcode, the shortcode will "
|
5038 |
"generate one automatically based on the value set under href. If you are "
|
5040 |
"by ID."
|
5041 |
msgstr ""
|
5042 |
|
5043 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1545
|
5044 |
msgid "Amount to award for viewing videos."
|
5045 |
msgstr ""
|
5046 |
|
5047 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1555
|
5048 |
msgid "Award Logic"
|
5049 |
msgstr ""
|
5050 |
|
5051 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1557
|
5052 |
msgid "Select when %_plural% should be awarded or deducted."
|
5053 |
msgstr ""
|
5054 |
|
5055 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1558
|
5056 |
msgid "Play - As soon as video starts playing."
|
5057 |
msgstr ""
|
5058 |
|
5059 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1559
|
5060 |
msgid "Full - First when the entire video has played."
|
5061 |
msgstr ""
|
5062 |
|
5063 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1560
|
5064 |
msgid "Interval - For each x number of seconds watched."
|
5065 |
msgstr ""
|
5066 |
|
5067 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1565
|
5068 |
msgid "Number of seconds"
|
5069 |
msgstr ""
|
5070 |
|
5071 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1572
|
5072 |
msgid "Leniency"
|
5073 |
msgstr ""
|
5074 |
|
5075 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1574
|
5076 |
msgid ""
|
5077 |
"The maximum percentage a users view of a movie can differ from the actual "
|
5078 |
"length."
|
5079 |
msgstr ""
|
5080 |
|
5081 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-hooks.php:1577
|
5082 |
msgid ""
|
5083 |
"Do not set this value to zero! A lot of thing can happen while a user "
|
5084 |
"watches a movie and sometimes a few seconds can drop of the counter due to "
|
5085 |
"buffering or play back errors."
|
5086 |
msgstr ""
|
5087 |
|
5088 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:24
|
5089 |
msgid "Activity Log"
|
5090 |
msgstr ""
|
5091 |
|
5092 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:175
|
5093 |
msgid "Show all references"
|
5094 |
msgstr ""
|
5095 |
|
5096 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:194
|
5097 |
msgid "Show in order"
|
5098 |
msgstr ""
|
5099 |
|
5100 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:207
|
5101 |
msgid "Filter"
|
5102 |
msgstr ""
|
5103 |
|
5104 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:233
|
5105 |
#, php-format
|
5106 |
msgid "Showing %d %s"
|
5107 |
msgstr ""
|
5108 |
|
5109 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:233
|
5110 |
msgid "entry"
|
5111 |
msgstr ""
|
5112 |
|
5113 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/modules/mycred-module-log.php:252
|
5114 |
msgid "Search results for"
|
5115 |
msgstr ""
|
5116 |
|
5117 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:16
|
5118 |
msgid "BadgeOS"
|
5119 |
msgstr ""
|
5120 |
|
5121 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:17
|
5122 |
msgid ""
|
5123 |
"Default settings for each BadgeOS Achievement type. These settings may be "
|
5124 |
"overridden for individual achievement type."
|
5125 |
msgstr ""
|
5126 |
|
5127 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:93
|
5128 |
#, php-format
|
5129 |
msgid ""
|
5130 |
"Please setup your <a href=\"%s\">default settings</a> before using this "
|
5131 |
"feature."
|
5132 |
msgstr ""
|
5133 |
|
5134 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:104
|
5135 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:106
|
5136 |
msgid "%plural% to Award"
|
5137 |
msgstr ""
|
5138 |
|
5139 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:108
|
5140 |
msgid "Use zero to disable"
|
5141 |
msgstr ""
|
5142 |
|
5143 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:119
|
5144 |
msgid "Deduction Log Template"
|
5145 |
msgstr ""
|
5146 |
|
5147 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:255
|
5148 |
#, php-format
|
5149 |
msgid "Default %s for %s"
|
5150 |
msgstr ""
|
5151 |
|
5152 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:262
|
5153 |
msgid "Use zero to disable users gaining %_plural%"
|
5154 |
msgstr ""
|
5155 |
|
5156 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:266
|
5157 |
msgid "Default Log template"
|
5158 |
msgstr ""
|
5159 |
|
5160 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-badgeOS.php:272
|
5161 |
msgid "Deduct %_plural% if user looses "
|
5162 |
msgstr ""
|
5163 |
|
5164 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:16
|
5165 |
msgid "bbPress"
|
5166 |
msgstr ""
|
5167 |
|
5168 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:17
|
5169 |
msgid "Awards %_plural% for bbPress actions."
|
5170 |
msgstr ""
|
5171 |
|
5172 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:433
|
5173 |
msgid "%plural% for New Forum"
|
5174 |
msgstr ""
|
5175 |
|
5176 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:446
|
5177 |
msgid "%plural% for Forum Deletion"
|
5178 |
msgstr ""
|
5179 |
|
5180 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:459
|
5181 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:306
|
5182 |
msgid "%plural% for New Topic"
|
5183 |
msgstr ""
|
5184 |
|
5185 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:473
|
5186 |
msgid "Forum authors can receive %_plural% for creating new topics."
|
5187 |
msgstr ""
|
5188 |
|
5189 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:477
|
5190 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:537
|
5191 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:319
|
5192 |
msgid "%plural% for Topic Deletion"
|
5193 |
msgstr ""
|
5194 |
|
5195 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:490
|
5196 |
msgid "%plural% for Favorited Topic"
|
5197 |
msgstr ""
|
5198 |
|
5199 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:505
|
5200 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:529
|
5201 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:352
|
5202 |
msgid "Use zero for unlimited"
|
5203 |
msgstr ""
|
5204 |
|
5205 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:509
|
5206 |
msgid "%plural% for New Reply"
|
5207 |
msgstr ""
|
5208 |
|
5209 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:523
|
5210 |
msgid "Topic authors can receive %_plural% for replying to their own Topic"
|
5211 |
msgstr ""
|
5212 |
|
5213 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-bbPress.php:533
|
5214 |
msgid "Show users %_plural% balance in replies"
|
5215 |
msgstr ""
|
5216 |
|
5217 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-contact-form7.php:16
|
5218 |
msgid "Contact Form 7 Form Submissions"
|
5219 |
msgstr ""
|
5220 |
|
5221 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-contact-form7.php:17
|
5222 |
msgid "Awards %_plural% for successful form submissions (by logged in users)."
|
5223 |
msgstr ""
|
5224 |
|
5225 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-contact-form7.php:108
|
5226 |
msgid "No forms found."
|
5227 |
msgstr ""
|
5228 |
|
5229 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-events-manager-light.php:16
|
5230 |
msgid "Events Manager"
|
5231 |
msgstr ""
|
5232 |
|
5233 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-events-manager-light.php:17
|
5234 |
msgid "Awards %_plural% for users attending events."
|
5235 |
msgstr ""
|
5236 |
|
5237 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-events-manager-light.php:140
|
5238 |
msgid "Attending Event"
|
5239 |
msgstr ""
|
5240 |
|
5241 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-events-manager-light.php:150
|
5242 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-events-manager-light.php:163
|
5243 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-favorite-posts.php:134
|
5244 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-favorite-posts.php:147
|
5245 |
msgid "Available template tags: General and Post Related"
|
5246 |
msgstr ""
|
5247 |
|
5248 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-events-manager-light.php:153
|
5249 |
msgid "Cancelling Attendance"
|
5250 |
msgstr ""
|
5251 |
|
5252 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-gd-star-rating.php:16
|
5253 |
msgid "GD Star Rating"
|
5254 |
msgstr ""
|
5255 |
|
5256 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-gd-star-rating.php:17
|
5257 |
msgid "Awards %_plural% for users rate items using the GD Star Rating plugin."
|
5258 |
msgstr ""
|
5259 |
|
5260 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-gd-star-rating.php:99
|
5261 |
msgid "Rating"
|
5262 |
msgstr ""
|
5263 |
|
5264 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-gd-star-rating.php:112
|
5265 |
msgid "Up / Down Vote"
|
5266 |
msgstr ""
|
5267 |
|
5268 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:16
|
5269 |
msgid "Invite Anyone Plugin"
|
5270 |
msgstr ""
|
5271 |
|
5272 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:17
|
5273 |
msgid ""
|
5274 |
"Awards %_plural% for sending invitations and/or %_plural% if the invite is "
|
5275 |
"accepted."
|
5276 |
msgstr ""
|
5277 |
|
5278 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:135
|
5279 |
msgid "%plural% for Sending An Invite"
|
5280 |
msgstr ""
|
5281 |
|
5282 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:151
|
5283 |
msgid ""
|
5284 |
"Maximum number of invites that grants %_plural%. Use zero for unlimited."
|
5285 |
msgstr ""
|
5286 |
|
5287 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:155
|
5288 |
msgid "%plural% for Accepting An Invite"
|
5289 |
msgstr ""
|
5290 |
|
5291 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:159
|
5292 |
msgid "%plural% for each invited user that accepts an invitation."
|
5293 |
msgstr ""
|
5294 |
|
5295 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-invite-anyone.php:172
|
5296 |
msgid ""
|
5297 |
"Maximum number of accepted invitations that grants %_plural%. Use zero for "
|
5298 |
"unlimited."
|
5299 |
msgstr ""
|
5300 |
|
5301 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-jetpack.php:16
|
5302 |
msgid "Jetpack Subscriptions"
|
5303 |
msgstr ""
|
5304 |
|
5305 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-jetpack.php:17
|
5306 |
msgid ""
|
5307 |
"Awards %_plural% for users signing up for site or comment updates using "
|
5308 |
"Jetpack."
|
5309 |
msgstr ""
|
5310 |
|
5311 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-jetpack.php:490
|
5312 |
msgid "Site Subscriptions"
|
5313 |
msgstr ""
|
5314 |
|
5315 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-jetpack.php:503
|
5316 |
msgid "Comment Subscriptions"
|
5317 |
msgstr ""
|
5318 |
|
5319 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:16
|
5320 |
+
msgid "Simple:Press"
|
5321 |
+
msgstr ""
|
5322 |
+
|
5323 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:17
|
5324 |
+
msgid "Awards %_plural% for Simple:Press actions."
|
5325 |
+
msgstr ""
|
5326 |
+
|
5327 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:315
|
5328 |
+
msgid "Available template tag: General and %topic_name%"
|
5329 |
+
msgstr ""
|
5330 |
+
|
5331 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:332
|
5332 |
+
msgid "%plural% for New Topic Post"
|
5333 |
+
msgstr ""
|
5334 |
+
|
5335 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:346
|
5336 |
+
msgid "Topic authors can receive %_plural% for posting on their own Topic"
|
5337 |
+
msgstr ""
|
5338 |
+
|
5339 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-simplepress.php:356
|
5340 |
+
msgid "%plural% for Topic Post Deletion"
|
5341 |
+
msgstr ""
|
5342 |
+
|
5343 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-favorite-posts.php:16
|
5344 |
msgid "WP Favorite Posts"
|
5345 |
msgstr ""
|
5346 |
|
5347 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-favorite-posts.php:17
|
5348 |
msgid "Awards %_plural% for users adding posts to their favorites."
|
5349 |
msgstr ""
|
5350 |
|
5351 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-favorite-posts.php:124
|
5352 |
msgid "Adding Content to Favorites"
|
5353 |
msgstr ""
|
5354 |
|
5355 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-favorite-posts.php:137
|
5356 |
msgid "Removing Content from Favorites"
|
5357 |
msgstr ""
|
5358 |
|
5359 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-polls.php:16
|
5360 |
msgid "WP-Polls"
|
5361 |
msgstr ""
|
5362 |
|
5363 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-polls.php:17
|
5364 |
msgid "Awards %_plural% for users voting in polls."
|
5365 |
msgstr ""
|
5366 |
|
5367 |
+
#: /Users/gabriel/Repositories/mycred/tags/1.3.3/plugins/mycred-hook-wp-polls.php:136
|
5368 |
msgid ""
|
5369 |
"Available template tags: General. You can also use %poll_id% and "
|
5370 |
"%poll_question%."
|
modules/mycred-module-addons.php
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
<?php
|
2 |
-
if ( !defined( 'myCRED_VERSION' ) ) exit;
|
|
|
3 |
/**
|
4 |
* myCRED_Addons class
|
5 |
* @since 0.1
|
6 |
* @version 1.1
|
7 |
*/
|
8 |
-
if ( !class_exists( 'myCRED_Addons' ) ) {
|
9 |
class myCRED_Addons extends myCRED_Module {
|
10 |
|
11 |
/**
|
@@ -43,7 +44,7 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
43 |
$num = 0;
|
44 |
|
45 |
// Make sure each active add-on still exists. If not delete.
|
46 |
-
if ( !empty( $active ) ) {
|
47 |
$active = array_unique( $active );
|
48 |
$_active = array();
|
49 |
foreach ( $active as $pos => $active_id ) {
|
@@ -83,7 +84,7 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
83 |
'active' => $active
|
84 |
);
|
85 |
|
86 |
-
if ( !function_exists( 'update_option' ) )
|
87 |
include_once( ABSPATH . 'wp-includes/option.php' );
|
88 |
|
89 |
if ( mycred_override_settings() )
|
@@ -144,10 +145,10 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
144 |
$installed = array();
|
145 |
// Search for addons. should be in addons/*/myCRED-addon-*.php
|
146 |
$addon_search = glob( $addon_location . "*/$prefix*.php" );
|
147 |
-
if ( !empty( $addon_search ) && $addon_search !== false ) {
|
148 |
foreach ( $addon_search as $filename ) {
|
149 |
// Handle windows and WP Stage support by clariner
|
150 |
-
if ( !defined( 'WP_STAGE' ) ) {
|
151 |
$abspath = str_replace( '/', '', ABSPATH );
|
152 |
// Remove ABSPATH to prevent long string addresses. Everything starts with wp-content
|
153 |
$sub_file = str_replace( array( $abspath, ABSPATH ), '', $filename );
|
@@ -161,11 +162,11 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
161 |
// Get Addon Information
|
162 |
$addon_info = $this->get_addon_info( $filename, $matches[1], $sub_file_name );
|
163 |
// Check if addon has a requirement to prevent errors due to calls to non existing functions
|
164 |
-
if ( isset( $addon_info['requires'] ) && !empty( $addon_info['requires'] ) && !function_exists( $addon_info['requires'] ) ) {
|
165 |
continue;
|
166 |
}
|
167 |
// Prevent Duplicates
|
168 |
-
if ( !array_key_exists( $sub_file_name, $installed ) ) {
|
169 |
$installed[$this->make_id( $sub_file_name )] = $addon_info;
|
170 |
}
|
171 |
}
|
@@ -203,7 +204,7 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
203 |
* @version 1.1
|
204 |
*/
|
205 |
public function get_addon_info( $file = false, $folder = false, $sub = '' ) {
|
206 |
-
if (
|
207 |
// Details we want
|
208 |
$addon_details = array(
|
209 |
'name' => 'Addon',
|
@@ -235,7 +236,7 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
235 |
if ( array_key_exists( $key, $installed ) ) {
|
236 |
$file = $installed[$key]['file'];
|
237 |
// WP Stage Support by clariner
|
238 |
-
if ( !defined( 'WP_STAGE' ) )
|
239 |
return ABSPATH . $installed[$key]['folder'] . $file;
|
240 |
else
|
241 |
return $installed[$key]['folder'] . $file;
|
@@ -250,14 +251,14 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
250 |
*/
|
251 |
public function admin_page() {
|
252 |
// Security
|
253 |
-
if (
|
254 |
|
255 |
// Get installed
|
256 |
$installed = $this->get( true ); ?>
|
257 |
|
258 |
<div class="wrap" id="myCRED-wrap">
|
259 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
260 |
-
<h2><?php echo
|
261 |
<?php
|
262 |
// Message
|
263 |
if ( isset( $_GET['addon_action'] ) ) {
|
@@ -271,7 +272,7 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
271 |
<div class="list-items expandable-li" id="accordion">
|
272 |
<?php
|
273 |
// Loop though installed
|
274 |
-
if ( !empty( $installed ) ) {
|
275 |
foreach ( $installed as $key => $data ) { ?>
|
276 |
|
277 |
<h4><div class="icon icon-<?php if ( $this->is_active( $key ) ) echo 'active'; else echo 'inactive'; echo ' ' . $key; ?>"></div><label><?php _e( $this->core->template_tags_general( $data['name'] ), 'mycred' ); ?></label></h4>
|
@@ -325,21 +326,21 @@ if ( !class_exists( 'myCRED_Addons' ) ) {
|
|
325 |
* @version 1.0.1
|
326 |
*/
|
327 |
public function addon_links( $key ) {
|
328 |
-
$data = $this->installed[$key];
|
329 |
|
330 |
// Add-on Details
|
331 |
$info = array();
|
332 |
if ( isset( $data['version'] ) )
|
333 |
$info[] = __( 'Version', 'mycred' ) . ' ' . $data['version'];
|
334 |
|
335 |
-
if ( isset( $data['author_uri'] ) && !empty( $data['author_uri'] ) && isset( $data['author'] ) && !empty( $data['author'] ) )
|
336 |
$info[] = __( 'By', 'mycred' ) . ' <a href="' . $data['author_uri'] . '" target="_blank">' . $data['author'] . '</a>';
|
337 |
|
338 |
-
if ( isset( $data['addon_uri'] ) && !empty( $data['addon_uri'] ) )
|
339 |
$info[] = ' <a href="' . $data['addon_uri'] . '" target="_blank">' . __( 'Documentation', 'mycred' ) . '</a>';
|
340 |
|
341 |
unset( $data );
|
342 |
-
if ( !empty( $info ) )
|
343 |
return implode( ' | ', $info );
|
344 |
else
|
345 |
return $info;
|
1 |
<?php
|
2 |
+
if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
3 |
+
|
4 |
/**
|
5 |
* myCRED_Addons class
|
6 |
* @since 0.1
|
7 |
* @version 1.1
|
8 |
*/
|
9 |
+
if ( ! class_exists( 'myCRED_Addons' ) ) {
|
10 |
class myCRED_Addons extends myCRED_Module {
|
11 |
|
12 |
/**
|
44 |
$num = 0;
|
45 |
|
46 |
// Make sure each active add-on still exists. If not delete.
|
47 |
+
if ( ! empty( $active ) ) {
|
48 |
$active = array_unique( $active );
|
49 |
$_active = array();
|
50 |
foreach ( $active as $pos => $active_id ) {
|
84 |
'active' => $active
|
85 |
);
|
86 |
|
87 |
+
if ( ! function_exists( 'update_option' ) )
|
88 |
include_once( ABSPATH . 'wp-includes/option.php' );
|
89 |
|
90 |
if ( mycred_override_settings() )
|
145 |
$installed = array();
|
146 |
// Search for addons. should be in addons/*/myCRED-addon-*.php
|
147 |
$addon_search = glob( $addon_location . "*/$prefix*.php" );
|
148 |
+
if ( ! empty( $addon_search ) && $addon_search !== false ) {
|
149 |
foreach ( $addon_search as $filename ) {
|
150 |
// Handle windows and WP Stage support by clariner
|
151 |
+
if ( ! defined( 'WP_STAGE' ) ) {
|
152 |
$abspath = str_replace( '/', '', ABSPATH );
|
153 |
// Remove ABSPATH to prevent long string addresses. Everything starts with wp-content
|
154 |
$sub_file = str_replace( array( $abspath, ABSPATH ), '', $filename );
|
162 |
// Get Addon Information
|
163 |
$addon_info = $this->get_addon_info( $filename, $matches[1], $sub_file_name );
|
164 |
// Check if addon has a requirement to prevent errors due to calls to non existing functions
|
165 |
+
if ( isset( $addon_info['requires'] ) && !empty( $addon_info['requires'] ) && ! function_exists( $addon_info['requires'] ) ) {
|
166 |
continue;
|
167 |
}
|
168 |
// Prevent Duplicates
|
169 |
+
if ( ! array_key_exists( $sub_file_name, $installed ) ) {
|
170 |
$installed[$this->make_id( $sub_file_name )] = $addon_info;
|
171 |
}
|
172 |
}
|
204 |
* @version 1.1
|
205 |
*/
|
206 |
public function get_addon_info( $file = false, $folder = false, $sub = '' ) {
|
207 |
+
if ( ! $file ) return;
|
208 |
// Details we want
|
209 |
$addon_details = array(
|
210 |
'name' => 'Addon',
|
236 |
if ( array_key_exists( $key, $installed ) ) {
|
237 |
$file = $installed[$key]['file'];
|
238 |
// WP Stage Support by clariner
|
239 |
+
if ( ! defined( 'WP_STAGE' ) )
|
240 |
return ABSPATH . $installed[$key]['folder'] . $file;
|
241 |
else
|
242 |
return $installed[$key]['folder'] . $file;
|
251 |
*/
|
252 |
public function admin_page() {
|
253 |
// Security
|
254 |
+
if ( ! $this->core->can_edit_plugin( get_current_user_id() ) ) wp_die( __( 'Access Denied' ) );
|
255 |
|
256 |
// Get installed
|
257 |
$installed = $this->get( true ); ?>
|
258 |
|
259 |
<div class="wrap" id="myCRED-wrap">
|
260 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
261 |
+
<h2><?php echo sprintf( __( '%s Add-ons', 'mycred' ), mycred_label() ); ?></h2>
|
262 |
<?php
|
263 |
// Message
|
264 |
if ( isset( $_GET['addon_action'] ) ) {
|
272 |
<div class="list-items expandable-li" id="accordion">
|
273 |
<?php
|
274 |
// Loop though installed
|
275 |
+
if ( ! empty( $installed ) ) {
|
276 |
foreach ( $installed as $key => $data ) { ?>
|
277 |
|
278 |
<h4><div class="icon icon-<?php if ( $this->is_active( $key ) ) echo 'active'; else echo 'inactive'; echo ' ' . $key; ?>"></div><label><?php _e( $this->core->template_tags_general( $data['name'] ), 'mycred' ); ?></label></h4>
|
326 |
* @version 1.0.1
|
327 |
*/
|
328 |
public function addon_links( $key ) {
|
329 |
+
$data = $this->installed[ $key ];
|
330 |
|
331 |
// Add-on Details
|
332 |
$info = array();
|
333 |
if ( isset( $data['version'] ) )
|
334 |
$info[] = __( 'Version', 'mycred' ) . ' ' . $data['version'];
|
335 |
|
336 |
+
if ( isset( $data['author_uri'] ) && ! empty( $data['author_uri'] ) && isset( $data['author'] ) && ! empty( $data['author'] ) )
|
337 |
$info[] = __( 'By', 'mycred' ) . ' <a href="' . $data['author_uri'] . '" target="_blank">' . $data['author'] . '</a>';
|
338 |
|
339 |
+
if ( isset( $data['addon_uri'] ) && ! empty( $data['addon_uri'] ) )
|
340 |
$info[] = ' <a href="' . $data['addon_uri'] . '" target="_blank">' . __( 'Documentation', 'mycred' ) . '</a>';
|
341 |
|
342 |
unset( $data );
|
343 |
+
if ( ! empty( $info ) )
|
344 |
return implode( ' | ', $info );
|
345 |
else
|
346 |
return $info;
|
modules/mycred-module-general.php
CHANGED
@@ -209,19 +209,17 @@ h4.ui-accordion-header:before { content: "<?php _e( 'click to open', 'mycred' );
|
|
209 |
/**
|
210 |
* Admin Page
|
211 |
* @since 0.1
|
212 |
-
* @version 1.3
|
213 |
*/
|
214 |
public function admin_page() {
|
215 |
if ( !$this->core->can_edit_plugin( get_current_user_id() ) ) wp_die( __( 'Access Denied', 'mycred' ) );
|
216 |
|
217 |
// General Settings
|
218 |
-
$general = $this->general;
|
219 |
-
|
220 |
-
$plugin_name = apply_filters( 'mycred_label', myCRED_NAME ); ?>
|
221 |
|
222 |
<div class="wrap list" id="myCRED-wrap">
|
223 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
224 |
-
<h2><?php echo
|
225 |
<?php
|
226 |
// Updated settings
|
227 |
if ( isset( $_GET['settings-updated'] ) && $_GET['settings-updated'] == true ) {
|
@@ -408,7 +406,7 @@ h4.ui-accordion-header:before { content: "<?php _e( 'click to open', 'mycred' );
|
|
408 |
<li>
|
409 |
<label><?php _e( 'Import Log Entry', 'mycred' ); ?>:</label><br />
|
410 |
<input type="text" id="mycred-export-log-template" value="" class="regular-text" /><br />
|
411 |
-
<span class="description"><?php echo sprintf( __( 'Optional log entry to use if you intend to import this file in a different %s installation.', 'mycred' ),
|
412 |
</li>
|
413 |
<li class="action">
|
414 |
<input type="button" id="mycred-run-exporter" value="<?php _e( 'Export', 'mycred' ); ?>" class="button button-large button-primary" />
|
209 |
/**
|
210 |
* Admin Page
|
211 |
* @since 0.1
|
212 |
+
* @version 1.3.1
|
213 |
*/
|
214 |
public function admin_page() {
|
215 |
if ( !$this->core->can_edit_plugin( get_current_user_id() ) ) wp_die( __( 'Access Denied', 'mycred' ) );
|
216 |
|
217 |
// General Settings
|
218 |
+
$general = $this->general; ?>
|
|
|
|
|
219 |
|
220 |
<div class="wrap list" id="myCRED-wrap">
|
221 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
222 |
+
<h2><?php echo sprintf( __( '%s Settings', 'mycred' ), mycred_label() ); ?> <?php echo myCRED_VERSION; ?></h2>
|
223 |
<?php
|
224 |
// Updated settings
|
225 |
if ( isset( $_GET['settings-updated'] ) && $_GET['settings-updated'] == true ) {
|
406 |
<li>
|
407 |
<label><?php _e( 'Import Log Entry', 'mycred' ); ?>:</label><br />
|
408 |
<input type="text" id="mycred-export-log-template" value="" class="regular-text" /><br />
|
409 |
+
<span class="description"><?php echo sprintf( __( 'Optional log entry to use if you intend to import this file in a different %s installation.', 'mycred' ), mycred_label() ); ?></span>
|
410 |
</li>
|
411 |
<li class="action">
|
412 |
<input type="button" id="mycred-run-exporter" value="<?php _e( 'Export', 'mycred' ); ?>" class="button button-large button-primary" />
|
modules/mycred-module-hooks.php
CHANGED
@@ -153,7 +153,7 @@ if ( !class_exists( 'myCRED_Hooks' ) ) {
|
|
153 |
|
154 |
<div class="wrap" id="myCRED-wrap">
|
155 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
156 |
-
<h2><?php echo
|
157 |
<?php if ( isset( $_GET['settings-updated'] ) && $_GET['settings-updated'] == true )
|
158 |
echo '<div class="updated settings-error"><p>' . __( 'Settings Updated', 'mycred' ) . '</p></div>'; ?>
|
159 |
|
@@ -1136,7 +1136,7 @@ if ( !class_exists( 'myCRED_Hook_Click_Links' ) ) {
|
|
1136 |
/**
|
1137 |
* AJAX Call Handler
|
1138 |
* @since 1.1
|
1139 |
-
* @version 1.3.
|
1140 |
*/
|
1141 |
public function ajax_call_link_points() {
|
1142 |
// We must be logged in
|
@@ -1155,11 +1155,8 @@ if ( !class_exists( 'myCRED_Hook_Click_Links' ) ) {
|
|
1155 |
if ( ! isset( $_POST['key'] ) ) die( json_encode( 300 ) );
|
1156 |
require_once( myCRED_INCLUDES_DIR . 'mycred-protect.php' );
|
1157 |
$protect = new myCRED_Protect();
|
1158 |
-
$
|
1159 |
-
if (
|
1160 |
-
|
1161 |
-
$amount = trim( $key[0] );
|
1162 |
-
$id = trim( $key[1] );
|
1163 |
|
1164 |
// Amount
|
1165 |
if ( $amount == 0 )
|
@@ -1268,37 +1265,60 @@ if ( !class_exists( 'myCRED_Hook_Video_Views' ) ) {
|
|
1268 |
* @version 1.0
|
1269 |
*/
|
1270 |
public function run() {
|
1271 |
-
add_action( 'mycred_front_enqueue',
|
1272 |
-
add_shortcode( 'mycred_video',
|
1273 |
-
add_action( 'wp_ajax_mycred-
|
|
|
1274 |
}
|
1275 |
|
1276 |
/**
|
1277 |
* Register Script
|
1278 |
* @since 1.2
|
1279 |
-
* @version 1.
|
1280 |
*/
|
1281 |
public function register_script() {
|
1282 |
wp_register_script(
|
1283 |
'mycred-video-points',
|
1284 |
plugins_url( 'assets/js/video.js', myCRED_THIS ),
|
1285 |
-
array( 'jquery'
|
1286 |
myCRED_VERSION . '.1',
|
1287 |
true
|
1288 |
);
|
|
|
1289 |
wp_localize_script(
|
1290 |
'mycred-video-points',
|
1291 |
-
'
|
1292 |
array(
|
1293 |
-
'ajaxurl'
|
1294 |
-
'token'
|
1295 |
-
'
|
1296 |
-
'
|
1297 |
-
'amount' => $this->prefs['creds'],
|
1298 |
-
'user_id' => get_current_user_id()
|
1299 |
)
|
1300 |
);
|
1301 |
wp_enqueue_script( 'mycred-video-points' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1302 |
}
|
1303 |
|
1304 |
/**
|
@@ -1313,67 +1333,102 @@ if ( !class_exists( 'myCRED_Hook_Video_Views' ) ) {
|
|
1313 |
// Security
|
1314 |
check_ajax_referer( 'mycred-video-points', 'token' );
|
1315 |
|
1316 |
-
|
1317 |
-
$
|
1318 |
-
|
1319 |
-
//
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
|
1325 |
-
//
|
1326 |
-
if (
|
1327 |
-
$logic = $_POST['logic'];
|
1328 |
-
else
|
1329 |
-
$logic = $this->prefs['logic'];
|
1330 |
|
1331 |
-
//
|
1332 |
-
|
1333 |
-
|
1334 |
-
else
|
1335 |
-
$interval = abs( $this->prefs['interval'] );
|
1336 |
-
|
1337 |
-
$video_id = trim( $_POST['video_id'] );
|
1338 |
-
$state = trim( $_POST['video_state'] );
|
1339 |
-
$duration = abs( $_POST['video_length'] );
|
1340 |
|
1341 |
-
|
1342 |
-
$
|
1343 |
-
$
|
|
|
|
|
1344 |
|
1345 |
// Apply Leniency
|
1346 |
-
$leniency = $duration*($this->prefs['leniency']/100);
|
1347 |
$leniency = floor( $leniency );
|
1348 |
-
$watched = $
|
1349 |
|
1350 |
-
|
1351 |
-
if ( $logic == 'play' ) {
|
1352 |
-
if ( $state == 1 && !$this->has_entry( 'watching_video', '', $user_id, $video_id ) ) {
|
1353 |
-
$award = true;
|
1354 |
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
'',
|
1362 |
-
|
1363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1364 |
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1377 |
'watching_video',
|
1378 |
$user_id,
|
1379 |
$amount,
|
@@ -1382,52 +1437,55 @@ if ( !class_exists( 'myCRED_Hook_Video_Views' ) ) {
|
|
1382 |
$video_id
|
1383 |
);
|
1384 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1385 |
$status = 'max';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1386 |
}
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
elseif ( $logic == 'interval' ) {
|
1391 |
-
// The maximum points a video can earn you
|
1392 |
-
$num_intervals = floor( $duration / $interval );
|
1393 |
-
$max = abs( $num_intervals * $amount );
|
1394 |
-
$users_log = $this->get_users_video_log( $video_id, $user_id );
|
1395 |
-
// Film is playing and we just started
|
1396 |
-
if ( $state == 1 && $users_log === NULL ) {
|
1397 |
-
$award = true;
|
1398 |
-
// Execute
|
1399 |
-
$this->core->add_creds(
|
1400 |
-
'watching_video',
|
1401 |
-
$user_id,
|
1402 |
-
$amount,
|
1403 |
-
$this->prefs['log'],
|
1404 |
-
'',
|
1405 |
-
$video_id
|
1406 |
-
);
|
1407 |
-
}
|
1408 |
-
// Film is playing and we have not yet reached maximum on this movie
|
1409 |
-
elseif ( $state == 1 && isset( $users_log->creds ) && $users_log->creds+$amount <= $max ) {
|
1410 |
-
$award = true;
|
1411 |
-
$this->update_creds( $users_log->id, $user_id, $users_log->creds+$amount );
|
1412 |
-
$this->core->update_users_balance( $user_id, $amount );
|
1413 |
-
$amount = $users_log->creds+$amount;
|
1414 |
-
}
|
1415 |
-
// Film has ended and we have not reached maximum
|
1416 |
-
elseif ( $state == 0 && isset( $users_log->creds ) && $users_log->creds+$amount <= $max ) {
|
1417 |
-
$award = true;
|
1418 |
-
$this->update_creds( $users_log->id, $user_id, $users_log->creds+$amount );
|
1419 |
-
$this->core->update_users_balance( $user_id, $amount );
|
1420 |
-
$amount = $users_log->creds+$amount;
|
1421 |
-
$status = 'max';
|
1422 |
-
}
|
1423 |
}
|
1424 |
|
1425 |
-
|
1426 |
'status' => $status,
|
1427 |
'video_id' => $video_id,
|
1428 |
-
'amount' => $amount
|
1429 |
-
|
1430 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1431 |
}
|
1432 |
|
1433 |
/**
|
153 |
|
154 |
<div class="wrap" id="myCRED-wrap">
|
155 |
<div id="icon-myCRED" class="icon32"><br /></div>
|
156 |
+
<h2><?php echo sprintf( __( '%s Hooks', 'mycred' ), mycred_label() ); ?></h2>
|
157 |
<?php if ( isset( $_GET['settings-updated'] ) && $_GET['settings-updated'] == true )
|
158 |
echo '<div class="updated settings-error"><p>' . __( 'Settings Updated', 'mycred' ) . '</p></div>'; ?>
|
159 |
|
1136 |
/**
|
1137 |
* AJAX Call Handler
|
1138 |
* @since 1.1
|
1139 |
+
* @version 1.3.2
|
1140 |
*/
|
1141 |
public function ajax_call_link_points() {
|
1142 |
// We must be logged in
|
1155 |
if ( ! isset( $_POST['key'] ) ) die( json_encode( 300 ) );
|
1156 |
require_once( myCRED_INCLUDES_DIR . 'mycred-protect.php' );
|
1157 |
$protect = new myCRED_Protect();
|
1158 |
+
list ( $amount, $id ) = array_pad( explode( ':', $protect->do_decode( $_POST['key'] ) ), 2, '' );
|
1159 |
+
if ( $amount == '' || $id == '' ) die( json_encode( $_POST['key'] ) );
|
|
|
|
|
|
|
1160 |
|
1161 |
// Amount
|
1162 |
if ( $amount == 0 )
|
1265 |
* @version 1.0
|
1266 |
*/
|
1267 |
public function run() {
|
1268 |
+
add_action( 'mycred_front_enqueue', array( $this, 'register_script' ) );
|
1269 |
+
add_shortcode( 'mycred_video', 'mycred_render_shortcode_video' );
|
1270 |
+
add_action( 'wp_ajax_mycred-viewing-videos', array( $this, 'ajax_call_video_points' ) );
|
1271 |
+
add_action( 'wp_footer', array( $this, 'footer' ) );
|
1272 |
}
|
1273 |
|
1274 |
/**
|
1275 |
* Register Script
|
1276 |
* @since 1.2
|
1277 |
+
* @version 1.1
|
1278 |
*/
|
1279 |
public function register_script() {
|
1280 |
wp_register_script(
|
1281 |
'mycred-video-points',
|
1282 |
plugins_url( 'assets/js/video.js', myCRED_THIS ),
|
1283 |
+
array( 'jquery' ),
|
1284 |
myCRED_VERSION . '.1',
|
1285 |
true
|
1286 |
);
|
1287 |
+
|
1288 |
wp_localize_script(
|
1289 |
'mycred-video-points',
|
1290 |
+
'myCRED_Video',
|
1291 |
array(
|
1292 |
+
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
1293 |
+
'token' => wp_create_nonce( 'mycred-video-points' ),
|
1294 |
+
'default_interval' => abs( $this->prefs['interval']*1000 ),
|
1295 |
+
'default_logic' => $this->prefs['logic']
|
|
|
|
|
1296 |
)
|
1297 |
);
|
1298 |
wp_enqueue_script( 'mycred-video-points' );
|
1299 |
+
|
1300 |
+
wp_register_script(
|
1301 |
+
'mycred-video-youtube',
|
1302 |
+
plugins_url( 'assets/js/youtube.js', myCRED_THIS ),
|
1303 |
+
array( 'jquery' ),
|
1304 |
+
myCRED_VERSION . '.1',
|
1305 |
+
true
|
1306 |
+
);
|
1307 |
+
}
|
1308 |
+
|
1309 |
+
/**
|
1310 |
+
* Load Scripts in Footer
|
1311 |
+
* @since 1.3.3
|
1312 |
+
* @version 1.0
|
1313 |
+
*/
|
1314 |
+
public function footer() {
|
1315 |
+
global $mycred_video_points;
|
1316 |
+
|
1317 |
+
if ( isset( $mycred_video_points ) ) {
|
1318 |
+
// If youtube videos are used
|
1319 |
+
if ( in_array( 'youtube', $mycred_video_points ) )
|
1320 |
+
wp_enqueue_script( 'mycred-video-youtube' );
|
1321 |
+
}
|
1322 |
}
|
1323 |
|
1324 |
/**
|
1333 |
// Security
|
1334 |
check_ajax_referer( 'mycred-video-points', 'token' );
|
1335 |
|
1336 |
+
// Get user id
|
1337 |
+
$user_id = get_current_user_id();
|
1338 |
+
|
1339 |
+
// Decode the key giving us the video shortcode setup
|
1340 |
+
// This will prevent users from manipulating the shortcode output
|
1341 |
+
$protect = mycred_protect();
|
1342 |
+
$setup = $protect->do_decode( $_POST['setup'] );
|
1343 |
+
list ( $source, $video_id, $amount, $logic, $interval ) = array_pad( explode( ':', $setup ), 5, '' );
|
1344 |
|
1345 |
+
// Required
|
1346 |
+
if ( empty( $source ) || empty( $video_id ) ) die();
|
|
|
|
|
|
|
1347 |
|
1348 |
+
// Prep
|
1349 |
+
$amount = $this->core->number( $amount );
|
1350 |
+
$interval = abs( $interval / 1000 );
|
|
|
|
|
|
|
|
|
|
|
|
|
1351 |
|
1352 |
+
// Get playback details
|
1353 |
+
$actions = trim( $_POST['video_a'] );
|
1354 |
+
$seconds = abs( $_POST['video_b'] );
|
1355 |
+
$duration = abs( $_POST['video_c'] );
|
1356 |
+
$state = absint( $_POST['video_d'] );
|
1357 |
|
1358 |
// Apply Leniency
|
1359 |
+
$leniency = $duration * ( $this->prefs['leniency'] / 100 );
|
1360 |
$leniency = floor( $leniency );
|
1361 |
+
$watched = $seconds + $leniency;
|
1362 |
|
1363 |
+
$status = 'silence';
|
|
|
|
|
|
|
1364 |
|
1365 |
+
switch ( $logic ) {
|
1366 |
+
|
1367 |
+
// Award points when video starts
|
1368 |
+
case 'play' :
|
1369 |
+
|
1370 |
+
if ( $state == 1 ) {
|
1371 |
+
if ( ! $this->has_entry( 'watching_video', '', $user_id, $video_id ) ) {
|
1372 |
+
// Execute
|
1373 |
+
$this->core->add_creds(
|
1374 |
+
'watching_video',
|
1375 |
+
$user_id,
|
1376 |
+
$amount,
|
1377 |
+
$this->prefs['log'],
|
1378 |
+
'',
|
1379 |
+
$video_id
|
1380 |
+
);
|
1381 |
+
|
1382 |
+
$status = 'added';
|
1383 |
+
}
|
1384 |
+
else {
|
1385 |
+
$status = 'max';
|
1386 |
+
}
|
1387 |
+
}
|
1388 |
|
1389 |
+
break;
|
1390 |
+
|
1391 |
+
// Award points when video is viewed in full
|
1392 |
+
case 'full' :
|
1393 |
+
|
1394 |
+
// Check for skipping or if we watched more (with leniency) then the video length
|
1395 |
+
if ( ! preg_match( '/22/', $actions, $matches ) || $watched >= $duration ) {
|
1396 |
+
if ( $state == 0 ) {
|
1397 |
+
if ( ! $this->has_entry( 'watching_video', '', $user_id, $video_id ) ) {
|
1398 |
+
// Execute
|
1399 |
+
$this->core->add_creds(
|
1400 |
+
'watching_video',
|
1401 |
+
$user_id,
|
1402 |
+
$amount,
|
1403 |
+
$this->prefs['log'],
|
1404 |
+
'',
|
1405 |
+
$video_id
|
1406 |
+
);
|
1407 |
+
|
1408 |
+
$status = 'added';
|
1409 |
+
}
|
1410 |
+
else {
|
1411 |
+
$status = 'max';
|
1412 |
+
}
|
1413 |
+
}
|
1414 |
+
}
|
1415 |
+
|
1416 |
+
break;
|
1417 |
+
|
1418 |
+
// Award points in intervals
|
1419 |
+
case 'interval' :
|
1420 |
+
|
1421 |
+
// The maximum points a video can earn you
|
1422 |
+
$num_intervals = floor( $duration / $interval );
|
1423 |
+
$max = abs( $num_intervals * $amount );
|
1424 |
+
$users_log = $this->get_users_video_log( $video_id, $user_id );
|
1425 |
+
|
1426 |
+
// Film is playing and we just started
|
1427 |
+
if ( $state == 1 && $users_log === NULL ) {
|
1428 |
+
// Add points without using mycred_add to prevent
|
1429 |
+
// notifications from being sent as this amount will change.
|
1430 |
+
$this->core->update_users_balance( $user_id, $amount );
|
1431 |
+
$this->core->add_to_log(
|
1432 |
'watching_video',
|
1433 |
$user_id,
|
1434 |
$amount,
|
1437 |
$video_id
|
1438 |
);
|
1439 |
|
1440 |
+
$status = 'added';
|
1441 |
+
}
|
1442 |
+
|
1443 |
+
// Film is playing and we have not yet reached maximum on this movie
|
1444 |
+
elseif ( $state == 1 && isset( $users_log->creds ) && $users_log->creds+$amount <= $max ) {
|
1445 |
+
$this->update_creds( $users_log->id, $user_id, $users_log->creds+$amount );
|
1446 |
+
$this->core->update_users_balance( $user_id, $amount );
|
1447 |
+
$amount = $users_log->creds+$amount;
|
1448 |
+
|
1449 |
+
$status = 'added';
|
1450 |
+
}
|
1451 |
+
|
1452 |
+
// Film has ended and we have not reached maximum
|
1453 |
+
elseif ( $state == 0 && isset( $users_log->creds ) && $users_log->creds+$amount <= $max ) {
|
1454 |
+
$this->update_creds( $users_log->id, $user_id, $users_log->creds+$amount );
|
1455 |
+
$this->core->update_users_balance( $user_id, $amount );
|
1456 |
+
$amount = $users_log->creds+$amount;
|
1457 |
+
|
1458 |
$status = 'max';
|
1459 |
+
|
1460 |
+
// If enabled, add notification
|
1461 |
+
if ( function_exists( 'mycred_add_new_notice' ) ) {
|
1462 |
+
if ( $amount < 0 )
|
1463 |
+
$color = '<';
|
1464 |
+
else
|
1465 |
+
$color = '>';
|
1466 |
+
|
1467 |
+
$message = str_replace( '%amount%', $amount, $this->prefs['template'] );
|
1468 |
+
if ( ! empty( $message ) )
|
1469 |
+
mycred_add_new_notice( array( 'user_id' => $user_id, 'message' => $message, 'color' => $color ) );
|
1470 |
+
}
|
1471 |
}
|
1472 |
+
|
1473 |
+
|
1474 |
+
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1475 |
}
|
1476 |
|
1477 |
+
die( json_encode( array(
|
1478 |
'status' => $status,
|
1479 |
'video_id' => $video_id,
|
1480 |
+
'amount' => $amount,
|
1481 |
+
'duration' => $duration,
|
1482 |
+
'seconds' => $seconds,
|
1483 |
+
'watched' => $watched,
|
1484 |
+
'actions' => $actions,
|
1485 |
+
'state' => $state,
|
1486 |
+
'logic' => $logic,
|
1487 |
+
'interval' => $interval
|
1488 |
+
) ) );
|
1489 |
}
|
1490 |
|
1491 |
/**
|
modules/mycred-module-log.php
CHANGED
@@ -253,7 +253,7 @@ if ( !class_exists( 'myCRED_Log' ) ) {
|
|
253 |
else
|
254 |
$search_for = '';
|
255 |
|
256 |
-
echo
|
257 |
}
|
258 |
|
259 |
/**
|
@@ -284,6 +284,15 @@ if ( !class_exists( 'myCRED_Log' ) ) {
|
|
284 |
|
285 |
if ( isset( $_GET['order'] ) && !empty( $_GET['order'] ) )
|
286 |
$args['order'] = $_GET['order'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
|
288 |
$log = new myCRED_Query_Log( $args ); ?>
|
289 |
|
253 |
else
|
254 |
$search_for = '';
|
255 |
|
256 |
+
echo mycred_label() . ' ' . $title . ' ' . $link . $search_for;
|
257 |
}
|
258 |
|
259 |
/**
|
284 |
|
285 |
if ( isset( $_GET['order'] ) && !empty( $_GET['order'] ) )
|
286 |
$args['order'] = $_GET['order'];
|
287 |
+
|
288 |
+
if ( isset( $_GET['start'] ) && isset( $_GET['end'] ) )
|
289 |
+
$args['amount'] = array( 'start' => $_GET['start'], 'end' => $_GET['end'] );
|
290 |
+
|
291 |
+
elseif ( isset( $_GET['num'] ) && isset( $_GET['compare'] ) )
|
292 |
+
$args['amount'] = array( 'num' => $_GET['num'], 'compare' => $_GET['compare'] );
|
293 |
+
|
294 |
+
elseif ( isset( $_GET['amount'] ) )
|
295 |
+
$args['amount'] = $_GET['amount'];
|
296 |
|
297 |
$log = new myCRED_Query_Log( $args ); ?>
|
298 |
|
mycred.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: myCRED
|
4 |
* Plugin URI: http://mycred.me
|
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.3.
|
7 |
* Tags: points, tokens, credit, management, reward, charge
|
8 |
* Author: Gabriel S Merovingi
|
9 |
* Author URI: http://www.merovingi.com
|
@@ -14,8 +14,13 @@
|
|
14 |
* Domain Path: /lang
|
15 |
* License: GPLv2 or later
|
16 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
|
|
|
|
|
|
|
17 |
*/
|
18 |
-
define( 'myCRED_VERSION', '1.3.
|
19 |
define( 'myCRED_SLUG', 'mycred' );
|
20 |
define( 'myCRED_NAME', '<strong>my</strong>CRED' );
|
21 |
|
@@ -66,21 +71,21 @@ function mycred_load() {
|
|
66 |
require_once( myCRED_INCLUDES_DIR . 'mycred-remote.php' );
|
67 |
require_once( myCRED_INCLUDES_DIR . 'mycred-log.php' );
|
68 |
require_once( myCRED_INCLUDES_DIR . 'mycred-network.php' );
|
69 |
-
|
|
|
70 |
// Bail now if the setup needs to run
|
71 |
if ( is_mycred_ready() === false ) return;
|
72 |
-
|
73 |
require_once( myCRED_INCLUDES_DIR . 'mycred-rankings.php' );
|
74 |
-
require_once( myCRED_INCLUDES_DIR . 'mycred-shortcodes.php' );
|
75 |
require_once( myCRED_INCLUDES_DIR . 'mycred-widgets.php' );
|
76 |
-
|
77 |
// Add-ons
|
78 |
require_once( myCRED_MODULES_DIR . 'mycred-module-addons.php' );
|
79 |
$addons = new myCRED_Addons();
|
80 |
$addons->load();
|
81 |
-
|
82 |
do_action( 'mycred_ready' );
|
83 |
-
|
84 |
add_action( 'init', 'mycred_init' );
|
85 |
add_action( 'widgets_init', 'mycred_widgets_init' );
|
86 |
add_action( 'admin_init', 'mycred_admin_init' );
|
@@ -166,7 +171,9 @@ function mycred_plugin_start_up()
|
|
166 |
{
|
167 |
global $mycred;
|
168 |
$mycred = new myCRED_Settings();
|
169 |
-
|
|
|
|
|
170 |
// Load Translation
|
171 |
load_plugin_textdomain( 'mycred', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
|
172 |
|
@@ -212,6 +219,9 @@ function mycred_plugin_start_up()
|
|
212 |
if ( defined( 'STARRATING_DEBUG' ) )
|
213 |
require_once( myCRED_PLUGINS_DIR . 'mycred-hook-gd-star-rating.php' );
|
214 |
|
|
|
|
|
|
|
215 |
// Load Settings
|
216 |
require_once( myCRED_MODULES_DIR . 'mycred-module-general.php' );
|
217 |
$settings = new myCRED_General();
|
@@ -289,14 +299,16 @@ function mycred_admin_init()
|
|
289 |
$admin = new myCRED_Admin();
|
290 |
$admin->load();
|
291 |
|
|
|
|
|
292 |
// Let others play
|
293 |
do_action( 'mycred_admin_init' );
|
294 |
|
295 |
if ( get_transient( '_mycred_activation_redirect' ) === apply_filters( 'mycred_active_redirect', false ) )
|
296 |
return;
|
297 |
-
|
298 |
delete_transient( '_mycred_activation_redirect' );
|
299 |
-
|
300 |
$url = add_query_arg( array( 'page' => 'mycred' ), admin_url( 'index.php' ) );
|
301 |
wp_safe_redirect( $url );
|
302 |
die;
|
@@ -360,8 +372,8 @@ function mycred_hook_into_toolbar( $wp_admin_bar )
|
|
360 |
function mycred_admin_menu()
|
361 |
{
|
362 |
$mycred = mycred_get_settings();
|
363 |
-
$name =
|
364 |
-
|
365 |
$pages = array();
|
366 |
$pages[] = add_menu_page(
|
367 |
$name,
|
@@ -371,7 +383,7 @@ function mycred_admin_menu()
|
|
371 |
'',
|
372 |
''
|
373 |
);
|
374 |
-
|
375 |
$about_label = sprintf( __( 'About %s', 'mycred' ), $name );
|
376 |
$pages[] = add_dashboard_page(
|
377 |
$about_label,
|
@@ -380,7 +392,7 @@ function mycred_admin_menu()
|
|
380 |
'mycred',
|
381 |
'mycred_about_page'
|
382 |
);
|
383 |
-
|
384 |
$cred_label = __( 'Awesome People', 'mycred' );
|
385 |
$pages[] = add_dashboard_page(
|
386 |
$cred_label,
|
@@ -389,7 +401,7 @@ function mycred_admin_menu()
|
|
389 |
'mycred-credit',
|
390 |
'mycred_about_credit_page'
|
391 |
);
|
392 |
-
|
393 |
foreach ( $pages as $page )
|
394 |
add_action( 'admin_print_styles-' . $page, 'mycred_admin_page_styles' );
|
395 |
|
@@ -435,7 +447,7 @@ function mycred_enqueue_front()
|
|
435 |
/**
|
436 |
* Enqueue Admin
|
437 |
* @since 1.3
|
438 |
-
* @version 1.2
|
439 |
*/
|
440 |
function mycred_enqueue_admin()
|
441 |
{
|
@@ -504,6 +516,13 @@ function mycred_enqueue_admin()
|
|
504 |
myCRED_VERSION . '.1',
|
505 |
'all'
|
506 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
|
508 |
// Let others play
|
509 |
do_action( 'mycred_admin_enqueue' );
|
@@ -527,8 +546,7 @@ function mycred_admin_page_styles()
|
|
527 |
add_action( 'mycred_reset_key', 'mycred_reset_key' );
|
528 |
function mycred_reset_key()
|
529 |
{
|
530 |
-
|
531 |
-
$protect = new myCRED_Protect();
|
532 |
$protect->reset_key();
|
533 |
}
|
534 |
|
3 |
* Plugin Name: myCRED
|
4 |
* Plugin URI: http://mycred.me
|
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.3.3
|
7 |
* Tags: points, tokens, credit, management, reward, charge
|
8 |
* Author: Gabriel S Merovingi
|
9 |
* Author URI: http://www.merovingi.com
|
14 |
* Domain Path: /lang
|
15 |
* License: GPLv2 or later
|
16 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
17 |
+
* SSL Compatible: yes
|
18 |
+
* bbPress® Compatible: yes
|
19 |
+
* WordPress® Compatible: yes
|
20 |
+
* BuddyPress® Compatible: yes
|
21 |
+
* Forum URI: http://mycred.me/support/forums/
|
22 |
*/
|
23 |
+
define( 'myCRED_VERSION', '1.3.3' );
|
24 |
define( 'myCRED_SLUG', 'mycred' );
|
25 |
define( 'myCRED_NAME', '<strong>my</strong>CRED' );
|
26 |
|
71 |
require_once( myCRED_INCLUDES_DIR . 'mycred-remote.php' );
|
72 |
require_once( myCRED_INCLUDES_DIR . 'mycred-log.php' );
|
73 |
require_once( myCRED_INCLUDES_DIR . 'mycred-network.php' );
|
74 |
+
require_once( myCRED_INCLUDES_DIR . 'mycred-protect.php' );
|
75 |
+
|
76 |
// Bail now if the setup needs to run
|
77 |
if ( is_mycred_ready() === false ) return;
|
78 |
+
|
79 |
require_once( myCRED_INCLUDES_DIR . 'mycred-rankings.php' );
|
|
|
80 |
require_once( myCRED_INCLUDES_DIR . 'mycred-widgets.php' );
|
81 |
+
|
82 |
// Add-ons
|
83 |
require_once( myCRED_MODULES_DIR . 'mycred-module-addons.php' );
|
84 |
$addons = new myCRED_Addons();
|
85 |
$addons->load();
|
86 |
+
|
87 |
do_action( 'mycred_ready' );
|
88 |
+
|
89 |
add_action( 'init', 'mycred_init' );
|
90 |
add_action( 'widgets_init', 'mycred_widgets_init' );
|
91 |
add_action( 'admin_init', 'mycred_admin_init' );
|
171 |
{
|
172 |
global $mycred;
|
173 |
$mycred = new myCRED_Settings();
|
174 |
+
|
175 |
+
require_once( myCRED_INCLUDES_DIR . 'mycred-shortcodes.php' );
|
176 |
+
|
177 |
// Load Translation
|
178 |
load_plugin_textdomain( 'mycred', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
|
179 |
|
219 |
if ( defined( 'STARRATING_DEBUG' ) )
|
220 |
require_once( myCRED_PLUGINS_DIR . 'mycred-hook-gd-star-rating.php' );
|
221 |
|
222 |
+
if ( defined( 'SFTOPICS' ) )
|
223 |
+
require_once( myCRED_PLUGINS_DIR . 'mycred-hook-simplepress.php' );
|
224 |
+
|
225 |
// Load Settings
|
226 |
require_once( myCRED_MODULES_DIR . 'mycred-module-general.php' );
|
227 |
$settings = new myCRED_General();
|
299 |
$admin = new myCRED_Admin();
|
300 |
$admin->load();
|
301 |
|
302 |
+
require_once( myCRED_INCLUDES_DIR . 'mycred-overview.php' );
|
303 |
+
|
304 |
// Let others play
|
305 |
do_action( 'mycred_admin_init' );
|
306 |
|
307 |
if ( get_transient( '_mycred_activation_redirect' ) === apply_filters( 'mycred_active_redirect', false ) )
|
308 |
return;
|
309 |
+
|
310 |
delete_transient( '_mycred_activation_redirect' );
|
311 |
+
|
312 |
$url = add_query_arg( array( 'page' => 'mycred' ), admin_url( 'index.php' ) );
|
313 |
wp_safe_redirect( $url );
|
314 |
die;
|
372 |
function mycred_admin_menu()
|
373 |
{
|
374 |
$mycred = mycred_get_settings();
|
375 |
+
$name = mycred_label( true );
|
376 |
+
|
377 |
$pages = array();
|
378 |
$pages[] = add_menu_page(
|
379 |
$name,
|
383 |
'',
|
384 |
''
|
385 |
);
|
386 |
+
|
387 |
$about_label = sprintf( __( 'About %s', 'mycred' ), $name );
|
388 |
$pages[] = add_dashboard_page(
|
389 |
$about_label,
|
392 |
'mycred',
|
393 |
'mycred_about_page'
|
394 |
);
|
395 |
+
|
396 |
$cred_label = __( 'Awesome People', 'mycred' );
|
397 |
$pages[] = add_dashboard_page(
|
398 |
$cred_label,
|
401 |
'mycred-credit',
|
402 |
'mycred_about_credit_page'
|
403 |
);
|
404 |
+
|
405 |
foreach ( $pages as $page )
|
406 |
add_action( 'admin_print_styles-' . $page, 'mycred_admin_page_styles' );
|
407 |
|
447 |
/**
|
448 |
* Enqueue Admin
|
449 |
* @since 1.3
|
450 |
+
* @version 1.2.1
|
451 |
*/
|
452 |
function mycred_enqueue_admin()
|
453 |
{
|
516 |
myCRED_VERSION . '.1',
|
517 |
'all'
|
518 |
);
|
519 |
+
wp_register_style(
|
520 |
+
'mycred-dashboard-overview',
|
521 |
+
plugins_url( 'assets/css/overview.css', myCRED_THIS ),
|
522 |
+
false,
|
523 |
+
myCRED_VERSION . '.1',
|
524 |
+
'all'
|
525 |
+
);
|
526 |
|
527 |
// Let others play
|
528 |
do_action( 'mycred_admin_enqueue' );
|
546 |
add_action( 'mycred_reset_key', 'mycred_reset_key' );
|
547 |
function mycred_reset_key()
|
548 |
{
|
549 |
+
$protect = mycred_protect();
|
|
|
550 |
$protect->reset_key();
|
551 |
}
|
552 |
|
plugins/mycred-hook-bbPress.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* bbPress
|
4 |
* @since 0.1
|
5 |
-
* @version 1.2
|
6 |
*/
|
7 |
if ( defined( 'myCRED_VERSION' ) ) {
|
8 |
/**
|
@@ -36,7 +36,7 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
36 |
/**
|
37 |
* Insert Points Balance in Profile
|
38 |
* @since 0.1
|
39 |
-
* @version 1.
|
40 |
*/
|
41 |
add_action( 'bbp_template_after_user_profile', 'mycred_bbp_add_balance_in_profile' );
|
42 |
function mycred_bbp_add_balance_in_profile() {
|
@@ -46,7 +46,9 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
46 |
if ( $mycred->exclude_user( $user_id ) ) return;
|
47 |
|
48 |
$balance = $mycred->get_users_cred( $user_id );
|
49 |
-
|
|
|
|
|
50 |
}
|
51 |
|
52 |
/**
|
@@ -54,8 +56,9 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
54 |
* @since 0.1
|
55 |
* @version 1.2
|
56 |
*/
|
57 |
-
if ( !class_exists( 'myCRED_bbPress' ) && class_exists( 'myCRED_Hook' ) ) {
|
58 |
class myCRED_bbPress extends myCRED_Hook {
|
|
|
59 |
/**
|
60 |
* Construct
|
61 |
*/
|
@@ -244,7 +247,7 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
244 |
* Topic Added to Favorites
|
245 |
* @by Fee (http://wordpress.org/support/profile/wdfee)
|
246 |
* @since 1.1.1
|
247 |
-
* @version 1.2
|
248 |
*/
|
249 |
public function fav_topic( $user_id, $topic_id ) {
|
250 |
// $user_id is loggedin_user, not author, so get topic author
|
@@ -257,7 +260,8 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
257 |
if ( $this->core->exclude_user( $topic_author ) || $topic_author == $user_id ) return;
|
258 |
|
259 |
// Make sure this is a unique event (favorite not from same user)
|
260 |
-
|
|
|
261 |
|
262 |
// Execute
|
263 |
$this->core->add_creds(
|
@@ -266,7 +270,7 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
266 |
$this->prefs['fav_topic']['creds'],
|
267 |
$this->prefs['fav_topic']['log'],
|
268 |
$topic_id,
|
269 |
-
|
270 |
);
|
271 |
|
272 |
// Update Limit
|
@@ -276,7 +280,7 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
276 |
/**
|
277 |
* New Reply
|
278 |
* @since 0.1
|
279 |
-
* @version 1.2
|
280 |
*/
|
281 |
public function new_reply( $reply_id, $topic_id, $forum_id, $anonymous_data, $reply_author ) {
|
282 |
// Check if user is excluded
|
@@ -304,13 +308,13 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
304 |
);
|
305 |
|
306 |
// Update Limit
|
307 |
-
$this->update_daily_limit( $
|
308 |
}
|
309 |
|
310 |
/**
|
311 |
* Delete Reply
|
312 |
* @since 1.2
|
313 |
-
* @version 1.
|
314 |
*/
|
315 |
public function delete_reply( $reply_id ) {
|
316 |
// Get Author
|
@@ -329,35 +333,54 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
329 |
array( 'ref_type' => 'post' )
|
330 |
);
|
331 |
|
|
|
|
|
|
|
332 |
}
|
333 |
}
|
334 |
|
335 |
/**
|
336 |
* Insert Balance
|
337 |
* @since 0.1
|
338 |
-
* @version 1.
|
339 |
*/
|
340 |
public function insert_balance() {
|
341 |
$reply_id = bbp_get_reply_id();
|
|
|
|
|
342 |
if ( bbp_is_reply_anonymous( $reply_id ) ) return;
|
343 |
|
344 |
-
|
345 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
}
|
347 |
|
348 |
/**
|
349 |
* Reched Daily Limit
|
350 |
* Checks if a user has reached their daily limit.
|
351 |
* @since 1.2
|
352 |
-
* @version 1.
|
353 |
*/
|
354 |
-
public function reached_daily_limit( $user_id, $
|
355 |
// No limit used
|
356 |
-
if ( $this->prefs[$
|
|
|
357 |
$today = date( 'Y-m-d' );
|
358 |
-
$current = get_user_meta( $user_id, 'mycred_bbp_limits_' . $
|
359 |
-
if ( empty( $current ) || !array_key_exists( $today,
|
360 |
-
|
|
|
|
|
361 |
return true;
|
362 |
}
|
363 |
|
@@ -365,20 +388,23 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
365 |
* Update Daily Limit
|
366 |
* Updates a given users daily limit.
|
367 |
* @since 1.2
|
368 |
-
* @version 1.
|
369 |
*/
|
370 |
-
public function update_daily_limit( $user_id, $
|
371 |
// No limit used
|
372 |
-
if ( $this->prefs[$
|
373 |
|
374 |
$today = date( 'Y-m-d' );
|
375 |
-
$current = get_user_meta( $user_id, 'mycred_bbp_limits_' . $
|
376 |
-
if ( empty( $current ) || !array_key_exists( $today,
|
377 |
-
$current[$today] = 0;
|
378 |
|
379 |
-
|
|
|
|
|
|
|
380 |
|
381 |
-
update_user_meta( $user_id, 'mycred_bbp_limits_' . $
|
382 |
}
|
383 |
|
384 |
/**
|
@@ -390,17 +416,17 @@ if ( defined( 'myCRED_VERSION' ) ) {
|
|
390 |
$prefs = $this->prefs;
|
391 |
|
392 |
// Update
|
393 |
-
if ( !isset( $prefs['show_points_in_reply'] ) )
|
394 |
$prefs['show_points_in_reply'] = 0;
|
395 |
-
if ( !isset( $prefs['new_topic']['author'] ) )
|
396 |
$prefs['new_topic']['author'] = 0;
|
397 |
-
if ( !isset( $prefs['fav_topic'] ) )
|
398 |
$prefs['fav_topic'] = array( 'creds' => 1, 'log' => '%plural% for someone favorited your forum topic' );
|
399 |
-
if ( !isset( $prefs['new_reply']['author'] ) )
|
400 |
$prefs['new_reply']['author'] = 0;
|
401 |
-
if ( !isset( $prefs['fav_topic']['limit'] ) )
|
402 |
$prefs['fav_topic']['limit'] = 0;
|
403 |
-
if ( !isset( $prefs['new_reply']['limit'] ) )
|
404 |
$prefs['new_reply']['limit'] = 0; ?>
|
405 |
|
406 |
<!-- Creds for New Forums -->
|
2 |
/**
|
3 |
* bbPress
|
4 |
* @since 0.1
|
5 |
+
* @version 1.2.1
|
6 |
*/
|
7 |
if ( defined( 'myCRED_VERSION' ) ) {
|
8 |
/**
|
36 |
/**
|
37 |
* Insert Points Balance in Profile
|
38 |
* @since 0.1
|
39 |
+
* @version 1.1
|
40 |
*/
|
41 |
add_action( 'bbp_template_after_user_profile', 'mycred_bbp_add_balance_in_profile' );
|
42 |
function mycred_bbp_add_balance_in_profile() {
|
46 |
if ( $mycred->exclude_user( $user_id ) ) return;
|
47 |
|
48 |
$balance = $mycred->get_users_cred( $user_id );
|
49 |
+
$layout = $mycred->plural() . ': ' . $mycred->format_creds( $balance );
|
50 |
+
$layout = apply_filters( 'mycred_bbp_authors_profile_balance', $layout, $balance, $user_id );
|
51 |
+
echo '<div class="users-mycred-balance">' . $layout . '</div>';
|
52 |
}
|
53 |
|
54 |
/**
|
56 |
* @since 0.1
|
57 |
* @version 1.2
|
58 |
*/
|
59 |
+
if ( ! class_exists( 'myCRED_bbPress' ) && class_exists( 'myCRED_Hook' ) ) {
|
60 |
class myCRED_bbPress extends myCRED_Hook {
|
61 |
+
|
62 |
/**
|
63 |
* Construct
|
64 |
*/
|
247 |
* Topic Added to Favorites
|
248 |
* @by Fee (http://wordpress.org/support/profile/wdfee)
|
249 |
* @since 1.1.1
|
250 |
+
* @version 1.2.1
|
251 |
*/
|
252 |
public function fav_topic( $user_id, $topic_id ) {
|
253 |
// $user_id is loggedin_user, not author, so get topic author
|
260 |
if ( $this->core->exclude_user( $topic_author ) || $topic_author == $user_id ) return;
|
261 |
|
262 |
// Make sure this is a unique event (favorite not from same user)
|
263 |
+
$data = array( 'ref_user' => $user_id, 'ref_type' => 'post' );
|
264 |
+
if ( $this->has_entry( 'topic_favorited', $topic_id, $topic_author, $data ) ) return;
|
265 |
|
266 |
// Execute
|
267 |
$this->core->add_creds(
|
270 |
$this->prefs['fav_topic']['creds'],
|
271 |
$this->prefs['fav_topic']['log'],
|
272 |
$topic_id,
|
273 |
+
$data
|
274 |
);
|
275 |
|
276 |
// Update Limit
|
280 |
/**
|
281 |
* New Reply
|
282 |
* @since 0.1
|
283 |
+
* @version 1.2.1
|
284 |
*/
|
285 |
public function new_reply( $reply_id, $topic_id, $forum_id, $anonymous_data, $reply_author ) {
|
286 |
// Check if user is excluded
|
308 |
);
|
309 |
|
310 |
// Update Limit
|
311 |
+
$this->update_daily_limit( $reply_author, 'new_reply' );
|
312 |
}
|
313 |
|
314 |
/**
|
315 |
* Delete Reply
|
316 |
* @since 1.2
|
317 |
+
* @version 1.1
|
318 |
*/
|
319 |
public function delete_reply( $reply_id ) {
|
320 |
// Get Author
|
333 |
array( 'ref_type' => 'post' )
|
334 |
);
|
335 |
|
336 |
+
// Update Limit
|
337 |
+
$this->update_daily_limit( $reply_author, 'new_reply', true );
|
338 |
+
|
339 |
}
|
340 |
}
|
341 |
|
342 |
/**
|
343 |
* Insert Balance
|
344 |
* @since 0.1
|
345 |
+
* @version 1.2
|
346 |
*/
|
347 |
public function insert_balance() {
|
348 |
$reply_id = bbp_get_reply_id();
|
349 |
+
|
350 |
+
// Skip Anonymous replies
|
351 |
if ( bbp_is_reply_anonymous( $reply_id ) ) return;
|
352 |
|
353 |
+
// Get reply author
|
354 |
+
$reply_author = bbp_get_reply_author_id( $reply_id );
|
355 |
+
|
356 |
+
// Check for exclusions and guests
|
357 |
+
if ( $this->core->exclude( $reply_author ) || $reply_id == 0 ) return;
|
358 |
+
|
359 |
+
// Get balance
|
360 |
+
$balance = $this->core->get_users_cred( $reply_author );
|
361 |
+
|
362 |
+
// Layout
|
363 |
+
$layout = $this->core->plural() . ': ' . $this->core->format_creds( $balance );
|
364 |
+
$layout = apply_filters( 'mycred_bbp_authors_balance', $layout, $balance, $reply_author );
|
365 |
+
echo '<div class="mycred-balance">' . $layout . '</div>';
|
366 |
}
|
367 |
|
368 |
/**
|
369 |
* Reched Daily Limit
|
370 |
* Checks if a user has reached their daily limit.
|
371 |
* @since 1.2
|
372 |
+
* @version 1.1
|
373 |
*/
|
374 |
+
public function reached_daily_limit( $user_id, $limit ) {
|
375 |
// No limit used
|
376 |
+
if ( $this->prefs[ $limit ]['limit'] == 0 ) return false;
|
377 |
+
|
378 |
$today = date( 'Y-m-d' );
|
379 |
+
$current = (array) get_user_meta( $user_id, 'mycred_bbp_limits_' . $limit, true );
|
380 |
+
if ( empty( $current ) || ! array_key_exists( $today, $current ) )
|
381 |
+
$current[ $today ] = 0;
|
382 |
+
|
383 |
+
if ( $current[ $today ] < $this->prefs[ $limit ]['limit'] ) return false;
|
384 |
return true;
|
385 |
}
|
386 |
|
388 |
* Update Daily Limit
|
389 |
* Updates a given users daily limit.
|
390 |
* @since 1.2
|
391 |
+
* @version 1.1
|
392 |
*/
|
393 |
+
public function update_daily_limit( $user_id, $limit, $remove = false ) {
|
394 |
// No limit used
|
395 |
+
if ( $this->prefs[ $limit ]['limit'] == 0 ) return;
|
396 |
|
397 |
$today = date( 'Y-m-d' );
|
398 |
+
$current = (array) get_user_meta( $user_id, 'mycred_bbp_limits_' . $limit, true );
|
399 |
+
if ( empty( $current ) || ! array_key_exists( $today, $current ) )
|
400 |
+
$current[ $today ] = 0;
|
401 |
|
402 |
+
if ( ! $remove )
|
403 |
+
$current[ $today ] = $current[ $today ]+1;
|
404 |
+
else
|
405 |
+
$current[ $today ] = $current[ $today ]-1;
|
406 |
|
407 |
+
update_user_meta( $user_id, 'mycred_bbp_limits_' . $limit, $current );
|
408 |
}
|
409 |
|
410 |
/**
|
416 |
$prefs = $this->prefs;
|
417 |
|
418 |
// Update
|
419 |
+
if ( ! isset( $prefs['show_points_in_reply'] ) )
|
420 |
$prefs['show_points_in_reply'] = 0;
|
421 |
+
if ( ! isset( $prefs['new_topic']['author'] ) )
|
422 |
$prefs['new_topic']['author'] = 0;
|
423 |
+
if ( ! isset( $prefs['fav_topic'] ) )
|
424 |
$prefs['fav_topic'] = array( 'creds' => 1, 'log' => '%plural% for someone favorited your forum topic' );
|
425 |
+
if ( ! isset( $prefs['new_reply']['author'] ) )
|
426 |
$prefs['new_reply']['author'] = 0;
|
427 |
+
if ( ! isset( $prefs['fav_topic']['limit'] ) )
|
428 |
$prefs['fav_topic']['limit'] = 0;
|
429 |
+
if ( ! isset( $prefs['new_reply']['limit'] ) )
|
430 |
$prefs['new_reply']['limit'] = 0; ?>
|
431 |
|
432 |
<!-- Creds for New Forums -->
|
plugins/mycred-hook-simplepress.php
ADDED
@@ -0,0 +1,386 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Simple:Press
|
4 |
+
* @since 1.3.3
|
5 |
+
* @version 1.0
|
6 |
+
*/
|
7 |
+
if ( defined( 'myCRED_VERSION' ) ) {
|
8 |
+
/**
|
9 |
+
* Register Hook
|
10 |
+
* @since 1.3.3
|
11 |
+
* @version 1.0
|
12 |
+
*/
|
13 |
+
add_filter( 'mycred_setup_hooks', 'SimplePress_myCRED_Hook' );
|
14 |
+
function SimplePress_myCRED_Hook( $installed ) {
|
15 |
+
$installed['hook_simplepress'] = array(
|
16 |
+
'title' => __( 'Simple:Press' ),
|
17 |
+
'description' => __( 'Awards %_plural% for Simple:Press actions.', 'mycred' ),
|
18 |
+
'callback' => array( 'myCRED_SimplePress' )
|
19 |
+
);
|
20 |
+
return $installed;
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Simple:Press Hook
|
25 |
+
* @since 1.3.3
|
26 |
+
* @version 1.0
|
27 |
+
*/
|
28 |
+
if ( ! class_exists( 'myCRED_SimplePress' ) && class_exists( 'myCRED_Hook' ) ) {
|
29 |
+
class myCRED_SimplePress extends myCRED_Hook {
|
30 |
+
/**
|
31 |
+
* Construct
|
32 |
+
*/
|
33 |
+
function __construct( $hook_prefs ) {
|
34 |
+
parent::__construct( array(
|
35 |
+
'id' => 'hook_simplepress',
|
36 |
+
'defaults' => array(
|
37 |
+
'new_topic' => array(
|
38 |
+
'creds' => 1,
|
39 |
+
'log' => '%plural% for new forum topic'
|
40 |
+
),
|
41 |
+
'delete_topic' => array(
|
42 |
+
'creds' => 0-1,
|
43 |
+
'log' => '%singular% deduction for deleted topic'
|
44 |
+
),
|
45 |
+
'new_post' => array(
|
46 |
+
'creds' => 1,
|
47 |
+
'log' => '%plural% for new topic post',
|
48 |
+
'author' => 0,
|
49 |
+
'limit' => 10,
|
50 |
+
),
|
51 |
+
'delete_post' => array(
|
52 |
+
'creds' => 0-1,
|
53 |
+
'log' => '%singular% deduction for deleted topic reply'
|
54 |
+
)
|
55 |
+
)
|
56 |
+
), $hook_prefs );
|
57 |
+
|
58 |
+
}
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Run
|
62 |
+
* @since 1.3.3
|
63 |
+
* @version 1.0
|
64 |
+
*/
|
65 |
+
public function run() {
|
66 |
+
// New Topic
|
67 |
+
if ( $this->prefs['new_topic']['creds'] != 0 )
|
68 |
+
add_action( 'sph_post_create', array( $this, 'new_topic' ) );
|
69 |
+
|
70 |
+
// Delete Topic
|
71 |
+
if ( $this->prefs['delete_topic']['creds'] != 0 )
|
72 |
+
add_action( 'sph_topic_delete', array( $this, 'delete_topic' ) );
|
73 |
+
|
74 |
+
// New Reply
|
75 |
+
if ( $this->prefs['new_post']['creds'] != 0 )
|
76 |
+
add_action( 'sph_post_create', array( $this, 'new_post' ) );
|
77 |
+
|
78 |
+
// Delete Reply
|
79 |
+
if ( $this->prefs['delete_post']['creds'] != 0 )
|
80 |
+
add_action( 'sph_post_delete', array( $this, 'delete_post' ) );
|
81 |
+
|
82 |
+
add_filter( 'mycred_parse_log_entry', array( $this, 'adjust_log_templates' ), 10, 2 );
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Custom Template Tags
|
87 |
+
* @since 1.3.3
|
88 |
+
* @version 1.0
|
89 |
+
*/
|
90 |
+
public function adjust_log_templates( $content, $log_entry ) {
|
91 |
+
if ( ! isset( $log_entry->ref ) || $log_entry->data != 'simplepress' ) return $content;
|
92 |
+
|
93 |
+
switch ( $log_entry->ref ) {
|
94 |
+
case 'new_forum_topic' :
|
95 |
+
|
96 |
+
global $wpdb;
|
97 |
+
$db = SFTOPICS;
|
98 |
+
$topic = $wpdb->get_row( $wpdb->prepare( "
|
99 |
+
SELECT *
|
100 |
+
FROM {$db}
|
101 |
+
WHERE user_id = %d
|
102 |
+
AND topic_id = %d;", $log_entry->user_id, $log_entry->ref_id ) );
|
103 |
+
|
104 |
+
// Topic name
|
105 |
+
$topic_name = '';
|
106 |
+
if ( isset( $topic->topic_name ) )
|
107 |
+
$topic_name = $topic->topic_name;
|
108 |
+
|
109 |
+
$content = str_replace( '%topic_name%', $topic_name, $content );
|
110 |
+
|
111 |
+
break;
|
112 |
+
}
|
113 |
+
|
114 |
+
return $content;
|
115 |
+
}
|
116 |
+
|
117 |
+
/**
|
118 |
+
* New Topic
|
119 |
+
* @since 1.3.3
|
120 |
+
* @version 1.0
|
121 |
+
*/
|
122 |
+
public function new_topic( $post ) {
|
123 |
+
if ( $post['action'] != 'topic' ) return;
|
124 |
+
|
125 |
+
// Topic details
|
126 |
+
$topic_author = $post['userid'];
|
127 |
+
|
128 |
+
$forum_id = $post['forumid'];
|
129 |
+
$topic_id = $post['topicid'];
|
130 |
+
|
131 |
+
// Check if user is excluded
|
132 |
+
if ( $this->core->exclude_user( $topic_author ) ) return;
|
133 |
+
|
134 |
+
// Make sure this is unique event
|
135 |
+
if ( $this->has_entry( 'new_forum_topic', $topic_id, $topic_author ) ) return;
|
136 |
+
|
137 |
+
// Execute
|
138 |
+
$this->core->add_creds(
|
139 |
+
'new_forum_topic',
|
140 |
+
$topic_author,
|
141 |
+
$this->prefs['new_topic']['creds'],
|
142 |
+
$this->prefs['new_topic']['log'],
|
143 |
+
$topic_id,
|
144 |
+
'simplepress'
|
145 |
+
);
|
146 |
+
}
|
147 |
+
|
148 |
+
/**
|
149 |
+
* Delete Topic
|
150 |
+
* @since 1.3.3
|
151 |
+
* @version 1.0
|
152 |
+
*/
|
153 |
+
public function delete_topic( $topic ) {
|
154 |
+
if ( $topic->user_id == 0 ) return;
|
155 |
+
|
156 |
+
// Topic details
|
157 |
+
$topic_author = $topic->user_id;
|
158 |
+
$topic_id = $topic->topic_id;
|
159 |
+
|
160 |
+
// If gained, points, deduct
|
161 |
+
if ( $this->has_entry( 'new_forum_topic', $topic_id, $topic_author ) ) {
|
162 |
+
|
163 |
+
// Execute
|
164 |
+
$this->core->add_creds(
|
165 |
+
'deleted_topic',
|
166 |
+
$topic_author,
|
167 |
+
$this->prefs['delete_topic']['creds'],
|
168 |
+
$this->prefs['delete_topic']['log'],
|
169 |
+
$topic_id,
|
170 |
+
'simplepress'
|
171 |
+
);
|
172 |
+
|
173 |
+
}
|
174 |
+
}
|
175 |
+
|
176 |
+
/**
|
177 |
+
* New Post
|
178 |
+
* @since 1.3.3
|
179 |
+
* @version 1.0
|
180 |
+
*/
|
181 |
+
public function new_post( $post ) {
|
182 |
+
if ( $post['action'] != 'post' ) return;
|
183 |
+
|
184 |
+
// Post details
|
185 |
+
$post_author = $post['userid'];
|
186 |
+
|
187 |
+
$post_id = $post['postid'];
|
188 |
+
$topic_id = $post['topicid'];
|
189 |
+
|
190 |
+
// Check if user is excluded
|
191 |
+
if ( $this->core->exclude_user( $post_author ) ) return;
|
192 |
+
|
193 |
+
// Check if topic author gets points for their own replies
|
194 |
+
if ( (bool) $this->prefs['new_post']['author'] === false ) {
|
195 |
+
if ( $this->get_topic_author( $topic_id ) == $post_author ) return;
|
196 |
+
}
|
197 |
+
|
198 |
+
// Check daily limit
|
199 |
+
if ( $this->reached_daily_limit( $post_author, 'new_post' ) ) return;
|
200 |
+
|
201 |
+
// Make sure this is unique event
|
202 |
+
if ( $this->has_entry( 'new_topic_post', $post_id, $post_author ) ) return;
|
203 |
+
|
204 |
+
// Execute
|
205 |
+
$this->core->add_creds(
|
206 |
+
'new_topic_post',
|
207 |
+
$post_author,
|
208 |
+
$this->prefs['new_post']['creds'],
|
209 |
+
$this->prefs['new_post']['log'],
|
210 |
+
$post_id,
|
211 |
+
'simplepress'
|
212 |
+
);
|
213 |
+
|
214 |
+
// Update Limit
|
215 |
+
$this->update_daily_limit( $post_author, 'new_post' );
|
216 |
+
}
|
217 |
+
|
218 |
+
/**
|
219 |
+
* Delete Post
|
220 |
+
* @since 1.3.3
|
221 |
+
* @version 1.0
|
222 |
+
*/
|
223 |
+
public function delete_post( $target ) {
|
224 |
+
if ( $target->user_id == 0 ) return;
|
225 |
+
|
226 |
+
// Post details
|
227 |
+
$post_author = $target->user_id;
|
228 |
+
$post_id = $target->post_id;
|
229 |
+
|
230 |
+
// If gained, points, deduct
|
231 |
+
if ( $this->has_entry( 'new_topic_post', $post_id, $post_author ) ) {
|
232 |
+
|
233 |
+
// Execute
|
234 |
+
$this->core->add_creds(
|
235 |
+
'deleted_topic_post',
|
236 |
+
$post_author,
|
237 |
+
$this->prefs['delete_post']['creds'],
|
238 |
+
$this->prefs['delete_post']['log'],
|
239 |
+
$post_id,
|
240 |
+
'simplepress'
|
241 |
+
);
|
242 |
+
|
243 |
+
}
|
244 |
+
}
|
245 |
+
|
246 |
+
/**
|
247 |
+
* Reched Daily Limit
|
248 |
+
* Checks if a user has reached their daily limit.
|
249 |
+
* @since 1.3.3
|
250 |
+
* @version 1.0
|
251 |
+
*/
|
252 |
+
public function reached_daily_limit( $user_id, $id ) {
|
253 |
+
// No limit used
|
254 |
+
if ( $this->prefs[ $id ]['limit'] == 0 ) return false;
|
255 |
+
$today = date( 'Y-m-d' );
|
256 |
+
$current = get_user_meta( $user_id, 'mycred_simplepress_limits_' . $id, true );
|
257 |
+
if ( empty( $current ) || ! array_key_exists( $today, (array) $current ) ) $current[$today] = 0;
|
258 |
+
if ( $current[ $today ] < $this->prefs[ $id ]['limit'] ) return false;
|
259 |
+
return true;
|
260 |
+
}
|
261 |
+
|
262 |
+
/**
|
263 |
+
* Update Daily Limit
|
264 |
+
* Updates a given users daily limit.
|
265 |
+
* @since 1.3.3
|
266 |
+
* @version 1.0
|
267 |
+
*/
|
268 |
+
public function update_daily_limit( $user_id, $id ) {
|
269 |
+
// No limit used
|
270 |
+
if ( $this->prefs[ $id ]['limit'] == 0 ) return;
|
271 |
+
|
272 |
+
$today = date( 'Y-m-d' );
|
273 |
+
$current = get_user_meta( $user_id, 'mycred_simplepress_limits_' . $id, true );
|
274 |
+
if ( empty( $current ) || ! array_key_exists( $today, (array) $current ) )
|
275 |
+
$current[ $today ] = 0;
|
276 |
+
|
277 |
+
$current[ $today ] = $current[ $today ]+1;
|
278 |
+
|
279 |
+
update_user_meta( $user_id, 'mycred_simplepress_limits_' . $id, $current );
|
280 |
+
}
|
281 |
+
|
282 |
+
/**
|
283 |
+
* Get SimplePress Topic Author ID
|
284 |
+
* @since 1.3.3
|
285 |
+
* @version 1.0
|
286 |
+
*/
|
287 |
+
public function get_topic_author( $topic_id = '' ) {
|
288 |
+
global $wpdb;
|
289 |
+
|
290 |
+
$db = SFTOPICS;
|
291 |
+
return $wpdb->get_var( $wpdb->prepare( "
|
292 |
+
SELECT user_id
|
293 |
+
FROM {$db}
|
294 |
+
WHERE topic_id = %d;", $topic_id ) );
|
295 |
+
}
|
296 |
+
|
297 |
+
/**
|
298 |
+
* Preferences
|
299 |
+
* @since 1.3.3
|
300 |
+
* @version 1.0
|
301 |
+
*/
|
302 |
+
public function preferences() {
|
303 |
+
$prefs = $this->prefs; ?>
|
304 |
+
|
305 |
+
<!-- Creds for New Topic -->
|
306 |
+
<label for="<?php echo $this->field_id( array( 'new_topic', 'creds' ) ); ?>" class="subheader"><?php echo $this->core->template_tags_general( __( '%plural% for New Topic', 'mycred' ) ); ?></label>
|
307 |
+
<ol id="">
|
308 |
+
<li>
|
309 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'new_topic', 'creds' ) ); ?>" id="<?php echo $this->field_id( array( 'new_topic', 'creds' ) ); ?>" value="<?php echo $this->core->number( $prefs['new_topic']['creds'] ); ?>" size="8" /></div>
|
310 |
+
</li>
|
311 |
+
<li class="empty"> </li>
|
312 |
+
<li>
|
313 |
+
<label for="<?php echo $this->field_id( array( 'new_topic', 'log' ) ); ?>"><?php _e( 'Log template', 'mycred' ); ?></label>
|
314 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'new_topic', 'log' ) ); ?>" id="<?php echo $this->field_id( array( 'new_topic', 'log' ) ); ?>" value="<?php echo $prefs['new_topic']['log']; ?>" class="long" /></div>
|
315 |
+
<span class="description"><?php _e( 'Available template tag: General and %topic_name%', 'mycred' ); ?></span>
|
316 |
+
</li>
|
317 |
+
</ol>
|
318 |
+
<!-- Creds for Deleting Topic -->
|
319 |
+
<label for="<?php echo $this->field_id( array( 'delete_topic', 'creds' ) ); ?>" class="subheader"><?php echo $this->core->template_tags_general( __( '%plural% for Topic Deletion', 'mycred' ) ); ?></label>
|
320 |
+
<ol id="">
|
321 |
+
<li>
|
322 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'delete_topic', 'creds' ) ); ?>" id="<?php echo $this->field_id( array( 'delete_topic', 'creds' ) ); ?>" value="<?php echo $this->core->number( $prefs['delete_topic']['creds'] ); ?>" size="8" /></div>
|
323 |
+
</li>
|
324 |
+
<li class="empty"> </li>
|
325 |
+
<li>
|
326 |
+
<label for="<?php echo $this->field_id( array( 'delete_topic', 'log' ) ); ?>"><?php _e( 'Log template', 'mycred' ); ?></label>
|
327 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'delete_topic', 'log' ) ); ?>" id="<?php echo $this->field_id( array( 'delete_topic', 'log' ) ); ?>" value="<?php echo $prefs['delete_topic']['log']; ?>" class="long" /></div>
|
328 |
+
<span class="description"><?php _e( 'Available template tags: General', 'mycred' ); ?></span>
|
329 |
+
</li>
|
330 |
+
</ol>
|
331 |
+
<!-- Creds for New Topic Post -->
|
332 |
+
<label for="<?php echo $this->field_id( array( 'new_post', 'creds' ) ); ?>" class="subheader"><?php echo $this->core->template_tags_general( __( '%plural% for New Topic Post', 'mycred' ) ); ?></label>
|
333 |
+
<ol id="">
|
334 |
+
<li>
|
335 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'new_post', 'creds' ) ); ?>" id="<?php echo $this->field_id( array( 'new_post', 'creds' ) ); ?>" value="<?php echo $this->core->number( $prefs['new_post']['creds'] ); ?>" size="8" /></div>
|
336 |
+
</li>
|
337 |
+
<li class="empty"> </li>
|
338 |
+
<li>
|
339 |
+
<label for="<?php echo $this->field_id( array( 'new_post', 'log' ) ); ?>"><?php _e( 'Log template', 'mycred' ); ?></label>
|
340 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'new_post', 'log' ) ); ?>" id="<?php echo $this->field_id( array( 'new_post', 'log' ) ); ?>" value="<?php echo $prefs['new_post']['log']; ?>" class="long" /></div>
|
341 |
+
<span class="description"><?php _e( 'Available template tags: General', 'mycred' ); ?></span>
|
342 |
+
</li>
|
343 |
+
<li class="empty"> </li>
|
344 |
+
<li>
|
345 |
+
<input type="checkbox" name="<?php echo $this->field_name( array( 'new_post' => 'author' ) ); ?>" id="<?php echo $this->field_id( array( 'new_post' => 'author' ) ); ?>" <?php checked( $prefs['new_post']['author'], 1 ); ?> value="1" />
|
346 |
+
<label for="<?php echo $this->field_id( array( 'new_post' => 'author' ) ); ?>"><?php echo $this->core->template_tags_general( __( 'Topic authors can receive %_plural% for posting on their own Topic', 'mycred' ) ); ?></label>
|
347 |
+
</li>
|
348 |
+
<li class="empty"> </li>
|
349 |
+
<li>
|
350 |
+
<label for="<?php echo $this->field_id( array( 'new_post', 'limit' ) ); ?>"><?php _e( 'Daily Limit', 'mycred' ); ?></label>
|
351 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'new_post', 'limit' ) ); ?>" id="<?php echo $this->field_id( array( 'new_post', 'limit' ) ); ?>" value="<?php echo abs( $prefs['new_post']['limit'] ); ?>" size="8" /></div>
|
352 |
+
<span class="description"><?php _e( 'Use zero for unlimited', 'mycred' ); ?></span>
|
353 |
+
</li>
|
354 |
+
</ol>
|
355 |
+
<!-- Creds for Deleting Post -->
|
356 |
+
<label for="<?php echo $this->field_id( array( 'delete_post', 'creds' ) ); ?>" class="subheader"><?php echo $this->core->template_tags_general( __( '%plural% for Topic Post Deletion', 'mycred' ) ); ?></label>
|
357 |
+
<ol id="">
|
358 |
+
<li>
|
359 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'delete_post', 'creds' ) ); ?>" id="<?php echo $this->field_id( array( 'delete_post', 'creds' ) ); ?>" value="<?php echo $this->core->number( $prefs['delete_post']['creds'] ); ?>" size="8" /></div>
|
360 |
+
</li>
|
361 |
+
<li class="empty"> </li>
|
362 |
+
<li>
|
363 |
+
<label for="<?php echo $this->field_id( array( 'delete_post', 'log' ) ); ?>"><?php _e( 'Log template', 'mycred' ); ?></label>
|
364 |
+
<div class="h2"><input type="text" name="<?php echo $this->field_name( array( 'delete_post', 'log' ) ); ?>" id="<?php echo $this->field_id( array( 'delete_post', 'log' ) ); ?>" value="<?php echo $prefs['delete_post']['log']; ?>" class="long" /></div>
|
365 |
+
<span class="description"><?php _e( 'Available template tags: General', 'mycred' ); ?></span>
|
366 |
+
</li>
|
367 |
+
</ol>
|
368 |
+
<?php unset( $this );
|
369 |
+
}
|
370 |
+
|
371 |
+
/**
|
372 |
+
* Sanitise Preference
|
373 |
+
* @since 1.3.3
|
374 |
+
* @version 1.0
|
375 |
+
*/
|
376 |
+
function sanitise_preferences( $data ) {
|
377 |
+
$new_data = $data;
|
378 |
+
|
379 |
+
$new_data['new_post']['author'] = ( isset( $data['new_post']['author'] ) ) ? $data['new_post']['author'] : 0;
|
380 |
+
|
381 |
+
return $new_data;
|
382 |
+
}
|
383 |
+
}
|
384 |
+
}
|
385 |
+
}
|
386 |
+
?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: designbymerovingi
|
|
3 |
Tags:points, tokens, credit, management, reward, charge, community, contest, BuddyPress, Jetpack, bbPress
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 3.7.1
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -15,11 +15,11 @@ I felt that todays WordPress community lacks a flexible points management system
|
|
15 |
|
16 |
So I built an adaptive plugin which gives it’s users full control on how points are awarded, used, traded, managed, logged and presented. Built on the "opt-in" principle, it is up to you what features you want to use and how. If your WordPress installation does not support a feature it is hidden from you to keep things clean and simple.
|
17 |
|
18 |
-
**my**CRED comes packed with features along with built-in support for some of the most popular WordPress plugins out there. But of course **my**CRED does not support everything out of the box so I have documented as much as possible in the **my**CRED codex and you can find several tutorials that can help you better acquaint yourself with **my**CRED.
|
19 |
|
20 |
I am here to help where ever I can but please remember that right now this is a one man show and I do need an occasional coffee break.
|
21 |
|
22 |
-
You are welcome to post your issues or questions under the "Support" tab but remember that **my**CRED has it's own online forum along with [F.A.Q.](http://mycred.me/about/faq/) page and [
|
23 |
|
24 |
**Hooks**
|
25 |
|
@@ -28,7 +28,7 @@ You are welcome to post your issues or questions under the "Support" tab but rem
|
|
28 |
|
29 |
**Add-ons**
|
30 |
|
31 |
-
**my**CRED add-ons allows you to enable more complex features that is not just about awarding / deducting points. Features include: Sell Content with points, Buy points for real money, transfer points between users, award ranks according to points balances and expand **my**CRED to work with BuddyPress. You can find a complete list of built-in and premium add-ons [here](http://mycred.me/add-ons/).
|
32 |
|
33 |
|
34 |
**The Codex**
|
@@ -41,17 +41,13 @@ If you are comfortable with PHP or have some experience with customising your Wo
|
|
41 |
* [Features](http://mycred.me/about/features/)
|
42 |
* [Hooks](http://mycred.me/about/hooks/)
|
43 |
* [F.A.Q.](http://mycred.me/about/faq/)
|
44 |
-
* [Add-ons](http://mycred.me/add-ons/)
|
45 |
* [Tutorials](http://mycred.me/support/tutorials/)
|
46 |
-
* [Known Issues](http://mycred.me/download/known-issues/)
|
47 |
* [Codex](http://codex.mycred.me/support/)
|
48 |
|
49 |
|
50 |
**Contact**
|
51 |
|
52 |
* [General Inquiries](http://mycred.me/contact/)
|
53 |
-
* [Bug Report](http://mycred.me/contact/report-bug/)
|
54 |
-
* [Request Feature](http://mycred.me/contact/request-feature/)
|
55 |
|
56 |
|
57 |
== Installation ==
|
@@ -122,8 +118,8 @@ Yes but if one of them is bought, all is shown. The mycred_sell_this shortcode w
|
|
122 |
|
123 |
== Upgrade Notice ==
|
124 |
|
125 |
-
= 1.3.
|
126 |
-
|
127 |
|
128 |
== Other Notes ==
|
129 |
|
@@ -138,6 +134,22 @@ Bug fixes, rank improvement, transfer improvement and security fixes
|
|
138 |
|
139 |
== Changelog ==
|
140 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
= 1.3.2 =
|
142 |
* Improved the Ranks add-on and added new management settings allowing to delete all ranks and re-assigning roles to users.
|
143 |
* Removed stray debug function in the general module.
|
3 |
Tags:points, tokens, credit, management, reward, charge, community, contest, BuddyPress, Jetpack, bbPress
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 3.7.1
|
6 |
+
Stable tag: 1.3.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
15 |
|
16 |
So I built an adaptive plugin which gives it’s users full control on how points are awarded, used, traded, managed, logged and presented. Built on the "opt-in" principle, it is up to you what features you want to use and how. If your WordPress installation does not support a feature it is hidden from you to keep things clean and simple.
|
17 |
|
18 |
+
**my**CRED comes packed with features along with built-in support for some of the most popular [WordPress plugins](http://mycred.me/about/supported-plugins/) out there. But of course **my**CRED does not support everything out of the box so I have documented as much as possible in the **my**CRED [codex](http://codex.mycred.me) and you can find several tutorials that can help you better acquaint yourself with **my**CRED.
|
19 |
|
20 |
I am here to help where ever I can but please remember that right now this is a one man show and I do need an occasional coffee break.
|
21 |
|
22 |
+
You are welcome to post your issues or questions under the "Support" tab but remember that **my**CRED has it's own [online forum](http://mycred.me/support/forums/) along with [F.A.Q.](http://mycred.me/about/faq/) page and an online [support page](http://mycred.me/support/).
|
23 |
|
24 |
**Hooks**
|
25 |
|
28 |
|
29 |
**Add-ons**
|
30 |
|
31 |
+
**my**CRED add-ons allows you to enable more complex features that is not just about awarding / deducting points. Features include: [Sell Content](http://mycred.me/add-ons/sell-content/) with points, [Buy points](http://mycred.me/add-ons/buycred/) for real money, [Transfer](http://mycred.me/add-ons/transfer/) points between users, award [ranks](http://mycred.me/add-ons/ranks/) according to points balances and expand **my**CRED to work with BuddyPress. You can find a complete list of [built-in](http://mycred.me/add-on-types/built-in/) and [premium](http://mycred.me/add-on-types/premium/) add-ons [here](http://mycred.me/add-ons/).
|
32 |
|
33 |
|
34 |
**The Codex**
|
41 |
* [Features](http://mycred.me/about/features/)
|
42 |
* [Hooks](http://mycred.me/about/hooks/)
|
43 |
* [F.A.Q.](http://mycred.me/about/faq/)
|
|
|
44 |
* [Tutorials](http://mycred.me/support/tutorials/)
|
|
|
45 |
* [Codex](http://codex.mycred.me/support/)
|
46 |
|
47 |
|
48 |
**Contact**
|
49 |
|
50 |
* [General Inquiries](http://mycred.me/contact/)
|
|
|
|
|
51 |
|
52 |
|
53 |
== Installation ==
|
118 |
|
119 |
== Upgrade Notice ==
|
120 |
|
121 |
+
= 1.3.3 =
|
122 |
+
Simple:Press, myCRED Right Now, YouTube + Mobiles and bug fixes.
|
123 |
|
124 |
== Other Notes ==
|
125 |
|
134 |
|
135 |
== Changelog ==
|
136 |
|
137 |
+
= 1.3.3 =
|
138 |
+
* Improved Transfer Add-on allowing for more customizations and better logic.
|
139 |
+
* Added new functions: mycred_get_users_transfer_history and mycred_update_users_transfer_history.
|
140 |
+
* Added new filter mycred_transfer_limit - allows you to override the transfer limit amount.
|
141 |
+
* Added new functions mycred_format_number and mycred_format_creds.
|
142 |
+
* Removed "fixed" class from log table to prevent some themes from moving the table to the top corner.
|
143 |
+
* Adjusted how ranks calculate a users "total" by adding up all point gains but deducting all manual changes (by admins).
|
144 |
+
* Adjusted the "Points for watching videos" hook to use the YouTube Iframe API allowing embedded videos to work on mobile devices and re-wrote the mycred_video shortcode to prevent users from changing the amount they gain.
|
145 |
+
* Added support for SimplePress.
|
146 |
+
* Added new mycred_has_entry filter.
|
147 |
+
* Added new mycred_protect function.
|
148 |
+
* Fixed Bug #76 - Fixed bug in the mycred_get_users_rank function.
|
149 |
+
* Fixed Bug #77 - Transfer Add-ons email notice connection is using an incorrect function.
|
150 |
+
* Fixed Bug #78 - WooCommerce gateways profit sharing settings is not called correctly.
|
151 |
+
* Fixed Bug #79 - Users can manipulate the amount of points they can gain for viewing videos if a custom amount is set.
|
152 |
+
|
153 |
= 1.3.2 =
|
154 |
* Improved the Ranks add-on and added new management settings allowing to delete all ranks and re-assigning roles to users.
|
155 |
* Removed stray debug function in the general module.
|