Commit e270683c authored by agnez's avatar agnez

agenda styles, editor admin-menu

parent f7d836a1
......@@ -12,7 +12,7 @@ defined( 'ABSPATH' ) or die();
add_action( 'plugins_loaded', 'vs_users_load_plugin_textdomain' );
function vs_users_load_plugin_textdomain() {
load_plugin_textdomain( 'vs-users', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
load_plugin_textdomain( 'vs-users', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
}
/*
......@@ -23,51 +23,51 @@ class JPB_User_Caps {
// Add filters
function __construct() {
add_filter( 'editable_roles', array(&$this, 'editable_roles'));
add_filter( 'map_meta_cap', array(&$this, 'map_meta_cap'),10,4);
add_filter( 'editable_roles', array(&$this, 'editable_roles'));
add_filter( 'map_meta_cap', array(&$this, 'map_meta_cap'),10,4);
}
// Remove 'Administrator' from the list of roles if the current user is not an admin
function editable_roles( $roles ){
if( isset( $roles['administrator'] ) && !current_user_can('administrator') ){
unset( $roles['administrator']);
}
return $roles;
if( isset( $roles['administrator'] ) && !current_user_can('administrator') ){
unset( $roles['administrator']);
}
return $roles;
}
// If someone is trying to edit or delete and admin and that user isn't an admin, don't allow it
function map_meta_cap( $caps, $cap, $user_id, $args ){
switch( $cap ){
case 'edit_user':
case 'remove_user':
case 'promote_user':
if( isset($args[0]) && $args[0] == $user_id )
break;
elseif( !isset($args[0]) )
$caps[] = 'do_not_allow';
$other = new WP_User( absint($args[0]) );
if( $other->has_cap( 'administrator' ) ){
if(!current_user_can('administrator')){
$caps[] = 'do_not_allow';
}
}
break;
case 'delete_user':
case 'delete_users':
if( !isset($args[0]) )
break;
$other = new WP_User( absint($args[0]) );
if( $other->has_cap( 'administrator' ) ){
if(!current_user_can('administrator')){
$caps[] = 'do_not_allow';
}
}
break;
default:
break;
}
return $caps;
switch( $cap ){
case 'edit_user':
case 'remove_user':
case 'promote_user':
if( isset($args[0]) && $args[0] == $user_id )
break;
elseif( !isset($args[0]) )
$caps[] = 'do_not_allow';
$other = new WP_User( absint($args[0]) );
if( $other->has_cap( 'administrator' ) ){
if(!current_user_can('administrator')){
$caps[] = 'do_not_allow';
}
}
break;
case 'delete_user':
case 'delete_users':
if( !isset($args[0]) )
break;
$other = new WP_User( absint($args[0]) );
if( $other->has_cap( 'administrator' ) ){
if(!current_user_can('administrator')){
$caps[] = 'do_not_allow';
}
}
break;
default:
break;
}
return $caps;
}
}
......@@ -83,15 +83,15 @@ remove_role( 'bbp_spectator' );
add_action( 'admin_init', 'vs_add_capabilities');
function vs_add_capabilities() {
$editor = get_role( 'editor' );
$editor->add_cap( 'create_users' );
$editor = get_role( 'editor' );
$editor->add_cap( 'create_users' );
$editor->add_cap( 'delete_users' );
$editor->add_cap( 'edit_users' );
$editor->add_cap( 'list_users' );
$editor->add_cap( 'promote_users' );
$editor->add_cap( 'remove_users' );
// add $cap capability to this role object
$editor->add_cap( 'edit_theme_options' );
$editor->add_cap( 'edit_users' );
$editor->add_cap( 'list_users' );
$editor->add_cap( 'promote_users' );
$editor->add_cap( 'remove_users' );
// add $cap capability to this role object
$editor->add_cap( 'edit_theme_options' );
}
......@@ -101,14 +101,14 @@ function vs_add_capabilities() {
*/
add_action( 'init', 'vs_remove_capabilities' );
function vs_remove_capabilities() {
$editor = get_role( 'editor' );
$caps = array(
'customize',
//'manage_categories',
);
foreach ( $caps as $cap ) {
$editor->remove_cap( $cap );
}
$editor = get_role( 'editor' );
$caps = array(
'customize',
//'manage_categories',
);
foreach ( $caps as $cap ) {
$editor->remove_cap( $cap );
}
}
......@@ -117,33 +117,55 @@ function vs_remove_capabilities() {
add_action( 'admin_head', 'vs_remove_menu_pages' );
function vs_remove_menu_pages() {
global $user_ID;
global $user_ID;
if ( current_user_can( 'editor' ) ) {
remove_submenu_page( 'themes.php', 'themes.php' ); // hide the theme selection submenu
remove_submenu_page( 'themes.php', 'widgets.php' ); // hide the widgets submenu
// remove Appearance -> Customize
remove_submenu_page( 'themes.php', 'customize.php?return=' . urlencode( $_SERVER['REQUEST_URI'] ) );
// Remove Appearance -> Editor
remove_submenu_page( 'themes.php', 'theme-editor.php' );
}
if ( current_user_can( 'editor' ) ) {
remove_submenu_page( 'themes.php', 'themes.php' ); // hide the theme selection submenu
remove_submenu_page( 'themes.php', 'widgets.php' ); // hide the widgets submenu
// remove Appearance -> Customize
remove_submenu_page( 'themes.php', 'customize.php?return=' . urlencode( $_SERVER['REQUEST_URI'] ) );
// Remove Appearance -> Editor
remove_submenu_page( 'themes.php', 'theme-editor.php' );
}
}
add_action('admin_menu', 'vs_add_menu_pages');
function vs_add_menu_pages(){
//add_menu_page( 'Groups', 'buddypress' );
//add_submenu_page( 'Groups', 'buddypress' );
if ( current_user_can( 'editor' ) ) {
add_menu_page(__( 'Emails', 'buddypress' ),__( 'Emails', 'buddypress' ),'editor','edit.php?post_type=bp-email');
}
}
function add_theme_caps() {
// gets the author role
$role = get_role( 'editor' );
// This only works, because it accesses the class instance.
// would allow the author to edit others' posts for current theme only
$role->add_cap( 'edit_bp_email' );
}
add_action( 'admin_init', 'add_theme_caps');
add_action( 'admin_bar_menu', 'remove_wp_nodes', 999 );
function remove_wp_nodes()
{
global $wp_admin_bar;
$wp_admin_bar->remove_node( 'customize' );
$wp_admin_bar->remove_node( 'new-media' );
global $wp_admin_bar;
$wp_admin_bar->remove_node( 'customize' );
$wp_admin_bar->remove_node( 'new-media' );
}
add_action('admin_menu', 'remove_unnecessary_wordpress_menus', 999);
function remove_unnecessary_wordpress_menus(){
global $submenu;
unset($submenu['themes.php'][20]);
unset($submenu['themes.php'][15]);
global $submenu;
unset($submenu['themes.php'][20]);
unset($submenu['themes.php'][15]);
}
// plugins could eventually change the index of a given submenu -> 'pretty' print the $submenu array to find corresponding indexes https://wordpress.stackexchange.com/questions/190170/remove-customize-background-and-header-from-appearance-admin-menu-without-css-or
......
......@@ -13,6 +13,12 @@ function voisinssolidaires_setup() {
?>
<?php
//* Dequeue parent's styles - Remove Google Fonts https://technumero.com/remove-google-fonts-from-wordpress-theme/
add_action( 'wp_print_styles', 'tn_dequeue_google_fonts_style' );
function tn_dequeue_google_fonts_style() {
wp_dequeue_style( 'multipurpose-blog-font' );
}
/*enqueue_scripts*/
add_action( 'wp_enqueue_scripts', 'my_parent_theme_css' );
function my_parent_theme_css() {
......@@ -204,12 +210,14 @@ function vs_new_user_notification_email( $wp_new_user_notification_email, $user,
add_filter( 'wp_new_user_notification_email' , 'edit_user_notification_email', 10, 3 );
function edit_user_notification_email( $wp_new_user_notification_email, $user, $blogname ) {
$message = sprintf(__( "Bienvenu.e sur %s ! Voici comment ce connecter :" ), $blogname ) . "\r\n";
$message .= wp_login_url() . "\r\n";
$message = sprintf(__("Bonjour %s %s," ), $user->user_firstname, $user->user_lastname ) . "\r\n\r\n";
$message .= sprintf(__( "L’administrateur ou l’administratrice du site %s vient de vous créer un profil pour accéder à l’espace membre du site, réservé uniquement aux voisin.e.s solidaire.s engagé.e.s dans le projet. Cet espace a été pensé comme un espace collectif et d’échanges entre tous les voisins solidaires, notamment pour vous accompagner durant la relation avec vos voisin.e.s réfugié.e.s." ), $blogname ) . "\r\n\r\n";
$message .= wp_login_url() . "\r\n";
$message .= sprintf(__( 'Votre login : %s' ), $user->user_login ) . "\r\n";
$message .= sprintf(__( 'Votre mot de passe : %s' ), $user->user_pass ) . "\r\n\r\n";
$message .= sprintf(__( 'Si vous rencontrez un problème ou pour toute autre question vous pouvez contacter %s.'), get_option( 'admin_email' ) ) . "\r\n";
$message .= __('A très bientôt');
$message .= __("Grâce à cet accès, nous vous invitons à aller sur votre profil pour le personnaliser (changer le mot de passe, mettre une photo etc.) mais aussi à interagir avec d’autres sur le forum, structuré en différentes thématiques utiles. De plus, Vous pourrez accéder à notre boite à outils, pensée comme une aide pratique, et à la liste de tous les autres membres afin de pouvoir aussi leur envoyer un message privé." ) . "\r\n";
$message .= __("Cet espace est le vôtre, n’hésitez pas à nous contacter pour nous faire des retours, que ce soit à propos de sa forme ou du fond, mais aussi pour proposer d’autres outils qui vous sembleraient pertinent de partager etc." ) . "\r\n";
$message .= __("Merci d’avance et à bientôt !" );
$wp_new_user_notification_email['message'] = $message;
......@@ -245,4 +253,21 @@ function cdx_handel_external_links() {?>
</script>
<?php
}
add_filter( 'wp_footer', 'cdx_handel_external_links', 999);
\ No newline at end of file
add_filter( 'wp_footer', 'cdx_handel_external_links', 999);
?>
<?php
//add_action('wp_head', 'vs_add_googleanalytics');
function vs_add_googleanalytics() { ?>
// Paste your Google Analytics code here
<?php }
/**
* Checks to see if we're on the front page or not.
*/
function twentyseventeen_is_frontpage() {
return ( is_front_page() && ! is_home() );
}
?>
......@@ -9,5 +9,5 @@
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: left-sidebar,right-sidebar,one-column,two-columns,three-columns,four-columns,grid-layout,custom-colors,custom-background,custom-logo,custom-menu,custom-header,editor-style,featured-images,footer-widgets,sticky-post,buddypress,full-width-template,front-page-post-form,theme-options,threaded-comments,translation-ready,rtl-language-support,blog,news,photography
Text Domain: voisinssolidaires
*/#header{background-image:none !important}#header .logo img{max-width:550px;width:100%;padding:0 0.5em}#header .nav .menu-navigation-principale-container{margin:0 auto}#header .nav .menu-navigation-principale-container ul li a{border-bottom:solid 3px white;color:#666}#header .nav .menu-navigation-principale-container ul li a:hover{color:#e51566}#header .nav .menu-navigation-principale-container ul li ul li a{color:white}.home-page section{padding-bottom:0}.home-page #slider h2{font-size:48px;font-weight:bold;text-align:center}.home-page #slider .nivo-caption{left:10%;overflow:visible;padding:0 10px}.home-page #slider .nivo-caption .slide-cap{color:#197189}.home-page #slider .nivo-caption .slide-cap a.read-more{display:inline-block;background:white none repeat scroll 0 0;border:2px solid #e51566;border-radius:25px;color:#e51566;font-size:18px;font-weight:bold;padding:15px 45px}.home-page .darkbox{text-align:center}.home-page .darkbox .imagebox{position:relative}.home-page .darkbox .imagebox .contentbox h4{font-size:1.1rem;width:100%}.home-page .darkbox#photography .imagebox .contentbox h4{background:rgba(25,113,137,0.5) none repeat scroll 0 0}.home-page #page-content{margin-top:2em}.home-page #page-content .middle-align{min-height:0}#content-blog{margin-bottom:1em}#content-blog .feature-box{margin-bottom:1em}#content-blog .wpcf7-form .form-group{border:2px solid #e51566;border-radius:15px;padding:2em}#content-blog .wpcf7-form p{line-height:1}#content-blog .wpcf7-form p span.wpcf7-list-item{display:block}#content-blog .wpcf7-form .wpcf7-not-valid-tip{margin:-1em 0 1em}#content-blog #my-calendar .my-calendar-date-switcher label{padding-right:10px}#content-blog #my-calendar .my-calendar-date-switcher input[type="submit"]{background-color:#e51566;border:5px solid #e51566;border-radius:8px;font-weight:bold}#content-blog #my-calendar select{width:auto;margin-right:50px}#content-blog #my-calendar .mc-time{padding-bottom:1em}#content-blog #my-calendar .mc-time span,#content-blog #my-calendar .mc-time a{padding-right:1em}#content-blog #my-calendar .category-icon{display:none}#content-blog .mc-main .mc_general .event-title,#content-blog .mc-main .mc_general .event-title a{background:#DADADA}#content-blog .mc-main h3,#content-blog .mc-main h3 a{font:normal 12px Arial, Verdana, sans-serif;padding:3px}#content-blog .etapes button.btn{margin-right:1em;padding:0 0.75rem;line-height:1;border:solid 2px #e51566;background-color:white;color:#e51566}#content-blog .etapes button.btn:hover{border-color:#197189}#content-blog .etapes button.btn img{max-width:50px}#content-blog .etapes button.btn:after{font-family:"dashicons";content:"\f345";padding:10px 0 5px;display:block}#content-blog .etapes button.btn.collapsed:after{content:"\f347"}.category h1.page-title{margin-top:0.5em}.legende{font-size:0.8em;margin-bottom:.5em;text-align:right}@media screen and (min-width: 720px){#content-blog .feature-box{max-height:300px;overflow:hidden}}#sidebar h3{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";padding:6% 3%;font-size:1.8rem}div.wpcf7-validation-errors,div.wpcf7-acceptance-missing,div.wpcf7-response-output{border-radius:15px;padding:2em}div.wpcf7-validation-errors.wpcf7-mail-sent-ok,div.wpcf7-acceptance-missing.wpcf7-mail-sent-ok,div.wpcf7-response-output.wpcf7-mail-sent-ok{border:2px solid #197189}.footer-wp aside h3{font-size:20px;font-family:ClearSans,"Clear Sans",helvetica,tahoma,arial,sans-serif}.footer-wp aside ul li{padding:0}.inner .copyright-wrapper{font-size:1rem;font-weight:normal;background-color:white;padding:20px 0;position:relative;color:#666}.inner .copyright-wrapper p{color:#666}.inner .copyright-wrapper a{color:#e51566}.inner .copyright-wrapper h3{font-size:20px;letter-spacing:2px;text-align:center;font-weight:bold;letter-spacing:2px}.footer-wp input[type="text"]{margin-bottom:13px}.footer-wp #bbp-search-form input[type="submit"]{float:none}.btn-primary{background-color:#e51566;border-color:#e51566}a{color:#e51566}a[target="_blank"]:after{font-family:"dashicons";content:"\f172";color:#ddd;margin:0 3px 0 5px}h1,h2,h3,h4,h5,h6{font-family:ClearSans,"Clear Sans",helvetica,tahoma,arial,sans-serif}.nivo-directionNav,.nivo-controlNav{display:none}
*/#header{background-image:none !important}#header .logo img{max-width:550px;width:100%;padding:0 0.5em}#header .nav .menu-navigation-principale-container{margin:0 auto}#header .nav .menu-navigation-principale-container ul li a{border-bottom:solid 3px white;color:#666}#header .nav .menu-navigation-principale-container ul li a:hover{color:#e51566}#header .nav .menu-navigation-principale-container ul li ul li a{color:white}.home-page section{padding-bottom:0}.home-page #slider h2{font-size:48px;font-weight:bold;text-align:center}.home-page #slider .nivo-caption{left:10%;overflow:visible;padding:0 10px}.home-page #slider .nivo-caption .slide-cap{color:#197189}.home-page #slider .nivo-caption .slide-cap a.read-more{display:inline-block;background:white none repeat scroll 0 0;border:2px solid #e51566;border-radius:25px;color:#e51566;font-size:18px;font-weight:bold;padding:15px 45px}.home-page .darkbox{text-align:center}.home-page .darkbox .imagebox{position:relative}.home-page .darkbox .imagebox .contentbox h4{font-size:1.1rem;width:100%}.home-page .darkbox#photography .imagebox .contentbox h4{background:rgba(25,113,137,0.5) none repeat scroll 0 0}.home-page #page-content{margin-top:2em}.home-page #page-content .middle-align{min-height:0}#content-blog{margin-bottom:1em}#content-blog .feature-box{margin-bottom:1em}#content-blog .wpcf7-form .form-group{border:2px solid #e51566;border-radius:15px;padding:2em}#content-blog .wpcf7-form p{line-height:1}#content-blog .wpcf7-form p span.wpcf7-list-item{display:block}#content-blog .wpcf7-form .wpcf7-not-valid-tip{margin:-1em 0 1em}#content-blog #my-calendar .my-calendar-date-switcher label{padding-right:10px}#content-blog #my-calendar .my-calendar-date-switcher input[type="submit"]{background-color:#e51566;border:5px solid #e51566;border-radius:8px;font-weight:bold}#content-blog #my-calendar select{width:auto;margin-right:50px}#content-blog #my-calendar .mc-time{padding-bottom:1em}#content-blog #my-calendar .mc-time span,#content-blog #my-calendar .mc-time a{padding-right:1em}#content-blog #my-calendar .category-icon{display:none}#content-blog .mc-main .mc_general .event-title,#content-blog .mc-main .mc_general .event-title a{background:#DADADA}#content-blog .mc-main h3,#content-blog .mc-main h3 a{font:normal 12px Arial, Verdana, sans-serif;padding:3px}#content-blog .etapes button.btn{margin-right:1em;padding:0 0.75rem;line-height:1;border:solid 2px #e51566;background-color:white;color:#e51566}#content-blog .etapes button.btn:hover{border-color:#197189}#content-blog .etapes button.btn img{max-width:50px}#content-blog .etapes button.btn:after{font-family:"dashicons";content:"\f345";padding:10px 0 5px;display:block}#content-blog .etapes button.btn.collapsed:after{content:"\f347"}.category h1.page-title{margin-top:0.5em}#content-blog.col-md-8 h1{margin-top:0.5em}#content-blog.col-md-8 .mc-format{margin-bottom:0.5em}.legende{font-size:0.8em;margin-bottom:.5em;text-align:right}@media screen and (min-width: 720px){#content-blog .feature-box{max-height:300px;overflow:hidden}.single #content-blog .feature-box{max-height:1000px}.single #content-blog .feature-box img{max-width:500px}}#sidebar h3{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";padding:6% 3%;font-size:1.8rem}div.wpcf7-validation-errors,div.wpcf7-acceptance-missing,div.wpcf7-response-output{border-radius:15px;padding:2em}div.wpcf7-validation-errors.wpcf7-mail-sent-ok,div.wpcf7-acceptance-missing.wpcf7-mail-sent-ok,div.wpcf7-response-output.wpcf7-mail-sent-ok{border:2px solid #197189}.footer-wp aside h3{font-size:20px;font-family:ClearSans,"Clear Sans",helvetica,tahoma,arial,sans-serif}.footer-wp aside ul li{padding:0}.inner .copyright-wrapper{font-size:1rem;font-weight:normal;background-color:white;padding:20px 0;position:relative;color:#666}.inner .copyright-wrapper p{color:#666}.inner .copyright-wrapper a{color:#e51566}.inner .copyright-wrapper h3{font-size:20px;letter-spacing:2px;text-align:center;font-weight:bold;letter-spacing:2px}.footer-wp input[type="text"]{margin-bottom:13px}.footer-wp #bbp-search-form input[type="submit"]{float:none}.btn-primary{background-color:#e51566;border-color:#e51566}a{color:#e51566}a[target="_blank"]:after{font-family:"dashicons";content:"\f172";color:#ddd;margin:0 3px 0 5px}h1,h2,h3,h4,h5,h6{font-family:ClearSans,"Clear Sans",helvetica,tahoma,arial,sans-serif}.nivo-directionNav,.nivo-controlNav{display:none}
/*# sourceMappingURL=style.css.map */
{
"version": 3,
"mappings": "AAAA;;;;;;;;;;;EAWE,AAGF,OAAO,CACN,gBAAgB,CAAE,eAAe,CACjC,iBAAS,CACR,SAAS,CAAC,KAAK,CACf,KAAK,CAAC,IAAI,CACV,OAAO,CAAC,OAAO,CAGf,kDAAqC,CACpC,MAAM,CAAC,MAAM,CAEZ,0DAAE,CACD,aAAa,CAAE,eAAe,CAC9B,KAAK,CCvBL,IAAO,CDwBP,gEAAO,CACN,KAAK,CC5BN,OAAO,CDgCP,gEAAE,CACD,KAAK,CAAC,KAAK,CAWhB,kBAAQ,CACN,cAAc,CAAE,CAAC,CAGlB,qBAAG,CACF,SAAS,CAAE,IAAI,CACf,WAAW,CAAE,IAAI,CACjB,UAAU,CAAE,MAAM,CAEnB,gCAAa,CACZ,IAAI,CAAC,GAAG,CACR,QAAQ,CAAE,OAAO,CACjB,OAAO,CAAE,MAAM,CACf,2CAAU,CACT,KAAK,C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,WAAW,CACxB,OAAO,CAAE,OAAO,CAChB,KAAK,CAAC,IAAI,CACV,MAAM,CAAE,WAAW,CAIrB,iBAAiB,CAChB,WAAW,CC3SJ,wDAAwD,CDiThE,mCACgB,CACf,OAAO,CAAC,IAAI",
"sources": ["../multipurpose-blog-child_dev/sass/style.scss","../multipurpose-blog-child_dev/sass/_variables.scss"],
"names": [],
"file": "style.css"
......
......@@ -190,6 +190,15 @@
margin-top:0.5em;
}
}
#content-blog.col-md-8{
h1,
{
margin-top:0.5em;
}
.mc-format{
margin-bottom:0.5em;
}
}
.legende{
font-size:0.8em;
......@@ -204,9 +213,16 @@
.feature-box{
max-height:300px;
overflow:hidden;
img{
//max-width:500px;
}
}
}
.single{
#content-blog{
.feature-box{
max-height:1000px;
img{
max-width:500px;
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment