Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,176 through 13,200 (of 73,985 total)
  • Author
    Search Results
  • #258926
    amsakwp
    Participant

    Hello,

    Does anyone know how I can get the Buddypress profile page details to draw from the details displayed on the wp-admin/user-edit page? Specifically I would like for the “first name” and “last name” fields on the Buddypress profile page to autofill form the same database used to store the first name and last name displayed on the admin/user-edit page. I am using a registration page from a different plugin (Memberpress) to have users enter these details initially, but currently when they go to the profile page after registering the last name field is still empty and the first name field contains the user’s username. Who knows how to fix this?

    Thank you!

    Earl_D
    Participant

    So the last few weeks search engine crawls have brought my BP site to its knees even with a 2gig of ram on my VPS

    Wondering if anyone has tips for dealing with search engines on a private BP network. Really the only pages I want then to index are the homepage and about pages everything else should be indexed.

    Thanks in advance for any help

    phound1
    Participant

    Hello. We just recently installed buddypress onto our site. I am having trouble with new user registrations. Confirmation emails are not being sent after a new user registers and we did not have this problem before installing buddypress.

    I am using wordpress 4.6.1, woocommerce 2.4.6, wc vendors pro 1.3.6 , ninja forms 3.0.5, BP WC vendors 1.0.8, Buddypress 2.6.2.

    We are creating an ecommerce marketplace allowing mulitple vendors to set up their own shops and sell their products.

    Tried the buddypress email repair tool just a couple hours ago, no luck. I can only activate new signups manually and of course I would like activation emails to go through so new users can activate themselves and login.

    Would appreciate any help or advice. Thank you so much for your time!

    #258916

    In reply to: Group Management Panel

    giaschel
    Participant

    Hi, thank you very much for your reply!

    Both links bring me to an error page that says I’m not authorized (although I’m super-admin). I can’t see any buddypress tab in my Dashboard, apart from Forums, Topics and Replies.

    Hoping you can still help.

    Thanks again.

    tronix-ex
    Participant

    I am using bbpress for forum and buddypress for members. So now I’ve an issue that when users do reply with quotes in thread then the activity add to the user’s profile activity which is fine but the issue is it shows the quotes not the original reply content, I want to show the reply not the quotes.

    For reference I’ve added the screenshot for better understanding.

    screenshot

    #258909
    rafiamudasar
    Participant

    Hi
    I am using buddypress with extended fields. but I have noticed whenever i update information of fields whether from the dashboard or from front end it lands onto blank page when I go back to previous page changes are being made but its not refreshing properly. Any idea ?

    Wordpress : 4.6.0
    buddypress: 2.6.1.1

    #258908

    In reply to: User dashboard url

    MissMad
    Participant

    Hi all!

    Thanks for your answers. Actually, he /members/me/profile/dashboard works (I do have a dashboard that’s not the WordPress one but rather one I can edit with some of the info from Buddypress).

    Great help!

    #258906
    manoj611
    Participant

    Hello Every one,
    is there any way where i can use forums and topic inside custom post type or buddy-press provide a option like a custom post type with texonomy with forums and topic?

    Thanks

    #258905
    karmatiger
    Participant

    dan that was extremely helpful 🙂 I’m so close now…

    I’m using

    function text_pre_timestamp() {
      $link = '';
      if ( bp_activity_user_can_delete() ) {
    	  $url   = bp_get_activity_delete_url();
    	  $link = '<a href="' . $url . '" class="activity-list delete">' . __( 'Delete', 'buddypress' ) . '</a>';
    	  $test = 'sample text ';
      }
      
      $var = ' %s ago ';// %s = timestamp
      if (!$link == '') $var = $var . '| ' . $test . $link; 
      return $var;
    
    }
    add_filter( 'bp_core_time_since_ago_text', 'text_pre_timestamp' );

    and it works! Well… for some reason it’s putting the Delete link on a separate line, and I can’t figure out why. As you can see I’ve included test text, which it includes on the same line as the timestamp. If I put $link before the timestamp it displays inline; but if I put it after the timestamp it puts the href one line down. Is this a Buddypress thing?

    The CSS used:

    .activity-list .delete {
      display: inline; 
      font-size:10px; 
      padding: 0; 
      margin: 0;
    }

    You can see by the display: inline I’m attempting to get the href to be on the same line as the rest of the text. have you any thoughts as to why it’s inserting a line break?

    danbp
    Participant

    @fearthemoose, @rezbiz,

    Here “the best guarded secret” finally revealed !
    But it’s not a secret, is part of Codex and a multi handled topic subject on this forum.

    What we want to do: remove access possibility.
    Where: on BuddyBar navigation menu (the one below the profile header).
    Specifics: make the activity and forum tabs only visible to the logged in user.

    NOTE: The activity tab is shown by default when you visit a profile.

    As we are going to hide/remove this tab to visitors, we need to define as first another default tab. If we won’t do that, the visitor will get a Page not found error. Which is not exactly the case here, the page exist but the visitor can’t access it.

    Let’s define arbitrary Profile as the new default tab. You can of course define what ever other existing tab on your BuddyBar as default.

    Add this line to bp-custom.php
    define( 'BP_DEFAULT_COMPONENT','profile' );

    Now the mega “open secret” !

    The folowing snippet contains almost any BP menu items you can have on a BuddyBar, and includes also the Forum item, in case you use bbPress.
    You can remove or comment out those you don’t want to use.
    Note also that it is only an example – you have to play with it to fit your need. But at least you have the right syntax to use.
    Note also that some profile menu items are user only, such as message or notice. In other words, these are always private.

    This function goes preferably to bp-custom.php

    function bpfr_hide_tabs() {
    global $bp;
    	 /**
    	 * class_exists() & bp_is_active are recommanded to avoid problems during updates 
    	 * or when Component is deactivated
    	 */
    
    	if( class_exists( 'bbPress' ) || bp_is_active ( 'groups' ) ) :
            
            /** here we fix the conditions. 
            * Are we on a profile page ? | is user site admin ? | is user logged in ?
            */
    	if ( bp_is_user() && !is_super_admin() && !is_user_logged_in() ) {
    
            /* and here we remove our stuff ! */
    		bp_core_remove_nav_item( 'activity' );
    		bp_core_remove_nav_item( 'friends' );
    		bp_core_remove_nav_item( 'groups' );
    		bp_core_remove_nav_item( 'forums' );
    	}
    	endif;
    }
    add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );

    Some other hints for privacy
    if you want to allow only the profile owner to view some tabs, replace
    !is_user_logged_in by !bp_is_my_profile() – this scenario doesn’t need a check for logged in users as it is made by bp_is_my_profile.

    If you want only to make a profile private, read here.

    If you want to remove a sub-nav item (ie. View on Profile), you use something like:
    bp_core_remove_subnav_item( 'profile', 'view' );

    Many other possibilities for navigation are also available, including for groups. Several examples are given on Codex, here.

    And if not enough, RTFM and search the forum ! 🙂

    Have fun !

    #258898
    Mwiinga
    Participant

    Hello,
    I have a challenge, and I need help.
    I have this plugin installed on my site, and its doing a great job.
    When a user is logged in, through a shortcode, “[bp_profile_url]” this plugin will display a link on a page, post or sidebar, to that respective user’s profile, making it easier for the user to view or edit their profile.

    but, I would like this tweaked alittle. Instead of displaying a raw link “http://example.com/user1/profile,&#8221; I would to display a styled up button like “View My Profile”

    How do I have this archived?

    Thank you.

    #258897
    danbp
    Participant

    They are filters for timestamp.
    To get some text before the ago part, try this:

    function text_pre_timestamp() {
    
    $var = 'custom text %s'; // %s = timestamp
       return $var;
    
    }
    add_filter( 'bp_core_time_since_ago_text', 'text_pre_timestamp' );

    Code references

    #258895
    danbp
    Participant

    What i want is to show view page content in the landing page of buddypress which is home.php . Is there any way i can achieve that?

    bp-templates/bp-legacy/buddypress/members/single/home.php contains dynamic templates and shows by default the member activity template.

    If you use the above code, you’ll get Resume as default content. This is the simpliest way to achieve what you want.

    FYI: the Resume plugin is 4 years old and no more maintained. In 4 years, many things changed in xprofile component and what you actually can do with these fields is much more evoluted than 4 years ago. IMO, you wouldn’t even have to use it, as you can get a similar result directly with BuddyPress.

    #258893
    danbp
    Participant
    #258881
    SunshineMagic
    Participant

    I have this issue too. I can’t believe that no one has responded to you in 4 months!??

    It’s clearly a buddypress issue too as it doesn’t work with the theme I am using nor does it work with the default wordpress theme and apparently while it used to work with your theme, after a reinstall, not anymore.

    So it’s definitely a buddypress issue but no one responds in 4 months?? How on earth are we to get what we need working if the response time is more then 4 months??

    Feeling concerned that buddypress was the wrong choice. This is my first issue and it’s a bad first experience! Unfortunately I put 2 months into building this site and I can’t go back now so it looks like I’m going to have broken pieces and likely have to dump buddypress and maybe even wordpress all together and build a custom PHP site asap, unless someone gets back to yoUs soon.

    I hope they do cause I’ve been having fun w/ WP and BP but functionality clearly comes before fun…

    #258879
    shanebp
    Moderator

    These forums are for BuddyPress.
    Please contact me via the PhiloPress website.

    #258870
    danbp
    Participant

    Hi @kyla123,

    if you use BuddyPress Login widget, you have a “Remember me” checkbox by default.

    If you added an extra page just to let members log in (?), read this WP documentation and check your customization.

    #258866
    danbp
    Participant

    Hi,

    not sure i understand correctly, but if you want the resume page to show as default landing tab (in place of the user activity) when you are on a profile, you can use this:

    define( 'BP_DEFAULT_COMPONENT', 'resume' );

    Add it to bp-custom.php

    Codex reference.

    #258862
    rafiamudasar
    Participant

    Hi
    I am using bp resume page to have a dynamic cv for the user. What i want is to show view page content in the landing page of buddypress which is home.php . Is there any way i can achieve that? For now its show cv on clicking the link of resume. But i want to remove that and show it on landing page . My life is dependent on it . Helppp!!!!!!!

    http://dev6.inserito.me/Birthbox/members/admin/

    Wordpress : 4.6.0
    buddypress: 2.6.1.1

    #258854
    Julia_B
    Participant

    Is there way to @mention all members?

    This is something I’d like to be able to do on the bbpress forum on my buddypress site. I find forum mentions draw more site engagement than emailing all members, but filling a post with all members’ @ names detracts from the post content. So is there a function like @all or @everyone?

    Thanks 🙂

    themichaelglenn
    Participant

    I’ve built a BuddyPress specific menu (using the BuddyPress Logged In links).

    In which file, and what location, do I add the code @socialc provided?

    #258846
    ckchaudhary
    Participant

    The filter you are looking for is bp_get_activity_action. So you’ll need to do something like:

    function SN_member_header( $action ) {	
        return $action . "success!";
    }
    
    add_filter( 'bp_get_activity_action', 'SN_member_header');

    For a better understanding, you can check the code in function bp_get_activity_action in plugins/buddypress/bp-activity/bp-activity-template.php

    #258845
    karmatiger
    Participant

    in the activity stream, for each entry there is the user’s avatar, and beside that a header that include their username, latest action (‘updated their profile’ or whatever), and below that smaller print indicating when they were last online.

    That info is all in the activity-header generated on entry.php. How entry.php calls this info is to run the self-echoing function bp_activity_action.

    I want to add xpfofile field data and the delete link to this header. Some would try to ram it into entry.php but then you must fuss around with the CSS to get the info up near or into the activity header, risking breaking something else.

    I’m trying to add it to the bp_activity_action. I found a thread sort of on topic here, but this chap was trying to do something else and his self-discovered solution was to ram it into entry.php before the header rather than using the action hook.

    I’ve created a simple function to test adding something to bp_activity_action, simply trying to add the word “success!” somewhere in the header:

    function SN_member_header() {	
        echo "success!";
    }
    
    add_action( 'bp_activity_action', 'SN_member_header');

    …but nothing appears. What am I missing?

    #258842
    knowitallninja
    Participant

    Sorry for all the updates, I have found the problem. In bp-settings-actions.php there is a line in the default handling of a password change that says this: $_POST[’email’] = $update_user->user_email;

    By commenting that line out, it fixes the problem and my code works. It’s not ideal though as whenever I update buddypress it’ll change back. So if anyone knows a way around that then that would be great.

    Otherwise I have a working script. For future reference it’s here:

    function action_bp_core_general_settings_after_save() {
    $useremail = $_POST[’email’];
    $userpassword = $_POST[‘pwd’];
    $current_user = wp_get_current_user();

    if(wp_check_password( $userpassword, $current_user->user_pass, $current_user->ID)) {
    if ( $current_user->user_email != $useremail ) {
    delete_user_meta( $current_user->ID, ‘pending_email_change’ );
    $userdata = array(
    ‘ID’ => $current_user->ID,
    ‘user_login’ => $current_user->user_login,
    ‘user_email’ => $useremail
    );
    $result = wp_insert_user( $userdata );
    }
    }
    };
    add_action( ‘bp_core_general_settings_after_save’,’action_bp_core_general_settings_after_save’ );

    #258828

    In reply to: Activate Page

    Venutius
    Moderator

    That’s strange, and you went to settings/buddypress/pages and set the activate page to be the activate page in buddypress?

Viewing 25 results - 13,176 through 13,200 (of 73,985 total)
Skip to toolbar