Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 926 through 950 (of 32,561 total)
  • Author
    Search Results
  • #322587
    dugost
    Participant

    I’m not a coder so I’m sure this is pretty obvious to a lot of people but this seems to do the trick:

    function register_nouveau_stylesheet() {
        wp_register_style( 'bp-nouveau-enqueue', get_stylesheet_directory_uri() . '/css/buddypress.min.css' );
    }
    add_action( 'init', 'register_nouveau_stylesheet' );
    
    function conditionally_enqueue_nouveau_stylesheet() {
        // only enqueue on members-directory page slug
        if ( ! current_user_can( 'update_core' ) && is_page( 'members-directory' ) ) {
            wp_enqueue_style( 'bp-nouveau-enqueue' );
        }
    }
    add_action( 'wp_enqueue_scripts', 'conditionally_enqueue_nouveau_stylesheet' );

    The inclusion of ! current_user_can( 'update_core' ) && in the if statement prevents the stylesheet loading twice for the admin. Other user types and logged-out visitors will see the stylesheet loaded for them since Avada child theme’s currently can’t handle this.

    #322579
    dugost
    Participant

    In case this is helpful for anyone, I was able to get an Avada child theme to enqueue BP Nouveau styles conditionally based on code detailed here placed in my child theme’s functions.php file and making sure BP Nouveau’s /css/ directory sits in the same directory.

    function register_nouveau_stylesheet() {
        wp_register_style( 'bp-nouveau-enqueue', get_stylesheet_directory_uri() . '/css/buddypress.min.css' );
    }
    add_action( 'init', 'register_nouveau_stylesheet' );
    
    function conditionally_enqueue_nouveau_stylesheet() {
        // only enqueue on members-directory page slug
        if ( is_page( 'members-directory' ) ) {
            wp_enqueue_style( 'bp-nouveau-enqueue' );
        }
    }
    add_action( 'wp_enqueue_scripts', 'conditionally_enqueue_nouveau_stylesheet' );
    

    Unfortunately, logged in users will end up loading the Nouveau stylesheet twice so I’ll have to update this code further so it checks for login status and possibly user role. Hopefully, I can find a way to conditionally enqueue BP’s styles for the directory only as well. I don’t need those styles loading site-wide!

    #322578
    dugost
    Participant

    Avada support said “The Avada theme does not have Nouveau theme from BB press integrated. We do have a developers item for it and I have asked our dev to push for its development.”

    Is there a method to enqueue that stylesheet specifically on the directory page?

    #322571
    stayfitlonger333
    Participant

    When I set up bbpress first locally on my computer, I managed to get all pages for bbpress full width with no sidebars. I simply went to Theme options and set all pages and posts to default full page width tempates.
    Now I am setting up bbpress on a live site. buddypress forum pages display correctly in full width, but to my unpleasant surprise the user profile page displays with a sidebar. I simply can’t get rid of the sidebar and make the page full width. This is very disappointing for me – can someone help,
    thank you

    dugost
    Participant

    I have BP v.9.1.1 installed under WP 5.8.2 and the site in progress is using a subdomain with its directory at the root. The directory is named as per the subdomain (i.e. subdomain.domain.tld). Unfortunately, I’m unable to share the URL.

    I’ve been wrestling with this issue for a while now. When logged in as the admin and viewing the Members Directory, the bp-nouveau-css styles (…/buddypress.min.css?ver=9.1.1) load just fine but they won’t load when logged out. This is happening specifically with an Avada child theme. I have reached out to Avada support but I’m not holding my breath for a solution from them.

    I cloned the site and began by activating the Twenty Twenty One. Like the original site, bp-nouveau-css loaded just fine when logged in or out. This was also the case for Twenty Twenty One child or the Avada parent themes. However, activating the Avada child theme prevents that stylesheet from loading.

    In my Avada child theme, I’ve only added the buddypress/members/ directories so I could make some tweaks to the listings and profile pages. The child theme’s style.css relies on the Nouveau template CSS in the BP plugin directory. With its styles missing, the page falls apart.

    I also have some custom functions in plugins/bp-custom.php but none of those deal with stylesheets.

    I’ve also tried placing the CSS folder from /buddypress/bp-templates/bp-nouveau/ in /avada-child-theme/ as a test. When logged in, bp-nouveau-css loaded from the child theme. When logged out, other BP styles were loaded from the plugin directory, not the child theme, and it still refused to load bp-nouveau-css.

    Can I add a function somewhere to enqueue the styles I need since the child theme won’t do it on its own?

    I’d actually like to add a function to only load BP’s CSS and JS where necessary since only a couple of pages use BP. I’ve found this SERT Media article but comments suggest the code won’t work with Nouveau.

    I’d greatly appreciate any help with this issue. Cheers.

    csemlak
    Participant

    Using the aardvark theme:

    On the front page:

    The Login/Register buttons on the top right corner.

    1. I am having problems with the “Register” Button/page – taking a very long time to load, sometimes it times out.

    2. went into buddy press to change the Registration page to something different to see if it would speed up in order to test it out.

    3. I switched it to my “contact” page temporarily and found it loaded immediately.

    4. I went to switch it back to the Buddy press register page that I am assume was created by buddy press.

    5. Now when I click the “register” button. It takes me to the “contact” page. Then when I am on the contact page…when i click register, it eventually will take me to the right page, The “register” page (by buddypress)

    This is a major problem. Can you please help me? I have a big event and I need people to be able to register on the site.

    Let me know if you need any more information, I have no clue how to fix this.

    #322522
    greenmeanie
    Participant

    https://github.com/SparkPost/wordpress-sparkpost/issues/32

    So it turns out, there is a very quick & easy solution. buddypress developers already made it possible to ignore their own implementation of wp_mail and fallback to wordpress’s default wp_mail (which will allow sparkpost plugin to do its magics). If you add the following snippet (functions.php of your theme or similar), it should just work.

    add_filter(‘bp_email_use_wp_mail’, function() {
    return true;
    });

    #322504
    jobinelenjical
    Participant

    BuddyPress version – 10.0.0-beta1 or 9.1.1(stable version)
    Theme – Twenty Twenty or any theme
    Wordpress version – 5.8.2

    When I change Cover Image it is working fine.
    But when I change Profile Photo it is giving error – There was a problem cropping your profile photo.

    I am not able to find out why it is giving this error.
    Please help urgently

    #322500
    wackao
    Participant

    It is really easy to set it up like this. Default BBPress theme.

    #322488
    windhillruss
    Participant

    Hi David, thanks for looking at this! From what I can see there isn’t a specific register.php but the Theme (in my opinion) has taken your excellent Buddypress to a whole new level by some very clever and minimalist styling. The developers are incredibly responsive to user enquiries and what I will do is drop them a support email enquiring as to their preparedness for V10 and I’ll let you know what they say! Thanks.

    #322486
    David Cavins
    Keymaster

    Thanks @windhillruss for your feedback. I’m not able to test the Beehive theme (because it is a paid theme). It sounds like the theme has its own version of register.php which will need to be updated. Can you have a look and let me know if the theme does contain a register.php file?

    We’ve introduced a new helper function, bp_allow_access_to_registration_pages(), to figure out whether the registration page is accessible that the developers will want to start using (if BP>=v10):
    https://github.com/buddypress/buddypress/blob/master/src/bp-members/bp-members-template.php#L2960

    Regarding the login form, here are some examples of the filters we used to add “request membership” links to the various WP login forms: https://github.com/buddypress/buddypress/commit/2099c877aaa539439b2c6255db6872af2db85a11

    Thanks again for your testing! It’s greatly appreciated! If the Beehive devs care to share some of their code to a Trac ticket, I’d be happy to take a more specific look.

    #322464
    Mathieu Viet
    Moderator

    Hi @windhillruss thanks a lot for your feedback I believe it’s just a matter of theme template updates. @dcavins can you have a look at it?

    #322459
    windhillruss
    Participant

    Hi, Thanks for the opportunity to test v10. When the Option for Admin to approve requests is active and ‘Allow anyone to Register’ is disabled, the Registration form says ‘Member Registration is currently not allowed’ Using the Beehive Theme which styles Buddypress. Similarly, Beehive’s Ajax Login Modal says ‘Sign-Up not allowed’ It appears like a Catch22 situation. Is there something I’m missing? Thanks.

    #322450
    Anonymous User 18296540
    Inactive

    @vibethemes

    Yes. “description is added in the profile field and still does not display”.

    #322429
    wackao
    Participant

    this is from buddyboss , buddypress does not have it 🙂 , our theme WPLMS has similar controls like this : https://prnt.sc/22q00dh , however this is very specific to the buddyboss theme, contact their support or migrate to core buddypress 🙂

    #322419
    wackao
    Participant

    BuddyBoss is not BuddyPress. Kindly contact BuddyBoss support or simply switch to BuddyPress and use a BuddyPress theme like WPLMS or Kleo.

    I think you are confused, forum by default do not have cover images. You have Group forums which have cover images coming form the group. The cover image should be enabled in groups from WP admin – Settings- BuddyPress – options

    #322416
    wackao
    Participant

    this is available by default in our theme WPLMS. Should be a control and users should not be required to add code for such simple things

    #322404
    jpp22
    Participant

    Hello,

    New to the forum, been searching everywhere and I do not see this question asked anywhere.

    I am on:
    – WP 5.8.2
    – BuddyBoss Theme 1.8.1
    https://cnftcentral.io

    When groups/Forums are created By Members, the cover Photo for the Forum is missing…

    If you visit my site you will notice that all forums do have a cover photo but that’s because I went as an admin on the forum post and added the Featured Image manually. I really cannot go & add a Featured image each & every time a user starts a forum…

    Is there a way around this so the user cam apply a cover photo to, not only the group but, the forum as well? I really cannot figure this out, I have tried everything!

    Thanks in advance!

    #322332
    meitalaaa
    Participant

    I wrote the following function, but i still can’t create a group. I’ve made sure that the function is getting called, so that is not the issue

    function start_a_new_group($profile_id, $status) {
    if ( !function_exists( ‘groups_create_group’ ) ) {
    require_once ‘/bp-groups/bp-groups-functions.php’;
    }

    $defaults = array(
    ‘group_id’ => $profile_id,
    ‘creator_id’ => get_current_user_id(),
    ‘name’ => ”,
    ‘description’ => ”,
    ‘slug’ => ”,
    ‘status’ => $status,
    ‘enable_forum’ => 0,
    ‘date_created’ => bp_core_current_time()
    );
    return groups_create_group($defaults);
    }

    Wordpress version 5.8.2
    Buddypress verion 9.1.1
    Theme is Twenty Twenty

    Any ideas?

    #322270
    esraamowafy
    Participant

    I’m using Fortuna template with my website and i need to change theme of buddypress , how can i do this?

    #322261
    rayem
    Participant

    Hi!

    I created a community website for people to meet and travel so I installed BuddyPress.
    There are post blogs showing places to visit and I’d like for the members to be able to “like” a post of the place they’d like to go and to have it written somewhere in their profiles like “Friends” “Groups” “Activity” etc.

    I tried several extensions but it doesn’t work, I tried Buddypress like by Darren Meehan (which doesn’t work at all), Favorite by Kyle Phillips seem to work but I can’t link it to the profiles. Idk what I can do.

    I use the Divi theme, WordPress is 5.8.2 and BuddyPress is 9.1.1

    Here’s the website http://armyvof.cluster031.hosting.ovh.net/ (sorry but it’s in french, no english!)

    Thanks in advance!

    #322254
    sunnyone1234
    Participant

    Hello, I am very fresh in BuddyPress, I got very wired issue.

    My site is just a hello world version.

    After I activate BuddyPress, one wired header appears on the top of my site. It includes a wordpress logo, Log In and Register and a search bar.

    This wired header is always there, even if I have selected one theme or do something else. It is always at the top of the site….

    Could anyone please tell me where shuold I go to deactivate this things?

    emon2
    Participant

    Tried changing theme?

    tc3377
    Participant

    Hi guys,

    I’m working on a child theme for BeSocial at the moment and I’m wanting to display a couple of predefined buttons in the header of a Group dependant on the Group Types of that Group. I can’t really find much information on the Group object to get the query together I’m looking for.

    What I’m trying to achieve in psuedo-code:

    $bingo = the specific Group Type defined by me
    $this_group_types = all the Group Types for the active Group page

    if(in_array($bingo, $this_group_types)){
    [display buttons]
    }
    else{
    [do nothing]
    }

    I understand its a pretty simple ask so any nudges in the right direction would be amazing!

    Thanks.

    #322170
    laretrografia
    Participant

    Hi all,

    We are working with the MasterStudy theme. We would like to modify the buddypress registration form to be able to add necessary data of the students, where can we do it? I don’t see the option within the BuddyPress settings of the theme

Viewing 25 results - 926 through 950 (of 32,561 total)
Skip to toolbar