Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,576 through 5,600 (of 32,678 total)
  • Author
    Search Results
  • #260007
    livingflame
    Participant

    @modemlooper You know that a lot of plugin is bad for WordPress. I don’t want more plugins, I need the Codes. Look at this and please understand my petition.

    Site Menu example:

    Logo –– Home –– Activity –– Members –– Groups –– Message (1) –– Friend Request (3) –– Notifications (4) –– My Account or Profile (sub: Log Out, etc.)

    The problem is, that Buddypress links (Wp / Appearance / Menus) has not Bubbles or Count Alert. I NEED THE COUNT ALERTS! NO PLUGINS!

    #259997
    modemlooper
    Moderator

    look through this plugin https://wordpress.org/plugins/buddypress-notifications-widget/

    The code could be reused to create a menu

    #259994

    In reply to: Login page

    Venutius
    Moderator

    https://wordpress.org/plugins/bp-simple-private/

    This makes it so the only page you can view is the homepage, then make sure all you can see on the homepage is the login button? Either that or modify the above plugin so that it redirects to the login page.

    #259983
    bid9jafd
    Participant

    Hi,

    I want to hide the entire Base Profile Field Group on my site.

    I have followed the steps outlined by @shanebp in this topic &, while the Base Profile Fields have been hidden, the tab for the Group is still visible.

    I have posted a screenshot of the issue here.

    I want just the profile group ‘user info’ to be visible & editable.

    I’m using the Kleo theme – version 4.1.5, WordPress 4.6.1.

    I’d greatly appreciate some help.

    #259973
    modemlooper
    Moderator

    * Please refrain from @ mentioning specific users in the topics.

    Most of these are plugin territory. The great thing about WordPress and BuddyPress is the nature of plugins and being able to choose the functionality you need to create a custom user experience.

    #259970
    karennadine
    Participant

    Hello Scott,

    My site is not really focused on images and videos so I did not have to export/import a lot of this, but the media I did import went well.

    Comments on blogs (from Ning) were imported so I guess this could work out well for comments on photos/videos as well. The only thing is whenever you have a lot of media content it will take some time to export.

    You just would give it a try to see how it works out. I took the following steps:
    Installed WP
    Installed Buddypress
    Installed BBPress
    Downloaded the Ning Export tool (http://www.ning.com/help/?p=5219) and started exporting
    Downloaded and installed Import from Ning tool https://wordpress.org/plugins/import-from-ning/

    I used ftp to upload the Ning files, to avoid errors I did this step by step (not all content at once).

    Good luck with it!

    #259969

    In reply to: the_ID = 0

    danbp
    Participant

    A partial explanation about “why”can be found here:
    https://buddypress.trac.wordpress.org/ticket/6230#comment:11

    #259961
    aladinDr
    Participant

    Hello ,i like to ask why buddypress and bbpress bothe are not compatible with wordpress 4.6.1 (the latest version ) because with wp 4.6.1 many bugs are fixed , so i look to buddypress plugin require 4.5.4 !

    wolfpup64
    Participant

    I posted up on this a little while ago, and danbp was a boss and helped me out, and I thought I could get it to work, but the end fix ended up unfortunately not really fixing the problem.

    I’m having difficulty with a profile tab that is supposed to link to a separate forums profile (wpForo) via a dynamic link that recognizes the displayed user’s page. danbp set me up with something like the below, I changed a bit to make it work better…

    function tab_custom_link_to_page() {
    
    	if ( bp_is_page( 'BP_MEMBERS' ) ||  bp_is_activity_component() || bp_is_profile_component () || bp_is_groups_component () || bp_is_notifications_component () || bp_is_messages_component () || bp_is_settings_component () || bp_is_following_component () || bp_is_followers_component () ) {
    		
    		$link = bp_get_root_domain() . '/community/profile/'. bp_get_displayed_user_username();
    		echo '<li><a href="'. $link .'">Community</a></li>'; 
    	}  
    }
    add_action( 'bp_member_options_nav', 'tab_custom_link_to_page', 10 );

    but I couldnt change the location of the tab, using code or BuddyBoss Reorder Tabs plugin, which is an issue because the theme I’m using (BuddyBoss Boss.) hides the tabs at the end under a clickable “…”. I spoke to someone at BuddyBoss and they told me I wouldn’t be able to move the tab unless it was registered as a “bp_core_new_nav_item( array(“, which requires an array like:

    function add_communityprofile_tab() {
    	global $bp;	
    	bp_core_new_nav_item( array(
    		'name'                  => 'Community',
    		'slug'                  => 'community',
    		'parent_url'            => $bp->displayed_user->domain,
    		'parent_slug'           => $bp->profile->slug,		
    		'position'              => 200,
    		'default_subnav_slug'   => 'community'
    	) );
    }
    add_action( 'bp_setup_nav', 'add_communityprofile_tab', 100 );

    which works fine until I have to link it, apparently I can’t use the tab array/slug thing to reach a dynamic link without the same “$bp->displayed_user->domain”. The link I’m trying to reach is currently at:

    http://localhost/wordpress/community/profile/*displayeduser*/

    from:

    http://localhost/wordpress/users/*displayeduser*/

    If nobody has any helpful suggestions otherwise, I’m thinking the best route might be to have the page

    http://localhost/wordpress/users/*displayeduser*/community/

    redirect to

    http://localhost/wordpress/community/profile/*displayeduser*/

    via a dynamic redirect…I’m trying to figure out how to do that.

    If anyone has any helpful advice it would be super appreciated. My boss wants me to take the site live this week and I think I’m just about there…aside from this huge disconnect between the two separate user profiles…not too bad for someone who has barely any idea what they’re doing. but yeah, sorry for the super long post. thanks for reading and hopefully you can throw me a line.

    – Andrew

    #259947
    haluhe
    Participant

    Hello everybody,

    I am contributing to Advanced Ads, an ad management plugin, and we recently had a customer who wanted to inject an ad only into the group page. We already did have a solution implemented for displaying ads only on certain pages, however, it did not work for BuddyPress generated pages. When we had a closer look at it, we realized that it did not work simply because of the fact that the id of the page got altered to 0 when BuddyPress was using it.

    When a page is loaded, we check if there are any ads that should be displayed by comparing the current pages ID to the IDs of the content specified by the display conditions the user has set. This does not work for the reason mentioned above.

    Is there a workaround for this issue and if there is none, what is the reason for this behavior?

    WordPress: 4.6.1
    BuddyPress: 2.6.2, 2.7-beta1

    #259942
    Henry Wright
    Moderator

    Instead of filtering ajax_querystring, how about using bp_parse_args()?

    Ref https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-groups/bp-groups-template.php#L431

    #259940
    danbp
    Participant

    As already said: it’s constructed.
    The site url is defined in WP general settings and stored in wp_options table
    The user name is stored in wp_users table
    For the other questions about DB, read:

    BuddyPress Database Diagram

    WordPress database schema

    #259939
    danbp
    Participant

    @henrywright

    Nothing ! I can sort them, but i was unable to assign them correctly. Whatever i tried until yet, didn’t work. It’s like the default group filters keep precedance. My feeling about group type, is that it is implemented to be used inside of group create step first and in a single group as second. In brief, it’s an information for single groups.

    Also, this curious slug (groups/groupname/type/typename/) applied to the group type name showing up on a group header. This pseudo ‘type’ sub-page is used to display a directory of groups using the same type. But this directory isn’t the site group directory !
    Despite this, the default group nav menu is also on that page. And when you click for example on All Groups (the default group directory page) you remain on /groups/groupname/type/typename/. Bad UX !

    That’s what i discovered after unpacking 2.7 RC2. I opened a ticket and Ray patched it a few hours later. Seems to resolve partialy that specific menu problem, but for the moment it’s only a patch and a bug- not the final solution.

    Now, add to that issue, the fact that the group directory is ajaxified, that groups sort options have apparently priority whatever you add as custom option and also the (imho) complex way groups_get_groups applies his filters is far away from what i’m able to do. The mangle of doc and use examples related to types is also an obstacle.

    There is most probably a filter missing. The question is: what, how and where to apply it. Do we use bp_ajax_query_string or groups_get_groups ? Or both or something other ?

    That said, my low php knowledge is probably the first obstacle. 😉 If you have a brilliant idea to surround this, don’t hesitate to share.
    I you want i can send you a copy of what i’m trying to do, bundled as plugin.

    #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

Viewing 25 results - 5,576 through 5,600 (of 32,678 total)
Skip to toolbar