Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 3,801 through 3,825 (of 31,073 total)
  • Author
    Search Results
  • #261420
    shanebp
    Moderator

    Just guessing…
    Instead of a filter, try using the action hook:

    add_action( 'bp_legacy_theme_ajax_querystring', 'sbpp04_hide_from_ajax_search', 50, 2 );

    https://codex.buddypress.org/developer/function-examples/bp_ajax_querystring/

    #261414
    shanebp
    Moderator

    This function will redirect everyone, other than site administrators, to the home page when they try and access the members directory.
    Put it in bp-custom.php.

    function grim_members_directory() {
    
    	if ( bp_is_members_directory() && ! is_super_admin() )
    		bp_core_redirect( site_url() );
    	
    }
    add_action( 'bp_ready', 'grim_members_directory' );
    #261394
    danbp
    Participant

    Hi @grimbot,

    Members are the heart of BuddyPress. So it is important to understand that members are core and that anything related to them is quite “delicate” to handle.

    In your case, removing the member directory doesn’t mean to remove the page called members, because this page is BP territory and, like i said, it is core. If you remove it, you avoid BP to work.

    First thing you can do is to remove any access to this member page on your theme.
    Go to appearance > menu and uncheck “members” from the BP menu.

    #261388
    Venutius
    Moderator

    Try switching to the 2016 theme, with no plugins loaded there should not be much to mess with the CSS/javascript.

    #261380
    shanebp
    Moderator

    Try this in bp-custom.php

    function sg_gettext( $translated, $original_text, $domain ) {
    
        if ( 'buddypress' !== $domain )  
               return $translated;
    
        switch ( $original_text ) {
            case 'Add Friend':
                return 'Something Else';
    
            default:
                return $translated;
        }
    }
    add_filter( 'gettext', 'sg_gettext', 20, 3 );
    #261328
    spornytv
    Participant

    Its Graphene

    and yes… another theme and its away…. thx for that 😉

    #261324
    Venutius
    Moderator

    That looks like a feature of your theme, which theme is it?

    #261295

    In reply to: members not showing

    joeaj111
    Participant

    I found that [bp_members] is from the theme creator.

    Is there a way to list my members in a grid form in the middle of my hompepage with thumbnail pics? I’ve only been able to list them on the members page.

    Thanks

    #261288
    Colourscope
    Participant

    No, I just pasted the above code into my functions.php of the child theme (Sweetdate) and it just showed the word ‘friends’ in the top-left corner.

    #261276
    Bingo Bongo
    Participant

    Okay – thanks Dan.

    Deactivated Smart Countdown FX, and tried with 2016 theme, all plugins deactivated except buddypress.

    That works, many, many thanks 😉

    Now for more fun 😉

    #261264
    Venutius
    Moderator

    Do you know which plugin it was? That’s probably going to be important.

    The first thing I would check is to see if the plugin made a template overload of some of the BP pages:

    Theme Compatibility & Template Files

    I’d be looking to see if they had changes the Members Loop

    #261225

    In reply to: custom theme and BP

    taiidan
    Participant

    Well, everything works with add_theme_support( ‘buddypress’ ); Fine by me, as I don’t want to use built-in theme files anyway. But how to make work BP template files in sub folder then?

    #261209

    In reply to: members not showing

    Venutius
    Moderator

    Could it be a shortcode that came with the theme? Either that or it’s a premium plugin I’ve not heard of.

    #261200

    In reply to: members not showing

    Venutius
    Moderator

    Yes those should definitely show up, I’ve got members in my directories not shown up in years and they still display, they are bottom of the list

    Have you ruled out the usual suspects? other plugins and/or theme?

    #261123
    Henry Wright
    Moderator

    The path should be /my-theme/buddypress/members/activate.php

    #261119
    dev grl
    Participant

    So I’m reading up on how to incorporate the text changes to this file in my child theme. Do I just create a path like this: /my-theme/buddypress/bp-templates/bp-legacy/buddypress/members/activate.php

    #261115
    Henry Wright
    Moderator

    You’ll find that text in the bp-templates/bp-legacy/buddypress/members/register.php template.

    This article will help too 🙂

    Template Hierarchy

    #261098
    Venutius
    Moderator

    Trying to get a theme to support BP can be a bit of a challenge, if it were me I’d start with adding the register and login links in the menu then hide them for logged in users to keep it tidy, you can do that using WPFront User Role Editor. I run a few sites with theme’s that don’t support BP, it is possible but often you find yourself having to make css changes in order to display parts of the site correctly.

    I’ve set up a site, which is about setting up BuddyPress, you might want to take a look, it might give you some ideas. http://buddyuser.com

    #261095
    modemlooper
    Moderator

    Memory could be running out due to heavy theme, too many plugins or badly written code.If server can’t handle it all. Reevaluate any plugins, do you need them all?

    Notice a memory fail with woo commerce email class. Might affect other emails. Try deactivating woo and see if password email goes through.

    #261089
    JeffWillia.ms
    Participant

    Details:

    Theme: Kleo (Parent and Child) Latest version
    WP: Latest Version
    BP: Latest Version

    Having the same issue and have reported it in Buddypress Trac, Buddypress Support forums (here) and discussed it at length with Seventh Queen (theme developer).

    Tried it with all themes…parent, child, and default 2016. Problems exist in all themes

    Turned off all plugins. Problem persists regardless.

    Cleaned all caches, including host, and Cloudflare.

    Can’t seem to find a solution. Any ideas?

    Thanks.

    #261082
    tille
    Participant

    I’m not sure if this is still of interest – but BuddyBoss has developed a premium theme Social Marketplace that could probably do what you’re looking for:

    Social MarketPlace

    Yes, you would also need WordPress (free) and BuddyPress (free) and WooCommerce (free) to get it running. I haven’t tried it myself yet, but I’m currently working on a site using Social Portfolio by BuddyBoss and I must say they did a great job. It can be quite demanding to get everything working, but so far I have no complaints. Cheers!

    #261077
    caugas
    Participant

    Have you guys every heard of buddypress looking great on a non-friendly buddy press theme i.e. a theme NOT designed for BP? I was hoping to find a free plugin that would help BP function better on a premium theme.

    #261070
    danbp
    Participant

    Hi @fakurkr,

    the other solution is to use the existing action hooks existing in each BP template.
    Templates are the files stored in bp-templates/bp-legacy/buddypress/ directory.

    For example if you read the code in buddypress/members/single/member-header.php, you will find not less than 6 action hooks, only for the profile header. This means 6 potential places where to add something like a message.

    Th other avantage of this method is that you don’t need to modify any template and that you stay independant from any theme, because you will use a function from bp-custom.php

    In your case, adding a message on user’s profile with help of a function like this:

    function bpfr_my_message_on_profile () {	
    
    	echo 'Your custom text with HTML code or whatever'; 
    
    add_action( 'bp_before_member_header_meta', 'bpfr_my_message_on_profile' );

    And because it is only fired on a profile header, you don’t need the conditional (my_profile). You can of course add other conditions. Sky is the limit !

    #261063
    vickievik
    Participant

    Thanks for the reply DanP…it will be a great support and will help me move ahead towards designing a successful bp compatible theme…

    THanks again
    Vickievik

    #261048
    shanebp
    Moderator

    It is doubtful that anyone will fix your premium theme for you.
    Your best bet is to contact the theme creators and explain the issue.

Viewing 25 results - 3,801 through 3,825 (of 31,073 total)
Skip to toolbar