This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remove I check | |
*/ | |
function youzer_remove_icheck() { | |
// Get Current Page. | |
$current = bp_current_action(); | |
if ( bp_current_component() && ! bp_is_current_component( 'widgets-settings' ) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Change Invalid Username Message. | |
*/ | |
function yz_change_signup_invalid_username_error( $data ) { | |
// Get Username | |
$username = $data['user_name']; | |
if ( preg_match('/[^a-z_\-0-9]/i', $username ) ) { | |
// Get Erros. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.youzer .bp-uploader-progress div.error, | |
.youzer div.bp-avatar-status p, | |
.youzer div.bp-cover-image-status p, | |
.youzer .drag-drop-inside p.drag-drop-info, | |
.youzer .yz-uploader-change-item h2, | |
.youzer .uk-option-item .option-infos label, | |
.youzer .editfield fieldset legend, | |
.youzer .yz-reset-options, | |
.youzer .yza-item-button, | |
.youzer .yz-save-options, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Register Subai Actions. | |
*/ | |
function yz_register_subai_post_actions() { | |
// Init Vars | |
$bp = buddypress(); | |
bp_activity_set_action( | |
$bp->activity->id, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remove Bimber Theme Default Buddypress CSS | |
*/ | |
function yz_disable_bimber_theme_buddypress_css() { | |
return false; | |
} | |
add_filter( 'bimber_bp_load_css', 'yz_disable_bimber_theme_buddypress_css' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.yz-widget, | |
#yz-wall-nav, | |
#yz-wall-form, | |
.youzer div#message, | |
#message-recipients, | |
table.notifications, | |
#yz-profile-navmenu, | |
.yz-directory-filter, | |
.yz-my-account-widget, | |
table.messages-notices, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Global Css */ | |
.widget_bp_core_sitewide_messages .bp-site-wide-message button, | |
.youzify-main-content .wp-picker-container .wp-picker-clear, | |
.youzify-main-content .wp-picker-container .wp-color-picker, | |
.widget_bp_core_members_widget .item-options a, | |
.youzify-membership-form .youzify-membership-form-cover .form-cover-title, | |
.youzify .uk-upload-photo .uk-upload-button, | |
.widget_bp_groups_widget .item-options a, | |
.youzify-membership-form-item .youzify-membership-item-content label, | |
.youzify-membership-form-item .youzify-membership-item-content input, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.yz-group-navmenu li a#nav-forum:before { | |
content:"\f0e6 "; | |
} | |
.yz-group-navmenu li a#nav-mediapress:before { | |
content:"\f03e"; | |
} | |
.yz-group-navmenu li a#nav-docs:before { | |
content:"\f1c2"; |