Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,601 through 8,625 (of 69,104 total)
  • Author
    Search Results
  • #262561
    Henry Wright
    Moderator

    BuddyPress is a WordPress plugin so will need a copy of WordPress to run. Does that help?

    #262555

    In reply to: Adding deadlines

    danbp
    Participant

    This is custom work. Nothing like this by default or out of the box, in BuddyPress or bbPress.

    #262551
    danbp
    Participant

    @venutius @henrywright

    The BP_GROUPS_SLUG constant is deprecated, and only used here for backwards compatibility.
    (see here, line 141). This is also mentionned on codex.

    What you can do is to simply modify the page slug. Go to dashboard, Page editor, and quick edit your default Group page, and change the permalink (ie. groups to test) and evtl. the title.

    #262533
    shanebp
    Moderator

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\groups\groups-loop.php

    In your overload, remove whatever you like.

    #262531
    sherissa_r
    Participant

    Thanks for this.

    What is the easiest way to hide the Dashboard menu item from the Buddypress Toolbar? See sceenshot.
    https://goo.gl/photos/rBL773gvzsKhTsiVA

    #262523

    In reply to: pass-strength-result

    metalhead
    Participant

    Thanks very much!

    Is there an easy way to dissuade WordPress functions from Buddypress functions?

    Would we have not had this conversation if I had read up on the WordPress docs more?

    ldesherl
    Participant

    I’m running Optimizer PRO. Is that theme compatible with Buddypress? The way I have my site built, it would not be easy to change my theme.

    I would not know where to find the code in my theme to change it.

    Thank you. I thought the odd URLS for Buddypress pages was by default.

    Temporary log-in?

    #262517
    shanebp
    Moderator

    If you just want to change labels, you should use a language file.

    Another approach, put in your bp-custom.php :

    function sr_gettext_with_context( $translated, $text, $context, $domain ) {
    
         if ( 'buddypress' !== $domain )
            return $translated;
    
         switch ( $text ) {
            
            case 'Friends':
                return 'Network';
                
            case 'Groups':
                return 'My Groups';            
                
            default:
                return $translated;
        }
    
        return $translated;
    }
    add_filter( 'gettext_with_context', 'sr_gettext_with_context', 51, 4 );
    #262510

    In reply to: Profile is not working

    shanebp
    Moderator

    So you enabled the Extended Profiles component in wp-admin > Settings > BuddyPress.
    And now, on the front end, the Profile menu item does not work ?

    Have you checked your error logs?

    Have you tried switching momentarily to a WP theme like 2015 to see if the issue is in your preferred theme?

    donburikun
    Participant

    Thank you for your reply and solution. It would be great however if an option for this was officially implemented in Buddypress as it is an issue that allows malicious users to spam many users in one shot.

    #262496
    danbp
    Participant

    If you consider all your users to have the same ability to publish, you can simply setup WP’s default role from subscriber to author. You don’t need a plugin to do that. To allow categories, search on WP codex, as this has nothing to do with the fact you use BuddyPress.

    For customizing the Howdy menu item, use this custom snipet or take one of the existing plugin to do that.

    #262495
    danbp
    Participant

    BuddyPress’s toolbar menu works like any other toolbar sub-menu item.

    See WP codex for details

    Read here for some usage examples explained in details:

    How to hide / remove the General tab under Settings

    #262474
    shanebp
    Moderator

    You can create a job listing here.

    If you do, you may want to include answers to the questions that danbp asked above.

    #262473
    wspond
    Participant

    OK, so fresh over-install (copying overtop of running site) of 4.7 and as soon as I turn on buddypress, I loose the admin completely. Take it out of the folder via ftp, then I get admin back. Thoughts.
    New godaddy hosting account
    Wordpress 4.7
    current BuddyPress.

    #262472
    shanebp
    Moderator

    1. Yes

    2. You mean WP posts ? Yes, if you give them permissions.

    3. They can ‘friend’ each other. There is a plugin re ‘Follow’.

    4. Probably – but you’ll need to customize the Follow plugin.

    You should install BP on a test site and start trying different settings and additional plugins.
    After you have done that, you can ask more specific questions here.

    #262459
    modemlooper
    Moderator
    #262457
    Laura N
    Participant

    O_o it is very difficult for me, but “activity” was just an example, If I want to remove a no default option? For example “docs”.

    In my buddypress show “docs” because I installed BuddyPress Docs plugin.

    function bpfr_remove_nav_tabs() {
    
    	bp_core_remove_nav_item( 'docs' ); 
       // and so on for each item you want to remove
    
    }
    add_action( 'bp_setup_nav', 'bpfr_remove_nav_tabs', 15 );
    #262455
    danbp
    Participant

    BuddyPress display members, but those members are referenced in WordPress. No idea to share about what you want to do, but have you searched on the plugin repo ?

    https://wordpress.org/plugins/search.php?type=term&q=Amazon+Services

    #262454
    danbp
    Participant

    Activity is the default tab when you are on a profile. If you want to remove it, you must first define a new default landing tab.

    Details in this topic.

    Just in case of, bp-custom.php file doesn’t need a CLOSING php tag.

    #262453
    danbp
    Participant

    You can use the same technique as the one given on your other topic.
    Search the forum for examples or read on codex how to conditionally display a template.

    #262452

    In reply to: Broken after install

    danbp
    Participant

    @baramagnus,

    official requirements for WP (hosters) are given here. Minimum php version for WP is 5.2.4, while most used php version is 5.6
    More WP stats here.

    BuddyPress users use all 5.3 and above (as of preliminary 2016 survey results).
    This means that if you use 5.6, you’re anyway fine.
    And about WP and BP compatibility, you can read here.

    #262451
    danbp
    Participant

    Hi @pimous,

    if you mean the Update form (wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypres/activity/post-form.php), you just have to add a conditionnal into the template file, from within your child-theme.
    Something like

    if ( is_super_admin ) {
       // if user is admin, show him the form, otherwide, do nothing
       bp_get_template_part( 'activity/post-form' );
    }

    For a general idea and more details, read here:

    Status

    #262441

    In reply to: delete notifications

    danbp
    Participant

    Hi @mohamedalikortli,

    thank you for the sharing, but I am afraid that your proposal is not acceptable in regard of coding best practice. I let your snippet in place, but i also warn all readers to use it, unless they know what they do.

    This forum is public and most users coming here for help are querying at first for BuddyPress related issues solution, not third party plugin tricks like the one you share here. The majority is also not very comfortable with php or even site development.
    This aspect is one of the main reason to provide usefull and safe code.
    IT IS NOT THE CASE HERE – and i wouldn’t recommand it.

    Not because it doesn’t or wouldn’t work ( and i haven’t tested it), but because it is not correctly written. Allowing such a snippet is like encouraging (and by the way perpetuating) bad practices. Hopefully you understand and agree that we don’t want this on the BuddyPress support forum.


    @sbrajesh
    ‘s BuddyPress Clear Notification plugin was last updated in march 2016, which is pretty recent. I doubt that the bug is in his plugin and i expect more a menu related issue… but this is only an expectation of mine.

    If you estimate that your workaround is helpfull for that plugin, get in touch with Brajesh or publish it on the plugin support.

    By the way, next time you publish code on this form, use the code button available on the editor toolbar to insert it properly.

    FYI about what you did wrong or not properly:
    – hacking a core file. Notification template should be used, but from inside a child-theme, not directly from bp-legacy).
    – comments should be in english (some in your example are in french)
    – your recommendation is against all WP usage:

    copy this script into ur document root where u have installed ur wordpress

    – you can add custom code via bp-custom.php. There is also no need to go to wp root, when you can do the same thing from within your child-theme.
    – why do you recall jquery ? It is already loaded when you run BP…
    – i’m not a developer, but i’m pretty sure there are other things to mention about coding.

    In regard of the script itself, BP provide much simplier way to delete notification or show a delete button: reference.
    You’re also using french in that script.

    Calling a file “test” is ok, but in that case you should provide some explanation on how to finally use your snippet. As already said, not everybody here is able to understand – and use raw code – when you provide a workaround. Providing code is fine, providing code+tutorial is always better.

    Désolé d’être sévère et rien de personnel, mais juste une mise au point nécessaire.

    [modlook] @jjj, @DJPaul, @boonebgorges, @mercime, @hnla, @shanebp, @henrywright

    #262437
    danbp
    Participant

    hi @tallerwp,

    this is documented in Codex. Read here:

    Navigation API

    You can aso find other examples by searching the forum.

    #262429

    In reply to: Activity Stream Ads

    truelux
    Participant

    Here’s my solution… Place this into your child-theme’s / BuddyPress activity-loop.php

    <?php $number = 1;
    	while ( bp_activities() ) : bp_the_activity();
    	if ($number == 10){
    		echo 'ADSENSE_CODE_HERE';
    	}
    	$number++; ?>

    This makes the content appear after the first 10 activity streams but then it goes by every 20. Works for me though 🙂

Viewing 25 results - 8,601 through 8,625 (of 69,104 total)
Skip to toolbar