Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,601 through 5,625 (of 32,690 total)
  • Author
    Search Results
  • #259937
    Antipole
    Participant

    On my site I have a members directory tab. Users can enter a search term in the Search Members… field to find those members with the search term.

    However, I am seeing occasional false positives, i.e. a member is being returned who does not have the search term. For example, if you search on south, the last user listed Paul does not have south anywhere in his profile.

    I have tried switching to a standard theme Twenty Sixteen – no different. I have removed all plugins except BuddyPress and still the same. I have combed the errant profile using the backend and cannot find the string anywhere.

    NB1 Some of the extended profile fields on this site are not publicly visible. I know that the search finds profiles regardless of permissions but it then displays the profile without the private information. But, in the instances I am seeing, the found term does not exist at all – at least I cannot find it as admin looking in the user’s profile in the backend.

    Any suggestions, anyone?

    NB2. My test site has several plugins that might cause this issue, but I have demonstrated it to be present with only BuddyPress active.

    WordPress 4.6.1; BuddyPress 2.6.2; bbPress 2.5.10

    chtn2109
    Participant

    I am going to create a new custom notification for a user that if someone mention the user in any review with @, the related user will get a email and a new notification has been generated, this notification I created dynamically, but I get empty message showing on user profile notification area, I checked the db_table for notification as well it has proper entries as well,

    $description = apply_filters_ref_array( 'bp_notifications_get_notifications_for_user', array( $notification->component_action, $notification->item_id, $notification->secondary_item_id, 1, 'string', $notification->component_action, $notification->component_name, $notification->id ) );

    In the above line I found that ‘bp_notifications_get_notifications_for_user’ filter return me the empty description of my notification from line no 523 in function “bp_get_the_notification_description” of file buddypress/bp-notifications/bp-notifications-template.php

    Below is my custom code for generate notification:

    
    //add new notification mention_in_comment
    function mention_in_comment_filter_notifications_publish_post_get_registered_components( $component_names = array() ) {
     
        // Force $component_names to be an array
        if ( ! is_array( $component_names ) ) {
            $component_names = array();
        }
     
        // Add 'custom' component to registered components array
        array_push( $component_names, 'mention_in_comment' );
     
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'mention_in_comment_filter_notifications_publish_post_get_registered_components' );
    
    //show new notification text
    function bp_mention_in_comment_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
        // New custom notifications
        if ( 'mention_in_comment_action' === $action ) {
          
            $comment_info = get_comment( $item_id );
            $author_name = ($comment_info->user_id) ? get_the_author_meta( 'display_name', $comment_info->user_id ) : $comment_info->comment_author; 
            $custom_title = $author_name. ' mentioned you in a new comment on '.get_the_title($comment_info->comment_post_ID);
            $custom_link  = get_comment_link( $comment_info->comment_ID );
            $custom_text = $author_name. ' mentioned you in a new comment: <br/>' . $comment_info->comment_content;
     
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'mention_in_comment_filter', '' . esc_html( $custom_text ) . '', $custom_text, $custom_link );
     
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'mention_in_comment_filter', array(
                    'text' => $custom_text,
                    'link' => $custom_link
                ), $custom_link, (int) $total_items, $custom_text, $custom_title );
            } 
            //var_dump($return);
            return "Just say hello.";        
        }    
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'bp_mention_in_comment_format_buddypress_notifications', 1, 5 );
    
     //add notification to the mentioned user
        $notification = bp_notifications_add_notification( array(
                          'user_id'           => $user_id,
                          'item_id'           => $comment->comment_ID,
                          'secondary_item_id' => $user_id,
                          'component_name'    => 'mention_in_comment',
                          'component_action'  => 'mention_in_comment_action',
                          'date_notified'     => bp_core_current_time(),
                          'is_new'            => 1) );

    Could you please let me knwo what is wrong with my code or something else, how can more debug and solve this.

    ndsailor
    Participant

    Hello Everyone:

    When a user adds a link from post or custom post type to their activity feed, WordPress/Buddypress does a great job of scraping the information and bringing back a nice looking link with the featured image.

    The one thing that’s a bit off, the link includes a small WordPress icon in the corner. Is it possible to change that icon to a custom icon?

    I’ve attached a screen shot to provide reference.

    Thanks in advance,
    JW

    An example of an autogenerated link with a wordpress icon. Can we change this icon?

    #259859
    Venutius
    Moderator

    Make sure you are logged out when accessing the register page.

    Sometimes wordPress losts it’s connection to pages, you can reset this by resaving the Dashboard>>Settings>>Permalinks page, that might fix your Groups page access problem.

    deshmukh
    Participant

    Running WordPress 4.6.1, Buddypress 2.6.2.

    As the topic mentions, how can I segregate content by a specific user is a group?

    More elaborate explanation:

    In a group, there are multiple members posting, commenting, replying, etc.

    I want to see inputs (could be posts, comments or replies) of a particular user.

    How do I do that?

    #259856

    In reply to: Updated WordPress

    Henry Wright
    Moderator

    The most recent version of BuddyPress should work with the most recent version of WordPress. Can you describe the problem you’re seeing?

    David Bisset
    Participant

    I’m going to break this down as simple as possible, because it’s a little nuts. Using the latest versions of WordPress and BuddyPress, no other plugins unless otherwise mentioned. Default WP theme.

    1. Go ahead and register a BuddyPress member type in bp-custom.php like so:
    https://gist.github.com/dimensionmedia/c49347c8e24f00f43450b37506b4e009

    2. Go into your WordPress backend -> users -> extended tab. Assign a user to that member type.

    3. Now place this code at the end of functions.php, using the $user_id of the user from #2:

    $user_id = 7;
    $member_type = bp_get_member_type( $user_id );
    echo $member_type; exit;

    Note this is crude but making it as simple as possible.

    Now you won’t get back anything, no matter what you assign the user to as far as user type. The bp_get_member_types() works though. When I attempt to trace through bp_get_member_type back to wp_get_object_terms I get a WP_ERROR of “Invalid Taxonomy”, apparently the $wp_taxonomies doesn’t contain “bp_member_type”.

    Please the same code in a front-end template like header.php and this works.

    So while i can use the function in templates, i can’t in my plugins (or functions.php).

    I’ve used bp_get_member_type() before – in a plugin – and didn’t run into problems. Trying to figure out what i’m missing. Probably something simple.

    #259843
    joeaj111
    Participant

    I recently updated WordPress and now Buddypress will not work on my site. Will there be updates soon for WordPress higher than 4.5.4? If not, any suggestions? I need this working

    #259840

    In reply to: Like Button Issue.

    danbp
    Participant

    Can I simply change it on my WP-admin settings

    Yes !

    lesanis
    Participant

    Hello,

    Is there a way to add a link in User’s profile or in wp-admin topbar that would transfer me to user’s profile backend? What I am doing now is copy paste user’s name in wordpress dashboard but it’s not very easy for a website with a lot of users.

    Thank you!!

    #259826
    Venutius
    Moderator

    Hi there,

    Does your default page layout include a sidebar? If so you can use Context Aware Sidebars to display a profile page specific sidebar including that widget.

    https://wordpress.org/plugins/content-aware-sidebars/

    #259824
    bcanr2d2
    Participant

    My install has stopped sending any emails out for new user activation.
    I can receive emails sent by WordPress after a user is manually activated, and can receive any email from Postman SMTP, as these test emails work.

    I don’t use any other activity markers, but emails were not received when messages were sent either.

    I have tried all of the listed troubleshooting steps that others have gone through before.

    I have a custom function that creates a post for the user during the registration process. I have removed all custom functions and tried registering a user, and it still will not send any emails.

    As BuddyPress uses it’s own PHP Mailer, I am not able to log them via any WP Mail logging tools, and want to see what might be going on here.
    The problem reared its head around the time I upgraded to 2.6 (although the custom function during registration was also added at this time) as well

    I have reset the emails multiple times, and I have not made any changes to them.

    Could someone please provide assistance, or given me a suggestion on how to run the BP Email Debug code to get an email of any issues

    Host is Bluehost

    Here is my install, and plugin list

    WordPress 4.5.4
    BuddyPress 2.6.2
    Advanced Custom Fields 4.4.10
    Akismet 3.1.11 (inactive)
    BackWPuP 3.3.4
    BP Force Profile Photo 1.0.5
    BP Member Type Manager 1.0.1 (inactive)
    BP xProfile Location 1.2
    BP XProfile WordPress User Sync 0.6.4
    Broken Link Checker 1.11.2
    Buddy Progress Bar 1.0.2
    BuddyPress Conditional Field Groups 0.1.0
    Buddypress Conditional Profile Field 2.0
    Buddypress Geodirectory Integration 1.0.0 (inactive)
    BuddyPress Member Type Generator 1.0.2
    BuddyPress Profile Tabs 1.6.1
    BuddyPress Security Check 2.1.2
    BuddyPress Simple Terms And Conditions 1.3
    BuddyPress Xprofile Custom Fields Type 2.5
    BuddyPress Xprofile Member Type Field 1.0.4
    Cherry Parallax Plugin 1.0.0 (for my theme)
    Cherry Plugin 1.2.8.1 (for my theme)
    Conditional Profile Fields for BuddyPress 1.1.9
    Contact Form 7 4.5
    Contact Form 7 – Dynamic Text Extension 2.0.1
    Custom Hooks 1.0 (All my custom functions are in this plugin)
    Custom Login 3.2.5
    Custom Post Template By Templatic 1.0
    Custom Post Type UI 1.4.1
    Disable Comments 1.5.2
    Display Posts Shortcode 2.7.0
    Easy Parallax Slider 2.1.1
    FacetWP 2.6.4
    GEO my WP 2.6.6.1
    GeoDirectory 1.6.5 (inactive)
    Hello Dolly .1.6 (inactive)
    MOJO Marketplace 1.0.1 (inactive)
    MotoPress Content Editor Lite 1.6.5 (inactive)
    Quick and Easy FAQs 1.0.3
    SuitePlugins – Advanced XProfile Fields for BuddyPress 1.0.3
    Super Socializer 7.8.1
    WP Private Content Plus 1.11
    WPFront User Role Editor 2.12.4
    Yoast SEO 3.5

    #259817
    Toni
    Participant

    WordPress v4.6.1
    BuddyPress v2.6.2
    Theme Sydney

    This is a disaster! No one can find the menu for Users with Profile, Settings, Edit, etc. I couldn’t find it for weeks.

    I need to create a link to include in the main menu for Users to get to their page. Side bar Profile link too.

    #259815
    Toni
    Participant

    I couldn’t find the user menu – with the access to Profile, Settings, etc. for weeks. My users aren’t tech savvy or very web experienced, they’ll never find it.

    WordPress v4.6.1
    BuddyPress v2.6.2
    Theme Sydney

    r-a-y
    Keymaster

    This is a bug with bbPress, not BuddyPress.

    See the following ticket with a fix attached to it:
    https://bbpress.trac.wordpress.org/ticket/2974

    #259808
    Henry Wright
    Moderator

    Try asking on the BP Profile Search support forum. Support is very good.

    https://wordpress.org/support/plugin/bp-profile-search

    #259804

    In reply to: Clock in sidebar

    wbcomdesigns
    Participant

    Hi @nowymotor,

    Try Local Time Clock plugin

    #259800

    In reply to: Admin approval

    Venutius
    Moderator

    I’m not sure there is a plugin that covers both the WordPress and BuddyPress new member moderation. I remember I asked the BP Registrations Options developer for it to include moderation of the WordPress Access but he said it was outside of the remit of the plugin.

    deshmukh
    Participant

    Running Buddypress 2.6.2 on WordPress 4.6.1.

    So, in example.com/groups/group1, there are posts by several group members.

    I want to highlight posts by specific user(s). This can be using a different background, larger font, different colored text, etc.

    How do I achieve this?

    ico33
    Participant

    @danbp thanks! I’m really new with wordpress world, and I am not a webmaster/programmer, so even if wordpress seems easy, it’s less easy for me.

    If I understood: I have to create that file, put inside the suggestion of the user “brajesh”, then save the file in the plugins’ folder. Is this enough?

    Thanks a lot

    #259777
    wbcomdesigns
    Participant

    Hi @evilscream,

    Try updating your permalink settings here:
    https://codex.wordpress.org/Settings_Permalinks_Screen

    Choose anything but the default.

    #259768

    In reply to: Online Status

    danbp
    Participant

    No worry. About the heme, do you use the free version or the premium version by themeforest ?

    #259754

    In reply to: Like Button Issue.

    danbp
    Participant

    Hi,

    seems you use jetpack to fire a share widget and it looks like there is a JS conflict.
    Activate a twenty theme and se what you get.

    Seems also you use WP super cache.
    Clear the cache and deactivate it and make a first test.
    Once Twenty active, and still no button, you need to track all plugins except BP and jetpack.
    Deactivate all and reactivate one by one, until you find a culprit.

    If nothing found, you can be sure that or the theme or jetpack generates the button issue.
    While writing here i revisited a page (/butterfly) and could see the like button…

    But i think the problem is in your install setup.
    First, you use www. WordPress doesn’t use it by default.
    The site is also really slow. Use GTMetrix to get a detailed analysis of what you could do for better performance.
    You use also a very old plugin, and certainly outdated: pc-custom-css. Why don’t you use a child-theme ?
    Your images are very large, too large imho ! The guitar as example. Original size is 2500x1440px and 577ko ! On the post, it is barely larger than a thumbnail and on the Home a little medium size.
    It isn’t even optimized. I did it quickly and now it makes 303ko. Appreciate the difference and the gain if you would do this for all your pictures.

    Add a little JS bug or lame script over this and you know now from where you can expect issues.

    #259748
    brumest
    Participant

    Hi,

    I am using WordPress 4.6.1 and Buddypress 2.6.2 on my young site:
    http://www.artisticfreedomcrew.com
    While I was testing the site offline the like button was working normally, but as soon as I got the site online, and invited only a handful of friends to test it, it stopped working.
    Now it keeps loading and it never shows up, so it’s unusable.
    What might be causing this issue?

    Regards,
    Bruno Mestre

    danbp
    Participant

    This topic is titled “Function to hide private message depending of user role”.

    and the snippet does that ! Subscribers have no access to the button. So far i remember it is also the default role in WordPress. You change that to your need.

    The first condition in the snippet allows some users (by ID) to access the button, whatever their role.

    If you want to add other WP roles, you simply copy the 2nd conditionnal if(role=='') and add another role if(role=='mamamouchi") { //do something }.

    Or you use only the user ID if you have only a few members allowed to access. I litle understanding of php is of course a + to do that.
    You have the basics in the snippet. Now, it’s to you now to make it work for your need.

Viewing 25 results - 5,601 through 5,625 (of 32,690 total)
Skip to toolbar