- Plugin para bloquear las actualizaciones

- Plugin para listar los grupos creados desde el dashboard.

git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@117 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-23 16:20:11 +00:00
parent 7a68cefb5a
commit a247cf1db1
24 changed files with 2755 additions and 0 deletions

View File

@ -0,0 +1 @@
.DS_Store

View File

@ -0,0 +1,147 @@
<?php
function bp_group_management_group_action_buttons( $id, $group ) {
?>
<p>
<a class="button" href="admin.php?page=bp-group-management&amp;action=edit&amp;id=<?php echo $id; ?>"><?php _e( 'Members', 'bp-group-management' ) ?></a>
<a class="button-secondary action" href="admin.php?page=bp-group-management&amp;action=delete&amp;id=<?php echo $id; ?>"><?php _e( 'Delete', 'bp-group-management' ) ?></a>
<a class="button-secondary action" href="<?php echo bp_get_group_permalink( $group ); ?>admin"><?php _e( 'Admin', 'bp-group-management' ) ?></a>
<a class="button-secondary action" href="<?php echo bp_get_group_permalink( $group ); ?>"><?php _e('Visit', 'bp-group-management'); ?></a>
</p>
<?php
}
/* The next few functions recreate core BP functionality, minus the check for $bp->is_item_admin and with some tweaks to the returned values */
function bp_group_management_ban_member( $user_id, $group_id ) {
global $bp;
$member = new BP_Groups_Member( $user_id, $group_id );
do_action( 'groups_ban_member', $group_id, $user_id );
if ( !$member->ban() )
return false;
update_usermeta( $user_id, 'total_group_count', (int)$total_count - 1 );
return true;
}
function bp_group_management_unban_member( $user_id, $group_id ) {
global $bp;
$member = new BP_Groups_Member( $user_id, $group_id );
do_action( 'groups_unban_member', $group_id, $user_id );
return $member->unban();
}
function bp_group_management_promote_member( $user_id, $group_id, $status ) {
global $bp;
$member = new BP_Groups_Member( $user_id, $group_id );
do_action( 'groups_promote_member', $group_id, $user_id, $status );
return $member->promote( $status );
}
function bp_group_management_delete_group( $group_id ) {
global $bp;
$group = new BP_Groups_Group( $group_id );
if ( !$group->delete() )
return false;
/* Delete all group activity from activity streams */
if ( function_exists( 'bp_activity_delete_by_item_id' ) ) {
bp_activity_delete_by_item_id( array( 'item_id' => $group_id, 'component' => $bp->groups->id ) );
}
// Remove all outstanding invites for this group
groups_delete_all_group_invites( $group_id );
// Remove all notifications for any user belonging to this group
bp_core_delete_all_notifications_by_type( $group_id, $bp->groups->slug );
do_action( 'groups_delete_group', $group_id );
return true;
}
function bp_group_management_join_group( $group_id, $user_id = false ) {
global $bp;
if ( !$user_id )
$user_id = $bp->loggedin_user->id;
/* Check if the user has an outstanding invite, is so delete it. */
if ( groups_check_user_has_invite( $user_id, $group_id ) )
groups_delete_invite( $user_id, $group_id );
/* Check if the user has an outstanding request, is so delete it. */
if ( groups_check_for_membership_request( $user_id, $group_id ) )
groups_delete_membership_request( $user_id, $group_id );
/* User is already a member, just return true */
if ( groups_is_user_member( $user_id, $group_id ) )
return true;
if ( !$bp->groups->current_group )
$bp->groups->current_group = new BP_Groups_Group( $group_id );
$new_member = new BP_Groups_Member;
$new_member->group_id = $group_id;
$new_member->user_id = $user_id;
$new_member->inviter_id = 0;
$new_member->is_admin = 0;
$new_member->user_title = '';
$new_member->date_modified = gmdate( "Y-m-d H:i:s" );
$new_member->is_confirmed = 1;
if ( !$new_member->save() )
return false;
/* Record this in activity streams */
groups_record_activity( array(
'user_id' => $user_id,
'action' => apply_filters( 'groups_activity_joined_group', sprintf( __( '%s joined the group %s', 'bp-group-management'), bp_core_get_userlink( $user_id ), '<a href="' . bp_get_group_permalink( $bp->groups->current_group ) . '">' . esc_html( $bp->groups->current_group->name ) . '</a>' ) ),
'type' => 'joined_group',
'item_id' => $group_id
) );
/* Modify group meta */
groups_update_groupmeta( $group_id, 'total_member_count', (int) groups_get_groupmeta( $group_id, 'total_member_count') + 1 );
groups_update_groupmeta( $group_id, 'last_activity', gmdate( "Y-m-d H:i:s" ) );
do_action( 'groups_join_group', $group_id, $user_id );
return true;
}
function bp_group_management_pagination_links() {
global $groups_template;
$add_args = array();
if ( isset( $_GET['order'] ) )
$add_args['order'] = $_GET['order'];
$search_terms = isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '';
$links = paginate_links( array(
'base' => add_query_arg( array( 'grpage' => '%#%', 'num' => $groups_template->pag_num, 's' => $search_terms, 'sortby' => $groups_template->sort_by ) ),
'format' => '',
'total' => ceil($groups_template->total_group_count / $groups_template->pag_num),
'current' => $groups_template->pag_page,
'prev_text' => '&larr;',
'next_text' => '&rarr;',
'mid_size' => 1,
'add_args' => $add_args
));
echo $links;
}
?>

View File

