Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,076 through 8,100 (of 69,109 total)
  • Author
    Search Results
  • #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 🙂

    #265938
    manm0untain
    Participant

    Extended Buddypress profile fields demands an additional name / username field. This is the case whether you are using Buddypress Usernames Only plugin or not.

    This is only relevant if you require extended profile fields. If you don’t, then go into Buddypress settings and turn off extended profiles. That will remove the requirement for a second name on the registration / profile area.

    If you want to use extended profile fields on BP, but you don’t want the second username / name field uglying up your registration flow, you can do the following.

    You have to be careful with this, because if you hack it, remove the second required name / username field, or any of a dozen other solutions I’ve found – the registration will break down. You will get 500 errors, missing confirmation emails etc.

    The solution I used for this is as follows.

    1. Assuming you just want to use a singular Username for your site – install the Buddypress Usernames Only plugin. It says the plugin is old but it is still working as of WP version 4.7.4 (for me at least). This deals with the display / access of various username / name / fullname / nickname issues throughout the WP / Buddypress install.

    2. Next you’ll need to hide the extra name / username field on the registration area, and the BP profile area. Stick this CSS into your theme custom CSS under Appearance > Customize:

    #profile-edit-form .field_1 { display: none;}
    #signup_form .field_1 { display: none;}

    (I have seen a 3rd line of CSS on other solutions – #register-page p { display: none;} – all this did for me was to hide the confirmation message after the user registers. You probably want that so I’d leave that line out).

    3. The fields should now be hidden, but the system still requires that information to process properly. So next create a file in notepad and save it as name_remove.js

    In that file put the following javascript:

    document.getElementById("signup_username").onchange = function() {myFunction()};
    function myFunction() {
     var x = document.getElementById("signup_username");
    document.getElementById("field_1") .value = x.value
    }

    Save that file and upload it to your theme folder (same folder as functions.php etc). This javascript automatically populates the hidden field with the username, so the system does not complain or fall over.

    4. Finally you need WordPress to pick this javascript file up. You can do that with a function, using file enqueing. Copy and paste this function into your themes functions.php file Appearance > Editor

    function wpb_adding_scripts() {
    wp_register_script('name_field_remove', get_stylesheet_directory_uri() . '/name_remove.js', array('jquery'),'1.1', true);
    wp_enqueue_script('name_field_remove');
    }
    
    add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );

    You have to be careful about the path. If it’s not working at this point, you can view the page source of your register page, and search for “name_remove.js” – look at the path on that script line. If the path is wrong, tweak it in the function above (you might need to change the get_stylesheet_directory_uri() part, or the path part after it. You can check if the path is correct by clicking the link to the .js file in the page source. If the path is wrong, you will get a 404 error. If the path is right, you should see the script code contained in the js file. Fiddle around with the path until it’s correct.

    At that point, you have hidden the fields with CSS, and populated the second hidden username / name field automatically with javascript. Test your registration / confirmation email etc to make sure everything is working. But you should be good to go.

    Hope that helps someone. Thanks to the folks I cobbled this solution together from.

    Jay
    Participant

    @6logics – Thanks! This is exactly what I needed to effect the use of BuddyPress email templates with Postman SMTP.

    It’s a shame the core code has to be modified, but until some sort of filter can be provided (eg, “bp_email_force_use_of_templates”), this seems to be our only recourse. Perhaps something along the lines of:

    $must_use_wpmail = apply_filters( 'bp_email_use_wp_mail', $wp_html_emails || ! $is_default_wpmail );
    
    	if ( $must_use_wpmail ) {
    		$to = $email->get( 'to' );
    
    		$use_template = $wp_html_emails && 
    		return wp_mail(
    			array_shift( $to )->get_address(),
    			$email->get( 'subject', 'replace-tokens' ),
    			apply_filters( 'bp_email_force_use_of_templates', false ) ?
    				$email->get_template( 'add-content' ) :
    				$email->get( 'content_plaintext', 'replace-tokens' )
    		);
    	}
    
    #265927
    lordmatt
    Participant

    I have BuddyPress installed on a network and I am using the customizr theme. I have set the “members” page to no sidebar. This works for the members list but for some reason /members/someuser still has the sidebar.

    What do I need to do to get that sidebar to vanish?

    #265918
    Henry Wright
    Moderator

    Cause using hooks is more sustainable and less likely to have conflicts in the future?

    Possibly but the template hierarchy is integral to BuddyPress and use is encouraged. If you find a water-tight alternative way of doing it then by all means use that approach instead.

    #265906
    Henry Wright
    Moderator

    @cameronjonesweb

    Why are you unhooking the reg form from the content? I think the BuddyPress template hierarchy can help you here.

    Template Hierarchy

    You can just nuke the reg form from your-child-theme/buddypress/members/register.php and then add your custom form.

    #265895
    Henry Wright
    Moderator

    I want it to show the welcome page, which I have associated with the Buddypress register page….

    Can you describe what the welcome page is and how you’ve associated it with the reg page?

    #265891
    chief1971
    Participant

    Yeah I logged out and tried to login as a new user. When I type the website address it shows the registration question page, however I want it to show the welcome page, which I have associated with the Buddypress register page…..

    #265889

    In reply to: Profile Page Layout

    r-a-y
    Keymaster

    You’ll want to look at our template hierarchy codex page:
    https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
    https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/#single-member-pages

    Then, you could customize the layout of your member profile pages by adding a sidebar or whatever only on member profile pages.

    #265857
    threwthenevr
    Participant

    Thank you for the reply.
    Unfortunatly thats not what i was trying to do.
    Here’s what iv done so far.

    I created an empty file in /kleo-child/buddypress/members/single and named index-action-change-avatar.php

    in /kleo-child/buddypress/members/single/index-action-change-avatar.php i’ve copied/pasted the content of the bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php template.

    added get_header(); before the pasted content and get_sidebar(); & get_footer(); after it.

    I then copied the code fron change-avatar.php and pasted it to my newly created page(Avatar Upoload).

    it works but it has some template issue.
    upload
    not sure how to fix that yet but im still searchng, the actual upload and crop part im sure to have issues to sort out there as well.

    #265854
    r-a-y
    Keymaster

    Here’s avatar.css that’s been patched up:
    https://pastebin.com/raw/X6Nc0Qds

    If your site doesn’t use RTL, then you just need avatar.css.

    Please replace /buddypress/bp-core/css/avatar.css with this file and retry in iOS. Remember to purge your browser cache.

    #265846
    Henry Wright
    Moderator

    I did a quick search and found Buddypress Upload Avatar Ajax. Not sure if it helps?

    cliffsuss
    Participant

    okay, got it,

    1. From (in my case) your host’s homepage, find the CP file manager.

    2. in the manager, at the top, where there is a search bar, search for – wp-config.php.

    3. Read and remember where file is located. Next, go to it, and press edit.

    4. Once inside, there will be lots of text, look for ………DB_COLLATE’,”);

    5. paste the following code right after that, on the next line

    /**
    * Change BuddyPress default Members landing tab.
    */
    define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    6. Save and its done!:)

    cliffsuss
    Participant

    Hello, There is this link:

    Change Default Members Profile Landing Tab


    for how to Change Default Members Profile Landing Tab

    But it is quite brief, and I am not very good at this, can someone just, very simply, guide me on how to do this step by step? Especailly the part on creating config.php or bp-custom.php on the plugin folder.

    Any help would be so much appreciated!

    Kind Regards

    Cliff

    #265808
    Nahum
    Participant

    Plus this https://wordpress.org/plugins/buddypress-simple-events/ maybe? In the pro version, users can mark if they will attend(“register on it”).

    #265802
    Henry Wright
    Moderator

    1- need to create a website where users login

    BuddyPress can do this but the rest of your requirements will either need to be custom coded or you’ll need to find a plugin because BuddyPress doesn’t have that functionality out-of-the-box.

Viewing 25 results - 8,076 through 8,100 (of 69,109 total)
Skip to toolbar