Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 1,326 through 1,350 (of 32,678 total)
  • Author
    Search Results
  • Jens
    Participant

    There seems to be no German translation for the “notification-description”.

    “You have 1 new reply to [topic] from [user]”

    And I can´t find a way to add a translation with the plugins “Loco Translate” (https://de.wordpress.org/plugins/loco-translate/) or “Say What?” (https://de.wordpress.org/plugins/say-what/), too. That works perfectly in other cases, but not in this one.

    —

    Wordpress 5.6
    BuddyPress 7.1.0
    bbPress 2.6.6
    Loco Translate 2.5.0
    Say What? 1.9.6

    kingfisher64
    Participant

    Hello,

    I was wanting to create a button link in elementor to the BuddyPress user view profile page. I’m struggling to find the correct info.

    There’s basically a link field in elementor available just like this https://pasteboard.co/JI8WdfI.png

    The closest I found was the following:

    https://buddypress.org/support/topic/logged-in-user-profile-link-url/
    https://wordpress.stackexchange.com/questions/35163/add-buddypress-profile-and-messages-link-to-wordpress-menu

    Using Ocean WP theme, Buddypress 7.1.0 (v latest at time of post)

    Kind regards

    lynnapp
    Participant

    I added the code bp_nav_menu() to the single/parts/item-nav in my child theme and all is working well except the profile buttons are going under settings

    I have removed the submenu form all the other page fronts
    I am on WP 5.6, BP 7.10

    So this is the problem
    1. The loop for the sub-menus is
    a. Putting the profile menu items under a the settings=>profile tab 1, making a third drop down from profile-personal-li and I think it should be under profile not settings.

    Here is the source codes for the menus while looking at looking at my own profile not as admin.

    So I was wondering if the walker argument could help with this, but I could not find any documentation on that part.
    Could you point me to where or how to get the profile submenu items under the profile li and not as a sub sub of settings? It worked okay with the tabbed default menus of the nouveau theme.

    <li id="settings-personal-li" class="menu-parent current-menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">Settings</a>
    <ul class="sub-menu">
    	<li id="general-personal-li" class="menu-child current-menu-item"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">General</a></li>
    	<li id="notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/notifications/#item-header-content">Email</a></li>
    	<li id="profile-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/profile/#item-header-content">Profile Visibility</a>
    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>
    </li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/invites/#item-header-content">Group Invites</a></li>
    	<li id="data-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/data/#item-header-content">Export Data</a></li>
    	<li id="delete-account-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/delete-account/#item-header-content">Delete Account</a></li>
    </ul>
    </li>

    Also if you look at someone else’s profile it, the menu leaves out the ones I don’t have access too so there is the profile button then a view buttons at the end which is really for view profile.
    Thank you for any help

    #316925
    lynnapp
    Participant

    in my child theme I have added this to the members/single/parts/item-nav
    <label class=”toggle” for=”toggle”>☰ <span>Menu</span></label>
    <input class=”toggle” id=”toggle” type=”checkbox”>

    <nav class=”<?php bp_nouveau_single_item_nav_classes(); ?>” id=”object-nav” role=”navigation” aria-label=”<?php esc_attr_e( ‘Member menu’, ‘buddypress’ ); ?>”>
    <?php if ( bp_nouveau_has_nav( array( ‘type’ => ‘primary’ ) ) ) : ?>

      <?php bp_nav_menu(); ?>

    <?php endif; ?>
    </nav>

    I have removed the submenu form all the other page fronts
    So this is the problem

    1. The loop for the sub-menus is
    a. Putting the profile menu items under a new submenu under settings
    (this submenu )

    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>

    Here is the source codes for the menus while looking at looking at my own profile not as admin.

    So I was wondering if the walker argument could help with this, but I could not find any documentation on that part.
    Could you point me to where or how to get the profile submenu items under the profile li and not as a sub sub of settings?

    <nav class="main-navs no-ajax bp-navs single-screen-navs user-nav-tabs tabbed-links horizontal users-nav" id="object-nav" role="navigation" aria-label="Member menu">
    		<ul>
       <div class="menu-bp-container"><ul id="menu-bp" class="menu"><li id="front-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/front/#item-header-content">Home</a>
    <ul class="sub-menu">
    	<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/front/#item-header-content">View</a></li>
    </ul>
    </li>
    <li id="xprofile-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">Profile</a></li>
    <li id="activity-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/activity/#item-header-content">Activity</a>
    <ul class="sub-menu">
    	<li id="just-me-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/#item-header-content">Personal</a></li>
    	<li id="activity-mentions-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/mentions/#item-header-content">Mentions</a></li>
    	<li id="activity-favs-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/favorites/#item-header-content">Favorites</a></li>
    	<li id="activity-friends-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/friends/#item-header-content">Friends</a></li>
    	<li id="activity-groups-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/groups/#item-header-content">Groups</a></li>
    </ul>
    </li>
    <li id="friends-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/friends/#item-header-content">Friends <span class="count" style="cursor: pointer;">1</span></a>
    <ul class="sub-menu">
    	<li id="friends-my-friends-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/friends/#item-header-content">Friendships</a></li>
    	<li id="requests-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/friends/requests/#item-header-content">Requests</a></li>
    </ul>
    </li>
    <li id="notifications-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/#item-header-content">Notifications <span class="count" style="cursor: pointer;">1</span></a>
    <ul class="sub-menu">
    	<li id="notifications-my-notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/#item-header-content">Unread</a></li>
    	<li id="read-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/read/#item-header-content">Read</a></li>
    </ul>
    </li>
    <li id="invite-anyone-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/#item-header-content">Send Invites</a>
    <ul class="sub-menu">
    	<li id="invite-new-members-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/#item-header-content">Invite New Members</a></li>
    	<li id="sent-invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/sent-invites/#item-header-content">Sent Invites</a></li>
    </ul>
    </li>
    <li id="settings-personal-li" class="menu-parent current-menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">Settings</a>
    <ul class="sub-menu">
    	<li id="general-personal-li" class="menu-child current-menu-item"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">General</a></li>
    	<li id="notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/notifications/#item-header-content">Email</a></li>
    	<li id="profile-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/profile/#item-header-content">Profile Visibility</a>
    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>
    </li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/invites/#item-header-content">Group Invites</a></li>
    	<li id="data-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/data/#item-header-content">Export Data</a></li>
    	<li id="delete-account-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/delete-account/#item-header-content">Delete Account</a></li>
    </ul>
    </li>
    <li id="groups-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/groups/#item-header-content">Groups <span class="no-count">0</span></a>
    <ul class="sub-menu">
    	<li id="groups-my-groups-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/groups/#item-header-content">Memberships</a></li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/groups/invites/#item-header-content">Invitations</a></li>
    </ul>
    </li>
    </ul></div> 
    		</ul>
    </nav>
    #317527
    b4ureye
    Participant

    Hello ,

    I have a wordpress site like mysite.com and the other I created a subfolder to install mysite.com/pro

    So if a user registers on the main site, he will be automatically registered on the pro subfolders! (until then everything is working fine !

    i use this code :

    <?php
    /**
     * @package Kinsta_Share_Users
     * @version 1.0
     */
    /*
    Plugin Name: Kinsta_Share_Users
    Plugin URI: https://wordpress.org/extend/plugins/#
    Description: This is an plugin for Kinsta_Share_Users blog readers
    Author: Carlo Daniele
    Version: 1.0
    Author URI: http://carlodaniele.it/en/
    */
    
    /** 
     * Duplicate {$pref}_capabilities and {$pref}_user_level rows in {$pref}_usermeta table
     *
     * @param int    $user_id   The user ID.
     * @param string $role      The new role.
     * @param array  $old_roles An array of the user's previous roles.
     * 
     * @link https://developer.wordpress.org/reference/hooks/set_user_role/
     * @link https://codex.wordpress.org/Plugin_API/Action_Reference/set_user_role
     * 
     */
    function ksu_save_role( $user_id, $role ) {
    
    	 mysite.com/
    	// Change value if needed
    	$prefix_1 = 'first_';
    	
    	 mysite.com/pro/
    	// Change value if needed
    	$prefix_2 = 'second_';
    	
    	$caps = get_user_meta( $user_id, $prefix_1 . 'capabilities', true );
    	$level = get_user_meta( $user_id, $prefix_1 . 'user_level', true );
    
    	if ( $caps ){
    		update_user_meta( $user_id, $prefix_2 . 'capabilities', $caps );
    	}
    
    	if ( $level ){
    		update_user_meta( $user_id, $prefix_2 . 'user_level', $level );
    	}
    }
    
    add_action( 'set_user_role', 'ksu_save_role', 10, 2 );

    Now I would like if the user adds a profile or cover photo on the main site it adds on the pro site too!

    In good term if the user updates his pphoto on a site the other site automatically updates and so on.

    #318607
    derek222
    Participant

    Hello,

    on any template (eg Customify, Travel Agency …) I have created links in the menu to Groups. After clicking on the group, the group name and text in the menu will disappear. It is displayed correctly only for one link (see picture).

    The first image (link web) is OK, the others are no longer displayed,

    Please info where the error is.

    https://www.abudesfit.cz/error/ok.png (is ok)
    https://www.abudesfit.cz/error/ok-no1.png (error)
    https://www.abudesfit.cz/error/ok-no2.png (error)

    thank you very much

    —
    Wordpress 5.7.2
    BuddyPress 7.3.0

    #318647

    Topic: Buddypress api

    in group forum Installing BuddyPress
    alice8288
    Participant

    Hello,

    Does the Buddypress plugin use the wordpress api? (WordPress Reset Api) Or did it create itself? (BP Reset API)

    #318641
    wbcomdesigns
    Participant
    #318638

    In reply to: Groups page BLANK

    wbcomdesigns
    Participant

    try to turn on debug mode to check any error logs https://wordpress.org/support/article/debugging-in-wordpress/

    #318631

    In reply to: exif dataé display

    rudboy1234
    Participant

    I’ve forgotten :
    I use the latest version of wordpress.5.7.2
    My website is : https://www.creation-photos-02.com
    BBpress
    image upload for bbpress pro
    bbp style pack
    php 7.1.33

    #318609
    wbcomdesigns
    Participant

    @hardel that file is not included properly
    https://plugins.svn.wordpress.org/buddypress/trunk/bp-core/css/ the path which are you including have missing file name, only .min is used

    #318601
    hardel
    Participant

    Self-hosted pages are loading and displaying slowly. This is because the browser won’t display them until all assets are loaded and there is a problem with one stylesheet that is included (from wordpress using theme integration):

    <link rel=’stylesheet’ id=’bp–css’ href=’https://rockclass101.com/wp-content/plugins/buddypress/bp-core/css/.min.css?ver=7.3.0&#8242; type=’text/css’ media=’all’ />

    Please see screenshot:

    null

    Why does the head part for the example above contain broken links?

    —

    If I deactivate the BP plugin, the pages load fast. Any ideas on how to solve this issue?

    wbcomdesigns
    Participant
    #318587
    chocolateteapot
    Participant

    WordPress Version 5.7.2
    BuddyPress Version 7.3.0

    I need to open links in BuddyPress posts and comments in a new tab.

    I’ve installed Code Snippet and I’m using this function, but it isn’t working.

    function altlab_special_links_activity( $body ) { 
         $body = str_replace(' rel="nofollow"',' rel="nofollow" target="_blank"',$body);
    
        return $body; 
    
    }
    add_filter( 'bp_get_activity_content_body', 'altlab_special_links_activity', 15, 1 );
    

    Any help would be gratefully received, thanks.

    brianj7
    Participant

    How to change individual font for text for an individual page in WordPress where the font colour is global for all pages?

    Coequipier.com
    Participant

    I have a BuddyPress social networks in a multi network WordPress install (WordPress multisite), thanks to LH Buddypress Multi Network plugin.

    Everything is up to date.

    How can I prevent people from accessing to a profile page from another blog?

    For example :
    teacherSite, teacherUser
    studentSite, studentUser

    I have restricted access to site for non-member.
    teacherUser can only connect on teacherSite.
    And he can’t see in the directory other users from others blogs.

    If studentUser knows the teacherUser username or if he finds or tests…

    He can go to studentSite.domain.com/members/teacherUser/, and he can see the profile of teacherUser even though teacherUser is not linked to studentSite.

    Fortunately, there is no information (because everything else is well segregated) except the name and the gravatar.

    But he can still make a connection request or send him a private message!
    teacherUser will not see any notification on teacherSite. But he will potentially receive an email which will redirect him to studentSite without being able to connect to it.

    How to avoid this?

    If you know, you are a master!

    r083r7
    Participant

    Hello everyone,

    I’ve been trying to figure out how to include the user ID of the profile I’m looking at in the class body tag. The reason is that there’s 1 user that’s special and I need to style their page differently. I want to target the page by their user ID and trying to put it in the body class tag when viewing their profile.

    The closest code I found is this:

    ‘// Add user id CSS class via http://codex.wordpress.org/Function_Reference/body_class

    add_filter( ‘body_class’, ‘my_class_names’ );
    function my_class_names( $classes ) {
    // add ‘class-name’ to the $classes array
    global $current_user;
    $user_ID = $current_user->ID;
    $classes[] = ‘user-id-‘ . $user_ID;
    // return the $classes array
    return $classes;
    }’

    Close but not quite what I need. This code displays the user ID of the logged-in user (me). Instead, I need to show the user ID of the member’s profile when I’m viewing their profile. Any idea on how to adjust this code to do that?

    #318492

    In reply to: BuddyPress 8.0.0-beta1

    deborah86
    Participant

    I posted my initial response about this on the blog page. I want to add additional ideas and context here. The changes to the plugin sound great and are needed but they just don’t go far enough. The update is not that exciting.

    There doesn’t look like there is going to be support for block-based themes, full-site editing, or Gutenberg. There is no mention of new Gutenberg blocks.

    It looks like the next release will still rely on a limited amount of widgets. The widgets can’t be added to pages to create unique looks unless the user downloads a plugin.

    Widgets are going away and will be replaced with blocks soon. WordPress users will have to disable newer features in order to use the older BuddyPress features. How is this fair?

    BuddyPress should incorporate the newer WordPress features and add backwards compatibility for those unable to upgrade right away.

    Also, your website doesn’t contain any documentation on creating blocks for Gutenberg or block-based themes that work with the plugin. There is no exciting news about documentation updates.

    The release notes say there are updates to the BP Nouveau template pack. I am wondering what these updates are. Will this include updates to the Companion Stylesheets?

    Honestly, with full-site editing and block-based themes coming, these updates are a little too late.

    I am hoping the BP Nouveau template pack at least removes some of the BuddyPress CSS elements and gives more control back to the theme authors.

    Why is the plugin overriding the theme’s original styles for page titles, fonts, color schemes, etc?

    This creates extra work for someone modifying a theme or creating a theme. The plugin works against the original theme and not with it. The plugin should focus on modifying the elements that are not taken care of by the theme.

    The alerts look like you just copied what the alerts looked like in a previous version of Bootstrap. They have to be redesigned.

    The plugin is not mobile-friendly. The plugin overrides the mobile-friendly designs put in place by the theme designer to make the experience as terrible as possible on a mobile device.

    – Small fonts in places
    – Fonts too large in others
    – Selection areas too small to touch
    – Buttons too small

    I understand not all themes are done well, but the majority using the new features available in WordPress already does a better job with design than the BP Nouveau styles.

    Overall, this new update isn’t going to be ready for WordPress 5.8. It seems as though the developers o BuddyPress don’t care about what the WordPress Core community is accomplishing and the progress they are making.

    In 2017/2018 this would be an awesome update. It’s 2021 and the update is meh.

    #318451
    simpsinator
    Participant
    #318447
    honoluluman
    Participant

    Hello,

    I am trying to create 2 functionalities and i would like to ask for your help please.

    1. Trying to get all users with WP_User_Query that have not been active for last 60 days

    // Get the contributors and administrators who haven't logged in for 60 days
        $args = array( 
        'role__in' => array( 'contributor', 'administrator' ),
    	'meta_key'     => 'last_activity', // this is a meta_key storing the last time the user was logged in by buddypress in 'Y-m-d H:i:s' format
    	'meta_query' => array( 
            array(
                'key' => 'last_activity',
                'value' => date('Y-m-d H:i:s', strtotime( "-60 days" )), // what am i doing wrong? 
                'compare' => '<',
                'type' => 'DATE' // Let WordPress know we're working with date
                )
            )
        );
    
        $remind_users = new WP_User_Query( $args ); 

    -What am i doing wrong on the comparison?

    2. Send en email notification to specific users when there is a sidewide notice on our website.

    function important_notification() {
        
        $notification = '' . bp_get_message_notice_text( $notice->message ) . '';
    
        $args = array(
        'meta_key'     => '_is_featured'
        );
        
    
        $members = get_users( $args );
        foreach( $members as $member ) {
        $user_id = $member->ID;
        $member_account = bp_core_get_user_domain( $user_id );
        
        $first_name = $member->first_name;
    
        $email_subject = 'Important information';
    
        $message = sprintf( 'Hello %1$s,' , $first_name ) . "<br><br>"; 
       
        $message .= sprintf( 'We have an important information for you:' ) ."<br><br>"; 
        $message .= sprintf( '<i>%1$s</i>' , $notification ) ."<br><br>";
        $message .= sprintf( 'Please login <a href="%1$s" target="_blank">to your account</a> to remove the information if you want.' , $member_account ) ."<br><br>";
        
    
        
        wp_mail( $member->user_email, $email_subject, $message );
        }
    }
    add_action(  'xxxxxxxx',  'important_notification');

    -Will the $notification = '' . bp_get_message_notice_text( $notice->message ) . ''; get the message text of the sidewide notice?
    -In which action could i hook this function in order to send an email when admin will publish a sidewide notification?
    add_action( ‘xxxxxxxx’, ‘important_notification’);

    Thank you very much for your time.

    #318445
    epgb101
    Participant

    Hi.
    I get ‘Leave site?’ button keeps appearing when I enable Buddypress plugin (every other plugin is disabled) and partially enter a field, then nivigate away from that page.

    Is this normal – as it doesn’t happen with plain WordPress (ie no buddypress enabled) form filling and moving away?

    #318403

    In reply to: Pages not working

    Varun Dubey
    Participant

    @earthwarrior99 which pages are not working, BuddyPress mapped pages or general WordPress page

    Varun Dubey
    Participant

    @leokleine You can use member types to categories your members. https://bpdevel.wordpress.com/2020/09/21/bp-types-admin-ui/

    #318397
    Varun Dubey
    Participant

    @foilerone
    to check logs email are sent or not, you can use the email log plugin https://wordpress.org/plugins/email-log/
    Email may also be stuck in spam folders, due to default WP Sender headers.

    omidkhaksar
    Participant

    hey guys
    i need help to post xprofile fields to activity when updated on profile informations like
    admin change thier goals to ( learn wordpress )

Viewing 25 results - 1,326 through 1,350 (of 32,678 total)
Skip to toolbar