@ -0,0 +1,612 @@
<?php
require_once( dirname(__FILE__) . '/bp-group-management-aux.php' );
function bp_group_management_admin_screen() {
global $wpdb;
do_action( 'bp_gm_action' );
$action = isset( $_GET['action'] ) ? $_GET['action'] : false;
switch( $action ) {
case "settings":
bp_group_management_settings();
break;
case "edit":
bp_group_management_admin_edit();
break;
case "delete":
bp_group_management_admin_delete();
break;
default:
bp_group_management_admin_main();
}
}
/* Creates the main group listing page (Dashboard > BuddyPress > Group Management) */
function bp_group_management_admin_main() {
/* Group delete requests are sent back to the main page. This handles group deletions */
if( isset( $_GET['group_action'] ) && $_GET['group_action'] == 'delete' ) {
if ( !check_admin_referer( 'bp-group-management-action_group_delete' ) )
return false;
if ( !bp_group_management_delete_group( $_GET['id'] ) ) { ?>
<div id="message" class="updated fade"><p><?php _e('Sorry, there was an error.', 'bp-group-management'); ?></p></div>
<?php } else { ?>
<div id="message" class="updated fade"><p><?php _e('Group deleted.', 'bp-group-management'); ?></p></div>
<?php
do_action( 'groups_group_deleted', $bp->groups->current_group->id );
}
}
?>
<div class="wrap bp-gm-wrap">
<h2><?php _e( 'Group Management', 'bp-group-management' ) ?></h2>
<br />
<?php
if ( !$options = get_option( 'bp_gm_settings' ) )
$per_page = 10;
else
$per_page = $options['groups_per_page'];
$args = array( 'type' => 'alphabetical', 'per_page' => $per_page );
$order = isset( $_GET['order'] ) ? $_GET['order'] : false;
if ( $order == 'name' )
$args['type'] = 'alphabetical';
else if ( $order == 'group_id' )
$args['type'] = 'newest';
else if ( $order == 'popular' )
$args['type'] = 'popular';
$args['page'] = isset( $_GET['grpage'] ) ? $_GET['grpage'] : 1;
if( bp_has_groups( $args ) ) :
global $groups_template;
?>
<div class="tablenav">
<div class="tablenav-pages">
<span class="displaying-num" id="group-dir-count">
<?php bp_groups_pagination_count() ?>
</span>
<span class="page-numbers" id="group-dir-pag">
<?php bp_group_management_pagination_links() ?>
</span>
</div>
</div>
<table width="100%" cellpadding="3" cellspacing="3" class="widefat">
<thead>
<tr>
<th scope="col" class="check-column"></th>
<th scope="col" class="bp-gm-group-id-header"><a href="admin.php?page=bp-group-management&amp;order=group_id"><?php _e( 'Group ID', 'bp-group-management' ) ?></a></th>
<th scope="col"><?php _e( 'Group avatar', 'bp-group-management' ); ?></th>
<th scope="col"><a href="admin.php?page=bp-group-management&amp;order=name"><?php _e( 'Group Name', 'bp-group-management' ) ?></a></th>
<th scope="col"><?php _e( 'Group type', 'bp-group-management' ); ?></th>
<th scope="col"><a href="admin.php?page=bp-group-management&amp;order=group_id"><?php _e( 'Date Created', 'bp-group-management' ) ?></a></th>
<th scope="col"><a href="admin.php?page=bp-group-management&amp;order=popular"><?php _e( 'Number of Members', 'bp-group-management' ) ?></a></th>
<?php do_action( 'bp_gm_group_column_header' ); ?>
</tr>
</thead>
<tbody id="the-list">
<?php while( bp_groups() ) : bp_the_group(); ?>
<?php
$group = $groups_template->group;
?>
<tr>
<th scope="row" class="check-column">
</th>
<th scope="row" class="bp-gm-group-id">
<?php bp_group_id(); ?>
</th>
<td scope="row" class="bp-gm-avatar">
<a href="admin.php?page=bp-group-management&action=edit&id=<?php bp_group_id() ?>" class="edit"><?php bp_group_avatar( 'width=35&height=35' ); ?></a>
</td>
<td scope="row">
<?php bp_group_name(); ?>
<br/>
<?php
$controlActions = array();
$controlActions[] = '<a href="admin.php?page=bp-group-management&amp;action=edit&amp;id=' . bp_get_group_id() . '" class="edit">' . __('Members', 'bp-group-management' ) . '</a>';
$controlActions[] = '<a class="delete" href="admin.php?page=bp-group-management&amp;action=delete&amp;id=' . bp_get_group_id() . '">' . __("Delete") . '</a>';
$controlActions[] = '<a href="' . bp_get_group_permalink( ) . 'admin">' . __( 'Admin', 'bp-group-management' ) . '</a>';
$controlActions[] = "<a href='" . bp_get_group_permalink() ."' rel='permalink'>" . __('Visit', 'bp-group-management') . '</a>';
$controlActions = apply_filters( 'bp_gm_group_action_links', $controlActions );
?>
<?php if (count($controlActions)) : ?>
<div class="row-actions">
<?php echo implode(' | ', $controlActions); ?>
</div>
<?php endif; ?>
</td>
<td scope="row">
<?php bp_group_type(); ?>
</td>
<td scope="row">
<?php echo $group->date_created; ?>
</td>
<td scope="row">
<?php bp_group_total_members(); ?>
</td>
<?php do_action( 'bp_gm_group_column_data' ); ?>
</tr>
<?php endwhile; ?>
</tbody>
</table>
<div class="tablenav">
<div class="tablenav-pages">
<span class="displaying-num" id="group-dir-count">
<?php bp_groups_pagination_count() ?>
</span>
<span class="page-numbers" id="group-dir-pag">
<?php bp_group_management_pagination_links() ?>
</span>
</div>
</div>
<?php else: ?>
You don't have any groups to manage.
<?php endif; ?>
<a class="button" id="bp-gm-settings-link" href="admin.php?page=bp-group-management&action=settings"><?php _e( 'Plugin settings', 'bp-group-management' ); ?></a>
</div>
<?php
}
function bp_group_management_admin_edit() {
?>
<div class="wrap">
<?php
$id = (int)$_GET['id'];
$group = new BP_Groups_Group( $id, true );
$member_action = isset( $_GET['member_action'] ) ? $_GET['member_action'] : false;
$member_id = isset( $_GET['member_id'] ) ? $_GET['member_id'] : false;
switch( $member_action ) {
case "kick":
if ( !check_admin_referer( 'bp-group-management-action_kick' ) )
return false;
if ( !bp_group_management_ban_member( $member_id, $id ) ) { ?>
<div id="message" class="updated fade"><p><?php _e('Sorry, there was an error.', 'bp-group-management'); ?></p></div>';
<?php } else { ?>
<div id="message" class="updated fade"><p><?php _e('Member kicked and banned', 'bp-group-management') ?></p></div>
<?php }
do_action( 'groups_banned_member', $member_id, $id );
break;
case "unkick":
if ( !check_admin_referer( 'bp-group-management-action_unkick' ) )
return false;
if ( !bp_group_management_unban_member( $member_id, $id ) ) { ?>
<div id="message" class="updated fade"><p><?php _e('Sorry, there was an error.', 'bp-group-management'); ?></p></div>
<?php } else { ?>
<div id="message" class="updated fade"><p><?php _e('Member unbanned', 'bp-group-management'); ?></p></div>
<?php }
do_action( 'groups_banned_member', $member_id, $id );
break;
case "demote":
if ( !check_admin_referer( 'bp-group-management-action_demote' ) )
return false;
if ( !groups_demote_member( $member_id, $id ) ) { ?>
<div id="message" class="updated fade"><p><?php _e('Sorry, there was an error.', 'bp-group-management'); ?></p></div>
<?php } else { ?>
<div id="message" class="updated fade"><p><?php _e('Member demoted', 'bp-group-management'); ?></p></div>
<?php }
do_action( 'groups_demoted_member', $member_id, $id );
break;
case "mod":
if ( !check_admin_referer( 'bp-group-management-action_mod' ) )
return false;
if ( !bp_group_management_promote_member( $member_id, $id, 'mod' ) ) { ?>
<div id="message" class="updated fade"><p><?php _e('Sorry, there was an error.', 'bp-group-management'); ?></p></div>
<?php } else { ?>
<div id="message" class="updated fade"><p><?php _e('Member promoted to moderator', 'bp-group-management'); ?></p></div>
<?php }
do_action( 'groups_promoted_member', $member_id, $id );
break;
case "admin":
if ( !check_admin_referer( 'bp-group-management-action_admin' ) )
return false;
if ( !bp_group_management_promote_member( $member_id, $id, 'admin' ) ) { ?>
<div id="message" class="updated fade"><p><?php _e('Sorry, there was an error.', 'bp-group-management'); ?></p></div>
<?php } else { ?>
<div id="message" class="updated fade"><p><?php _e('Member promoted to admin', 'bp-group-management'); ?></p></div>
<?php }
break;
case "add":
if ( !check_admin_referer( 'bp-group-management-action_add' ) )
return false;
if ( !bp_group_management_join_group( $id, $member_id ) ) { ?>
<div id="message" class="updated fade"><p><?php _e('Sorry, there was an error.', 'bp-group-management'); ?></p></div>
<?php } else { ?>
<div id="message" class="updated fade"><p><?php _e('User added to group', 'bp-group-management'); ?></p></div>
<?php }
break;
case "remove":
if ( !check_admin_referer( 'bp-group-management-action_remove' ) )
return false;
if ( !groups_leave_group( $id, $_GET['member_id'] ) ) { ?>
<div id="message" class="updated fade"><p><?php _e('Sorry, there was an error.', 'bp-group-management'); ?></p></div>
<?php } else { ?>
<div id="message" class="updated fade"><p><?php _e('User removed from group', 'bp-group-management'); ?></p></div>
<?php }
break;
default :
do_action( 'bp_gm_member_action', $group, $id, $member_action, $member_id );
break;
}
?>
<h2><?php _e( 'Group Management', 'bp-group-management' ) ?> : <?php echo bp_get_group_name( $group ); ?></h2>
<a href="admin.php?page=bp-group-management">&larr; <?php _e( 'Group index', 'bp-group-management' ) ?></a>
<div class="bp-gm-group-actions">
<h3><?php _e( 'Group actions', 'bp-group-management' ); ?></h3>
<?php bp_group_management_group_action_buttons( $id, $group ) ?>
</div>
<div class="bp-gm-group-members">
<?php if ( bp_group_has_members( 'group_id=' . $id . '&exclude_admins_mods=0&exclude_banned=0' ) ) { ?>
<h3><?php _e( 'Manage current and banned group members', 'bp-group-management' ) ?></h3>
<?php if ( bp_group_member_needs_pagination() ) : ?>
<div class="pagination no-ajax">
<div id="member-count" class="pag-count">
<?php bp_group_member_pagination_count() ?>
</div>
<div id="member-admin-pagination" class="pagination-links">
<?php bp_group_member_admin_pagination() ?>
</div>
</div>
<?php endif; ?>
<ul id="members-list" class="item-list single-line">
<?php while ( bp_group_members() ) : bp_group_the_member(); ?>
<?php if ( bp_get_group_member_is_banned() ) : ?>
<li class="banned-user">
<?php bp_group_member_avatar_mini() ?>
<?php
$unkicklink = "admin.php?page=bp-group-management&amp;action=edit&amp;id=" . $id . "&amp;member_id=" . bp_get_group_member_id() . "&amp;member_action=unkick";
$unkicklink = ( function_exists('wp_nonce_url') ) ? wp_nonce_url($unkicklink, 'bp-group-management-action_unkick') : $unkicklink;
?>
<?php bp_group_member_link() ?> <?php _e( '(banned)', 'bp-group-management') ?> <span class="small"> - <a href="<?php echo $unkicklink; ?>" class="confirm" title="<?php _e( 'Remove Ban', 'bp-group-management' ) ?>"><?php _e( 'Remove Ban', 'bp-group-management' ); ?></a>
<?php else : ?>
<li>
<?php bp_group_member_avatar_mini() ?>
<?php
$kicklink = "admin.php?page=bp-group-management&amp;action=edit&amp;id=" . $id . "&amp;member_id=" . bp_get_group_member_id() . "&amp;member_action=kick";
$kicklink = ( function_exists('wp_nonce_url') ) ? wp_nonce_url($kicklink, 'bp-group-management-action_kick') : $kicklink;
$removelink = "admin.php?page=bp-group-management&amp;action=edit&amp;id=" . $id . "&amp;member_id=" . bp_get_group_member_id() . "&amp;member_action=remove";
$removelink = ( function_exists('wp_nonce_url') ) ? wp_nonce_url($removelink, 'bp-group-management-action_remove') : $removelink;
$modlink = "admin.php?page=bp-group-management&amp;action=edit&amp;id=" . $id . "&amp;member_id=" . bp_get_group_member_id() . "&amp;member_action=mod";
$modlink = ( function_exists('wp_nonce_url') ) ? wp_nonce_url($modlink, 'bp-group-management-action_mod') : $modlink;
$demotelink = "admin.php?page=bp-group-management&amp;action=edit&amp;id=" . $id . "&amp;member_id=" . bp_get_group_member_id() . "&amp;member_action=demote";
$demotelink = ( function_exists('wp_nonce_url') ) ? wp_nonce_url($demotelink, 'bp-group-management-action_demote') : $demotelink;
$adminlink = "admin.php?page=bp-group-management&amp;action=edit&amp;id=" . $id . "&amp;member_id=" . bp_get_group_member_id() . "&amp;member_action=admin";
$adminlink = ( function_exists('wp_nonce_url') ) ? wp_nonce_url($adminlink, 'bp-group-management-action_admin') : $adminlink;
?>
<strong><?php bp_group_member_link() ?></strong>
<span class="small"> -
<a href="<?php echo $removelink; ?>" title="<?php _e( 'Remove Member', 'bp-group-management' ); ?>"><?php _e( 'Remove', 'bp-group-management' ); ?></a> |
<a href="<?php echo $kicklink; ?>" class="confirm" title="<?php _e( 'Kick and ban this member', 'bp-group-management' ); ?>"><?php _e( 'Kick &amp; Ban', 'bp-group-management' ); ?></a> |
<?php if ( groups_is_user_admin( bp_get_group_member_id(), $id ) ) : ?>
<a href="<?php echo $demotelink; ?>" class="confirm" title="<?php _e( 'Demote to Member', 'bp-group-management' ); ?>"><?php _e( 'Demote to Member', 'bp-group-management' ); ?></a>
<?php elseif ( groups_is_user_mod( bp_get_group_member_id(), $id ) ) : ?>
<a href="<?php echo $demotelink; ?>" class="confirm" title="<?php _e( 'Demote to Member', 'bp-group-management' ); ?>"><?php _e( 'Demote to Member', 'bp-group-management' ); ?></a> | <a href="<?php echo $adminlink; ?>" class="confirm" title="<?php _e( 'Promote to Admin', 'bp-group-management' ); ?>"><?php _e( 'Promote to Admin', 'bp-group-management' ); ?></a></span>
<?php else : ?>
<a href="<?php echo $modlink; ?>" class="confirm" title="<?php _e( 'Promote to Moderator', 'bp-group-management' ); ?>"><?php _e( 'Promote to Moderator', 'bp-group-management' ); ?></a> | <a href="<?php echo $adminlink; ?>" class="confirm" title="<?php _e( 'Promote to Admin', 'bp-group-management' ); ?>"><?php _e( 'Promote to Admin', 'bp-group-management' ); ?></a></span>
<?php endif; ?>
<?php endif; ?>
<?php do_action( 'bp_group_manage_members_admin_item' ); ?>
</li>
<?php endwhile; ?>
</ul>
<?php } ?>
</div>
<?php bp_group_management_add_member_list( $id ); ?>
<?php do_action( 'bp_gm_more_group_actions' ); ?>
</div>
<?php
}
function bp_group_management_add_member_list( $id ) {
global $wpdb;
$settings = get_option( 'bp_gm_settings' );
if ( !$per_page = $settings['members_per_page'] )
$per_page = 50;
?>
<div class="bp-gm-add-members">
<h3><?php _e('Add members to group', 'bp-group-management') ?></h3>
<ul>
<?php
$query = "SELECT `ID` FROM {$wpdb->users}";
if ( is_multisite() )
$query .= " WHERE spam = 0";
$members = $wpdb->get_results( $query, ARRAY_A );
foreach ( $members as $key => $m ) {
if( groups_is_user_member( $m['ID'], $id ) )
unset($members[$key]);
if( groups_is_user_banned( $m['ID'], $id ) )
unset($members[$key]);
}
$members = array_values( $members );
if ( isset( $_GET['members_page'] ) )
$start = ( $_GET['members_page'] - 1 ) * $per_page;
else
$start = 0;
//print "<pre>";
//print_r($members);
$pag_links = paginate_links( array(
'base' => add_query_arg( 'members_page', '%#%' ),
'format' => '',
'total' => ceil(count($members) / $per_page),
'current' => isset( $_GET['members_page'] ) ? $_GET['members_page'] : false,
'show_all' => false,
'prev_next' => true,
'prev_text' => '&larr;',
'next_text' => '&rarr;',
'mid_size' => 4,
'type' => 'list',
));
echo '<div class="tablenav"> <div class="tablenav-pages">';
echo $pag_links;
echo '</div></div>';
echo '<ul>';
for( $i = $start; $i < $start + $per_page; $i++ ) {
if( empty( $members[$i] ) )
break;
$addlink = "admin.php?page=bp-group-management&amp;action=edit&amp;id=" . $id . "&amp;member_id=" . $members[$i]['ID'] . "&amp;member_action=add";
if ( isset( $_GET['members_page'] ) )
$addlink .= "&amp;members_page=" . $_GET['members_page'];
$addlink = ( function_exists('wp_nonce_url') ) ? wp_nonce_url($addlink, 'bp-group-management-action_add') : $addlink;
?>
<li>
<strong><a href="<?php echo $addlink; ?>"><?php _e( 'Add', 'bp-group-management' ) ?></a></strong> - <?php echo bp_core_get_userlink($members[$i]['ID']); ?>
</li>
<?php }
echo '</ul>';
?>
</ul>
<?php do_action( 'bp_gm_more_group_actions' ); ?>
<div style="clear: both;"> </div>
<a class="button" id="bp-gm-settings-link" href="admin.php?page=bp-group-management&action=settings">Plugin settings</a>
</div>
<?php
}
function bp_group_management_admin_delete() {
$id = (int)$_GET['id'];
$group = new BP_Groups_Group( $id, true );
$deletelink = "admin.php?page=bp-group-management&amp;group_action=delete&amp;id=" . $id;
$deletelink = ( function_exists('wp_nonce_url') ) ? wp_nonce_url($deletelink, 'bp-group-management-action_group_delete') : $deletelink;
$backlink = "admin.php?page=bp-group-management&amp;action=edit&amp;id=" . $id;
?>
<div class="wrap">
<h2><?php _e( 'Group Management', 'bp-group-management' ) ?> : <?php echo bp_get_group_name( $group ); ?></h2>
<a href="admin.php?page=bp-group-management">&larr; <?php _e( 'Group index', 'bp-group-management' ) ?></a>
<div class="bp-gm-group-actions">
<h3><?php _e( 'Group actions', 'bp-group-management' ); ?></h3>
<?php bp_group_management_group_action_buttons( $id, $group ) ?>
</div>
<h3><?php _e( 'Deleting the group', 'bp-group-management' ); ?> <?php echo '"' . bp_get_group_name( $group ) . '"'; ?></h3>
<p><?php _e( 'You are about to delete the group', 'bp-group-management' ) ?> <em><?php echo bp_get_group_name( $group ); ?></em>. <strong><?php _e( 'This action cannot be undone.', 'bp-group-management' ) ?></strong></p>
<p><a class="button-primary action" href="<?php echo $deletelink; ?>"><?php _e( 'Delete Group', 'bp-group-management' ) ?></a>
<a class="button-secondary action" href="<?php echo $backlink; ?>"><?php _e('Oops, I changed my mind', 'bp-group-management') ?></a></p>
</div>
<?php
}
/* These functions handle the settings page */
function bp_group_management_settings() {
?>
<div class="wrap bp-gm-wrap">
<h2><?php _e( 'Group Management Settings', 'bp-group-management' ) ?></h2>
<a href="admin.php?page=bp-group-management">&larr; <?php _e( 'Group index', 'bp-group-management' ) ?></a>
<form action="options.php" method="post">
<?php settings_fields( 'bp_gm_settings' ); ?>
<?php do_settings_sections( 'bp_group_management' ); ?>
<input name="Submit" type="submit" value="<?php esc_attr_e('Save Changes'); ?>" />
</form>
</div>
<?php
}
function bp_group_management_settings_setup() {
register_setting( 'bp_gm_settings', 'bp_gm_settings', 'bp_group_management_settings_check' );
add_settings_section('bp_gm_settings_main', __('Main Settings', 'bp-group-management'), 'bp_group_management_settings_main_content', 'bp_group_management');
add_settings_field('bp_gm_settings_members_per_page', __('Number of members to display per page', 'bp-group-management'), 'bp_group_management_settings_members_per_page', 'bp_group_management', 'bp_gm_settings_main');
add_settings_field('bp_gm_settings_groups_per_page', __('Number of groups to display per page', 'bp-group-management'), 'bp_group_management_settings_groups_per_page', 'bp_group_management', 'bp_gm_settings_main');
}
add_action('admin_init', 'bp_group_management_settings_setup');
function bp_group_management_settings_main_content() {
}
function bp_group_management_settings_members_per_page() {
$options = get_option( 'bp_gm_settings' );
echo "<input id='bp_gm_settings_members_per_page' name='bp_gm_settings[members_per_page]' size='40' type='text' value='{$options['members_per_page']}' />";
}
function bp_group_management_settings_groups_per_page() {
$options = get_option( 'bp_gm_settings' );
echo "<input id='bp_gm_settings_groups_per_page' name='bp_gm_settings[groups_per_page]' size='40' type='text' value='{$options['groups_per_page']}' />";
}
function bp_group_management_settings_check($input) {
$newinput['members_per_page'] = trim($input['members_per_page']);
$newinput['groups_per_page'] = trim($input['groups_per_page']);
return $newinput;
}
function bp_group_management_admin_add() {
$plugin_page = add_submenu_page( 'bp-general-settings', __('Group Management','bp-group-management'), __('Group Management','bp-group-management'), 'manage_options', 'bp-group-management', 'bp_group_management_admin_screen' );
add_action('admin_print_styles-' . $plugin_page, 'bp_group_management_css');
}
add_action( is_multisite() && function_exists( 'is_network_admin' ) ? 'network_admin_menu' : 'admin_menu', 'bp_group_management_admin_add', 70 );
function bp_group_management_css() {
wp_enqueue_style( 'bp-group-management-css' );
}
?>

