Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 21,651 through 21,675 (of 94,544 total)
  • Author
    Search Results
  • #232853
    Yann Spect-Acteur
    Participant

    I’ve just install wordpress, then buddypress.
    So same issue.

    spect-acteur.eu
    id : test
    pass : test

    Techknowledgic
    Participant

    Hey

    I have installed buddypress and if I click settings or anything from the admin area I go to an error page “You do not have sufficient permissions to access this page.”

    so what’s wrong?

    thanks

    #232842
    kashmiri
    Participant

    Bug report filed here:

    https://buddypress.trac.wordpress.org/ticket/6160

    This has also been pointed out a few years back but issue seems stalled:

    https://buddypress.trac.wordpress.org/ticket/4689

    #232841
    shanebp
    Moderator

    This works properly on my test install, put in bp-custom.php

    function laddi_show_user_role () {
    	$abc_role = bbp_get_user_display_role( bp_displayed_user_id() );
    	echo '<br/><span class="profile-role ' . $abc_role . '"><i class="fa fa-star"></i><em>';
    	echo $abc_role;
    	echo '</em></span>';
    }
    add_action( 'bp_before_member_header_meta', 'laddi_show_user_role' );
    laddi
    Participant

    Hello to all the BuddyPress Scientists out there.

    I am almost mad about to show bbPress User Role on BuddyPress Profile Page. And I am currently using this code, but it is not perfect and correct.

    
    function show_user_role () 
    		{
    		global $bp;
    		$reply_id = bbp_get_reply_id( $reply_id );
    		$abc_role = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) );
    		echo '<span class="profile-role ' . $abc_role . '"><i class="fa fa-star"></i> <em>';
    		echo $abc_role;
    		echo '</em></span>';
    	}
    add_action( 'bp_before_member_header_meta', 'show_user_role' );
    

    The demo output can be seen on http://www.punjabi.cc/ website by visiting any members profile.

    First problem with this code is, it does not show correct name for dynamic roles when user is not logged in.

    Second problem, the users who are blocked also tagged ‘Member’ not ‘Blocked’.

    Please either correct it or provide me a another perfect piece of code, I will be highly thankful.

    Regards,
    Laddi

    #232831
    patlol
    Participant

    Hello danbp,

    Which plugin do you use for your custom search form ?

    Is your plugin! Isn’t a custom form is the horizontal form proposed in sweetdate->buddypress menu (see first attached file in first message)

    I try disabled all plugin except sweetdate and budypress (if not the “members” and horizontal form no longer exists):
    the first fiels of horizontal form “name” is ok
    the 2 next fields are not ok

    So there are two problems:
    1/ the “name” field does not work due to WordPress SEO plugin, I deleted it. why? I don’t know!
    2/ The others fields are extended fields, fields created by me, “Départements” and “Domaine d’activité” does not even work by removing all plugins except sweetdate and buddypress (if not the “memebers” and horizontal form no longer exists)

    It is for the second case I would need your help

    Thanks

    Where i create the 2 extended fields

    #232830
    Yann Spect-Acteur
    Participant

    Hello.

    Sorry for my very bad english.

    I have wordpress 4.1 , buddypress 2.1.1 and buddyboss theme, but same problem with other theme.
    The problem is when i sign in into my site, i must refresh every page to be connected on my site. It’s the same problem with chrome, firefox, internet explorer. No plugin on my site.

    For test, you can connect on spect-acteur.eu with id : test, and pass : test

    A video to show the problem.

    http://www.spect-acteur.eu/refresh.avi

    Any solution please?

    #232829
    youmin
    Participant

    Is it buddypress related question or BBPRESS related one ? Be clear in the question.

    #232827
    youmin
    Participant

    Will you kindly provide me the snippet based on this ticket, as you directed I had raised this ticket and I am happy that their is a solution.

    https://buddypress.trac.wordpress.org/ticket/6154#ticket&#8221;

    Thank you once again.

    #232824
    youmin
    Participant

    So I think its a bbpress related widget,

    Try this one, when you install buddypress you need to set the permalink, try changing this options in settings of buddypress or in bbpress.

    ARCangelGIRL
    Participant

    Hello,

    I faced some problems of how to get xprofile field drop down select box value.

    Let say that I have xprofile field name ‘First’ and it is drop down select box with following values:
    ‘Value1’
    ‘Value2’
    ‘Value3’….

    I used this code to get the field
    echo xprofile_get_field_data('First', bp_get_member_user_id());

    The values are printed but I would like every value to be wrapped in a different URL.
    Etc.:

    <a href="url1">Value1</a>
    <a href="url2">Value2</a>

    I tried many variations, but still no luck.. Any recommendations on this would be appreciated.

    #232818

    In reply to: Pagination no-ajax bug

    ripulkr
    Participant

    For now, I have implemented this fix :

    add_filter('bp_get_messages_pagination','correct_buddypress_pagination');
    add_filter('bp_get_members_pagination_links','correct_buddypress_pagination');
    add_filter('bp_course_get_item_pagination','correct_buddypress_pagination');
    function correct_buddypress_pagination($pagination){
    	global $items_template;
    	if($_GET['items_page'] || $_GET['mlpage'] || $_GET['mpage']){
    		preg_match_all('/.+(mlpage|items_page|mpage).([1-9]+).+([1-9]+).+/',$pagination, $matches);
    		if(isset($matches[2]) && isset($matches[3])){
    			if(is_array($matches[2]) && count($matches[2])){
    				foreach($matches[2] as $k=>$match){
    
    					if($match != $matches[3][$k]){
    						$search =$matches[1][$k]."=".$match."'>".$matches[3][$k];
    						$replace=$matches[1][$k]."=".$matches[3][$k]."'>".$matches[3][$k];
    						$pagination = str_replace($search,$replace,$pagination);
    					}
    				}
    			}
    		}
    	}
    	return $pagination;
    }

    I guess it should not have any impact when BuddyPress 2.2 update is released.

    #232817
    mvaneijgen
    Participant

    @Ahir Hermant that is not really my question.

    There are users on the forum, so when I click on there name (lets say user ‘Youmin) I want the site to link to the users page (and that would be this URL /members/Youmin) this works without BuddyPress, but when I have BuddyPress installed all users name get the link /members (and this is just a page with a list of all users.

    So there is no way to get to a users page.

    #232816
    Ahir Hemant
    Participant

    @youmin,

    i have used bbpress and buddypress, there is one widget like Forum Statistics, it will display like total member count, total topic, total forum like that, there is no link i mean total forum 120 then when i click on 120 it will redirect to forum list page. have you got my question now ?

    Thank you

    r-a-y
    Keymaster

    I’ve taken a look at the ticket and have proposed a fix that may not make it to BuddyPress 2.2, but you can patch temporarily:
    https://buddypress.trac.wordpress.org/attachment/ticket/6153/6153.01.patch

    Thank the Atahualpa dev for posting a detailed bug report!

    #232805
    Henry Wright
    Moderator

    Hi @socialbttrfly

    a) Not ‘out-of-the-box’ but through either plugins or custom code snippets then this can be done.

    b) Try the BP Jobs Board. We request that you post your requirements and leave your contact details so that developers can contact you.

    #232804
    shanebp
    Moderator

    Try it in bp-custom.php

    #232803

    In reply to: Pagination no-ajax bug

    r-a-y
    Keymaster

    This should be fixed when BuddyPress 2.2 is out:
    https://buddypress.trac.wordpress.org/ticket/5967

    If you have a testing environment, you can test out 2.2-beta 2:

    BuddyPress 2.2 – Beta 2

    mcpeanut
    Participant

    @r-a-y Please read this ray, This also happens on twenty fifteen default theme, After trying numerous ways to try and troubleshoot this myself i have had no luck, and according to the moderators on Atahualpa forums due to my post there, they have spent hours figuring out the cause and have narrowed it down to a buddypress bug, one of the moderators has opened a bug ticket here https://buddypress.trac.wordpress.org/ticket/6153

    #232799

    In reply to: Pagination in Activity

    r-a-y
    Keymaster

    The following codex page provides an example of how to change the activity pagination to a custom number:

    Using bp_parse_args() to filter BuddyPress template loops

    #232798
    socialbttrfly
    Participant

    Hi,

    At researchms.org, we use the BioSphere theme that came with BuddyPress and cause pages that work with PayPal. I’d like to know if BuddyPress and the cause pages can sync in a way so members can log in and create their own fundraising page. I found the WPMUdev plug-in and see that it may help.

    I first want to know (a) if this is possible and (b) if it is, who can help us make this happen? We’d be willing to pay a freelancer a nominal fee.

    Thanks so much!
    Alex

    #232797
    Henry Wright
    Moderator

    Going back to this, the following hook can’t be firing.

    do_action( 'newsbaby_after_insert_post', $post_id );

    If this fired, then the valuser_add_new_post_activity() function would execute and that would result in an activity item being created.

    @mercime
    Participant

    @giuseppecuttone no, you do not need to donate any money to get responses – as you know by now. Please be aware that we are all volunteers living in different time zones.

    Please start a new topic if you have questions relating to BuddyPress. Closing this topic. Thanks.

    ugd
    Participant

    I’m looking to have a category created for each BuddyPress Group when it’s made. So far I’ve found this code which would create a Category once the Group was created. I would use this code in the Theme Functions.

    function example_insert_category() {
      wp_insert_term(
        'Example Category Name',
        'category',
        array(
          'description' => 'This is an example category.',
          'slug'    => 'example-category-slug'
        )
      );
    }
    add_action('groups_group_create_complete', 'example_insert_category');

    Firstly am I on the right track. Secondly how would I set the Category Name and Category Slug using the newly created Group Name and Group Slug?

    Any help would be appreciated

    #232787
    Henry Wright
    Moderator

    Right, I’m with you.

    After this line in the plugin

    echo 'Shared successfully to your Home Place with tags: '.$tags;

    Can you add this?

    do_action( 'newsbaby_after_insert_post', $post_id );

    Then change my code you added to functions.php to:

    function valuser_add_new_post_activity( $post_id ) {
        $post = get_post( $post_id );
        $user = get_userdata( $post->post_author );
    
        $args = array(
            'user_id' => $post->post_author,
            'action' => $user->user_login . ' published ' . $post->post_title,
            'component' => buddypress()->blogs->id,
            'type' => 'new_blog_post',
            'item_id' => get_current_blog_id(),
            'secondary_item_id' => $post->ID,
            'recorded_time' => bp_core_current_time(),
            'hide_sitewide' => false
        );
        bp_activity_add( $args );
    }
    add_action( 'newsbaby_after_insert_post', 'valuser_add_new_post_activity' );

    That should do it 🙂

Viewing 25 results - 21,651 through 21,675 (of 94,544 total)
Skip to toolbar