Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,001 through 8,025 (of 69,044 total)
  • Author
    Search Results
  • #266131

    In reply to: get member type broken

    _natty_
    Participant

    thanks a lot but this was already tested with no result!
    or better, same result! same id! on the context! i try to give a full vision of my site conf:

    on bp-custom on buddypress folder ive this:

    function using_mt_register_member_types() {
    	bp_register_member_type( 'Problem solver', array(
    		'labels' => array(
    			'name'          => 'Problem solvers',
    			'singular_name' => 'Problem solver',
    		),
    	) );
    
    	bp_register_member_type( 'Entrepreneur/policy maker', array(
    		'labels' => array(
    			'name'          => 'Entrepreneur/policy makers',
    			'singular_name' => 'Entrepreneur/policy maker',
    		),
    	) );	
    }
    add_action( 'bp_init', 'using_mt_register_member_types' );

    then in my plugins ive active “Member Type Field for Buddypress XProfile”
    and in mine xprofile field ive one setted to select the user type during registration by users. it show my option described above!

    then on the same bp_custom file for building a “conditional menu” ive this snippet of code:

    function add_break_in_tabs() {
    
    if ( !function_exists( 'bp_get_member_type' ) ) { 
        require_once ABSPATH . PLUGINDIR . 'buddypress/bp-members/bp-members-functions.php'; 
    
    } 
    
    $user_id=bp_displayed_user_id();
    $user_id2=get_current_user_id();
    $tipo=bp_get_member_type();
    echo $user_id.$user_id2;---->SAME RESULT SHOWED!
    echo $tipo;--->NOTHING TO SHOW
    var_dump($tipo);---> BOOOL FALSE
    ....

    On the user’s list i can set type for each user.
    On registration i can see and select the type.
    On Xfield definition ive no option to select but the option showed in the registration form are correct!

    thanks a again to any contributor

    #266113
    Slava Abakumov
    Moderator

    I believe you should check WPML plugin docs.

    https://wpml.org/documentation/related-projects/buddypress-multilingual/ (note the links of required things at the bottom of that page)

    This search page can be related as well: https://wpml.org/?s=buddypress

    #266105
    lordmatt
    Participant

    Ah, yes. I’ve found it. It contains 166 files. None of which make it readily apparent (for someone who is not familiar with the internals of BuddyPress) what part they play in the overall process. Is there any documentation for this glut of files?

    For example, if I want to make a new layout for a profile, which files do I need to change?

    Do I need to keep the directory structure inside the legacy folder exact or is it somewhat forgiving?

    All I want to do is customise my site and make it look nice and after six weeks all I have is a growing list of reasons why I wish I never started. Not that any of that is necessarily your fault or problem – I’m just feeling increasingly depressed with the whole project. I’ve written more than one custom CMS from scratch and I know this should not be as hard as I am finding it.

    Anyway, enough of my waffle. Please point me at the documentation.

    #266097
    Slava Abakumov
    Moderator

    #BuddyPress Newsletter #32 – lots of interesting plugins. Yeah, a bunch of them.

    https://www.getrevue.co/profile/bpmail/issues/32-lots-of-interesting-plugins-yeah-a-bunch-of-them-58309

    shanebp
    Moderator
    #266066

    In reply to: redirect to members

    metalhead
    Participant

    Sorry if you already tried this, but let me suggest:

    Rename the Buddypress folder – it will disable the Buddypress plugin.

    If Buddypress is causing the problem, this should at least let you get back into your dashboard.

    Assuming this is the case, then you will be able to delete Buddypress the proper way, via “Plugins.”

    #266063
    metalhead
    Participant

    Read this conversation in its entirety.

    The plugin author was kind enough to guide me through the process of making that work. If you follow those instructions, your users will be able to upload their profile photo during registration.

    Although this method works, it causes a slight problem: The users won’t be able to update their photo in the future, because the default Buddypress “Change avatar” function refers to a different file, or location, than the xprofile custom fields type location.

    If you find a way to fix that problem, please let me know.

    #266062
    metalhead
    Participant

    There is a plugin called BP Simple Private that allows you to restrict access to all Buddypress pages to logged in users only. Then, if people try to visit Buddypress pages after you install the plugin, they will get redirected to the home page.

    But if I’m understanding you wrong – and you want to have a separate site just for your buddypress groups, then I will recommend setting up WordPress Multisite.

    And if I’m understanding you right – which bells and whistles do you want to disable? I’ve disabled a few things with CSS & PHP hacks – but like what do you want to see gone?

    #266038
    threwthenevr
    Participant

    Found the solution to that last post
    #Profile-cover-inner. Will only take out the actual pic.

    This will get ride of the Avatar and profile cover container,
    Added to style.css

    .buddypress div#item-header {
    display: none !important 
    }

    But I think I’ll add a toggle the container to switch it on or off. I will need to research how to do that.

    #266037
    Slava Abakumov
    Moderator

    BuddyPress Newsletter #31 – tips and tricks, bbPress, new theme and other things!

    https://www.getrevue.co/profile/bpmail/issues/31-by-slava-tips-and-tricks-new-theme-and-other-things-56258

    #266029

    In reply to: REST API design

    shanebp
    Moderator

    Designing endpoints is perhaps the major issue for this API and the subject of much discussion.

    I would encourage you to use the Issues tab on the repo:
    https://github.com/buddypress/BP-REST

    There is also a BuddyPress Slack channel. From the repo readme:
    Weekly BP REST API dev chat are held on Wednesdays at 22:00 UTC in WordPress Slack channel #buddypress

    #266025
    Henry Wright
    Moderator

    The easiest way to do this is to edit the home.php file. You’ll need to comment out bp_get_displayed_user_nav() and the related markup.

    Ref: your-child-theme/buddypress/members/single/home.php

    #266018
    alancr
    Participant

    Hi, i was thinking of using the plugin bb media for the users to upload numerous photos to their profiles. As i think with buddypress and bb press the profile only allows one main photo.
    Ultimately I would like the users to have a main photo and then their own private photo gallery which other users can see all their profile and gallery photos

    #266011
    David Cavins
    Keymaster

    I think I finally understand what is going wrong here. If you pass a bad group object to bp_group_has_moderators() or don’t pass a group object and the global $groups_template->group isn’t set, this error can occur.

    If you’ve had this problem, can you please respond telling me what theme you’re using? Furthermore, look in your theme where bp_group_has_moderators() is called, and tell me if it’s being called with a $group argument (like bp_group_has_moderators( $group_object ) ) or without an argument (like bp_group_has_moderators() ).

    Do you also see an entry in your error log like the following or not?
    Trying to get property of non-object in /Users/dcavins/Sites/develop.git.wordpress.org/src/wp-content/plugins/buddypress/src/bp-groups/bp-groups-template.php on line 2576

    Thanks for your help,

    -David

    #266007
    @mercime
    Participant

    @vanessenstudio Given the screenshot, I can only guess that your theme’s stylesheet is missing lines 601 through 614 which are necessary to move the notice to the top of the page.

    #265997
    fewclicks
    Participant

    I have deactivated all plugins (except of Yoast of course :P) and reactivated them one by one. The Error occurs as long as BuddyPress is activated.

    #265994
    Henry Wright
    Moderator

    My guess is there is a php closing tag followed by a newline in one php file.

    This is likely the cause. The next step is finding where. How do you know it’s a BuddyPress issue?

    #265995
    vanessenstudio
    Participant

    I would check out https://themeforest.net/search?term=buddypress
    This will show all the premium themes that are made for buddypress.

    I’ve had some good experience with buddyboss.

    #265990
    ripulkr
    Participant

    BuddyPress themes are basically WordPress themes. Technically all themes “should” be compatible with BuddyPress.
    If you’re looking more into template overriding then check the documentation link above.

    Try this : https://themeforest.net/item/kleo-pro-community-focused-multipurpose-buddypress-theme/6776630, https://themeforest.net/item/wplms-learning-management-system/6780226 , https://themeforest.net/category/wordpress/buddypress

    Regarding your question :
    Check existing topics in this forums, this has been answered several times.

    Add tab to user profile from plugin

    #265989
    Henry Wright
    Moderator

    You can get the value of an xProfile field in BuddyPress quite easily but you will need to use code. Take a look at this article to get started:

    Displaying Extended Profile Fields on Member Profiles

    #265975

    In reply to: Profile Page Layout

    metalhead
    Participant

    Thanks.

    Based on that info, I decided I need to add an index.php to my /single/ folder. I created the file, but I’m not sure what to put in it.

    Can you give me an example of what I can do? Or link me to a page with further explanation? I tried googling “custom buddypress template,” but I don’t even know if my search query is correct.

    I’m ready to hire a dev for this, but how will I explain to them what I need done? Something like this:

    “I use Buddypress, and I need a custom template for my member pages. I need you to customize my index.php file located in my /single/ directory, so that it will display specific widgets in 2 or 3 column mode.”

    I tried asking a dev about that already, but he doesn’t know what I’m talking about. Is there a better way to describe it?

    #265944
    Henry Wright
    Moderator

    This isn’t possible in BuddyPress “out-of-the-box”. You’ll need to find a plugin or introduce some custom code.

    #265943
    Henry Wright
    Moderator

    You should have them in your plugin folder. Try looking here wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress

    #265942
    Henry Wright
    Moderator

    You can check if either of these two directories exist inside the theme:

    • buddypress
    • community

    If either of these exist, the content inside is specific to BuddyPress and will likely be custom.

    #265940
    vanessenstudio
    Participant

    Without code it might be a bit more work but definitely doable.

    If you want most of your site blocked off for non members you could use a plugin like BuddyPress members only

    For specific blocking of pages, I would use the buddypress settings in combination with Advanced Access Manager
    the latter will allow you to be very narrow with you access permission.

    Good luck 🙂

Viewing 25 results - 8,001 through 8,025 (of 69,044 total)
Skip to toolbar