View File

@ -0,0 +1,59 @@
.bp-gm-wrap form input[type="submit"] {
margin-top: 30px;
}
.bp-gm-group-actions {
margin: 35px 0;
}
.bp-gm-group-actions a {
text-decoration:none;
font-size:11px;
line-height:14px;
padding: 2px 8px;
cursor:pointer;
border-width:1px;
border-style: solid;
-moz-border-radius: 11px;
-khtml-border-radius: 11px;
-webkit-border-radius: 11px;
border-radius: 11px;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
-khtml-box-sizing: content-box;
box-sizing: content-box;
}
.bp-gm-group-members {
width: 500px;
float: left;
}
#bp-gm-settings-link {
float: right;
font-weight: bold;
}
.bp-gm-add-members {
width: 350px;
float: left;
}
.bp-gm-add-members .tablenav-pages {
float: none;
}
.bp-gm-add-members .tablenav-pages li {
float: left;
margin-right: 3px;
}
th.bp-gm-group-id-header, th.bp-gm-group-id {
width: 80px;
}
td.bp-gm-avatar {
width: 80px;
padding: 5px 10px;
}

View File

@ -0,0 +1,32 @@
<?php
/*
Plugin Name: BP Group Management
Plugin URI: http://teleogistic.net/code/buddypress/bp-group-management
Description: Allows site administrators to manage BuddyPress group membership
Version: 0.5.4
Author: Boone Gorges
Author URI: http://teleogistic.net
*/
/* Only load the BuddyPress plugin functions if BuddyPress is loaded and initialized. */
function bp_group_management_init() {
require( dirname( __FILE__ ) . '/bp-group-management-bp-functions.php' );
}
add_action( 'bp_include', 'bp_group_management_init' );
function bp_group_management_admin_init() {
wp_register_style( 'bp-group-management-css', WP_PLUGIN_URL . '/bp-group-management/bp-group-management-css.css' );
}
add_action( 'admin_init', 'bp_group_management_admin_init' );
function bp_group_management_locale_init () {
$plugin_dir = basename(dirname(__FILE__));
$locale = get_locale();
$mofile = WP_PLUGIN_DIR . "/bp-group-management/languages/bp-group-management-$locale.mo";
if ( file_exists( $mofile ) )
load_textdomain( 'bp-group-management', $mofile );
}
add_action ( 'plugins_loaded', 'bp_group_management_locale_init' );
?>

View File

@ -0,0 +1,182 @@
# Translation of the WordPress plugin BP Group Management 0.2 by Boone Gorges.
# Copyright (C) 2010 Boone Gorges
# This file is distributed under the same license as the BP Group Management package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: BP Group Management 0.2\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bp-group-management\n"
"POT-Creation-Date: 2010-03-07 21:39+0000\n"
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: bp-group-management-bp-functions.php:5
#: bp-group-management-bp-functions.php:59
#: bp-group-management-bp-functions.php:243
#: bp-group-management-bp-functions.php:367
msgid "Group Management"
msgstr ""
#: bp-group-management-bp-functions.php:45
#: bp-group-management-bp-functions.php:163
#: bp-group-management-bp-functions.php:177
#: bp-group-management-bp-functions.php:191
#: bp-group-management-bp-functions.php:205
#: bp-group-management-bp-functions.php:219
#: bp-group-management-bp-functions.php:231
msgid "Sorry, there was an error."
msgstr ""
#: bp-group-management-bp-functions.php:47
msgid "Group deleted."
msgstr ""
#: bp-group-management-bp-functions.php:65
msgid "Group ID"
msgstr ""
#: bp-group-management-bp-functions.php:66
msgid "Group Name"
msgstr ""
#: bp-group-management-bp-functions.php:67
msgid "Date Created"
msgstr ""
#: bp-group-management-bp-functions.php:68
msgid "Number of Members"
msgstr ""
#: bp-group-management-bp-functions.php:104
msgid "Edit"
msgstr ""
#: bp-group-management-bp-functions.php:107
msgid "Delete"
msgstr ""
#: bp-group-management-bp-functions.php:109
msgid "Visit"
msgstr ""
#: bp-group-management-bp-functions.php:165
msgid "Member kicked and banned"
msgstr ""
#: bp-group-management-bp-functions.php:179
msgid "Member unbanned"
msgstr ""
#: bp-group-management-bp-functions.php:193
msgid "Member demoted"
msgstr ""
#: bp-group-management-bp-functions.php:207
msgid "Member promoted to moderator"
msgstr ""
#: bp-group-management-bp-functions.php:221
msgid "Member promoted to admin"
msgstr ""
#: bp-group-management-bp-functions.php:233
msgid "User added to group"
msgstr ""
#: bp-group-management-bp-functions.php:244
#: bp-group-management-bp-functions.php:368
msgid "Back to group index"
msgstr ""
#: bp-group-management-bp-functions.php:248
msgid "Manage current and banned group members"
msgstr ""
#: bp-group-management-bp-functions.php:277
msgid "(banned)"
msgstr ""
#: bp-group-management-bp-functions.php:277
msgid "Remove Ban"
msgstr ""
#: bp-group-management-bp-functions.php:300
msgid "Kick and ban this member"
msgstr ""
#: bp-group-management-bp-functions.php:300
msgid "Kick &amp; Ban"
msgstr ""
#: bp-group-management-bp-functions.php:302
#: bp-group-management-bp-functions.php:304
msgid "Demote to Member"
msgstr ""
#: bp-group-management-bp-functions.php:304
#: bp-group-management-bp-functions.php:306
msgid "Promote to Admin"
msgstr ""
#: bp-group-management-bp-functions.php:306
msgid "Promote to Moderator"
msgstr ""
#: bp-group-management-bp-functions.php:325
msgid "Add members to group"
msgstr ""
#: bp-group-management-bp-functions.php:342
msgid "Add"
msgstr ""
#: bp-group-management-bp-functions.php:371
msgid "Deleting the group"
msgstr ""
#: bp-group-management-bp-functions.php:372
msgid "You are about to delete the group"
msgstr ""
#: bp-group-management-bp-functions.php:372
msgid "This action cannot be undone."
msgstr ""
#: bp-group-management-bp-functions.php:374
msgid "Delete Group"
msgstr ""
#: bp-group-management-bp-functions.php:375
msgid "Oops, I changed my mind"
msgstr ""
#: bp-group-management-bp-functions.php:477
#, php-format
msgid "%s joined the group %s"
msgstr ""
#. Plugin Name of an extension
msgid "BP Group Management"
msgstr ""
#. Plugin URI of an extension
msgid "http://teleogistic.net/code/buddypress/bp-group-management"
msgstr ""
#. Description of an extension
msgid "Allows site administrators to manage BuddyPress group membership"
msgstr ""
#. Author of an extension
msgid "Boone Gorges"
msgstr ""
#. Author URI of an extension
msgid "http://teleogistic.net"
msgstr ""

