Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 11,501 through 11,525 (of 94,559 total)
  • Author
    Search Results
  • #265286
    metalhead
    Participant

    What’s up Buddypress people?

    I’m a former BBS sysop. Are any of you former or current BBS people?

    I got into BBSign in the early 90s, and I’m still into it somewhat, but a couple years ago, a friend of mine recommended ditching the 80 column ascii scene for WordPress. I fought it for a while, but I eventually listened.

    So, I’m now a Buddypress “Sysop.” That makes sense if you know where I’m coming from. I do it for fun, not business. I love WP & BP.

    One thing that I couldn’t help but notice, is that people are extremely ungrateful when requesting help with their WP/BP projects. People offer help for free, and then people act like it’s your fault when “Client is unhappy!” or some crap like that. Like you owe them something. Such nonsense!

    WP & BP should start a new slogan: “Write it yourself, ask politely, or kiss it!”

    Thanks very much to all the people who have taken the time to help other people with their goals, even though you probably shouldn’t bother if their goals are “business related” or if they acted like asses when you offered to help for free.

    If you’re a BP contributor, or an enthusiast like me, be advised that this is modern BBSing at it’s best, especially when combined with bbpress (or other, even better forum software.)

    It’s ok to talk to each other like humans. That’s what my BP site is all about. Businesses
    can kiss it.

    Peace brothers.

    #265283
    babcoltd
    Participant

    Hi,

    I would like to add a dropdown list to the buddypress registration form on my website http://www.islandopp.com, to give users creating an account the ability to select their user role (eg. candidate or employer). What can I add to the register.php page to complete this?

    I have attempted to add the dropdown list in the profile fields section of the registration form, however, when users activate their account, their role is the WP default free subscriber.

    -I am using BuddyPress and s2member. My registration page is located at http://islandopp.com/register/

    #265282
    Round World Travels
    Participant

    Thanks again Henry, tried what you said like this but couldn’t get it to work.
    <script><?php echo xprofile_get_field_data('AD', get_the_author_meta( 'ID' ) ); ?></script>

    Do I need to take out the script tags from the profile field. However I notice there are two sets of them. The code on the buddypress profile field form looks like this:

    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-3864028244866881"
         data-ad-slot="9938917139"
         data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    truelux
    Participant

    I have the following code in my functions.php file

    add_filter( 'bp_after_has_activities_parse_args', function( $retval ) {
       $retval['action'] = array(
            'activity_update',
            'activity_comment',
    		'friendship_created',
    		'rtmedia_update',
    		'new_member',
    		'created_group',
    		'joined_group',
        );
        return $retval;
    } );

    It works great… BUT when I try to filter the buddypress stream everything appears. There is no filtering ability. Is this the right function to use?

    #265278
    r-a-y
    Keymaster

    Reading this may help:

    BuddyPress Cover Images

    Also of relevance:
    https://buddypress.org/support/topic/css-causing-cover-image-to-disappear/

    cahara
    Participant

    Hey all I’m attempting to modify the content returned by BuddyPress’ default ‘@’ mention notification. I’m using this as part of a custom profile page and would like to modify the “username mentioned you’ text to something more personalized based on post type.

    
    // Change mention output
    function format_mention_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string', $component_action, $component_name, $notification_id) {
        if ( $component_action === 'new_at_mention') { // User mentioned notification
    
            $mentioned_source_type = get_post_type($item_id);
            $username = wl_get_username($secondary_item_id);
            $mention_avatar = wl_get_avatar($secondary_item_id);
            $mention_title = '';
            $mention_text = $username;
    
            if ($mentioned_source_type == 'topic') {
                $mention_title = bbp_get_topic_title( $item_id );
                $mention_text .= ' mentioned you in the forum post ';
                $mention_source_link = ''; // link to topic
            } else if ($mentioned_source_type == 'reply') {
                $parent_topic_id = bbp_get_reply_topic_id( $item_id );
                $mention_title = bbp_get_topic_title( $parent_topic_id );
                $mention_text .= ' mentioned you in their response to the forum post ';
                $mention_source_link = bbp_get_reply_url( $item_id ); // link to reply
            } else if ($mentioned_source_type == 'comment') {
                $comment = get_comment($item_id);
                $mention_text .= ' mentioned you in their comment';
                $mention_source_link = get_comment_link($comment);
    
            } else {
                $mention_avatar = '';
                $mention_title = get_the_title($item_id);
                $mention_text = 'You were mentioned in ';
                $mention_source_link = get_permalink($item_id);
            }
    
            $mention_source_link = wp_nonce_url( add_query_arg( array( 'action' => 'read', 'notification_id' => $notification_id), $mention_source_link ), 'bp_notification_mark_read_' . $notification_id);
    
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'bp_activity_single_at_mentions_notification', '<a href="' . esc_url( $mention_source_link ) . '" title="New mention">'. $mention_avatar . esc_html( $mention_text ) . '<span class="activity-title">'.$mention_title.'</span></a>', (int) $total_items, $mention_text, $mention_source_link );
    
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'bp_activity_single_at_mentions_notification', array(
                    'text' => $mention_text . $mention_title,
                    'link' => $mention_source_link
                ), $mention_source_link, (int) $total_items, $mention_text, $mention_title );
            }
        }
    
        return $return;
    
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'format_mention_notifications', 100, 8 );
    

    What I’ve tried so far:
    – Changing the priority of the filter
    – Moving my logic into the activity_format_notifications action with various different priorities
    – All of the above in a custom plugin file, bp-custom.php, and my themes’ function.php file

    I’ve used a similar filter for custom notifications and that aspect works great. I just can’t seem to override the default content with my own. My thoughts are that the the filters/actions run too late to be noticed by BuddyPress.

    Many thanks for your help.

    QuicksilverWebWorks
    Participant

    I have checked “Enable BuddyPress to WordPress profile syncing”, yet Buddypress is ignoring the following WordPress standard fields:
    Website
    Google+
    Biographical Info

    How can I allow the user to edit these fields via the Buddypress profile editor?

    Also, the Buddypress profile editor allows the user to set a “Cover Image”. How can I give admins access to users’ cover images?

    #265268
    Gooly
    Participant

    I’m building a custom theme for WP/BP and I found out that the cover images for profile and group were not displayed. I could upload and remove it, just not see it once everything was saved.
    After a short investigation I found that an entire style block for BP was missing from teh HTML head.

    If I change the theme to twentyfiteen, I see a style block in the HTML head like this:

    <style id='bp-twentyfifteen-inline-css' type='text/css'>
    
    /* Cover image */
    #buddypress #header-cover-image {
    	height: 225px;
    	background-image: url(http://localhost/buddypress/wp-content/uploads/buddypress/members/1/cover-image/58e3a4efd7baf-bp-cover-image.png);
    } etc. etc.

    But that styleblock is missing in my own theme.
    I checked whether I had the wp_head() tag in place, which I had.
    Then I ended up at this page but also there I can’t find anything to fix this.
    This is the first time I’m building a theme to work with BP, so myaby I’m overseeing some very logical point 😉

    #265267

    Topic: Group Page

    in group forum Installing BuddyPress
    freddyabelard77
    Participant

    Hello,
    In the group activity page I have a problem when I want to reply to a comment posted on a note the answer button does not produce any action. I have to contact the support of my theme (socialize), it answered that its did not come from the theme and that I had to contact the support of buddypress. Have you ever had this kind of problem? Do you have a solution ?
    Thank you in advance

    #265257
    danbp
    Participant

    There is nothing like that, and to be honest, it wouldn’t be a great idea to send an email to each profile visitor. How could you be sure that the visitor is a site member and not a robot ? And what will happen if a profile is visited 500 times by a same visitor ? Do you send 500 mails to the profile owner ? In brief, it is not simple to handle. And imho, it is not here that you will get the best answer for such a complicated tool…

    That said you have a few plugins who make similar things:

    Buddypress Who clicked at my Profile?


    https://buddydev.com/plugins/recent-visitors-for-buddypress-profile/ (premium)

    #265256
    danbp
    Participant

    Hi,

    My Buddy Groups is not a string used in BuddyPress, and explain why you don’t find it (at least in BuddyPress).

    could it be that you use some group plugin ? Or a BP specific theme ?
    Search there, plugin or theme have usually their own language file.

    #265255
    jacobian64
    Participant

    wordpress Version 4.7.3 buddypress Version 2.8.2 link site
    hello all,
    I want to know if there is a functionality in buddypress that if you visit a profile, then the profile will get a notification and an email. I want to build a dating website and I think I need this email sending to let user know who had been visiting their profile.

    thanks

    #265250
    neijisly
    Participant

    Hello! I finished the development of my site in WordPress and the problem of hosting arises. How much I could pay or what are the server configurations if my site had 200 users. Thank you for your comments.

    sandervm86
    Participant

    For some reason i can’t find wheir tho change: My Buddy Groups. (this is in profile)

    As you can see my webpage is in dutch: only this is left 🙂

    Receptenmaker

    Can some1 help me change it to Groepen or something.

    Wordpress version 4.7.3–nl_NL
    Buddypress 2.8.2
    receptenmaker.com

    #265246
    meganme517
    Participant

    ​I am looking to link to dynamic buddypress groups for the user that is logged in. Any idea how this can be accomplished. Seems like it shouldn’t be that difficult.

    Thanks!

    #265245
    r-a-y
    Keymaster

    If you wanted to add a heading to your Members Directory template, there are two methods:

    1. Override the Members Directory template part:

    The template part is the actual template file used to render the Members Directory output.

    Copy /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php

    To:

    wp-content/themes/YOUR-THEME/buddypress/members/index.php

    And make whatever changes you need to make.

    2. Override the Members Directory template hierarchy:

    https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/

    Template hierarchy basically means a page template used for the surrounding template part.

    If you don’t want to read the guide above, basically, copy your theme’s page.php and move it to /buddypress/members/index-directory.php in your theme’s directory. Then, add your heading before the page loop.

    #265244
    r-a-y
    Keymaster

    When you set up BuddyPress, you have the option to map BuddyPress components to WordPress pages:

    Configure BuddyPress

    So basically, if you mapped the Members Directory page to example.com/members, you can go to your WordPress Pages menu in the admin dashboard, find your Members Directory page and rename the slug from members to whatever you wanted like people.

    teeboy4real
    Participant

    Hi, I want to remove the ‘add friend’ button for a specific member type in my buddypress site on the members page. I don’t want them to have friend requests from anyone.

    I tried this code provided by @henrywright but it only works for the individual members page and not the members loop. After applying the code to bp-custom.php file the add friend button still shows on the member’s page.

    The idea is that I have a member type called business and it would not make sense to add a business as a friend but you can only follow a business.

    function browserco_filter_add_friend_button( $button ) {
        $member_type = bp_get_member_type( bp_displayed_user_id() );
        if ( 'business' !== $member_type ) {
            return $button;
        }
        return '';
    }
    add_filter( 'bp_get_add_friend_button', 'browserco_filter_add_friend_button' );

    Please can anyone help with this?

    #265239

    We’ve the same problem.

    But we found a solution to fix it.

    File: \htdocs\wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-admin.php

    Search the function “xprofile_admin_field” and there you replace the code from Line 609 to 630 with this:

    	$field_edit_url = add_query_arg(
    		array(
    			'page'     => 'bp-profile-setup',
    			'group_id' => (int) $field->group_id,
    			'field_id' => (int) $field->id,
    			'mode'     => 'edit_field'
    		),
    		//network_admin_url( 'users.php' )
    		'users.php'
    	);
    
    	if ( $field->can_delete ) {
    		$field_delete_url = add_query_arg(
    			array(
    				'page'     => 'bp-profile-setup',
    				'field_id' => (int) $field->id,
    				'mode'     => 'delete_field'
    			),
    			//network_admin_url( 'users.php' ) . '#tabs-' . (int) $field->group_id
    			'users.php#tabs-' . (int) $field->group_id
    		);
    	}

    So it don’t create nework admin url links, just site links. This will fix it till the next update.
    I hope the BuddyPress devs will fix it in the next release 😉

    #265237
    Slava Abakumov
    Moderator

    BuddyPress Newsletter #27 – mainly BuddyPress news, and a new theme – Besocial!

    https://www.getrevue.co/profile/bpmail/issues/27-mainly-buddypress-news-and-a-new-theme-besocial-50831

    kimerica
    Participant

    Hello, we have a real puzzle in the use of buddypress (version 2.8.2) of the site http://www.gidass.it
    The field profile extended primary is not editable: does not appear the options to change the visibility or change the type of the field.
    The problem is only on the primary profile, the other fields work.
    Do you have any tips on how to fix the problem?

    The site is still in Maintenance mode, and we use the version 4.7.3 wordpress, Kleo theme 4.1.2.

    Thanks
    Primary Extended profile not editable

    #265231
    manoj343
    Participant

    Hello

    I have a website and we want it’s buddypress profile page like https://www.etsy.com/ ,please confirm me is it possible .

    Etsy website used core php ,is it possible we create buddypress profile or shop template like etsy.

    Currently we used any thing in the plugin it stop my whole website(http://saffronsoft.com/wordpress/dancerely/)

    Please provide me possible solution

    Thanks

    #265230
    kalico
    Participant

    Hallelujah! After MUCH ado, I have finally figured out what the heck is going on here.

    At first, every change I made per the instructions from @hnla and @r-a-y had failed. I was sure it must be something in my set up, so I did a LOT of detective work and testing, and finally discovered multiple sources of problems.

    Although it’s unlikely this will be relevant to many others, I am posting it just in case it might help someone. I always like reading other people’s solutions — it often gives me fresh ideas, even if it’s not an exact fit. So here goes….

    1) I was copying my page.php from my child theme to use as /groups/index-directory.php, and it was breaking the groups directory page. Well…it’s in the child theme because it’s been modified from the parent theme, and whatever mods I made were not playing nice with the BP template hierarchy system. When I copied page.php from the parent theme, it worked just fine. (Maybe that’s why they are theme devs and I am a lowly hacker…)

    Now having solved the problem of which file makes the best template for a new groups directory, I had to figure out how to actually affect the area of the page that I want to affect: the section where the tabs and the group search live. Those are not in the page.php file, they are coming from somewhere else.

    I hunted down some bits of code that were in the section I wanted to modify, and searched all the theme and plugin files on my system for that snippet, and discovered the next problem…..

    2) The only place that the code exists is in BP Groups Hierarchy plugin, and BP itself. I had BP Groups Hierarchy (old version, with Ray’s compiled updates) enabled, along with an older version of BuddyPress (due to incompatibility issues between new BP and old BP Groups Hierarchy). Within this environment, the BP Groups Hierarchy plugin was actually taking over the display of the groups/index.php so none of my changes were showing up.

    3) The next thing I realized is that I have a customized community.php file (a.k.a. buddypress.php) which is where my buddypress loop actually lives. Or, more specifically, that file is pulling content-page.php. So I had to use that file (which had already started out as a copy of the parent theme’s page.php) to create a working and fully compatible template.

    In a nutshell, my new groups/index-directory.php goes something like this:

    The first part comes from COMMUNITY.PHP, which is a customized version of the PARENT THEME’S PAGE.PHP

    Then the PAGE TITLE CODE is copied from the child theme’s CONTENT-PAGE.PHP

    Next I replace THE LOOP from COMMUNITY.PHP with the ENTIRE CONTENTS of the original/default GROUPS/INDEX.PHP. We’ll call this the “new loop”.

    After the “new loop” section of the code, then my CUSTOM COMMUNITY.PHP FILE takes over again, filling out the rest of the file with the sidebar and footer.

    Note: Somewhere in here, I had to add a ?> to close the PHP. Can’t remember exactly where, but something I copied did not have a closing PHP tag. So if you get a blank screen, that would be a good place to look. 🙂

    I’ve posted my entire custom index-directory.php in a gist in case anyone wants to see it. It is commented in 4 places where I transitioned from one fragment to another. You can search on “GROUPS INDEX TEMPLATE” to find the comments in the gist. My parent theme is Zerif Pro, and I have a customized community.php/buddypress.php file. so you CANNOT JUST COPY this code. It just serves as an example of how I cobbled the code together to get a working template. Hope it is helpful.

    Grateful thanks to Ray and Hugo for all the assistance and advice!

    #265211
    r-a-y
    Keymaster

    > Can i call a complete bubbypress page on to a new page ?

    Short answer is no.

    You can however, change the slug of a BuddyPress page via the WP admin’s “Pages” menu. If you can change the location of the slug, this should satisfy most use-cases.

    > with php maybe? or create a shortcode?

    Yes, anything is possible with code! It depends what you want to show though.

    There are some plugins out there that show BP content via shortcodes. One of them is this one:

    Bowe Codes

Viewing 25 results - 11,501 through 11,525 (of 94,559 total)
Skip to toolbar