Usprawnienia tłumaczeń, poprawne wykonanie plików zip pluginów, usunięcie niewykorzystywanego pluginu client-portal, aktualizacja profile-bulder
This commit is contained in:
parent
db17150983
commit
32831edf25
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 4.6 KiB |
@ -1,26 +0,0 @@
|
||||
.cl-grid{
|
||||
box-sizing: border-box;
|
||||
width: auto;
|
||||
display: grid;
|
||||
grid-gap: 40px;
|
||||
grid-template-columns: 60% 30%;
|
||||
}
|
||||
|
||||
.pb-pitch h2{
|
||||
font-size: 24px;
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
.pb-pitch h3{
|
||||
font-size: 20px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.pb-pitch p, .pb-pitch ul{
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.pb-pitch ul{
|
||||
list-style-type: disc;
|
||||
margin: 0 0 auto 20px;
|
||||
}
|
@ -1,555 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Plugin Name: Client Portal
|
||||
* Plugin URI: http://www.cozmoslabs.com/
|
||||
* Description: Build a company site with a client portal where clients login and see a restricted-access, personalized page of content with links and downloads.
|
||||
* Version: 1.0.4
|
||||
* Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian
|
||||
* Author URI: http://www.cozmoslabs.com
|
||||
* License: GPL2
|
||||
*/
|
||||
/* Copyright 2015 Cozmoslabs (www.cozmoslabs.com)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License, version 2, as
|
||||
published by the Free Software Foundation.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* Define plugin path
|
||||
*/
|
||||
|
||||
define( 'CP_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
class CL_Client_Portal
|
||||
{
|
||||
private $slug;
|
||||
private $defaults;
|
||||
public $options;
|
||||
|
||||
|
||||
function __construct()
|
||||
{
|
||||
$this->slug = 'cp-options';
|
||||
$this->options = get_option( $this->slug );
|
||||
$this->defaults = array(
|
||||
'page-slug' => 'private-page',
|
||||
'support-comments' => 'no',
|
||||
'restricted-message' => __( 'You do not have permission to view this page.', 'client-portal' ),
|
||||
'portal-log-in-message' => __( 'Please log in in order to access the client portal.', 'client-portal' ),
|
||||
'default-page-content' => ''
|
||||
);
|
||||
|
||||
/* register the post type */
|
||||
add_action( 'init', array( $this, 'cp_create_post_type' ) );
|
||||
/* action to create a private page when a user registers */
|
||||
add_action( 'user_register', array( $this, 'cp_create_private_page' ) );
|
||||
/* remove the page when a user is deleted */
|
||||
add_action( 'deleted_user', array( $this, 'cp_delete_private_page' ), 10, 2 );
|
||||
/* restrict the content of the page only to the user */
|
||||
add_filter( 'the_content', array( $this, 'cp_restrict_content' ) );
|
||||
/* add a link in the Users List Table in admin area to access the page */
|
||||
add_filter( 'user_row_actions', array( $this, 'cp_add_link_to_private_page' ), 10, 2);
|
||||
|
||||
/* add bulk action to create private user pages */
|
||||
add_filter( 'admin_footer-users.php', array( $this, 'cp_create_private_page_bulk_actions' ) );
|
||||
add_action( 'admin_action_create_private_page', array( $this, 'cp_create_private_pages_in_bulk' ) );
|
||||
|
||||
/* create client portal extra information */
|
||||
add_filter('the_content', array( $this, 'cp_add_private_page_info'));
|
||||
|
||||
/* create the shortcode for the main page */
|
||||
add_shortcode( 'client-portal', array( $this, 'cp_shortcode' ) );
|
||||
|
||||
/* create the settings page */
|
||||
add_action( 'admin_menu', array( $this, 'cp_add_settings_page' ) );
|
||||
/* register the settings */
|
||||
add_action( 'admin_init', array( $this, 'cp_register_settings' ) );
|
||||
/* show notices on the admin settings page */
|
||||
add_action( 'admin_notices', array( $this, 'cp_admin_notices' ) );
|
||||
// Enqueue scripts on the admin side
|
||||
add_action( 'admin_enqueue_scripts', array( $this, 'cp_enqueue_admin_scripts' ) );
|
||||
/* flush the rewrite rules when settings saved in case page slug was changed */
|
||||
add_action('init', array( $this, 'cp_flush_rules' ), 20 );
|
||||
|
||||
/* make sure we don't have post navigation on the private pages */
|
||||
add_filter( "get_previous_post_where", array( $this, 'cp_exclude_from_post_navigation' ), 10, 5 );
|
||||
add_filter( "get_next_post_where", array( $this, 'cp_exclude_from_post_navigation' ), 10, 5 );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that registers the post type
|
||||
*/
|
||||
function cp_create_post_type() {
|
||||
|
||||
$labels = array(
|
||||
'name' => _x( 'Private Pages', 'post type general name', 'client-portal' ),
|
||||
'singular_name' => _x( 'Private Page', 'post type singular name', 'client-portal' ),
|
||||
'menu_name' => _x( 'Private Page', 'admin menu', 'client-portal' ),
|
||||
'name_admin_bar' => _x( 'Private Page', 'add new on admin bar', 'client-portal' ),
|
||||
'add_new' => _x( 'Add New', 'private Page', 'client-portal' ),
|
||||
'add_new_item' => __( 'Add New Private Page', 'client-portal' ),
|
||||
'new_item' => __( 'New Private Page', 'client-portal' ),
|
||||
'edit_item' => __( 'Edit Private Page', 'client-portal' ),
|
||||
'view_item' => __( 'View Private Page', 'client-portal' ),
|
||||
'all_items' => __( 'All Private Pages', 'client-portal' ),
|
||||
'search_items' => __( 'Search Private Pages', 'client-portal' ),
|
||||
'parent_item_colon' => __( 'Parent Private Page:', 'client-portal' ),
|
||||
'not_found' => __( 'No Private Pages found.', 'client-portal' ),
|
||||
'not_found_in_trash' => __( 'No Private Pages found in Trash.', 'client-portal' )
|
||||
);
|
||||
|
||||
$args = array(
|
||||
'labels' => $labels,
|
||||
'description' => __( 'Description.', 'client-portal' ),
|
||||
'public' => true,
|
||||
'publicly_queryable' => true,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => false,
|
||||
'query_var' => true,
|
||||
'capability_type' => 'post',
|
||||
'has_archive' => false,
|
||||
'hierarchical' => true,
|
||||
'supports' => array( 'title', 'editor', 'thumbnail' ),
|
||||
'exclude_from_search' => true
|
||||
);
|
||||
|
||||
if( !empty( $this->options['page-slug'] ) ){
|
||||
$args['rewrite'] = array( 'slug' => $this->options['page-slug'] );
|
||||
}
|
||||
else{
|
||||
$args['rewrite'] = array( 'slug' => $this->defaults['page-slug'] );
|
||||
}
|
||||
|
||||
if( !empty( $this->options['support-comments'] ) && $this->options['support-comments'] == 'yes' )
|
||||
$args['supports'][] = 'comments';
|
||||
|
||||
register_post_type( 'private-page', $args );
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that creates the private page for a user
|
||||
* @param $user_id the id of the user for which to create the page
|
||||
*/
|
||||
function cp_create_private_page( $user_id ){
|
||||
|
||||
/* check to see if we already have a page for the user */
|
||||
$users_private_pages = $this->cp_get_private_page_for_user( $user_id );
|
||||
if( !empty( $users_private_pages ) )
|
||||
return;
|
||||
|
||||
/* make sure get_userdata() is available at this point */
|
||||
if(is_admin()) require_once( ABSPATH . 'wp-includes/pluggable.php' );
|
||||
|
||||
$user = get_userdata( $user_id );
|
||||
$display_name = '';
|
||||
if( $user ){
|
||||
$display_name = ($user->display_name) ? ($user->display_name) : ($user->user_login);
|
||||
}
|
||||
|
||||
if( !empty( $this->options['default-page-content'] ) )
|
||||
$post_content = $this->options['default-page-content'];
|
||||
else
|
||||
$post_content = $this->defaults['default-page-content'];
|
||||
|
||||
$private_page = array(
|
||||
'post_title' => $display_name,
|
||||
'post_status' => 'publish',
|
||||
'post_type' => 'private-page',
|
||||
'post_author' => $user_id,
|
||||
'post_content' => $post_content
|
||||
);
|
||||
|
||||
// Insert the post into the database
|
||||
wp_insert_post( $private_page );
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that deletes the private page when the user is deleted
|
||||
* @param $id the id of the user which page we are deleting
|
||||
* @param $reassign
|
||||
*/
|
||||
function cp_delete_private_page( $id, $reassign ){
|
||||
$private_page_id = $this->cp_get_private_page_for_user( $id );
|
||||
if( !empty( $private_page_id ) ){
|
||||
wp_delete_post( $private_page_id, true );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that restricts the content only to the author of the page
|
||||
* @param $content the content of the page
|
||||
* @return mixed
|
||||
*/
|
||||
function cp_restrict_content( $content ){
|
||||
global $post;
|
||||
if( $post->post_type == 'private-page' ){
|
||||
|
||||
if( !empty( $this->options['restricted-message'] ) )
|
||||
$message = $this->options['restricted-message'];
|
||||
else
|
||||
$message = $this->defaults['restricted-message'];
|
||||
|
||||
if( is_user_logged_in() ){
|
||||
if( ( get_current_user_id() == $post->post_author ) || current_user_can('delete_user') ){
|
||||
return $content;
|
||||
}
|
||||
else return $message;
|
||||
}
|
||||
else return $message;
|
||||
|
||||
}
|
||||
return $content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that adds a link in the user listing in admin area to access the private page
|
||||
* @param $actions The actions available on the user listing in admin area
|
||||
* @param $user_object The user object
|
||||
* @return mixed
|
||||
*/
|
||||
function cp_add_link_to_private_page( $actions, $user_object ){
|
||||
$private_page_id = $this->cp_get_private_page_for_user( $user_object->ID );
|
||||
if( !empty( $private_page_id ) ){
|
||||
$actions['private_page_link'] = "<a class='cp_private_page' href='" . admin_url( "post.php?post=$private_page_id&action=edit") . "'>" . __( 'Private Page', 'client-portal' ) . "</a>";
|
||||
}
|
||||
|
||||
return $actions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that creates a private page extra information div
|
||||
* @param $content the content of the private page
|
||||
* @return mixed
|
||||
*/
|
||||
function cp_add_private_page_info( $content ){
|
||||
global $post;
|
||||
if ( is_singular('private-page') && is_user_logged_in() ){
|
||||
// logout link
|
||||
$logout_link = wp_loginout( home_url(), false);
|
||||
|
||||
// author display name. Fallback to username if no display name is set.
|
||||
$author_id=$post->post_author;
|
||||
$user = get_user_by('id', $author_id);
|
||||
$display_name = '';
|
||||
if( $user ){
|
||||
$display_name = ($user->display_name) ? ($user->display_name) : ($user->user_login);
|
||||
}
|
||||
|
||||
$extra_info = "<p class='cp-logout' style='border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 0.5rem 0; text-align: right'> $logout_link - $display_name </p>";
|
||||
|
||||
return $extra_info . $content;
|
||||
}
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that creates a shortcode which redirects the user to its private page
|
||||
* @param $atts the shortcode attributes
|
||||
*/
|
||||
function cp_shortcode( $atts ){
|
||||
if( !is_user_logged_in() ){
|
||||
if( !empty( $this->options['portal-log-in-message'] ) )
|
||||
$message = $this->options['portal-log-in-message'];
|
||||
else
|
||||
$message = $this->defaults['portal-log-in-message'];
|
||||
|
||||
return $message;
|
||||
}
|
||||
else{
|
||||
$user_id = get_current_user_id();
|
||||
$private_page_id = $this->cp_get_private_page_for_user( $user_id );
|
||||
if( $private_page_id ) {
|
||||
$private_page_link = get_permalink($private_page_id);
|
||||
?>
|
||||
<script>
|
||||
window.location.replace("<?php echo $private_page_link ?>");
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that creates the admin settings page under the Users menu
|
||||
*/
|
||||
function cp_add_settings_page(){
|
||||
add_users_page( 'Client Portal Settings', 'Client Portal Settings', 'manage_options', 'client_portal_settings', array( $this, 'cp_settings_page_content' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that outputs the content for the settings page
|
||||
*/
|
||||
function cp_settings_page_content(){
|
||||
/* if the user pressed the generate button then generate pages for existing users */
|
||||
if( !empty( $_GET[ 'cp_generate_for_all' ] ) && $_GET[ 'cp_generate_for_all' ] == true ){
|
||||
$this->cp_create_private_pages_for_all_users();
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
|
||||
<h2><?php _e( 'Client Portal Settings', 'client-portal'); ?></h2>
|
||||
|
||||
<?php settings_errors(); ?>
|
||||
|
||||
<div class="cl-grid">
|
||||
<div class="cl-grid-item">
|
||||
<form method="POST" action="options.php">
|
||||
|
||||
<?php settings_fields( $this->slug ); ?>
|
||||
|
||||
<table class="form-table">
|
||||
<tbody>
|
||||
<tr class="scp-form-field-wrapper">
|
||||
<th scope="row"><label class="scp-form-field-label" for="page-slug"><?php echo __( 'Page Slug' , 'client-portal' ) ?></label></th>
|
||||
<td>
|
||||
<input type="text" class="regular-text" id="page-slug" name="cp-options[page-slug]" value="<?php echo ( isset( $this->options['page-slug'] ) ? esc_attr( $this->options['page-slug'] ) : 'private-page' ); ?>" />
|
||||
<p class="description"><?php echo __( 'The slug of the pages.', 'client-portal' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="scp-form-field-wrapper">
|
||||
<th scope="row"><?php echo __( 'Support Comments' , 'client-portal' ) ?></th>
|
||||
<td>
|
||||
<label><input type="radio" id="support-comments" name="cp-options[support-comments]" value="no" <?php if( ( isset( $this->options['support-comments'] ) && $this->options['support-comments'] == 'no' ) || !isset( $this->options['support-comments'] ) ) echo 'checked="checked"' ?> /><?php _e( 'No', 'client-portal' ) ?></label><br />
|
||||
<label><input type="radio" id="support-comments" name="cp-options[support-comments]" value="yes" <?php if( isset( $this->options['support-comments'] ) && $this->options['support-comments'] == 'yes' ) echo 'checked="checked"' ?> /><?php _e( 'Yes', 'client-portal' ) ?></label>
|
||||
<p class="description"><?php echo __( 'Add comment support to the private page', 'client-portal' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="scp-form-field-wrapper">
|
||||
<th scope="row"><?php echo __( 'Generate pages' , 'client-portal' ) ?></th>
|
||||
<td>
|
||||
<a class="button" href="<?php echo add_query_arg( 'cp_generate_for_all', 'true', admin_url("/users.php?page=client_portal_settings") ) ?>"><?php _e( 'Generate pages for existing users' ); ?></a>
|
||||
<p class="description"><?php echo __( 'Generate pages for already existing users.', 'client-portal' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="scp-form-field-wrapper">
|
||||
<th scope="row"><label class="scp-form-field-label" for="restricted-message"><?php echo __( 'Restricted Message' , 'client-portal' ) ?></label></th>
|
||||
<td>
|
||||
<textarea name="cp-options[restricted-message]" id="restricted-message" class="large-text" rows="10"><?php echo ( isset( $this->options['restricted-message'] ) ? esc_textarea( $this->options['restricted-message'] ) : $this->defaults['restricted-message'] ); ?></textarea>
|
||||
<p class="description"><?php echo __( 'The default message showed on pages that are restricted.', 'client-portal' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="scp-form-field-wrapper">
|
||||
<th scope="row"><label class="scp-form-field-label" for="portal-log-in-message"><?php echo __( 'Portal Log In Message' , 'client-portal' ) ?></label></th>
|
||||
<td>
|
||||
<textarea name="cp-options[portal-log-in-message]" id="portal-log-in-message" class="large-text" rows="10"><?php echo ( isset( $this->options['portal-log-in-message'] ) ? esc_textarea( $this->options['portal-log-in-message'] ) : $this->defaults['portal-log-in-message'] ); ?></textarea>
|
||||
<p class="description"><?php echo __( 'The default message showed on pages that are restricted.', 'client-portal' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="scp-form-field-wrapper">
|
||||
<th scope="row"><label class="scp-form-field-label" for="default-page-content"><?php echo __( 'Default Page Content' , 'client-portal' ) ?></label></th>
|
||||
<td>
|
||||
<textarea name="cp-options[default-page-content]" id="default-page-content" class="large-text" rows="10"><?php echo ( isset( $this->options['default-page-content'] ) ? esc_textarea( $this->options['default-page-content'] ) : $this->defaults['default-page-content'] ); ?></textarea>
|
||||
<p class="description"><?php echo __( 'The default content on the private page.', 'client-portal' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php submit_button( __( 'Save Settings', 'client_portal_settings' ) ); ?>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="cl-grid-item pb-pitch">
|
||||
<h2>Get the most out of Client Portal</h2>
|
||||
<p>When building a place for your clients to access information, it can take a lot of time simply because there isn't enough flexibility
|
||||
to build exactly what you need.</p>
|
||||
<p>Wouldn't it be nice to be able to build the experience for your clients using simple modules that each does as few things as possible, but well?</p>
|
||||
<p style="text-align: center;"><a href="https://wordpress.org/plugins/profile-builder/"><img src="<?php echo CP_URL; ?>assets/logo_landing_pb_2x_red.png" alt="Profile Builder Logo"/></a></p>
|
||||
<p><strong>Client Portal</strong> was designed to work together with
|
||||
<a href="https://wordpress.org/plugins/profile-builder/"><strong>Profile Builder</strong></a> so you can construct the client experience just as you need it.
|
||||
</p>
|
||||
<ul>
|
||||
<li>add a login form with redirect <br/> <strong>[wppb-login redirect_url="http://www.yourdomain.com/page"]</strong></li>
|
||||
<li>allow users to register <strong>[wppb-register]</strong></li>
|
||||
<li>hide the WordPress admin bar for clients</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that registers the settings for the settings page with the Settings API
|
||||
*/
|
||||
public function cp_register_settings() {
|
||||
register_setting( $this->slug, $this->slug, array( 'sanitize_callback' => array( $this, 'cp_sanitize_options' ) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that sanitizes the options of the plugin
|
||||
* @param $options
|
||||
* @return mixed
|
||||
*/
|
||||
function cp_sanitize_options( $options ){
|
||||
if( !empty( $options ) ){
|
||||
foreach( $options as $key => $value ){
|
||||
if( $key == 'page-slug' || $key == 'support-comments' )
|
||||
$options[$key] = sanitize_text_field( $value );
|
||||
elseif( $key == 'restricted-message' || $key == 'portal-log-in-message' )
|
||||
$options[$key] = wp_kses_post( $value );
|
||||
}
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that creates the notice messages on the settings page
|
||||
*/
|
||||
function cp_admin_notices(){
|
||||
if( !empty( $_GET['page'] ) && $_GET['page'] == 'client_portal_settings' ) {
|
||||
if( !empty( $_GET['cp_generate_for_all'] ) && $_GET['cp_generate_for_all'] == true ) {
|
||||
?>
|
||||
<div class="notice notice-success is-dismissible">
|
||||
<p><?php _e( 'Successfully generated private pages for existing users.', 'client-portal'); ?></p>
|
||||
</div>
|
||||
<?php
|
||||
if( !empty( $_REQUEST['settings-updated'] ) && $_GET['settings-updated'] == 'true' ) {
|
||||
?>
|
||||
<div class="notice notice-success is-dismissible">
|
||||
<p><?php _e( 'Settings saved.', 'client-portal'); ?></p>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that enqueues the scripts on the admin settings page
|
||||
*/
|
||||
function cp_enqueue_admin_scripts() {
|
||||
if( !empty( $_GET['page'] ) && $_GET['page'] == 'client_portal_settings' )
|
||||
wp_enqueue_style( 'cp_style-back-end', plugins_url( 'assets/style.css', __FILE__ ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that flushes the rewrite rules when we save the settings page
|
||||
*/
|
||||
function cp_flush_rules(){
|
||||
if( isset( $_GET['page'] ) && $_GET['page'] == 'client_portal_settings' && isset( $_REQUEST['settings-updated'] ) && $_REQUEST['settings-updated'] == 'true' ) {
|
||||
flush_rewrite_rules(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Function that filters the WHERE clause in the select for adjacent posts so we exclude private pages
|
||||
* @param $where
|
||||
* @param $in_same_term
|
||||
* @param $excluded_terms
|
||||
* @param $taxonomy
|
||||
* @param $post
|
||||
* @return mixed
|
||||
*/
|
||||
function cp_exclude_from_post_navigation( $where, $in_same_term, $excluded_terms, $taxonomy, $post ){
|
||||
if( $post->post_type == 'private-page' ){
|
||||
$where = str_replace( "'private-page'", "'do not show this'", $where );
|
||||
}
|
||||
return $where;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that returns the id for the private page for the provided user
|
||||
* @param $user_id the user id for which we want to get teh private page for
|
||||
* @return mixed
|
||||
*/
|
||||
function cp_get_private_page_for_user( $user_id ){
|
||||
$args = array(
|
||||
'author' => $user_id,
|
||||
'posts_per_page' => 1,
|
||||
'post_type' => 'private-page',
|
||||
);
|
||||
$users_private_pages = get_posts( $args );
|
||||
|
||||
if( !empty( $users_private_pages ) ){
|
||||
foreach( $users_private_pages as $users_private_page ){
|
||||
return $users_private_page->ID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
/* we don't have a page */
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that returns all the private pages post objects
|
||||
* @return array
|
||||
*/
|
||||
function cp_get_all_private_pages(){
|
||||
$args = array(
|
||||
'posts_per_page' => -1,
|
||||
'numberposts' => -1,
|
||||
'post_type' => 'private-page',
|
||||
);
|
||||
|
||||
$users_private_pages = get_posts( $args );
|
||||
return $users_private_pages;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that creates a custom action in the Bulk Dropdown on the Users screen
|
||||
*/
|
||||
function cp_create_private_page_bulk_actions(){
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function(){
|
||||
jQuery('<option>').val('create_private_page').text( '<?php _e( 'Create Private Page', 'client-portal' ) ?>').appendTo("select[name='action'], select[name='action2']");
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that creates a private page for the selected users in the bulk action
|
||||
*/
|
||||
function cp_create_private_pages_in_bulk(){
|
||||
if ( !empty( $_REQUEST['users'] ) && is_array( $_REQUEST['users'] ) ) {
|
||||
$users = array_map( 'absint', $_REQUEST['users'] );
|
||||
foreach( $users as $user_id ){
|
||||
$this->cp_create_private_page( $user_id );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that creates private pages for all existing users
|
||||
*/
|
||||
function cp_create_private_pages_for_all_users(){
|
||||
$all_users = get_users( array( 'fields' => array( 'ID' ) ) );
|
||||
if( !empty( $all_users ) ){
|
||||
foreach( $all_users as $user ){
|
||||
$users_private_pages = $this->cp_get_private_page_for_user( $user->ID );
|
||||
if( !$users_private_pages ) {
|
||||
$this->cp_create_private_page( $user->ID );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$CP_Object = new CL_Client_Portal();
|
@ -1,57 +0,0 @@
|
||||
=== Client Portal - Private user pages and login ===
|
||||
Contributors: cozmoslabs, madalin.ungureanu, sareiodata
|
||||
Donate link: http://www.cozmoslabs.com/
|
||||
Tags: client portal, private user page, private pages, private content, private client page, user restricted content
|
||||
|
||||
Requires at least: 3.1
|
||||
Tested up to: 4.7.4
|
||||
Stable tag: 1.0.4
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
WordPress Client Portal Plugin that creates private pages for all users that only an administrator can edit.
|
||||
|
||||
== Description ==
|
||||
|
||||
The WordPress Client Portal plugin creates private pages for each user. The content for that page is accessible on the frontend only by the owner of the page
|
||||
after he has logged in.
|
||||
|
||||
The plugin doesn't offer a login or registration form and it gives you the possibility to use a plugin of your choice.
|
||||
|
||||
The [client-portal] shortcode can be added to any page and when the logged in user will access that page he will be redirected to its private page.
|
||||
|
||||
For login and registration of users we recommend the free [Profile Builder](https://wordpress.org/plugins/profile-builder/) plugin.
|
||||
|
||||
You can then use the [wppb-login] shortcode in the same page as the [client-portal] shortcode.
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. Upload and install the zip file via the built in WordPress plugin installer.
|
||||
2. Activate the WordPress Client Portal plugin from the "Plugins" admin panel using the "Activate" link.
|
||||
|
||||
|
||||
== Screenshots ==
|
||||
1. Access the Private Page in the Users Listing in the admin area: screenshot-1.jpg
|
||||
2. A Private Page in the admin area: screenshot-2.jpg
|
||||
3. The Settings Page for the Plugin: screenshot-3.jpg
|
||||
|
||||
== Changelog ==
|
||||
= 1.0.4 =
|
||||
* We now have a default content option for pages
|
||||
* Now private pages are excluded from appearing in frontend search
|
||||
* Fixed a bug where the private page would reload indefinitely if the user hadn't a page created
|
||||
* Fixed a bug where you could create duplicate pages for the same user
|
||||
|
||||
|
||||
= 1.0.3 =
|
||||
* Minor fixes and security improvements
|
||||
|
||||
= 1.0.2 =
|
||||
* Added support for bulk Create Private Pages to Users page bulk actions
|
||||
|
||||
= 1.0.1 =
|
||||
* Added support for comments on private user pages
|
||||
* Settings page is now stylized
|
||||
|
||||
= 1.0.0 =
|
||||
* Initial Version of the WordPress Client Portal plugin.
|
Binary file not shown.
Before Width: | Height: | Size: 158 KiB |
Binary file not shown.
Before Width: | Height: | Size: 73 KiB |
Binary file not shown.
Before Width: | Height: | Size: 65 KiB |
Binary file not shown.
Binary file not shown.
@ -99,11 +99,12 @@ function wppb_add_ons_content() {
|
||||
echo '</h3>';
|
||||
|
||||
//echo '<h3 class="wppb-add-on-price">' . $wppb_add_on['price'] . '</h3>';
|
||||
/*
|
||||
if( $wppb_add_on['type'] == 'paid' )
|
||||
echo '<h3 class="wppb-add-on-price">' . __( 'Available in Hobbyist and Pro Versions', 'profile-builder' ) . '</h3>';
|
||||
else
|
||||
echo '<h3 class="wppb-add-on-price">' . __( 'Available in All Versions', 'profile-builder' ) . '</h3>';
|
||||
|
||||
*/
|
||||
echo '<p class="wppb-add-on-description">' . $wppb_add_on['description'] . '</p>';
|
||||
|
||||
echo '</div>';
|
||||
|
@ -18,11 +18,12 @@ add_action( 'admin_menu', 'wppb_register_basic_info_submenu_page', 2 );
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
function wppb_basic_info_content() {
|
||||
|
||||
$version = 'Free';
|
||||
//$version = ( ( PROFILE_BUILDER == 'Profile Builder Pro' ) ? 'Pro' : $version );
|
||||
//$version = ( ( PROFILE_BUILDER == 'Profile Builder Hobbyist' ) ? 'Hobbyist' : $version );
|
||||
$version = ( ( PROFILE_BUILDER == 'Profile Builder Pro' ) ? 'Pro' : $version );
|
||||
$version = ( ( PROFILE_BUILDER == 'Profile Builder Hobbyist' ) ? 'Hobbyist' : $version );
|
||||
|
||||
?>
|
||||
<div class="wrap wppb-wrap wppb-info-wrap">
|
||||
@ -76,7 +77,6 @@ function wppb_basic_info_content() {
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
// Output here the Extra Features html for the Free version
|
||||
$extra_features_html = ob_get_contents();
|
||||
ob_end_clean();
|
||||
@ -190,5 +190,6 @@ function wppb_basic_info_content() {
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php*/
|
||||
<?php
|
||||
*/
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ function wppb_general_settings_content() {
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
/*if ( PROFILE_BUILDER == 'Profile Builder Free' ) {
|
||||
if ( PROFILE_BUILDER == 'Profile Builder Free' ) {
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
@ -168,7 +168,7 @@ function wppb_general_settings_content() {
|
||||
<p><em> <?php printf( __( 'You decide who is a user on your website. Get notified via email or approve multiple users at once from the WordPress UI. Enable Admin Approval by upgrading to %1$sHobbyist or PRO versions%2$s.', 'profile-builder' ),'<a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wpbackend&utm_medium=clientsite&utm_content=general-settings-link&utm_campaign=PBFree">', '</a>' )?></em></p>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }*/ ?>
|
||||
<?php } ?>
|
||||
|
||||
<tr>
|
||||
<th scope="row">
|
||||
|
@ -80,9 +80,9 @@ function wppb_manage_fields_submenu(){
|
||||
|
||||
//Free to Pro call to action on Manage Fields page
|
||||
$field_description = __('Choose one of the supported field types','profile-builder');
|
||||
/*if( PROFILE_BUILDER == 'Profile Builder Free' ) {
|
||||
if( PROFILE_BUILDER == 'Profile Builder Free' ) {
|
||||
$field_description .= sprintf( __('. Extra Field Types are available in <a href="%s">Hobbyist or PRO versions</a>.' , 'profile-builder'), esc_url( 'https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wpbackend&utm_medium=clientsite&utm_content=manage-fields-link&utm_campaign=PBFree' ) );
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
//user roles
|
||||
@ -1212,12 +1212,12 @@ function wppb_add_content_before_manage_fields(){
|
||||
<li><strong class="nowrap">[wppb-register role="author"]</strong></li>
|
||||
</ul>
|
||||
<p>
|
||||
<?php/*
|
||||
<?php
|
||||
if( PROFILE_BUILDER == 'Profile Builder Pro' )
|
||||
_e("If you're interested in displaying different fields in the registration and edit profile forms, please use the Multiple Registration & Edit Profile Forms Modules.", 'profile-builder');
|
||||
else
|
||||
_e( "With Profile Builder Pro v2 you can display different fields in the registration and edit profile forms, using the Multiple Registration & Edit Profile Forms module.", "profile-builder" )
|
||||
*/?>
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
|
@ -234,7 +234,7 @@ function wppb_pms_cross_promo() {
|
||||
*
|
||||
* @Since 2.2.5
|
||||
*/
|
||||
/*
|
||||
/*
|
||||
if ( !isset($_GET['page']) || $_GET['page'] != 'profile-builder-pms-promo'){
|
||||
new WPPB_Add_General_Notices('wppb_pms_cross_promo',
|
||||
sprintf(__('Allow your users to have <strong>paid accounts with Profile Builder</strong>. %1$sFind out how >%2$s %3$sDismiss%4$s', 'profile-builder'), "<a href='" . admin_url('options.php?page=profile-builder-pms-promo') . "'>", "</a>", "<a class='wppb-dismiss-notification' href='" . esc_url( add_query_arg('wppb_pms_cross_promo_dismiss_notification', '0') ) . "'>", "</a>"),
|
||||
|
@ -301,3 +301,14 @@
|
||||
}
|
||||
return $url;
|
||||
}
|
||||
|
||||
/****************************************************
|
||||
* Plugin Name: ACF
|
||||
* Compatibility with Role Editor where ACF includes it's own select 2 and a bit differently then the standard hooks
|
||||
****************************************************/
|
||||
add_action( 'admin_enqueue_scripts', 'wppb_acf_and_user_role_select_2_compatibility' );
|
||||
function wppb_acf_and_user_role_select_2_compatibility(){
|
||||
$post_type = get_post_type();
|
||||
if( !empty( $post_type ) && $post_type == 'wppb-roles-editor' )
|
||||
remove_all_actions('acf/input/admin_enqueue_scripts');
|
||||
}
|
||||
|
@ -371,7 +371,8 @@ function wppb_signup_user_notification( $user, $user_email, $activation_key, $me
|
||||
|
||||
$from_name = apply_filters ( 'wppb_signup_user_notification_email_from_field', get_bloginfo( 'name' ) );
|
||||
|
||||
$message_headers = apply_filters ( 'wppb_signup_user_notification_from', "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n" );
|
||||
//we don't use this anymore do we ?
|
||||
/*$message_headers = apply_filters ( 'wppb_signup_user_notification_from', "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n" );*/
|
||||
|
||||
if( isset( $wppb_general_settings['activationLandingPage'] ) && ( trim( $wppb_general_settings['activationLandingPage'] ) != '' ) ) {
|
||||
$registration_page_url = add_query_arg( array('activation_key' => $activation_key), get_permalink( $wppb_general_settings['activationLandingPage'] ) );
|
||||
|
@ -730,19 +730,18 @@ add_filter('wck_metabox_content_header_wppb_epf_page_settings', 'wppb_change_met
|
||||
|
||||
|
||||
/* Add a notice if people are not able to register via Profile Builder; Membership -> "Anyone can register" checkbox is not checked under WordPress admin UI -> Settings -> General tab */
|
||||
/*
|
||||
if ( (get_option('users_can_register') == false) && (!class_exists('PMS_Add_General_Notices')) ) {
|
||||
if( is_multisite() ) {
|
||||
new WPPB_Add_General_Notices('wppb_anyone_can_register',
|
||||
sprintf(__('To allow users to register for your website via Profile Builder, you first must enable user registration. Go to %1$sNetwork Settings%2$s, and under Registration Settings make sure to check “User accounts may be registered”. %3$sDismiss%4$s', 'profile-builder'), "<a href='" . network_admin_url('settings.php') . "'>", "</a>", "<a href='" . esc_url( add_query_arg('wppb_anyone_can_register_dismiss_notification', '0') ) . "'>", "</a>"),
|
||||
sprintf(__('Aby zezwolić użytkownikom na logowanie na Twojej stronie poprzez Profile Builder, musisz najpierw zezwolić na rejestrację użytkowników. Idź do %1$sUstawień Sieciowych%2$s, oraz upewnij się, że pole "Możliwość rejestracji kont użytowników" jest zaznaczone. %3$sAnuluj%4$s', 'profile-builder'), "<a href='" . network_admin_url('settings.php') . "'>", "</a>", "<a href='" . esc_url( add_query_arg('wppb_anyone_can_register_dismiss_notification', '0') ) . "'>", "</a>"),//To allow users to register for your website via Profile Builder, you first must enable user registration. Go to %1$sNetwork Settings%2$s, and under Registration Settings make sure to check “User accounts may be registered”. %3$sDismiss%4$s
|
||||
'update-nag');
|
||||
}else{
|
||||
new WPPB_Add_General_Notices('wppb_anyone_can_register',
|
||||
sprintf(__('To allow users to register for your website via Profile Builder, you first must enable user registration. Go to %1$sSettings -> General%2$s tab, and under Membership make sure to check “Anyone can register”. %3$sDismiss%4$s', 'profile-builder'), "<a href='" . admin_url('options-general.php') . "'>", "</a>", "<a href='" . esc_url( add_query_arg('wppb_anyone_can_register_dismiss_notification', '0') ) . "'>", "</a>"),
|
||||
sprintf(__('Aby zezwolić użytkownikom na rejestrację na Twojej stronie poprzez Profile Builder, musisz najpierw umożliwić rejestrację użytkowników. Idź do zakładki %1$sUstawienia -> Ogólne%2$s oraz upewnij się, że w sekcji Członkostwo pole “Każdy może się zarejestrować” jest zaznaczone. %3$sOdrzuć%4$s', 'profile-builder'), "<a href='" . admin_url('options-general.php') . "'>", "</a>", "<a href='" . esc_url( add_query_arg('wppb_anyone_can_register_dismiss_notification', '0') ) . "'>", "</a>"),//To allow users to register for your website via Profile Builder, you first must enable user registration. Go to %1$sSettings -> General%2$s tab, and under Membership make sure to check “Anyone can register”. %3$sDismiss%4$s
|
||||
'update-nag');
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/*Filter default WordPress notices ("Post published. Post updated."), add post type name for User Listing, Registration Forms and Edit Profile Forms*/
|
||||
function wppb_change_default_post_updated_messages($messages){
|
||||
global $post;
|
||||
|
@ -24,7 +24,7 @@ class WPPB_Roles_Editor {
|
||||
add_action( 'admin_enqueue_scripts', array( $this, 'scripts_admin' ) );
|
||||
|
||||
// Add role slug to the created post
|
||||
add_action( 'save_post', array( $this, 'add_post_meta' ), 10, 3 );
|
||||
add_action( 'save_post', array( $this, 'add_post_meta' ), 10, 2 );
|
||||
|
||||
add_filter( 'wp_insert_post_data', array( $this, 'modify_post_title'), '99', 1 );
|
||||
|
||||
@ -54,17 +54,18 @@ class WPPB_Roles_Editor {
|
||||
global $wp_styles;
|
||||
|
||||
if( $post_type == 'wppb-roles-editor' ) {
|
||||
|
||||
$wp_default_scripts = $this->wp_default_scripts();
|
||||
$scripts_exceptions = array( 'wppb-sitewide', 'acf-field-group', 'acf-pro-field-group', 'acf-input', 'acf-pro-input' );
|
||||
foreach( $wp_scripts->registered as $key => $value ) {
|
||||
if( ! in_array( $key, $wp_default_scripts ) && $key != 'wppb-sitewide' ) {
|
||||
if( ! in_array( $key, $wp_default_scripts ) && ! in_array( $key, $scripts_exceptions ) ) {
|
||||
wp_deregister_script( $key );
|
||||
}
|
||||
}
|
||||
|
||||
$wp_default_styles = $this->wp_default_styles();
|
||||
$styles_exceptions = array( 'wppb-serial-notice-css', 'acf-global' );
|
||||
foreach( $wp_styles->registered as $key => $value ) {
|
||||
if( ! in_array( $key, $wp_default_styles ) && $key != 'wppb-serial-notice-css' ) {
|
||||
if( ! in_array( $key, $wp_default_styles ) && ! in_array( $key, $styles_exceptions ) ) {
|
||||
wp_deregister_style( $key );
|
||||
}
|
||||
}
|
||||
@ -558,7 +559,7 @@ class WPPB_Roles_Editor {
|
||||
|
||||
}
|
||||
|
||||
function add_post_meta( $post_id, $post, $update ) {
|
||||
function add_post_meta( $post_id, $post ) {
|
||||
|
||||
$post_type = get_post_type( $post_id );
|
||||
|
||||
@ -918,14 +919,13 @@ class WPPB_Roles_Editor {
|
||||
|
||||
function delete_role_permanently( $post_id ) {
|
||||
|
||||
check_admin_referer( 'delete-post_'. $post_id );
|
||||
|
||||
global $post_type;
|
||||
|
||||
if( $post_type != 'wppb-roles-editor' ) {
|
||||
return;
|
||||
}
|
||||
|
||||
check_admin_referer( 'delete-post_'. $post_id );
|
||||
|
||||
$role_slug = get_post_meta( $post_id, 'wppb_role_slug', true );
|
||||
$role_slug = $this->sanitize_role( $role_slug );
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
Plugin Name: Profile Builder
|
||||
Plugin URI: https://www.cozmoslabs.com/wordpress-profile-builder/
|
||||
Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
|
||||
Version: 2.6.3
|
||||
Version: 2.6.4
|
||||
Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian, Barina Gabriel, Mihai Iova
|
||||
Author URI: https://www.cozmoslabs.com/
|
||||
License: GPL2
|
||||
@ -73,7 +73,7 @@ function wppb_free_plugin_init() {
|
||||
*
|
||||
*
|
||||
*/
|
||||
define('PROFILE_BUILDER_VERSION', '2.6.3' );
|
||||
define('PROFILE_BUILDER_VERSION', '2.6.4' );
|
||||
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
||||
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
||||
define('WPPB_SERVER_MAX_UPLOAD_SIZE_BYTE', apply_filters('wppb_server_max_upload_size_byte_constant', wppb_return_bytes(ini_get('upload_max_filesize'))));
|
||||
|
@ -5,7 +5,7 @@ Tags: user registration, user profile, user registration form, user fields, extr
|
||||
|
||||
Requires at least: 3.1
|
||||
Tested up to: 4.7.5
|
||||
Stable tag: 2.6.3
|
||||
Stable tag: 2.6.4
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -154,6 +154,10 @@ This plugin adds/removes user fields in the front-end. Both default and extra pr
|
||||
12. Role Editor
|
||||
|
||||
== Changelog ==
|
||||
= 2.6.4 =
|
||||
* Fixed a bug which was preventing deleting thrashed posts
|
||||
* Compatibility fixes with Advanced Custom Fields Plugin
|
||||
|
||||
= 2.6.3 =
|
||||
* Fixed a small display bug for custom capabilities on Roles Editor
|
||||
* Fixed a potential warning with the login form and WPML when cURL was not working properly
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2017-06-06 19:35+0000\n"
|
||||
"PO-Revision-Date: 2017-06-09 11:54+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
@ -9,8 +9,8 @@ msgstr ""
|
||||
"X-Generator: Loco - https://localise.biz/\n"
|
||||
"Project-Id-Version: Profile Builder\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-06 19:35+0000\n"
|
||||
"Last-Translator: admin <parys15@gmail.com>\n"
|
||||
"POT-Creation-Date: 2017-06-09 11:54+0000\n"
|
||||
"Last-Translator: admin <admin@admin.pl>\n"
|
||||
"Language-Team: Polish\n"
|
||||
"Language: pl-PL"
|
||||
|
||||
@ -26,11 +26,11 @@ msgstr ""
|
||||
msgid "Incorrect phone number"
|
||||
msgstr ""
|
||||
|
||||
#: features/functions.php:897
|
||||
#: features/functions.php:896
|
||||
msgid "<br><br>Also, you will be able to visit your site at "
|
||||
msgstr ""
|
||||
|
||||
#: features/functions.php:910
|
||||
#: features/functions.php:909
|
||||
msgid "<br><br>You can visit your site at "
|
||||
msgstr ""
|
||||
|
||||
@ -62,50 +62,42 @@ msgstr ""
|
||||
|
||||
#: admin/general-settings.php:146
|
||||
msgid "\"Roles Editor\" Activated:"
|
||||
msgstr "\"Rola Edytora\" Aktywna:"
|
||||
msgstr ""
|
||||
|
||||
#: admin/general-settings.php:154
|
||||
#, php-format
|
||||
msgid "You can add / edit user roles at %1$sUsers > Roles Editor%2$s."
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:103
|
||||
msgid "Available in Hobbyist and Pro Versions"
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:105
|
||||
msgid "Available in All Versions"
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:148
|
||||
#: admin/add-ons.php:149
|
||||
msgid "Learn More"
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:190
|
||||
#: admin/add-ons.php:191
|
||||
msgid "Recommended Plugins"
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:219 admin/pms-cross-promotion.php:102
|
||||
#: admin/add-ons.php:220 admin/pms-cross-promotion.php:102
|
||||
msgid "Free"
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:221
|
||||
#: admin/add-ons.php:222
|
||||
msgid ""
|
||||
"Accept user payments, create subscription plans and restrict content on your "
|
||||
"membership site."
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:240 admin/pms-cross-promotion.php:88
|
||||
#: admin/add-ons.php:241 admin/pms-cross-promotion.php:88
|
||||
#: admin/pms-cross-promotion.php:123 admin/pms-cross-promotion.php:202
|
||||
msgid "Plugin is <strong>inactive</strong>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:242 admin/pms-cross-promotion.php:87
|
||||
#: admin/add-ons.php:243 admin/pms-cross-promotion.php:87
|
||||
#: admin/pms-cross-promotion.php:125 admin/pms-cross-promotion.php:204
|
||||
msgid "Plugin is <strong>active</strong>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/add-ons.php:256 admin/pms-cross-promotion.php:146
|
||||
#: admin/add-ons.php:257 admin/pms-cross-promotion.php:146
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Could not install plugin. Retry or <a href=\"%s\" target=\"_blank\">install "
|
||||
@ -844,10 +836,6 @@ msgid ""
|
||||
"40% off %4$s %6$sDismiss%7$s</p>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/admin-functions.php:41
|
||||
msgid "Display name publicly as - only appears on the Edit Profile page!"
|
||||
msgstr ""
|
||||
|
||||
#: admin/admin-functions.php:44
|
||||
msgid "Blog Details - only appears on the Registration page!"
|
||||
msgstr ""
|
||||
@ -913,124 +901,124 @@ msgid ""
|
||||
"Your account has to be confirmed by an administrator before you can log in."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:177
|
||||
#: features/roles-editor/roles-editor.php:178
|
||||
msgid "Capability"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:178
|
||||
#: features/roles-editor/roles-editor.php:179
|
||||
msgid "You can't delete this capability from your role."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:238
|
||||
#: features/roles-editor/roles-editor.php:239
|
||||
#: features/roles-editor/roles-editor.php:244
|
||||
#: features/roles-editor/roles-editor.php:251
|
||||
#: features/roles-editor/roles-editor.php:240
|
||||
#: features/roles-editor/roles-editor.php:245
|
||||
#: features/roles-editor/roles-editor.php:252
|
||||
msgid "Roles Editor"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:240
|
||||
#: features/roles-editor/roles-editor.php:241
|
||||
#: features/roles-editor/roles-editor.php:242
|
||||
msgid "Add New Role"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:242
|
||||
#: features/roles-editor/roles-editor.php:243
|
||||
msgid "Edit Role"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:243
|
||||
#: features/roles-editor/roles-editor.php:244
|
||||
msgid "New Role"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:245
|
||||
#: features/roles-editor/roles-editor.php:246
|
||||
msgid "View Role"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:246
|
||||
#: features/roles-editor/roles-editor.php:247
|
||||
msgid "Search the Roles Editor"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:247
|
||||
#: features/roles-editor/roles-editor.php:248
|
||||
msgid "No roles found"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:248
|
||||
#: features/roles-editor/roles-editor.php:249
|
||||
msgid "No roles found in trash"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:289
|
||||
#: features/roles-editor/roles-editor.php:292
|
||||
#: features/roles-editor/roles-editor.php:290
|
||||
#: features/roles-editor/roles-editor.php:293
|
||||
msgid "Role updated."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:290
|
||||
#: features/roles-editor/roles-editor.php:291
|
||||
msgid "Custom field updated."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:291
|
||||
#: features/roles-editor/roles-editor.php:292
|
||||
msgid "Custom field deleted."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:294
|
||||
#: features/roles-editor/roles-editor.php:295
|
||||
msgid "Role created."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:295
|
||||
#: features/roles-editor/roles-editor.php:296
|
||||
msgid "Role saved."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:296
|
||||
#: features/roles-editor/roles-editor.php:297
|
||||
msgid "Role submitted."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:297
|
||||
#: features/roles-editor/roles-editor.php:298
|
||||
#, php-format
|
||||
msgid "Role scheduled for: <strong>%1$s</strong>"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:298
|
||||
#: features/roles-editor/roles-editor.php:299
|
||||
msgid "Role draft updated."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:357
|
||||
#: features/roles-editor/roles-editor.php:358
|
||||
msgid "Role Name"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:358
|
||||
#: features/roles-editor/roles-editor.php:359
|
||||
msgid "Role Slug"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:359
|
||||
#: features/roles-editor/roles-editor.php:360
|
||||
msgid "Capabilities"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:360
|
||||
#: features/roles-editor/roles-editor.php:361
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:870
|
||||
#: features/roles-editor/roles-editor.php:871
|
||||
msgid "Clone"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:877
|
||||
#: features/roles-editor/roles-editor.php:878
|
||||
msgid "You can't delete your role."
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:885
|
||||
#: features/roles-editor/roles-editor.php:886
|
||||
msgid "Change Default"
|
||||
msgstr ""
|
||||
|
||||
#: features/roles-editor/roles-editor.php:886
|
||||
#: features/roles-editor/roles-editor.php:887
|
||||
msgid "You can't delete the default role. Change it first."
|
||||
msgstr ""
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:400
|
||||
#: features/email-confirmation/email-confirmation.php:401
|
||||
#, php-format
|
||||
msgid ""
|
||||
"To activate your user, please click the following link:<br><br>%s%s%s<br><br>"
|
||||
"After you activate it you will receive yet *another email* with your login."
|
||||
msgstr ""
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:578
|
||||
#: features/email-confirmation/email-confirmation.php:579
|
||||
#, php-format
|
||||
msgid "Welcome to %1$s!<br/><br/><br/>Your username is:%2$s"
|
||||
msgstr ""
|
||||
@ -1126,17 +1114,17 @@ msgid "Cancel"
|
||||
msgstr "Anuluj"
|
||||
|
||||
#: features/functions.php:711 features/functions.php:725
|
||||
#: admin/manage-fields.php:1193 features/roles-editor/roles-editor.php:174
|
||||
#: features/roles-editor/roles-editor.php:877
|
||||
#: features/roles-editor/roles-editor.php:886
|
||||
#: features/roles-editor/roles-editor.php:897
|
||||
#: admin/manage-fields.php:1193 features/roles-editor/roles-editor.php:175
|
||||
#: features/roles-editor/roles-editor.php:878
|
||||
#: features/roles-editor/roles-editor.php:887
|
||||
#: features/roles-editor/roles-editor.php:898
|
||||
#: features/email-confirmation/class-email-confirmation.php:120
|
||||
#: features/email-confirmation/class-email-confirmation.php:217
|
||||
msgid "Delete"
|
||||
msgstr "Usuń"
|
||||
|
||||
#: features/functions.php:718 features/functions.php:725
|
||||
#: admin/manage-fields.php:1193 features/roles-editor/roles-editor.php:859
|
||||
#: admin/manage-fields.php:1193 features/roles-editor/roles-editor.php:860
|
||||
msgid "Edit"
|
||||
msgstr "Edytuj"
|
||||
|
||||
@ -1144,11 +1132,36 @@ msgstr "Edytuj"
|
||||
msgid "Content"
|
||||
msgstr "Treść"
|
||||
|
||||
#: features/functions.php:995
|
||||
#: features/functions.php:736
|
||||
#, php-format
|
||||
msgid ""
|
||||
"To allow users to register for your website via Profile Builder, you first "
|
||||
"must enable user registration. Go to %1$sNetwork Settings%2$s, and under "
|
||||
"Registration Settings make sure to check “User accounts may be registered”. "
|
||||
"%3$sDismiss%4$s"
|
||||
msgstr ""
|
||||
"Aby zezwolić użytkownikom na logowanie na Twojej stronie poprzez Profile "
|
||||
"Builder, musisz najpierw zezwolić na rejestrację użytkowników. Idź do "
|
||||
"%1$sUstawień Sieciowych%2$s, oraz upewnij się, że pole \"Możliwość "
|
||||
"rejestracji kont użytowników\" jest zaznaczone. %3$sAnuluj%4$s"
|
||||
|
||||
#: features/functions.php:740
|
||||
#, php-format
|
||||
msgid ""
|
||||
"To allow users to register for your website via Profile Builder, you first "
|
||||
"must enable user registration. Go to %1$sSettings -> General%2$s tab, and "
|
||||
"under Membership make sure to check “Anyone can register”. %3$sDismiss%4$s"
|
||||
msgstr ""
|
||||
"Aby zezwolić użytkownikom na rejestrację na Twojej stronie poprzez Profile "
|
||||
"Builder, musisz najpierw umożliwić rejestrację użytkowników. Idź do zakładki "
|
||||
"%1$sUstawienia -> Ogólne%2$s oraz upewnij się, że w sekcji Członkowstwo pole "
|
||||
"“Każdy może się zarejestrować” jest zaznaczone. %3$sOdrzuć%4$s"
|
||||
|
||||
#: features/functions.php:994
|
||||
msgid "here"
|
||||
msgstr "tutaj"
|
||||
|
||||
#: features/functions.php:996
|
||||
#: features/functions.php:995
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You will soon be redirected automatically. If you see this page for more "
|
||||
@ -1361,7 +1374,7 @@ msgstr "Dodaj użytkownika"
|
||||
msgid "Register"
|
||||
msgstr "Zarejestruj się"
|
||||
|
||||
#: front-end/class-formbuilder.php:418 admin/add-ons.php:170
|
||||
#: front-end/class-formbuilder.php:418 admin/add-ons.php:171
|
||||
msgid "Update"
|
||||
msgstr "Aktualizuj"
|
||||
|
||||
@ -1382,7 +1395,7 @@ msgid "This username is now active!"
|
||||
msgstr "Konto tego użytkownika jest aktywne!"
|
||||
|
||||
#: front-end/register.php:71
|
||||
#: features/email-confirmation/email-confirmation.php:441
|
||||
#: features/email-confirmation/email-confirmation.php:442
|
||||
msgid "Could not create user!"
|
||||
msgstr "Nie udało się stworzyć użytkownika!"
|
||||
|
||||
@ -1395,7 +1408,7 @@ msgid "Your email was successfully confirmed."
|
||||
msgstr "Twój adres email został zweryfikowany poprawnie."
|
||||
|
||||
#: front-end/register.php:125
|
||||
#: features/email-confirmation/email-confirmation.php:641
|
||||
#: features/email-confirmation/email-confirmation.php:642
|
||||
msgid ""
|
||||
"Before you can access your account, an administrator needs to approve it. "
|
||||
"You will be notified via email."
|
||||
@ -1617,7 +1630,7 @@ msgstr "Bardzo słabe"
|
||||
msgid "Add-Ons"
|
||||
msgstr "Wtyczki"
|
||||
|
||||
#: admin/add-ons.php:34 admin/add-ons.php:129 admin/add-ons.php:231
|
||||
#: admin/add-ons.php:34 admin/add-ons.php:130 admin/add-ons.php:232
|
||||
#: admin/pms-cross-promotion.php:78 admin/pms-cross-promotion.php:114
|
||||
#: admin/pms-cross-promotion.php:193
|
||||
msgid "Activate"
|
||||
@ -1643,15 +1656,15 @@ msgstr "Wtyczka została aktywowana."
|
||||
msgid "Retry Install"
|
||||
msgstr "Ponów instalację"
|
||||
|
||||
#: admin/add-ons.php:43 admin/add-ons.php:140
|
||||
#: admin/add-ons.php:43 admin/add-ons.php:141
|
||||
msgid "Add-On is <strong>active</strong>"
|
||||
msgstr "Wtyczka jest <strong>aktywna</strong>"
|
||||
|
||||
#: admin/add-ons.php:44 admin/add-ons.php:138
|
||||
#: admin/add-ons.php:44 admin/add-ons.php:139
|
||||
msgid "Add-On is <strong>inactive</strong>"
|
||||
msgstr "Wtyczka jest <strong>nieaktywna</strong>"
|
||||
|
||||
#: admin/add-ons.php:46 admin/add-ons.php:133 admin/add-ons.php:235
|
||||
#: admin/add-ons.php:46 admin/add-ons.php:134 admin/add-ons.php:236
|
||||
#: admin/pms-cross-promotion.php:90 admin/pms-cross-promotion.php:118
|
||||
#: admin/pms-cross-promotion.php:197
|
||||
msgid "Deactivate"
|
||||
@ -1669,33 +1682,33 @@ msgstr ""
|
||||
"Coś poszło nie tak. Nie możemy połączyć się z serwerem. Spróbuj ponownie "
|
||||
"później."
|
||||
|
||||
#: admin/add-ons.php:148 admin/add-ons.php:248
|
||||
#: admin/add-ons.php:149 admin/add-ons.php:249
|
||||
#: admin/pms-cross-promotion.php:134 admin/pms-cross-promotion.php:213
|
||||
msgid "Download Now"
|
||||
msgstr "Pobierz"
|
||||
|
||||
#: admin/add-ons.php:153 admin/add-ons.php:251
|
||||
#: admin/add-ons.php:154 admin/add-ons.php:252
|
||||
#: admin/pms-cross-promotion.php:141 admin/pms-cross-promotion.php:220
|
||||
msgid "Compatible with your version of Profile Builder."
|
||||
msgstr "Kompatybilność z twoją wersją Profile Builder."
|
||||
|
||||
#: admin/add-ons.php:162
|
||||
#: admin/add-ons.php:163
|
||||
msgid "Upgrade Profile Builder"
|
||||
msgstr "Zaktualizuj Profile Builder"
|
||||
|
||||
#: admin/add-ons.php:163
|
||||
#: admin/add-ons.php:164
|
||||
msgid "Not compatible with Profile Builder"
|
||||
msgstr "Niekompatybilne z Profile Builder"
|
||||
|
||||
#: admin/add-ons.php:171
|
||||
#: admin/add-ons.php:172
|
||||
msgid "Not compatible with your version of Profile Builder."
|
||||
msgstr "Niekompatybilne z twoją wersją Profile Buildera"
|
||||
|
||||
#: admin/add-ons.php:172
|
||||
#: admin/add-ons.php:173
|
||||
msgid "Minimum required Profile Builder version:"
|
||||
msgstr "Minimalna wymagana wersja Profile Buidler:"
|
||||
|
||||
#: admin/add-ons.php:177
|
||||
#: admin/add-ons.php:178
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Could not install add-on. Retry or <a href=\"%s\" target=\"_blank\">install "
|
||||
@ -3286,6 +3299,12 @@ msgstr ""
|
||||
"pojawi się na Twojej stronie! ( możesz zmienić to ustawienie w zakładce "
|
||||
"\"%s\" )"
|
||||
|
||||
#: admin/admin-functions.php:41
|
||||
msgid "Display name publicly as - only appears on the Edit Profile page!"
|
||||
msgstr ""
|
||||
"Wyświetlona nazwa użytkownika tylko się wyświetla w zakładce: ,,Edycja "
|
||||
"profilu''"
|
||||
|
||||
#: admin/admin-functions.php:132
|
||||
#, php-format
|
||||
msgid ""
|
||||
@ -3334,52 +3353,52 @@ msgstr "Instaluj teraz"
|
||||
msgid "Basic Information"
|
||||
msgstr "Informacje podstawowe"
|
||||
|
||||
#: admin/basic-info.php:31
|
||||
#: admin/basic-info.php:32
|
||||
msgid ""
|
||||
"The best way to add front-end registration, edit profile and login forms."
|
||||
msgstr ""
|
||||
"Najlepszy sposób, aby dodać możliwość rejestracji użytkowników, edycję ich "
|
||||
"profili oraz formularze do logowania."
|
||||
|
||||
#: admin/basic-info.php:33
|
||||
#: admin/basic-info.php:34
|
||||
msgid "For Modern User Interaction"
|
||||
msgstr "Dla Nowoczesnej Interakcji Użytkowników"
|
||||
|
||||
#: admin/basic-info.php:36 features/login-widget/login-widget.php:59
|
||||
#: admin/basic-info.php:37 features/login-widget/login-widget.php:59
|
||||
msgid "Login"
|
||||
msgstr "Login"
|
||||
|
||||
#: admin/basic-info.php:37
|
||||
#: admin/basic-info.php:38
|
||||
#, php-format
|
||||
msgid "Friction-less login using %s shortcode or a widget."
|
||||
msgstr "Logowanie \"bez tarcia\" przy użyciu shortcode: %s lub widgetu."
|
||||
msgstr ",,Bezbolesne'' logowanie z wykorzystaniem shortcodu: %s albo widgetu"
|
||||
|
||||
#: admin/basic-info.php:40
|
||||
#: admin/basic-info.php:41
|
||||
msgid "Registration"
|
||||
msgstr "Rejestracja"
|
||||
|
||||
#: admin/basic-info.php:41
|
||||
#: admin/basic-info.php:42
|
||||
#, php-format
|
||||
msgid "Beautiful registration forms fully customizable using the %s shortcode."
|
||||
msgstr ""
|
||||
"Ładne, w pełni edytowalne formularze rejestracji z wykorzystaniem shortcode: "
|
||||
"%s"
|
||||
"Łatwy i przyjemny formularz rejestracji (w pełni konfigurowalny) z "
|
||||
"wykorzystaniem shortcodu %s. "
|
||||
|
||||
#: admin/basic-info.php:44
|
||||
#: admin/basic-info.php:45
|
||||
msgid "Edit Profile"
|
||||
msgstr "Edytuj profil"
|
||||
|
||||
#: admin/basic-info.php:45
|
||||
#: admin/basic-info.php:46
|
||||
#, php-format
|
||||
msgid "Straight forward edit profile forms using %s shortcode."
|
||||
msgstr "Prosta edycja profilu za pomocą shortcodu: %s"
|
||||
msgstr "Prosta edycja profilu w formularzu z wykorzystaniem shortcodu: %s"
|
||||
|
||||
#: features/upgrades/upgrades-functions.php:91
|
||||
#: features/upgrades/upgrades-functions.php:134
|
||||
msgid "The usernames cannot be changed."
|
||||
msgstr "Nazwa użytkownika nie może być zmieniona."
|
||||
|
||||
#: features/roles-editor/roles-editor.php:249
|
||||
#: features/roles-editor/roles-editor.php:250
|
||||
msgid "Role"
|
||||
msgstr "Rola"
|
||||
|
||||
@ -3408,47 +3427,47 @@ msgstr "Powiadomienie email przesłane ponownie do użytkownika"
|
||||
msgid "You either don't have permission for that action or there was an error!"
|
||||
msgstr "Nie masz uprawnień do wykonania tej akcji lub wystąpił błąd!"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:397
|
||||
#: features/email-confirmation/email-confirmation.php:398
|
||||
#, php-format
|
||||
msgid "[%1$s] Activate %2$s"
|
||||
msgstr "[%1$s] Aktywuj %2$s"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:444
|
||||
#: features/email-confirmation/email-confirmation.php:445
|
||||
msgid "That username is already activated!"
|
||||
msgstr "Kont tego użytkownika jest już aktywne!"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:467
|
||||
#: features/email-confirmation/email-confirmation.php:468
|
||||
msgid "There was an error while trying to activate the user"
|
||||
msgstr "Wystąpił błąd podczas aktywowania konta dla tego użytkownika"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:515
|
||||
#: features/email-confirmation/email-confirmation.php:516
|
||||
msgid "A new subscriber has (been) registered!"
|
||||
msgstr "Nowy użytkownik został zarejestrowany!"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:518
|
||||
#: features/email-confirmation/email-confirmation.php:519
|
||||
#, php-format
|
||||
msgid "New subscriber on %1$s.<br/><br/>Username:%2$s<br/>E-mail:%3$s<br/>"
|
||||
msgstr ""
|
||||
"Nowy subskrybent na %1$s.<br/><br/>Nazwa Użytkownika:%2$s<br/>E-mail:"
|
||||
"%3$s<br/>"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:569
|
||||
#: features/email-confirmation/email-confirmation.php:570
|
||||
#, php-format
|
||||
msgid "[%1$s] Your new account information"
|
||||
msgstr "[%1$s] Informacje o Twoim nowym koncie"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:573
|
||||
#: features/email-confirmation/email-confirmation.php:582
|
||||
#: features/email-confirmation/email-confirmation.php:574
|
||||
#: features/email-confirmation/email-confirmation.php:583
|
||||
msgid "Your selected password at signup"
|
||||
msgstr "Hasło, które podałeś podczas rejestracji"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:580
|
||||
#: features/email-confirmation/email-confirmation.php:581
|
||||
#, php-format
|
||||
msgid "Welcome to %1$s!<br/><br/><br/>Your username is:%2$s and password:%3$s"
|
||||
msgstr ""
|
||||
"Witaj na %1$s!<br/><br/><br/>Twoja nazwa użytkownika to:%2$s oraz hasło:%3$s"
|
||||
|
||||
#: features/email-confirmation/email-confirmation.php:633
|
||||
#: features/email-confirmation/email-confirmation.php:634
|
||||
msgid ""
|
||||
"The \"Admin Approval\" feature was activated at the time of registration, so "
|
||||
"please remember that you need to approve this user before he/she can log in!"
|
||||
|
BIN
questions.zip
BIN
questions.zip
Binary file not shown.
Binary file not shown.
@ -1,117 +0,0 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: User Private Files 1.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-01 19:24+0000\n"
|
||||
"PO-Revision-Date: 2017-06-01 19:44+0000\n"
|
||||
"Last-Translator: admin <parys15@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: pl_PL\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10 >= 2 && n%10<=4 "
|
||||
"&&(n%100<10||n%100 >= 20)? 1 : 2);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Loco https://localise.biz/"
|
||||
|
||||
#: user-private-files.php:53
|
||||
msgid "You do not have sufficient permissions to access this page."
|
||||
msgstr "Nie masz uprawnień do wejścia na Tę stronę"
|
||||
|
||||
#: user-private-files.php:66
|
||||
msgid "Settings Saved"
|
||||
msgstr "Ustawienia zostały zapisane"
|
||||
|
||||
#: user-private-files.php:74
|
||||
msgid "User Private Files Settings"
|
||||
msgstr "Ustawienia powiadomień"
|
||||
|
||||
#: user-private-files.php:76
|
||||
msgid "Notification"
|
||||
msgstr "Powiadomienie "
|
||||
|
||||
#: user-private-files.php:80
|
||||
msgid "Email Subject:"
|
||||
msgstr "Tytuł email "
|
||||
|
||||
#: user-private-files.php:84
|
||||
msgid "Email Message:"
|
||||
msgstr "Treść email"
|
||||
|
||||
#: user-private-files.php:87
|
||||
msgid "Available Variables: "
|
||||
msgstr "Dostępne \"zmienne\" (możliwe do wykorzystania kody)"
|
||||
|
||||
#: user-private-files.php:93
|
||||
msgid "Save Changes"
|
||||
msgstr "Zapisz zmainy"
|
||||
|
||||
#: user-private-files.php:186
|
||||
msgid "User"
|
||||
msgstr "Użytkownik "
|
||||
|
||||
#: user-private-files.php:258
|
||||
msgid "User File"
|
||||
msgstr "Plik użytkownika"
|
||||
|
||||
#: user-private-files.php:269
|
||||
msgid "Current file:"
|
||||
msgstr "Obecny plik"
|
||||
|
||||
#: user-private-files.php:273
|
||||
msgid "Upload a PDF file here"
|
||||
msgstr "Prześlij plik PDF tutaj"
|
||||
|
||||
#: user-private-files.php:275
|
||||
msgid "Select a user"
|
||||
msgstr "Wybierz użytkownika "
|
||||
|
||||
#: user-private-files.php:286
|
||||
msgid "Notify User"
|
||||
msgstr "Powiadom użytkownika "
|
||||
|
||||
#: user-private-files.php:337
|
||||
msgid "The file type that you've uploaded is not a PDF."
|
||||
msgstr "Plik, który przesłałeś nie jest plikiem PDF"
|
||||
|
||||
#: user-private-files.php:538
|
||||
msgid "Show all years"
|
||||
msgstr "Pokaż wszystkie lata"
|
||||
|
||||
#: user-private-files.php:555
|
||||
msgid "Show all categories"
|
||||
msgstr "Pokaż wszystkie kategorie"
|
||||
|
||||
#: user-private-files.php:565
|
||||
msgid "Filter"
|
||||
msgstr "Filter"
|
||||
|
||||
#: user-private-files.php:600 user-private-files.php:656
|
||||
msgid "View and Print"
|
||||
msgstr "Otwórz w nowej karcie i Wydrukuj"
|
||||
|
||||
#: user-private-files.php:601 user-private-files.php:657
|
||||
msgid "Download"
|
||||
msgstr "Pobierz"
|
||||
|
||||
#. Name of the plugin
|
||||
msgid "User Private Files 1.1"
|
||||
msgstr "User Private Files 1.1"
|
||||
|
||||
#. Description of the plugin
|
||||
msgid ""
|
||||
"Plugin to manage private files for users. You can upload files for your "
|
||||
"users to access, files are only viewable/downloadable for the designated "
|
||||
"users."
|
||||
msgstr ""
|
||||
"Plugin do zarządzania prywatnymi plikami dla użytkowników. Możesz przesłać "
|
||||
"pliki które będą dostępne do obejrzenia , ściągnięcia tylko dla wybranych "
|
||||
"użytkowników."
|
||||
|
||||
#. Author of the plugin
|
||||
msgid "Hai Bui - FLDtrace team"
|
||||
msgstr "Hai Bui - FLDtrace team"
|
||||
|
||||
#. Author URI of the plugin
|
||||
msgid "http://www.fldtrace.com"
|
||||
msgstr "http://www.fldtrace.com"
|
Binary file not shown.
@ -1,12 +1,14 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: User Private Files 1.1
|
||||
Description: Plugin to manage private files for users. You can upload files for your users to access, files are only viewable/downloadable for the designated users.
|
||||
Description: Plugin do zarządzania prywatnymi plikami dla użytkowników. Możesz przesłać pliki które będą dostępne do oglądania lub pobrania tylko ,,wybranym'' użytkownikom.
|
||||
Author: Hai Bui - FLDtrace team
|
||||
Author URI: http://www.fldtrace.com
|
||||
License: GPL
|
||||
Version: 1.1
|
||||
|
||||
OriginalDescription: Plugin to manage private files for users. You can upload files for your users to access, files are only viewable/downloadable for the designated users.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License, version 2, as
|
||||
published by the Free Software Foundation.
|
||||
|
Loading…
Reference in New Issue
Block a user