View File

@ -0,0 +1,179 @@
msgid ""
msgstr ""
"Project-Id-Version: BuddyPress Group Management\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bp-group-management\n"
"POT-Creation-Date: 2010-03-07 21:39+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: Thomas Opp <t.opp@yaway.de>\n"
"Language-Team: Yaway Media <mail@yaway.de>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: German\n"
"X-Poedit-Country: GERMANY\n"
#: bp-group-management-bp-functions.php:5
#: bp-group-management-bp-functions.php:59
#: bp-group-management-bp-functions.php:243
#: bp-group-management-bp-functions.php:367
msgid "Group Management"
msgstr "Gruppenverwaltung"
#: bp-group-management-bp-functions.php:45
#: bp-group-management-bp-functions.php:163
#: bp-group-management-bp-functions.php:177
#: bp-group-management-bp-functions.php:191
#: bp-group-management-bp-functions.php:205
#: bp-group-management-bp-functions.php:219
#: bp-group-management-bp-functions.php:231
msgid "Sorry, there was an error."
msgstr "Entschuldigung, es ist ein Fehler aufgetreten."
#: bp-group-management-bp-functions.php:47
msgid "Group deleted."
msgstr "Gruppe gelöscht"
#: bp-group-management-bp-functions.php:65
msgid "Group ID"
msgstr "Gruppen-ID"
#: bp-group-management-bp-functions.php:66
msgid "Group Name"
msgstr "Gruppenname"
#: bp-group-management-bp-functions.php:67
msgid "Date Created"
msgstr "Erstellungsdatum"
#: bp-group-management-bp-functions.php:68
msgid "Number of Members"
msgstr "Anzahl der Mitglieder"
#: bp-group-management-bp-functions.php:104
msgid "Edit"
msgstr "Bearbeiten"
#: bp-group-management-bp-functions.php:107
msgid "Delete"
msgstr "Löschen"
#: bp-group-management-bp-functions.php:109
msgid "Visit"
msgstr "Besuchen"
#: bp-group-management-bp-functions.php:165
msgid "Member kicked and banned"
msgstr "Mitglied gesperrt"
#: bp-group-management-bp-functions.php:179
msgid "Member unbanned"
msgstr "Mitglied entsperrt"
#: bp-group-management-bp-functions.php:193
msgid "Member demoted"
msgstr "Mitglied zurückgestuft"
#: bp-group-management-bp-functions.php:207
msgid "Member promoted to moderator"
msgstr "Mitglied wurde zum Moderator befördert"
#: bp-group-management-bp-functions.php:221
msgid "Member promoted to admin"
msgstr "Mitglied wurde zum Administrator befördert"
#: bp-group-management-bp-functions.php:233
msgid "User added to group"
msgstr "Mitglied der Gruppe hinzugefügt"
#: bp-group-management-bp-functions.php:244
#: bp-group-management-bp-functions.php:368
msgid "Back to group index"
msgstr "Zurück zum Gruppenverzeichnis"
#: bp-group-management-bp-functions.php:248
msgid "Manage current and banned group members"
msgstr "Verwalte alle Gruppenmitglieder"
#: bp-group-management-bp-functions.php:277
msgid "(banned)"
msgstr "(gesperrt)"
#: bp-group-management-bp-functions.php:277
msgid "Remove Ban"
msgstr "Sperre aufheben"
#: bp-group-management-bp-functions.php:300
msgid "Kick and ban this member"
msgstr "Diese Mitglied sperren"
#: bp-group-management-bp-functions.php:300
msgid "Kick &amp; Ban"
msgstr "Sperren"
#: bp-group-management-bp-functions.php:302
#: bp-group-management-bp-functions.php:304
msgid "Demote to Member"
msgstr "Auf Mitglied zurückstufen"
#: bp-group-management-bp-functions.php:304
#: bp-group-management-bp-functions.php:306
msgid "Promote to Admin"
msgstr "Zu Administrator befördern"
#: bp-group-management-bp-functions.php:306
msgid "Promote to Moderator"
msgstr "Zu Moderator befördern"
#: bp-group-management-bp-functions.php:325
msgid "Add members to group"
msgstr "Mitglieder zur Gruppe hinzufügen"
#: bp-group-management-bp-functions.php:342
msgid "Add"
msgstr "Hinzufügen"
#: bp-group-management-bp-functions.php:371
msgid "Deleting the group"
msgstr "Gruppe wird gelöscht"
#: bp-group-management-bp-functions.php:372
msgid "You are about to delete the group"
msgstr "Du bist dabei, die Gruppe zu löschen."
#: bp-group-management-bp-functions.php:372
msgid "This action cannot be undone."
msgstr "Diese Aktion kann nicht rückgängig gemacht werden."
#: bp-group-management-bp-functions.php:374
msgid "Delete Group"
msgstr "Gruppe löschen"
#: bp-group-management-bp-functions.php:375
msgid "Oops, I changed my mind"
msgstr "Ich hab´s mir doch anders überlegt."
#: bp-group-management-bp-functions.php:477
#, php-format
msgid "%s joined the group %s"
msgstr "%s ist jetzt Mitglied der Gruppe %s"
#. Plugin Name of an extension
msgid "BP Group Management"
msgstr "BP Group Management"
#. Plugin URI of an extension
msgid "http://teleogistic.net/code/buddypress/bp-group-management"
msgstr "http://teleogistic.net/code/buddypress/bp-group-management"
#. Description of an extension
msgid "Allows site administrators to manage BuddyPress group membership"
msgstr "Erlaubt Administratoren das Verwalten von Mitgliedschaften in BuddyPress-Gruppen"
#. Author of an extension
msgid "Boone Gorges"
msgstr "Boone Gorges"
#. Author URI of an extension
msgid "http://teleogistic.net"
msgstr "http://teleogistic.net"

View File

@ -0,0 +1,185 @@
# Translation of the WordPress plugin BP Group Management 0.2 by Boone Gorges.
# Copyright (C) 2010 Boone Gorges
# This file is distributed under the same license as the BP Group Management package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: BP Group Management 0.2\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bp-group-management\n"
"POT-Creation-Date: 2010-03-07 21:39+0000\n"
"PO-Revision-Date: 2010-03-08 07:15+0100\n"
"Last-Translator: Luca Camellini <luccame@gmail.com>\n"
"Language-Team: luccame\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Italian\n"
"X-Poedit-Country: ITALY\n"
"X-Poedit-SourceCharset: utf-8\n"
#: bp-group-management-bp-functions.php:5
#: bp-group-management-bp-functions.php:59
#: bp-group-management-bp-functions.php:243
#: bp-group-management-bp-functions.php:367
msgid "Group Management"
msgstr "Gestione Gruppi"
#: bp-group-management-bp-functions.php:45
#: bp-group-management-bp-functions.php:163
#: bp-group-management-bp-functions.php:177
#: bp-group-management-bp-functions.php:191
#: bp-group-management-bp-functions.php:205
#: bp-group-management-bp-functions.php:219
#: bp-group-management-bp-functions.php:231
msgid "Sorry, there was an error."
msgstr "Spiacente, si è verificato un errore"
#: bp-group-management-bp-functions.php:47
msgid "Group deleted."
msgstr "Gruppo eliminato."
#: bp-group-management-bp-functions.php:65
msgid "Group ID"
msgstr "ID Gruppo"
#: bp-group-management-bp-functions.php:66
msgid "Group Name"
msgstr "Nome Gruppo"
#: bp-group-management-bp-functions.php:67
msgid "Date Created"
msgstr "Data Creazione"
#: bp-group-management-bp-functions.php:68
msgid "Number of Members"
msgstr "Numero di Membri"
#: bp-group-management-bp-functions.php:104
msgid "Edit"
msgstr "Modifica"
#: bp-group-management-bp-functions.php:107
msgid "Delete"
msgstr "Elimina"
#: bp-group-management-bp-functions.php:109
msgid "Visit"
msgstr "Visita"
#: bp-group-management-bp-functions.php:165
msgid "Member kicked and banned"
msgstr "Membro espulso e bandito"
#: bp-group-management-bp-functions.php:179
msgid "Member unbanned"
msgstr "Membro riammesso"
#: bp-group-management-bp-functions.php:193
msgid "Member demoted"
msgstr "Membro degradato"
#: bp-group-management-bp-functions.php:207
msgid "Member promoted to moderator"
msgstr "Membro promosso a moderatore"
#: bp-group-management-bp-functions.php:221
msgid "Member promoted to admin"
msgstr "Membro promosso ad amministratore"
#: bp-group-management-bp-functions.php:233
msgid "User added to group"
msgstr "Utente aggiunto al gruppo"
#: bp-group-management-bp-functions.php:244
#: bp-group-management-bp-functions.php:368
msgid "Back to group index"
msgstr "Torna all'indice gruppi"
#: bp-group-management-bp-functions.php:248
msgid "Manage current and banned group members"
msgstr "Gestisci membri correnti e banditi del guppo"
#: bp-group-management-bp-functions.php:277
msgid "(banned)"
msgstr "(bandito)"
#: bp-group-management-bp-functions.php:277
msgid "Remove Ban"
msgstr "Rimuovi Bando"
#: bp-group-management-bp-functions.php:300
msgid "Kick and ban this member"
msgstr "Espelli e bandisci questo membro"
#: bp-group-management-bp-functions.php:300
msgid "Kick &amp; Ban"
msgstr "Espelli &amp; Bandisci"
#: bp-group-management-bp-functions.php:302
#: bp-group-management-bp-functions.php:304
msgid "Demote to Member"
msgstr "Degrada a Membro"
#: bp-group-management-bp-functions.php:304
#: bp-group-management-bp-functions.php:306
msgid "Promote to Admin"
msgstr "Promuovi ad amministratore"
#: bp-group-management-bp-functions.php:306
msgid "Promote to Moderator"
msgstr "Promuovi a Moderatore"
#: bp-group-management-bp-functions.php:325
msgid "Add members to group"
msgstr "Aggiungi membri al gruppo"
#: bp-group-management-bp-functions.php:342
msgid "Add"
msgstr "Aggiungi"
#: bp-group-management-bp-functions.php:371
msgid "Deleting the group"
msgstr "Eliminazione gruppo"
#: bp-group-management-bp-functions.php:372
msgid "You are about to delete the group"
msgstr "Stai per eliminare il gruppo"
#: bp-group-management-bp-functions.php:372
msgid "This action cannot be undone."
msgstr "Questa azione non può essere annullata"
#: bp-group-management-bp-functions.php:374
msgid "Delete Group"
msgstr "Elimina Gruppo"
#: bp-group-management-bp-functions.php:375
msgid "Oops, I changed my mind"
msgstr "Oops, ho cambiato idea"
#: bp-group-management-bp-functions.php:477
#, php-format
msgid "%s joined the group %s"
msgstr "%s si è iscritto al gruppo %s"
#. Plugin Name of an extension
msgid "BP Group Management"
msgstr "BP Group Management"
#. Plugin URI of an extension
msgid "http://teleogistic.net/code/buddypress/bp-group-management"
msgstr "http://teleogistic.net/code/buddypress/bp-group-management"
#. Description of an extension
msgid "Allows site administrators to manage BuddyPress group membership"
msgstr "Permetti agli amministratori del sito di gestire le adesioni ai gruppi di BuddyPress"
#. Author of an extension
msgid "Boone Gorges"
msgstr "Boone Gorges"
#. Author URI of an extension
msgid "http://teleogistic.net"
msgstr "http://teleogistic.net"

