Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 1,351 through 1,375 (of 32,690 total)
  • Author
    Search Results
  • #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 )

    #318369
    chanelwp
    Participant

    Cannot create new Group on https://novelnetwork.com
    WordPress version: 5.7.1
    BuddyPress version 7.3.0
    other plugins (all latest versions) on this site include:
    BP Custom
    BP Profile Search
    BP Simple Private
    BP xProfile Location
    BuddyPress Member Types Pro
    BuddyPress Xprofile Custom Field Types
    Paid Memberships Pro
    Paid Memberships Pro – BuddyPress Add On
    WooCommerce Product Vendors

    Issue:
    Been running BuddyPress a few years on this site. Suddenly an issue when trying to create a new BP group – it just goes to the first screen (Details), I enter Group name and description, and when I click “Create group and continue” it just clears the form. This is a membership site, so you would need to be logged in to see the Groups page.

    Error log shows these errors:
    #3 /home/novelnetwork/public_html/wp-content/plugins/buddypress/class-buddypress.php(522): require(‘/home/novelnetw…’)
    #4 /home/novelnetwork/public_html/wp-content/plugins/buddypress/class-buddypress.php(125): BuddyPress->includes()
    #5 /home/novelnetwork/public_html/wp-content/plugins/buddypress/bp-loader.php(46): BuddyPress::instance()
    #6 /home/novelnetwork/public_html/wp-content/plugins/buddypress/bp-loader.php(90): buddypress()
    #7 /home/novelnetwork/public_html/wp-settings. in /home/novelnetwork/public_html/wp-content/plugins/buddypress/cli/src/scaffold.php on line 19

    Any help would be appreciated!

    foilerone
    Participant

    I installed buddy press, followed the manuals and linked the registration and activation pages. When calling the link to the registration page, the page is properly displayed. After filling in the information and clicking on “Complete Sign Up”, the user just gets redirected to the landing page.

    There is no new user created in the user in wordpress and also no confirmation email is sent. However, when creating a user in the administration console within wordpress, users can be created and also registration emails are sent to the user.

    Any idea how to investigate this problem? All the tricks from other forum entries I have already tried (different themes, activate allow anyone to register etc).

    Installation:
    Wordpress 5.7.1
    Theme: Twenty Seventeen Child Theme, but also ExS
    BuddyPress: Version 7.3.0

    THANK YOU FOR YOUR HELP

    #318330
    iamthewebb
    Participant
    bijobabu
    Participant

    Hi,

    Wordpress version Version 5.6.3
    BuddyPress plugin version: Version 7.3.0

    I’m getting the error “The Link You Followed Has Expired” page when I try to create a group.

    The default url is <my-site-url>/groups/create/step/group-details/

    While crating a new group the first step is the Details page where a title and a group description has to be provided. After entering the details and when I select the “Create group and Continue” button, it takes me to the group-setting page page(<my-site-url>/groups/create/step/group-settings/) which is blank and has two buttons, a “Back to previous step” button and a “Next step” button. But when I select the “Next step” button it loads a blank page with a text “The link you followed has expired.”, but it should actually take me to the group photo step/page. Can you please help me to resolve this as issue as it breaks the flow of group creation rpocess.

    However when I navigate back to my group listing page, I’m able to find the newly create group.
    Please let me know if you need any further information

    #318265
    Robert D Payne
    Participant

    Hello,

    On my posts with comments, I noticed that the link for each commenter goes to the Buddypress member profile page. That’s not what I want. Instead, I want the commenter link to go to the WordPress author page. How do I do that?

    Thanks,
    Robert

    #318263
    Varun Dubey
    Participant
    #318262
    Varun Dubey
    Participant

    @bibblybob you can test https://wordpress.org/plugins/no-suggested-password/
    for profile navigation arrow that might be theme specific

    Varun Dubey
    Participant

    @kevinbrands I think it’s not related to BP at this point as BuddyPress does not media component yet, there are a couple of plugin for media folders like https://wordpress.org/plugins/media-library-plus/

    silviach
    Participant

    For the second time in 3 months, all registered users in our forum have received the same private message from a new (fake) user. It would be good to limit private messages recipients to 2 at a time. How can I set BuddyPress to do that ?

    Our forum: durecomemuri.it/forum/

    WordPress v. 5.7.1
    BuddyPress v. 7.3.0

    #318236
    Varun Dubey
    Participant
    #318232
    silverax
    Participant

    We just installed wordpress and buddypress

    Link to site: clubvital.bluemindapps.com
    WordPress Version 5.7.1
    BuddyPress Version 7.3.0

    when buddypress is active y got this error in all the pages:
    Notice: Trying to access array offset on value of type bool in subdomain.domain/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 1575

    How we can fix this?

    #318221
    shanebp
    Moderator

    Try wp_redirect for external urls.

    #318220
    jajen1099
    Participant
Viewing 25 results - 1,351 through 1,375 (of 32,690 total)
Skip to toolbar