Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,026 through 9,050 (of 69,133 total)
  • Author
    Search Results
  • #260407
    danbp
    Participant

    Hi,

    you need a function to do that.

    Here’s one who will show the user id on profile header and on members directory.
    Add it to bp-custom.php or child theme functions.php

    function razman_user_id_display() {
    	if ( bp_is_user() ) {
    		$user_id = bp_displayed_user_id();	
    	} else {
    		$user_id = bp_get_member_user_id();
    	}
    		
    	echo '<div class="myuser-id">My user ID: '. $user_id .'</div>';
    	
    }
    add_action( 'bp_before_member_header_meta', 'razman_user_id_display' );
    add_action( 'bp_directory_members_item', 'razman_user_id_display' );
    danbp
    Participant

    Ensure you have a page for each active BP component. That the page is unique (no same page in trash or sub page) and that no template or model is assigned to them.

    Set up pretty permalinks to whatever but default and save.

    Go to dashboard > tools > buddypress and use the repair tool.

    And read the install guide ! šŸ˜‰

    #260405
    danbp
    Participant

    Hi,

    it seems that you have a lot of pages on the site and that you use weird settings.

    I would do the following:
    – remove any redirect settings and other done via plugins.
    – deactivate all plugins except buddypress.
    – activate 2016, and not a child theme.
    – ensure that each active BP component has a page assigned and that this page is unique, without any template or model assigned. Just a title and nothing else.
    Actually, you have links like “…/americannexus.net/activity/members/” (found in the Who’s on widget). Or the link to Archangel’s profile indicates “../americannexus.net/activity/members/archangel/”

    That’s unusual and cannot work properly, except if your WP is in a directory called “activity”. And it is not the case ! Note also that BP should be at the same level as WP.

    – set up pretty permalinks (what ever but default option) and save.

    – and read attentively the install guide.

    Other dysfunctionning points:
    The toolbar has a Register button who link to ../americannexus.net/join/ (this works correctly)
    but the homepage shows ../americannexus.net/register/. If you want visitors to register, send them to /join/ page and not to an empty page.

    …and of course, this link doesn’t work too (at least for a not logged visitor) : ../americannexus.net/activity/groups/create/

    Here the list of correct slugs of a default BP install:
    – your-site.net
    – your-site.net/register/
    – your-site.net/activity -> BP site activity page (active by default)
    – your-site.net/members/ -> BP members directory (mandatory)
    – your-site.net/groups/ -> BP groups directory (if group component is active)

    These BP pages are dynamic and depending the context, you can have ie:
    your-site.net/members/USERNAME -> goes to a profile
    your-site.net/members/USERNAME/friends -> goes to the friends screen of the specified user

    It works the same for groups.

    Once BP and WP are working correctly together, you can reactivate the child theme and your plugins.

    #260402
    Emmanuel
    Participant

    Hello
    please i have the same problem.
    When i seek to create group in my admin panel or throught user profil (front end), it is impossible.
    the send me this message : The requested URL /example.com/groups/create/ was not found on this server.
    But in the buddypress config allthings seem to be good (components, pages, options)
    I’m working with WP 4.6.1 and BP 2.7
    I am in local server.
    why can i do please.

    #260393
    danbp
    Participant

    Can’t say more! The site is not public, you use S2 members, pages are redirected, and you use a premium theme. And apparently you’re unable to provisory revert to a standart install without undoing a lot of settings. If you couldn’t test, how could we do ?

    I presume there is a little js conflict somewhere – which could explain the jumping page phenomenom.
    Afaik you have to ask on the theme support how to adjust the layout while using BuddyPress.

    #260362
    mashauri
    Participant

    I have shared hosting with xilo.net
    They assure me that I have 128MB of PHP memory
    (although I am not convinced that this is the case given many “fatal errors” I receive – which go away if I simply reload the page)
    I would appreciate your thoughts and suggestions on memory requirements (I am runnig WPLMS with BuddyPress and BuddyDrive as part of the standard plugins)

    danbp
    Participant

    bp_parse_args could be a solution.

    Read the first comment block in bp-xprofile-template.php

    #260340
    danbp
    Participant

    @livingflame,

    if you’re only looking for “free” solutions, i’m afraid that you won’t get many, unless you find and built them yourself.

    BuddyDev, very expensive. That’s your opinion. Did you even know that you use a function contributed by it’s author ?

    How many time have you already spent on this forum, and nothing to say about all other searches you probably have done elsewhere ?
    Do you imagine the price you have to pay if this support forum wouldn’t be “free” ? And the time (which is money) to charge to yourself for those efforts ? Certainly more than 20$ !

    Not everything can be native, because not everybody need functionnalities you want and because BP is only a plugin and not a collection of whatever existing enhancement who might be added, or who YOU think it should be in.

    This is your 7th topic here.
    And a good dozen of times i read your claim about lack of feature or functionnalities.
    You critizise a lot but aren’t very constructive. That attitude is really unfair in regard of all the people volonteers working around BuddyPress.

    #260339
    Venutius
    Moderator

    Ok I’ve written something up, hope you like it

    http://buddyuser.com/hardening-buddypress-against-spammers

    #260337
    danbp
    Participant

    It’s a temporary information and i wouldn’t try to alter or remove it.

    It use WP heartbeat API and what you’re looking for is defined in this (filterable)function:

    bp_activity_heartbeat_last_recorded

    #260336
    Paul Wong-Gibbs
    Keymaster

    Yep, like @hnla said. BuddyPress’ DB requirements are the same as WordPress’.

    #260335
    livingflame
    Participant

    https://la.wordpress.org/plugins/buddypress-private-message-for-friends-only/

    Okey, very very partial solution.

    Really solution: BuddyDev Message Privacy BUT native!

    #260331
    danbp
    Participant

    And what is the problem ? It seems to do what it is intended for.
    But it is a premium plugin. If you need assistance you have to ask on the plugin support.

    BuddyPress Message Privacy

    #260326
    danbp
    Participant

    Not sure it’s a fix to apply directly in a core file. You’ve probably need to review some of your templates or custom functions.

    http://hookr.io/plugins/buddypress/2.6.2/functions/bp_blogs_get_subdomain_base/

    http://hookr.io/plugins/buddypress/2.6.2/functions/bp_signup_get_subdomain_base/

    #260324
    Hugo Ashmore
    Participant

    @venutius Thanks for the write up, hopefully in time the idea may gain traction, as for a handler for loading those snippets I did have one in use locally but code was rough and ready, so may consider re-doing and making available on github, originally the idea was to add a loader for the snippets to the core buddypress-functions.php file where the main stylesheets are loaded from.

    For now all I can suggest I’m afraid is to play around with the min-height properties where they occur as it really is something that can never be a true one size fits all to create boxes unless we start adding JavaScript into the equation to test for the tallest box and set others to that.

    #260323
    tse11
    Participant

    I’ve resolved this and will leave a fix here in case anyone else runs into this issue:

    bp_blogs_get_subdomain_base() is a deprecated function, so I changed it in buddypress/bp-blogs/bp-blogs-template.php from:

    bp_blogs_get_subdomain_base()

    to:

    bp_signup_get_subdomain_base

    #260319
    danbp
    Participant

    @jek-fdrv,

    we’ve discussing about this “tab” issue on this ticket:
    https://buddypress.trac.wordpress.org/ticket/7304

    I invite you to jump in if you have any comments. You might also find a solution for your use case.

    #260318
    rcx
    Participant

    PS: other config info:
    WordPress v. 4.6.1.
    BuddyPress v 2.7.0

    #260313
    realmai
    Participant

    Can anyone help me?
    Many Thanks

    1. Which version of WordPress are you running?
    ANS : WordPress : 4.6.1

    2. Did you install WordPress as a directory or subdomain install?
    ANS: as a directory

    3. If a directory install, is it in root or in a subdirectory?
    ANS: in root

    6. Which version of BP are you running?
    2.7.0

    12. Do you have any custom functions in bp-custom.php?
    Yes.
    define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    2.5.10

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?

    Linux

    #260312

    In reply to: Activities

    danbp
    Participant

    Hi @mei-ling,

    it’s not an issue but how it works ! šŸ˜‰

    You can filter the activity stream and remove the activities you don’t want to be showed.

    Add this snippet to bp-custom.php or your child-theme functions.php

    function bpex_bp_activity_types( $retval ) {
       if ( bp_is_active( 'activity' ) ) {
    
    // list of all BP activity types  - remove or comment those you won't show.
    	$retval['action'] = '
    		activity_comment,
    		activity_update,
    		// bbp_topic_create,
    		// bbp_reply_create,
    		friendship_created,
    		created_group,
    		joined_group,
    		last_activity,
    		new_avatar,
    		new_blog_post, 	
    		new_blog_comment,
    		new_member,
    		updated_profile
    	';	
    
    	return $retval;
    	
    	}
    }
    add_filter( 'bp_after_has_activities_parse_args', 'bpex_bp_activity_types' );

    You might also remove bbpress activities from the activity filter. You can use this (goes to same file as previous)

    function bpex_remove_bbp_activities_dropdown_labels() {
       if ( bp_is_active( 'activity' ) ) {
    
             // Remove forum filters in site wide activity streams
            remove_action( 'bp_activity_filter_options',        array( bbpress()->extend->buddypress->activity , 'activity_filter_options'   ), 10 );
         
             // Remove forum filters in single member activity streams
             remove_action( 'bp_member_activity_filter_options', array( bbpress()->extend->buddypress->activity , 'activity_filter_options'   ), 10 );
     
             // Remove forum filters in single group activity streams
             remove_action( 'bp_group_activity_filter_options',  array( bbpress()->extend->buddypress->activity , 'activity_filter_options'   ), 10 );
       }      
    }
    add_action( 'bp_init', 'bpex_remove_bbp_activities_dropdown_labels', 9 );

    Codex references:

    Using bp_parse_args() to filter BuddyPress template loops

    bp-custom.php

    #260311
    jen000
    Participant

    Thanks to the member who got in touch recently offering to help. Unfortunately we had to give up on Buddypress and went ahead with WP Symposium. Not impressed with their support and we won’t use them again. If we have to use Listify and social networking again I will be back to Buddypress!

    By the way if anyone is thinking of using WP Symposium I would say don’t bother. The software itself is ok but looks basic and there are no demo sites (only their own which is on a basic free theme with no other major plugins and probably on a dedicated server). We’ve had to move to a dedicated server as it was so slow and we had big problems getting it to work with other aspects of our site. The support forum is closed so you cant actually see other people’s responses which would save time. Instead you just have to deal with one stroppy support guy who blames your other plugins rather than helping to resolve issues. We had to spend a fortune getting glitches in the coding repaired. Never again!

    #260309
    Mei Ling
    Participant

    Hi there,

    We run a site with Buddypress and BBpress. When a press topic or reply is edited, it appears on the activities page. How can we prevent this? Or is this a BBpress issue?

    Thank you for your answer

    regards

    MeiLing

    #260305
    danbp
    Participant

    Hi,

    seems it exist natively ?

    Buddypress Setup


    If it is not what you want, ask on the WP-Events plugin support.

    #260304
    Hugo Ashmore
    Participant

    This is the guide you need to read up on:

    Template Hierarchy

    has_directory means that if you click on a BP generated link /groups/type/foo/ or type that as a url/create a link to, then you will see that as the url and the loop will now show only groups of type ‘foo’

    Template hierarchy will allow you to create a file named in this manner:
    index-directory-type-foo.php (file must be a complete one though including WP headers/footers and all parts in-between.)

    This will only be used if looking at those group types in the loop/url but you can now edit that and change as you require and only affect that group type loop directory display.

    #260302
    danbp
    Participant

    Hi,

    read here, there is still a working example described.
    Just forget about the filter option, the rest is ok.

    Group Types option display

Viewing 25 results - 9,026 through 9,050 (of 69,133 total)
Skip to toolbar