View File

@ -0,0 +1,266 @@
msgid ""
msgstr ""
"Project-Id-Version: bp-group-management v0.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-01-19 16:49+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: anja <anjaalkmaar@chello.nl>\n"
"Language-Team: werkgroepen.net <team@werkgroepen.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-Language: Dutch\n"
"X-Poedit-Country: NETHERLANDS\n"
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;esc_attr_e;esc_attr__;esc_html_e;esc_html__\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
#: bp-group-management-aux.php:6
#: bp-group-management-bp-functions.php:132
#: ../bp-group-management/bp-group-management-aux.php:6
#: ../bp-group-management/bp-group-management-bp-functions.php:132
msgid "Members"
msgstr "Leden"
#: bp-group-management-aux.php:7
#: bp-group-management-bp-functions.php:135
#: ../bp-group-management/bp-group-management-aux.php:7
#: ../bp-group-management/bp-group-management-bp-functions.php:135
msgid "Delete"
msgstr "Verwijderen"
#: bp-group-management-aux.php:8
#: bp-group-management-bp-functions.php:137
#: ../bp-group-management/bp-group-management-aux.php:8
#: ../bp-group-management/bp-group-management-bp-functions.php:137
msgid "Admin"
msgstr "Admin"
#: bp-group-management-aux.php:9
#: bp-group-management-bp-functions.php:139
#: ../bp-group-management/bp-group-management-aux.php:9
#: ../bp-group-management/bp-group-management-bp-functions.php:139
msgid "Visit"
msgstr "Bezoek"
#: bp-group-management-aux.php:111
#: ../bp-group-management/bp-group-management-aux.php:111
#, php-format
msgid "%s joined the group %s"
msgstr "%s doet mee met de groep %s"
#: bp-group-management-bp-functions.php:38
#: bp-group-management-bp-functions.php:211
#: bp-group-management-bp-functions.php:225
#: bp-group-management-bp-functions.php:239
#: bp-group-management-bp-functions.php:253
#: bp-group-management-bp-functions.php:267
#: bp-group-management-bp-functions.php:279
#: ../bp-group-management/bp-group-management-bp-functions.php:38
#: ../bp-group-management/bp-group-management-bp-functions.php:211
#: ../bp-group-management/bp-group-management-bp-functions.php:225
#: ../bp-group-management/bp-group-management-bp-functions.php:239
#: ../bp-group-management/bp-group-management-bp-functions.php:253
#: ../bp-group-management/bp-group-management-bp-functions.php:267
#: ../bp-group-management/bp-group-management-bp-functions.php:279
msgid "Sorry, there was an error."
msgstr "Helaas, er was een fout."
#: bp-group-management-bp-functions.php:40
#: ../bp-group-management/bp-group-management-bp-functions.php:40
msgid "Group deleted."
msgstr "Groep verwijderd."
#: bp-group-management-bp-functions.php:51
#: bp-group-management-bp-functions.php:291
#: bp-group-management-bp-functions.php:490
#: bp-group-management-bp-functions.php:571
#: ../bp-group-management/bp-group-management-bp-functions.php:51
#: ../bp-group-management/bp-group-management-bp-functions.php:291
#: ../bp-group-management/bp-group-management-bp-functions.php:490
#: ../bp-group-management/bp-group-management-bp-functions.php:571
msgid "Group Management"
msgstr "Groepsbeheer"
#: bp-group-management-bp-functions.php:96
#: ../bp-group-management/bp-group-management-bp-functions.php:96
msgid "Group ID"
msgstr "Groep ID"
#: bp-group-management-bp-functions.php:98
#: ../bp-group-management/bp-group-management-bp-functions.php:98
msgid "Group avatar"
msgstr "Groep avatar"
#: bp-group-management-bp-functions.php:99
#: ../bp-group-management/bp-group-management-bp-functions.php:99
msgid "Group Name"
msgstr "Groepsnaam"
#: bp-group-management-bp-functions.php:100
#: ../bp-group-management/bp-group-management-bp-functions.php:100
msgid "Date Created"
msgstr "Datum gemaakt"
#: bp-group-management-bp-functions.php:101
#: ../bp-group-management/bp-group-management-bp-functions.php:101
msgid "Number of Members"
msgstr "Aantal leden"
#: bp-group-management-bp-functions.php:190
#: ../bp-group-management/bp-group-management-bp-functions.php:190
msgid "Plugin settings"
msgstr "Plugin instellingen"
#: bp-group-management-bp-functions.php:213
#: ../bp-group-management/bp-group-management-bp-functions.php:213
msgid "Member kicked and banned"
msgstr "Lid verbannen"
#: bp-group-management-bp-functions.php:227
#: ../bp-group-management/bp-group-management-bp-functions.php:227
msgid "Member unbanned"
msgstr "Lid uit de ban gehaald "
#: bp-group-management-bp-functions.php:241
#: ../bp-group-management/bp-group-management-bp-functions.php:241
msgid "Member demoted"
msgstr "Lid gewijzigd"
#: bp-group-management-bp-functions.php:255
#: ../bp-group-management/bp-group-management-bp-functions.php:255
msgid "Member promoted to moderator"
msgstr "Lid gewijzigd naar moderator"
#: bp-group-management-bp-functions.php:269
#: ../bp-group-management/bp-group-management-bp-functions.php:269
msgid "Member promoted to admin"
msgstr "Lif gewijzigd naar admin"
#: bp-group-management-bp-functions.php:281
#: ../bp-group-management/bp-group-management-bp-functions.php:281
msgid "User added to group"
msgstr "Gebruiker aan groep toegevoegd"
#: bp-group-management-bp-functions.php:293
#: bp-group-management-bp-functions.php:492
#: bp-group-management-bp-functions.php:524
#: ../bp-group-management/bp-group-management-bp-functions.php:293
#: ../bp-group-management/bp-group-management-bp-functions.php:492
#: ../bp-group-management/bp-group-management-bp-functions.php:524
msgid "Group index"
msgstr "Groep index"
#: bp-group-management-bp-functions.php:296
#: bp-group-management-bp-functions.php:495
#: ../bp-group-management/bp-group-management-bp-functions.php:296
#: ../bp-group-management/bp-group-management-bp-functions.php:495
msgid "Group actions"
msgstr "Groep acties:"
#: bp-group-management-bp-functions.php:307
#: ../bp-group-management/bp-group-management-bp-functions.php:307
msgid "Manage current and banned group members"
msgstr "Beheer huidige en verbannen groepsleden"
#: bp-group-management-bp-functions.php:336
#: ../bp-group-management/bp-group-management-bp-functions.php:336
msgid "(banned)"
msgstr "(verbannen)"
#: bp-group-management-bp-functions.php:336
#: ../bp-group-management/bp-group-management-bp-functions.php:336
msgid "Remove Ban"
msgstr "Verwijder ban"
#: bp-group-management-bp-functions.php:359
#: ../bp-group-management/bp-group-management-bp-functions.php:359
msgid "Kick and ban this member"
msgstr "Verban dit lid"
#: bp-group-management-bp-functions.php:359
#: ../bp-group-management/bp-group-management-bp-functions.php:359
msgid "Kick &amp; Ban"
msgstr "Verban dit lid"
#: bp-group-management-bp-functions.php:361
#: bp-group-management-bp-functions.php:363
#: ../bp-group-management/bp-group-management-bp-functions.php:361
#: ../bp-group-management/bp-group-management-bp-functions.php:363
msgid "Demote to Member"
msgstr "Wijzig naar lid"
#: bp-group-management-bp-functions.php:363
#: bp-group-management-bp-functions.php:365
#: ../bp-group-management/bp-group-management-bp-functions.php:363
#: ../bp-group-management/bp-group-management-bp-functions.php:365
msgid "Promote to Admin"
msgstr "Wijzig naar admin"
#: bp-group-management-bp-functions.php:365
#: ../bp-group-management/bp-group-management-bp-functions.php:365
msgid "Promote to Moderator"
msgstr "Wijzig naar moderator"
#: bp-group-management-bp-functions.php:401
#: ../bp-group-management/bp-group-management-bp-functions.php:401
msgid "Add members to group"
msgstr "Voeg leden aan groep toe"
#: bp-group-management-bp-functions.php:458
#: ../bp-group-management/bp-group-management-bp-functions.php:458
msgid "Add"
msgstr "Toevoegen"
#: bp-group-management-bp-functions.php:504
#: ../bp-group-management/bp-group-management-bp-functions.php:504
msgid "Deleting the group"
msgstr "De groep verwijderen"
#: bp-group-management-bp-functions.php:505
#: ../bp-group-management/bp-group-management-bp-functions.php:505
msgid "You are about to delete the group"
msgstr "Je staat op het punt de groep te verwijderen"
#: bp-group-management-bp-functions.php:505
#: ../bp-group-management/bp-group-management-bp-functions.php:505
msgid "This action cannot be undone."
msgstr "Deze actie kan niet ongedaan gemaakt worden"
#: bp-group-management-bp-functions.php:507
#: ../bp-group-management/bp-group-management-bp-functions.php:507
msgid "Delete Group"
msgstr "Verwijder groep"
#: bp-group-management-bp-functions.php:508
#: ../bp-group-management/bp-group-management-bp-functions.php:508
msgid "Oops, I changed my mind"
msgstr "Uhh, ik ben van gedachten veranderd"
#: bp-group-management-bp-functions.php:523
#: ../bp-group-management/bp-group-management-bp-functions.php:523
msgid "Group Management Settings"
msgstr "Groepsbeheer Instellingen"
#: bp-group-management-bp-functions.php:529
#: ../bp-group-management/bp-group-management-bp-functions.php:529
msgid "Save Changes"
msgstr "Wijzigingen bijwerken"
#: bp-group-management-bp-functions.php:541
#: ../bp-group-management/bp-group-management-bp-functions.php:541
msgid "Main Settings"
msgstr "Hoofdinstellingen"
#: bp-group-management-bp-functions.php:543
#: ../bp-group-management/bp-group-management-bp-functions.php:543
msgid "Number of members to display per page"
msgstr "Aantal leden per pagina tonen"
#: bp-group-management-bp-functions.php:545
#: ../bp-group-management/bp-group-management-bp-functions.php:545
msgid "Number of groups to display per page"
msgstr "Aantal groepen per pagina tonen"

View File

@ -0,0 +1,183 @@
# Copyright (C) 2010 Boone Gorges
# This file is distributed under the same license as the BP Group Management package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: BP Group Management 0.2\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bp-group-management\n"
"POT-Creation-Date: 2010-03-07 21:39+0000\n"
"PO-Revision-Date: 2012-03-20 18:15+0200\n"
"X-Poedit-Language: Romanian\n"
"X-Poedit-Country: Romania\n"
"Language-Team: Web Geeks\n"
"Last-Translator: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: bp-group-management-bp-functions.php:5
#: bp-group-management-bp-functions.php:59
#: bp-group-management-bp-functions.php:243
#: bp-group-management-bp-functions.php:367
msgid "Group Management"
msgstr "Gestionarea grupului"
#: bp-group-management-bp-functions.php:45
#: bp-group-management-bp-functions.php:163
#: bp-group-management-bp-functions.php:177
#: bp-group-management-bp-functions.php:191
#: bp-group-management-bp-functions.php:205
#: bp-group-management-bp-functions.php:219
#: bp-group-management-bp-functions.php:231
msgid "Sorry, there was an error."
msgstr "Ne pare rău, a fost o eroare."
#: bp-group-management-bp-functions.php:47
msgid "Group deleted."
msgstr "Grupa elimină."
#: bp-group-management-bp-functions.php:65
msgid "Group ID"
msgstr "ID de grup"
#: bp-group-management-bp-functions.php:66
msgid "Group Name"
msgstr "Nume grup"
#: bp-group-management-bp-functions.php:67
msgid "Date Created"
msgstr "Data creat"
#: bp-group-management-bp-functions.php:68
msgid "Number of Members"
msgstr "Numărul de membri"
#: bp-group-management-bp-functions.php:104
msgid "Edit"
msgstr "Editare"
#: bp-group-management-bp-functions.php:107
msgid "Delete"
msgstr "Ştergere"
#: bp-group-management-bp-functions.php:109
msgid "Visit"
msgstr "Vizitaţi"
#: bp-group-management-bp-functions.php:165
msgid "Member kicked and banned"
msgstr "Membre dat şi interzis"
#: bp-group-management-bp-functions.php:179
msgid "Member unbanned"
msgstr "Membru unbanned"
#: bp-group-management-bp-functions.php:193
msgid "Member demoted"
msgstr "Membre retrogradat"
#: bp-group-management-bp-functions.php:207
msgid "Member promoted to moderator"
msgstr "Membre promovat moderator"
#: bp-group-management-bp-functions.php:221
msgid "Member promoted to admin"
msgstr "Membre promovat la admin"
#: bp-group-management-bp-functions.php:233
msgid "User added to group"
msgstr "Utilizator adăugate la Grupa"
#: bp-group-management-bp-functions.php:244
#: bp-group-management-bp-functions.php:368
msgid "Back to group index"
msgstr "Înapoi la indexul de grup"
#: bp-group-management-bp-functions.php:248
msgid "Manage current and banned group members"
msgstr "Gestionaţi membrii grupului curente şi interzis"
#: bp-group-management-bp-functions.php:277
msgid "(banned)"
msgstr "(interzis)"
#: bp-group-management-bp-functions.php:277
msgid "Remove Ban"
msgstr "Remove Ban"
#: bp-group-management-bp-functions.php:300
msgid "Kick and ban this member"
msgstr "Lovi cu piciorul şi ban acest membru"
#: bp-group-management-bp-functions.php:300
msgid "Kick & Ban"
msgstr "Kick & Ban"
#: bp-group-management-bp-functions.php:302
#: bp-group-management-bp-functions.php:304
msgid "Demote to Member"
msgstr "Retrogradarea la membre"
#: bp-group-management-bp-functions.php:304
#: bp-group-management-bp-functions.php:306
msgid "Promote to Admin"
msgstr "Promovarea la Admin"
#: bp-group-management-bp-functions.php:306
msgid "Promote to Moderator"
msgstr "Promova Moderator"
#: bp-group-management-bp-functions.php:325
msgid "Add members to group"
msgstr "Adăuga membri la grup"
#: bp-group-management-bp-functions.php:342
msgid "Add"
msgstr "Adăuga"
#: bp-group-management-bp-functions.php:371
msgid "Deleting the group"
msgstr "Şterge grupul"
#: bp-group-management-bp-functions.php:372
msgid "You are about to delete the group"
msgstr "Doriţi să ştergeţi grupul"
#: bp-group-management-bp-functions.php:372
msgid "This action cannot be undone."
msgstr "Această acţiune nu poate fi anulată."
#: bp-group-management-bp-functions.php:374
msgid "Delete Group"
msgstr "Ştergere grup"
#: bp-group-management-bp-functions.php:375
msgid "Oops, I changed my mind"
msgstr "Oops, am schimbat mintea mea"
#: bp-group-management-bp-functions.php:477
#, php-format
msgid "%s joined the group %s"
msgstr "%s s-a alăturat grupului %s"
#. Plugin Name of an extension
msgid "BP Group Management"
msgstr "Gestionarea grupul BP"
#. Plugin URI of an extension
msgid "http://teleogistic.net/code/buddypress/bp-group-management"
msgstr "http://teleogistic.net/code/BuddyPress/BP-Group-management"
#. Description of an extension
msgid "Allows site administrators to manage BuddyPress group membership"
msgstr "Permite administratorilor de site-ul pentru a gestiona apartenenţa BuddyPress la grup"
#. Author of an extension
msgid "Boone Gorges"
msgstr "Boone Gorges"
#. Author URI of an extension
msgid "http://teleogistic.net"
msgstr "http://teleogistic.net"

View File

@ -0,0 +1,183 @@
# Copyright (C) 2010 Boone Gorges
# This file is distributed under the same license as the BP Group Management package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: BP Group Management 0.2\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bp-group-management\n"
"POT-Creation-Date: 2010-03-07 21:39+0000\n"
"PO-Revision-Date: 2012-04-10 16:46+0200\n"
"X-Poedit-Language: Slovak\n"
"X-Poedit-Country: Slovakia\n"
"Language-Team: Web Geeks\n"
"Last-Translator: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: bp-group-management-bp-functions.php:5
#: bp-group-management-bp-functions.php:59
#: bp-group-management-bp-functions.php:243
#: bp-group-management-bp-functions.php:367
msgid "Group Management"
msgstr "Riadenie skupiny"
#: bp-group-management-bp-functions.php:45
#: bp-group-management-bp-functions.php:163
#: bp-group-management-bp-functions.php:177
#: bp-group-management-bp-functions.php:191
#: bp-group-management-bp-functions.php:205
#: bp-group-management-bp-functions.php:219
#: bp-group-management-bp-functions.php:231
msgid "Sorry, there was an error."
msgstr "Je nám ľúto, ale vyskytla sa chyba."
#: bp-group-management-bp-functions.php:47
msgid "Group deleted."
msgstr "Skupina sa vypúšťa."
#: bp-group-management-bp-functions.php:65
msgid "Group ID"
msgstr "Identifikácia skupiny"
#: bp-group-management-bp-functions.php:66
msgid "Group Name"
msgstr "Názov skupiny"
#: bp-group-management-bp-functions.php:67
msgid "Date Created"
msgstr "Dátumu vytvorenia"
#: bp-group-management-bp-functions.php:68
msgid "Number of Members"
msgstr "Počet členov"
#: bp-group-management-bp-functions.php:104
msgid "Edit"
msgstr "Upraviť"
#: bp-group-management-bp-functions.php:107
msgid "Delete"
msgstr "Odstrániť"
#: bp-group-management-bp-functions.php:109
msgid "Visit"
msgstr "Navštívte"
#: bp-group-management-bp-functions.php:165
msgid "Member kicked and banned"
msgstr "Členka kopl a zakázané"
#: bp-group-management-bp-functions.php:179
msgid "Member unbanned"
msgstr "Člen unbanned"
#: bp-group-management-bp-functions.php:193
msgid "Member demoted"
msgstr "Člen odbúravané"
#: bp-group-management-bp-functions.php:207
msgid "Member promoted to moderator"
msgstr "Člen povýšený na moderátora"
#: bp-group-management-bp-functions.php:221
msgid "Member promoted to admin"
msgstr "Člen povýšený na admin"
#: bp-group-management-bp-functions.php:233
msgid "User added to group"
msgstr "Používateľ pridať do skupiny v Európskom parlamente"
#: bp-group-management-bp-functions.php:244
#: bp-group-management-bp-functions.php:368
msgid "Back to group index"
msgstr "Späť na index skupiny"
#: bp-group-management-bp-functions.php:248
msgid "Manage current and banned group members"
msgstr "Spravovať súčasných a zakázané èlenov"
#: bp-group-management-bp-functions.php:277
msgid "(banned)"
msgstr "(zakázané)"
#: bp-group-management-bp-functions.php:277
msgid "Remove Ban"
msgstr "Odstránenie zákazu"
#: bp-group-management-bp-functions.php:300
msgid "Kick and ban this member"
msgstr "Kop a zákaz tento člen"
#: bp-group-management-bp-functions.php:300
msgid "Kick & Ban"
msgstr "Kop & zákaz"
#: bp-group-management-bp-functions.php:302
#: bp-group-management-bp-functions.php:304
msgid "Demote to Member"
msgstr "Degradovať na členské"
#: bp-group-management-bp-functions.php:304
#: bp-group-management-bp-functions.php:306
msgid "Promote to Admin"
msgstr "Podporu Admin"
#: bp-group-management-bp-functions.php:306
msgid "Promote to Moderator"
msgstr "Podporovať na moderátora"
#: bp-group-management-bp-functions.php:325
msgid "Add members to group"
msgstr "Pridať členov do skupiny"
#: bp-group-management-bp-functions.php:342
msgid "Add"
msgstr "Pridať"
#: bp-group-management-bp-functions.php:371
msgid "Deleting the group"
msgstr "Odstránením skupiny"
#: bp-group-management-bp-functions.php:372
msgid "You are about to delete the group"
msgstr "Chystáte sa odstrániť skupinu"
#: bp-group-management-bp-functions.php:372
msgid "This action cannot be undone."
msgstr "Táto akcia sa nedá vrátiť späť."
#: bp-group-management-bp-functions.php:374
msgid "Delete Group"
msgstr "Zmazať skupinu"
#: bp-group-management-bp-functions.php:375
msgid "Oops, I changed my mind"
msgstr "Chybička se vloudila, som zmenil mojej mysli"
#: bp-group-management-bp-functions.php:477
#, php-format
msgid "%s joined the group %s"
msgstr "%s vstúpil skupina %s"
#. Plugin Name of an extension
msgid "BP Group Management"
msgstr "Riadenie BP skupiny"
#. Plugin URI of an extension
msgid "http://teleogistic.net/code/buddypress/bp-group-management"
msgstr "http://teleogistic.net/code/BuddyPress/BP-Group-Management"
#. Description of an extension
msgid "Allows site administrators to manage BuddyPress group membership"
msgstr "Umožňuje správcom lokality riadiť členstvo v skupine BuddyPress"
#. Author of an extension
msgid "Boone Gorges"
msgstr "Boone bralá"
#. Author URI of an extension
msgid "http://teleogistic.net"
msgstr "http://teleogistic.net"

View File

@ -0,0 +1,185 @@
# Translation of the WordPress plugin BP Group Management 0.2 by Boone Gorges.
# Copyright (C) 2010 Boone Gorges
# This file is distributed under the same license as the BP Group Management package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: BP Group Management 0.2\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bp-group-management\n"
"POT-Creation-Date: 2010-03-07 21:39+0000\n"
"PO-Revision-Date: 2010-03-08 20:40+0200\n"
"Last-Translator: h <h@h.com>\n"
"Language-Team: luccame\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Italian\n"
"X-Poedit-Country: ITALY\n"
"X-Poedit-SourceCharset: utf-8\n"
#: bp-group-management-bp-functions.php:5
#: bp-group-management-bp-functions.php:59
#: bp-group-management-bp-functions.php:243
#: bp-group-management-bp-functions.php:367
msgid "Group Management"
msgstr "Grup Yönetimi"
#: bp-group-management-bp-functions.php:45
#: bp-group-management-bp-functions.php:163
#: bp-group-management-bp-functions.php:177
#: bp-group-management-bp-functions.php:191
#: bp-group-management-bp-functions.php:205
#: bp-group-management-bp-functions.php:219
#: bp-group-management-bp-functions.php:231
msgid "Sorry, there was an error."
msgstr "Üzgünüm, bir hata meydana geldi."
#: bp-group-management-bp-functions.php:47
msgid "Group deleted."
msgstr "Grup silindi."
#: bp-group-management-bp-functions.php:65
msgid "Group ID"
msgstr "Grup Sırası"
#: bp-group-management-bp-functions.php:66
msgid "Group Name"
msgstr "Grup Adı"
#: bp-group-management-bp-functions.php:67
msgid "Date Created"
msgstr "Kurulma Tarihi"
#: bp-group-management-bp-functions.php:68
msgid "Number of Members"
msgstr "Üye Sayısı"
#: bp-group-management-bp-functions.php:104
msgid "Edit"
msgstr "Düzenle"
#: bp-group-management-bp-functions.php:107
msgid "Delete"
msgstr "Sil"
#: bp-group-management-bp-functions.php:109
msgid "Visit"
msgstr "Görüntüle"
#: bp-group-management-bp-functions.php:165
msgid "Member kicked and banned"
msgstr "Üye yasaklandı"
#: bp-group-management-bp-functions.php:179
msgid "Member unbanned"
msgstr "Üyenin yasağı kaldırıldı"
#: bp-group-management-bp-functions.php:193
msgid "Member demoted"
msgstr "Üyenin yetkisi alındı"
#: bp-group-management-bp-functions.php:207
msgid "Member promoted to moderator"
msgstr "Üye mod yapıldı"
#: bp-group-management-bp-functions.php:221
msgid "Member promoted to admin"
msgstr "Üye yönetici yapıldı"
#: bp-group-management-bp-functions.php:233
msgid "User added to group"
msgstr "Üye gruba eklendi"
#: bp-group-management-bp-functions.php:244
#: bp-group-management-bp-functions.php:368
msgid "Back to group index"
msgstr "Grup dizinine dön"
#: bp-group-management-bp-functions.php:248
msgid "Manage current and banned group members"
msgstr "Üyeleri ve yasaklı üyeleri yönet"
#: bp-group-management-bp-functions.php:277
msgid "(banned)"
msgstr "(yasaklı)"
#: bp-group-management-bp-functions.php:277
msgid "Remove Ban"
msgstr "Yasağı Kaldır"
#: bp-group-management-bp-functions.php:300
msgid "Kick and ban this member"
msgstr "Bu üyeyi yasakla"
#: bp-group-management-bp-functions.php:300
msgid "Kick &amp; Ban"
msgstr "Yasakla"
#: bp-group-management-bp-functions.php:302
#: bp-group-management-bp-functions.php:304
msgid "Demote to Member"
msgstr "Yetkisini Al"
#: bp-group-management-bp-functions.php:304
#: bp-group-management-bp-functions.php:306
msgid "Promote to Admin"
msgstr "Yönetici Yap"
#: bp-group-management-bp-functions.php:306
msgid "Promote to Moderator"
msgstr "Mod Yap"
#: bp-group-management-bp-functions.php:325
msgid "Add members to group"
msgstr "Gruba Dahil Et"
#: bp-group-management-bp-functions.php:342
msgid "Add"
msgstr "Ekle"
#: bp-group-management-bp-functions.php:371
msgid "Deleting the group"
msgstr "Grup siliniyor"
#: bp-group-management-bp-functions.php:372
msgid "You are about to delete the group"
msgstr "Bu grubu silmek üzeresiniz"
#: bp-group-management-bp-functions.php:372
msgid "This action cannot be undone."
msgstr "Bu işlemin geri dönüşü yok."
#: bp-group-management-bp-functions.php:374
msgid "Delete Group"
msgstr "Grubu Sil"
#: bp-group-management-bp-functions.php:375
msgid "Oops, I changed my mind"
msgstr "Ehm, fikrimi değiştirdim"
#: bp-group-management-bp-functions.php:477
#, php-format
msgid "%s joined the group %s"
msgstr "%s, %s grubuna katıldı"
#. Plugin Name of an extension
msgid "BP Group Management"
msgstr "BP Grup Yönetimi"
#. Plugin URI of an extension
msgid "http://teleogistic.net/code/buddypress/bp-group-management"
msgstr "http://teleogistic.net/code/buddypress/bp-group-management"
#. Description of an extension
msgid "Allows site administrators to manage BuddyPress group membership"
msgstr "Site yöneticilerinin grup üyeliklerini yönetmelerine izin ver"
#. Author of an extension
msgid "Boone Gorges"
msgstr "Boone Gorges"
#. Author URI of an extension
msgid "http://teleogistic.net"
msgstr "http://teleogistic.net"

View File

@ -0,0 +1,186 @@
# Translation of the WordPress plugin BP Group Management 0.3 by Boone Gorges.
# Copyright (C) 2010 Boone Gorges
# This file is distributed under the same license as the BP Group Management package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: BP Group Management 0.3\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/bp-group-management\n"
"POT-Creation-Date: 2010-03-08 17:03+0000\n"
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: bp-group-management-bp-functions.php:5
#: bp-group-management-bp-functions.php:57
#: bp-group-management-bp-functions.php:288
#: bp-group-management-bp-functions.php:442
msgid "Group Management"
msgstr ""
#: bp-group-management-bp-functions.php:46
#: bp-group-management-bp-functions.php:208
#: bp-group-management-bp-functions.php:222
#: bp-group-management-bp-functions.php:236
#: bp-group-management-bp-functions.php:250
#: bp-group-management-bp-functions.php:264
#: bp-group-management-bp-functions.php:276
msgid "Sorry, there was an error."
msgstr ""
#: bp-group-management-bp-functions.php:48
msgid "Group deleted."
msgstr ""
#: bp-group-management-bp-functions.php:97
msgid "Group ID"
msgstr ""
#: bp-group-management-bp-functions.php:99
msgid "Group avatar"
msgstr ""
#: bp-group-management-bp-functions.php:100
msgid "Group Name"
msgstr ""
#: bp-group-management-bp-functions.php:101
msgid "Date Created"
msgstr ""
#: bp-group-management-bp-functions.php:102
msgid "Number of Members"
msgstr ""
#: bp-group-management-bp-functions.php:133
msgid "Edit"
msgstr ""
#: bp-group-management-bp-functions.php:136
msgid "Delete"
msgstr ""
#: bp-group-management-bp-functions.php:138
msgid "Visit"
msgstr ""
#: bp-group-management-bp-functions.php:210
msgid "Member kicked and banned"
msgstr ""
#: bp-group-management-bp-functions.php:224
msgid "Member unbanned"
msgstr ""
#: bp-group-management-bp-functions.php:238
msgid "Member demoted"
msgstr ""
#: bp-group-management-bp-functions.php:252
msgid "Member promoted to moderator"
msgstr ""
#: bp-group-management-bp-functions.php:266
msgid "Member promoted to admin"
msgstr ""
#: bp-group-management-bp-functions.php:278
msgid "User added to group"
msgstr ""
#: bp-group-management-bp-functions.php:289
#: bp-group-management-bp-functions.php:443
msgid "Back to group index"
msgstr ""
#: bp-group-management-bp-functions.php:293
msgid "Manage current and banned group members"
msgstr ""
#: bp-group-management-bp-functions.php:322
msgid "(banned)"
msgstr ""
#: bp-group-management-bp-functions.php:322
msgid "Remove Ban"
msgstr ""
#: bp-group-management-bp-functions.php:345
msgid "Kick and ban this member"
msgstr ""
#: bp-group-management-bp-functions.php:345
msgid "Kick &amp; Ban"
msgstr ""
#: bp-group-management-bp-functions.php:347
#: bp-group-management-bp-functions.php:349
msgid "Demote to Member"
msgstr ""
#: bp-group-management-bp-functions.php:349
#: bp-group-management-bp-functions.php:351
msgid "Promote to Admin"
msgstr ""
#: bp-group-management-bp-functions.php:351
msgid "Promote to Moderator"
msgstr ""
#: bp-group-management-bp-functions.php:370
msgid "Add members to group"
msgstr ""
#: bp-group-management-bp-functions.php:417
msgid "Add"
msgstr ""
#: bp-group-management-bp-functions.php:446
msgid "Deleting the group"
msgstr ""
#: bp-group-management-bp-functions.php:447
msgid "You are about to delete the group"
msgstr ""
#: bp-group-management-bp-functions.php:447
msgid "This action cannot be undone."
msgstr ""
#: bp-group-management-bp-functions.php:449
msgid "Delete Group"
msgstr ""
#: bp-group-management-bp-functions.php:450
msgid "Oops, I changed my mind"
msgstr ""
#: bp-group-management-bp-functions.php:552
#, php-format
msgid "%s joined the group %s"
msgstr ""
#. Plugin Name of an extension
msgid "BP Group Management"
msgstr ""
#. Plugin URI of an extension
msgid "http://teleogistic.net/code/buddypress/bp-group-management"
msgstr ""
#. Description of an extension
msgid "Allows site administrators to manage BuddyPress group membership"
msgstr ""
#. Author of an extension
msgid "Boone Gorges"
msgstr ""
#. Author URI of an extension
msgid "http://teleogistic.net"
msgstr ""

View File

@ -0,0 +1,82 @@
=== Plugin Name ===
Contributors: boonebgorges, cuny-academic-commons
Tags: buddypress, groups, members, manage
Requires at least: WP 2.8, BuddyPress 1.2
Tested up to: WP 3.4, BuddyPress 1.5.6
Donate link: http://teleogistic.net/donate/
Stable tag: 0.5.4
Allows site administrators to manage BuddyPress group membership
== Description ==
This plugin creates an admin panel at Dashboard > BuddyPress > Group Management. On this panel, site admins can manage BP group membership by banning, unbanning, promoting and demoting current members of any group, adding members to any group, and deleting groups.
== Installation ==
* Upload and activate on your BuddyPress blog
== Translation credits ==
* Italian: Luca Camellini
* Turkish: gk
* German: Tom
* Dutch: [Anja](http://werkgroepen.net/wordpress/)
* Romanian, [Web Geek Science](http://webhostinggeeks.com/)
* B. Radenovich, Slovak (<a href="http://webhostingw.com/">Web Hosting Watch</a>)
== Changelog ==
= 0.5.4 =
* Adds Slovak translation
= 0.5.3 =
* Adds Romanian translation
= 0.5.2 =
* Fixes bug that caused problem with site member listing on non-MS WP installations
= 0.5.1 =
* Adds 'Remove' feature
* Fixes some markup
* Hides spam users from Add Members list
= 0.5 =
* Compatibility with BP 1.5
* Fixes many PHP warnings
= 0.4.3 =
* Fixes bp_gm_member_action hook location so it fires properly.
= 0.4.2 =
* Compatibility with WP 3.1 Network Admin
= 0.4.1 =
* Added group type (Public/Private/Hidden) to group listing table
* Added missing gettext calls
* Added Dutch translation (thanks, Anja!)
= 0.4 =
* Added plugin settings page
* Member list is paginated (defaults to 50)
* Admin can now specify how many groups/members to show per page
* Group Actions menu added to Members and Delete pages
* Links to Group Admin page added
= 0.3.1 =
* Turkish translation added (thanks, gk!)
* German translation added (thanks, Tom!)
* Sitewide roster altered to include all members, not just members active on BP
= 0.3 =
* Pagination on group list allows you to see all groups (thanks, Andy!)
* Group avatars added (thanks, Andy!)
* Italian translation included (thanks, Luca!)
= 0.2 =
* Fully localizable
* Avatar bug fixed (thanks for pointing it out, anointed!)
* Hooks added for additional group actions
= 0.1 =
* Initial release

View File

@ -0,0 +1,121 @@
<?php
if(isset($_POST["action"]) && $_POST["action"] == "pub_save" && current_user_can('update_plugins')){
$pub_plugins = array();
foreach($_POST as $comp => $key){
if($comp != "action"){
if($key == 'disable-update'){
$plugin_name = preg_replace("/_php/", ".php", htmlentities(strip_tags($comp)));
$note = '';
if(isset($_POST[$comp.'-note'])){$note = $_POST[$comp.'-note'];}
$pub_plugins[$plugin_name] = array('name' => $plugin_name, 'note' => $note);
}
}
}
update_option(PUB_UPDATE_DEACTIVATED, serialize($pub_plugins));
?>
<div class='updated'>
<p>Options saved!</p>
</div>
<?php
set_site_transient('update_plugins', time()-864000);
wp_update_plugins();
}
else{
$pub_plugins = array();
if(get_option(PUB_UPDATE_DEACTIVATED)){
$pub_plugins = unserialize(get_option(PUB_UPDATE_DEACTIVATED));
}
}
$wp_plugins = get_plugins();
?>
<style>
.form-table th {width:250px; padding-bottom:5px; padding-top:5px;}
.form-table td {padding-bottom:5px; padding-top:5px;}
span.dpu-note{ display:none;font-size:9px; color:#21759B; text-decoration:underline; cursor:pointer;}
textarea.dpu{ display:none; margin-bottom:15px; }
.form-table{ width:300px; }
tr.hover{ background:#fff;}
</style>
<script type="text/javascript">
jQuery(document).ready(function($) {
$("span.dpu-note").click(function(){
rel= $(this).attr('rel');
$("textarea[rel='"+rel+"']").toggle();
});
$("input[type='checkbox']").click(function(){
rel= $(this).attr('rel');
checked = $(this).attr('checked');
if(checked){$("span[rel='"+rel+"']").show();}
else{
$("span[rel='"+rel+"']").hide();
$("textarea[rel='"+rel+"']").hide();
}
});
$("tr.dpu").hover(
function(){
$(this).addClass("hover");
},
function(){
$(this).removeClass("hover");
}
);
});
</script>
<div class="wrap dpu-options">
<div id="icon-options-general" class="icon32"><br /></div>
<h2><?php echo PUB_NAME; ?></h2>
<p>
Select for which plugins you want to disable updates.<br />You can then leave a note to explain the changes you made.<br />
If a plugin you deactivated had a new version ready, you may need to refresh the page to hide it.
</p>
<form action="admin.php?page=<?php echo PUB_SLUG; ?>" method="post">
<input type="hidden" name="action" value="pub_save">
<table class="form-table">
<tbody>
<tr valign='top'>
<th scope='row'><h3>Plugin name</h3></th>
<td><h3>Deactivated</h3></td>
</tr>
<?php
foreach($wp_plugins as $key => $wp_plugins){
$cur_plugin = '';
if(array_key_exists($key, $pub_plugins)){
$cur_plugin = $pub_plugins[$key];
}
?>
<tr valign='top' class='dpu'>
<th scope='row'><?php echo $wp_plugins["Name"]; ?><br /><span rel='<?php echo $wp_plugins["Name"]; ?>' class='dpu-note' <?php if($cur_plugin != ''){ echo ' style=\'display:inline-block;\''; } ?>>Add note</span><br /></th>
<td align="right">
<input type="checkbox" name="<?php echo $key; ?>" value="disable-update" rel='<?php echo $wp_plugins["Name"]; ?>' <?php if($cur_plugin != ''){ echo ' checked=\'checked\''; } ?> />
</td>
</tr>
<tr>
<td colspan="2" class='dpu-note'>
<textarea cols='30' name="<?php echo $key; ?>-note" value="disable-update-note" class='dpu' rel='<?php echo $wp_plugins["Name"]; ?>' <?php if($cur_plugin != ''){ echo ' style=\'display:block;\''; } ?>><?php echo $cur_plugin['note'];?></textarea>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<input type="submit" class='button-primary' value="deactivate updates for selected plugins">
</form>
</div>

View File

@ -0,0 +1,95 @@
<?php
/**
Plugin Name: Plugin updates blocker
Plugin URI: http://wordpress.org/extend/plugins/plugin-update-blocker/
Description: Lets you disable unwanted updates for plugins
Version: 0.2
Author: Erwan Jegouzo
Author URI: http://www.erwanjegouzo.com
Plugin: Copyright 2011 Erwan Jegouzo (email : erwan.jegouzo@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
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('PUB_VERSION', '0.2');
define('PUB_NAME', 'Plugin update blocker');
define('PUB_SLUG', 'plugin-update-blocker');
define('PUB_DIR', dirname(__FILE__));
define('PUB_UPDATE_DEACTIVATED', 'pub_update_deactivated');
if (!function_exists('get_plugins')){ require_once (ABSPATH."wp-admin/includes/plugin.php"); }
if (!function_exists('wp_update_plugins')){ require_once (ABSPATH."includes/update.php"); }
if (!function_exists('current_user_can')){ require_once (ABSPATH."includes/capabilities.php"); }
add_action('plugins_loaded','pub_plugins_loaded');
function pub_plugins_loaded(){
if(is_admin() && current_user_can('update_plugins')){
add_action('init','pub_init');
add_action('wp_head', 'pub_wp_head');
add_filter('plugin_action_links', 'pub_plugin_action_links', 10, 2);
}
}
function pub_plugin_action_links($links, $file) {
$this_plugin = dirname(plugin_basename(__FILE__)) . '/'.PUB_SLUG.'.php';
if($file == $this_plugin) {
$links[] = '<a href="admin.php?page='.PUB_SLUG.'">Settings</a>';
}
return $links;
}
function pub_init(){
add_submenu_page('tools.php', PUB_NAME, PUB_NAME, 8, PUB_SLUG, 'pub_menu');
}
function pub_menu(){
include dirname(__FILE__) . '/dpu-menu.php';
}
function pub_wp_head() {
wp_print_scripts('jquery');
}
function pub_http_request_args( $r, $url ) {
if ( 0 !== strpos( $url, 'http://api.wordpress.org/plugins/update-check' ) ){
return $r;
}
$pub_plugins = unserialize(get_option(PUB_UPDATE_DEACTIVATED));
if(count($pub_plugins) == 0){ return $r; }
$wp_plugins = unserialize($r['body']['plugins'] );
foreach($pub_plugins as $key => $p){
unset( $wp_plugins->plugins[ $key ] );
unset( $wp_plugins->active[ array_key_exists($key, $wp_plugins) ] );
}
$r['body']['plugins'] = serialize( $wp_plugins );
return $r;
}
add_filter('http_request_args', 'pub_http_request_args', 5, 2 );
?>

View File

@ -0,0 +1,57 @@
=== Plugin Name ===
Contributors: jegerwan
Donate link: #
Tags: plugin, update, admin, tools
Requires at least: 2.9
Tested up to: 3.1
Stable tag: 0.2
Lets you disable unwanted updates for plugins
== Description ==
This plugin helps you deactivate the update for the plugins you don't want to update!
Let's say you are working on a website and you modified several plugins to make them work the way you want them to.
If you (or your client) later updates the plugin, all the changes you made will be lost.
This plugin will help you in solving this issue.
It will let you select for which plugins you want to disable updates. You can then leave a note to explain the changes you made.
<b>Please note:</b>
It's strongly recommended that you keep your WordPress plugins up to date.
If you skip plugin updates, you could expose your website to critical security issues.
== Installation ==
Pretty straightforward :
1. Upload the entire directory to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. The plugin admin page is located in the "Tools" menu
== Upgrade Notice ==
first update, no upgrage possible
== Frequently Asked Questions ==
= Is the update blocker permanent? =
This will bloc the updates for the selected plugins, as long as it is activated
== Screenshots ==
1. Plugin page where you can disable your plugins
== Changelog ==
= 0.2 =
- added saved notifications
- extended description on the plugin page
- added PUB_VERSION & PUB_DIR
- added settings link in the plugin list
- updated screenshot
- added Plugin URI in plugin description
= 0.1 =
First update. The plugin is working but I will ad more features

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB