Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 432 total)
  • Please take a minute to read this post: https://codex.buddypress.org/themes/bp-custom-php/
    Short answer: /wp-content/plugins/bp-custom.php

    @dkelm,

    #7349 is not closed, please check that again. That quote is just my comment (yes, I do have personal opinion) to a ticket.

    wontfix is regarding #7341, which is related and I’m not sure about (that’s why I linked to it in #7349).

    Nobody said, that we (or I) don’t want to fix this.

    #7357 duplicated an earlier created https://buddypress.trac.wordpress.org/ticket/7349

    So @tizianopitisci, I closed your ticket in favour of #7349.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    One more thought aloud: I see in WordPress core code that this text also displays when nonce check (security) fails. See wp_nonce_ays() if you are interested. This function is used in check_admin_referer() which is used everywhere in BuddyPress. That’s the only hint that I can give you right now. Try investigate in this direction further. In general – this is something with your site/server and not BuddyPress itself.

    To cleanup – you will need to reinstall everything from scratch (I mean create a new database and use it). Those plugins do not provide cleanup on uninstall functionality.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    You don’t need a BuddyPress theme, any WordPress theme will work just fine.
    You can create a child theme for your current theme and modify BuddyPress behaviour through it. Copy /plugins/buddypress/bp-templates/bp-legacy/buddypress/ to your theme (in root).

    Remove everything that you don’t need, and leave only /your-theme/buddypress/members/single directory. In that dir you should work with home.php files and others, that are relevant to you.

    But now I see that redefining BuddyPress template only won’t work as expected. You also need to create page-members.php file, where members – is the slug of you Members Directory page. It should be modified with

    if ( bp_is_user() ) {
        get_header('slim');
    } else {
        get_header();
    }

    and same for get_footer('slim') instead of the default usage. You will need to create header-slim.php and footer-slim.php files as well, and THERE you should remove all your navigation and all markup you don’t want that pages to have.

    So yeah, quite a work, but doable once you dive into that. Hopefully I gave you the direction and general idea.

    Ajax requests are returning this:

    Are you sure you want to do this?</p><p>Please try again.

    while they should not.
    That’s definitely a plugin compatibility. Any special code bp-custom.php or /mu-plugins/*? They are not plugins in ordinary understanding and can’t be disabled from admin area.
    Also, any special rules in .htaccess file in root directory?

    That’s mainly a styling thing.
    You should be comfortable using Firefox or Chrome and their developer consoles, where you are able to preview changes.

    These links will be help you as well:

    Add BuddyPress Styles to a Theme


    https://buddypress.org/support/topic/custom-css-changes/

    Don’t forget to either include your styles via external file in your plugin or use your child themes, not to lose changes on parent theme update.

    There is no such plugin.
    And it seems the functionality you described is too specific for your site, and it will be rather hard to implement some generic things that you could use.

    So in general, you will need to find a developer, that will do that for you (if you are not a developer yourself).

    The best way – to allow access to specific pages for logged in users only. As GoogleBot is logged out – it will lose access and eventually remove indexed content. You can remove manually from Google Web Developer Console for this site as well.
    There are quite a lot of topics like these here on the forum. Just google it.

    https://wordpress.org/plugins/buddypress-members-only/
    etc

    You can’t do that in PHP. Well, actually you can – but you will break all the styling, as you will filter our header/footer.php files include. So basically it’s not a good idea.

    The best idea – to use a child theme. You can than even switch to that child theme for specific pages on your site. One of the ways to do that: https://premium.wpmudev.org/blog/wordpress-different-themes-for-pages/

    Another idea – do some magic with BuddyPress templates. It’s totally possible, but you will quite heavily modify them (that will complicate future maintainability).

    Also it would be easier to help you if you provided a URL to your site.

    Make sure, that you have “Anyone can register” checkbox in Settings checked,
    AND
    on this page /wp-admin/admin.php?page=bp-page-settings “Register” component assigned to a WordPress page like this: http://take.ms/vYrhb

    I looked at the BuddyPress code, and can say that this is a question mainly to multilingual plugins authors.
    BuddyPress itself uses wp_login_url(), so they should filter this default WP function as well.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    Better to prevent spam users to register at all. There are a lot of plugins, that help with it.
    I use WP-SpamShield successfully on a BuddyPress site.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    There is not such publicly available plugin.
    But that’s an interesting idea to consider for plugins-dev.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    Can BuddyPress send all other emails? Like new message, groups changes etc?
    So, is the email with activation link the only email, that is not sent by BuddyPress?

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    Try WordPress SEO plugin AND this hack:
    https://github.com/Yoast/wordpress-seo/issues/1971#issuecomment-227008322

    That will fix titles. There is no solution for meta descriptions, unfortunately.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    Here is related Codex page.
    You will need to change in your template something like this:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

    to this:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&per_page=10' ) ) : ?>

    Check your theme /buddypress/activity/activity-loop.php file. If you don’t have it, just copy this file (preserving directories structure) from
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.php

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    That’s definitely not a BuddyPress issue.
    Make sure that you don’t have some “security” plugin activated, that might prevent the usual login process.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    AFAIK, installing BuddyPress on a subdomain of WordPress MultiSite won’t give you BP widgets (and other content) on a main site, thus you won’t be able easily (without coding) display BuddyPress content on any site in the network, excerpt the BP-site.
    So BuddyPress content will be available only on site where you activated BuddyPress.

    I hope I’ve answered your question.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    So bp.example.com is the subdomain, that you use for BuddyPress. Does it have separate WordPress installation (not related to example.com)?
    Is WordPress on your example.com MultiSite or ordinary?

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    Seems you have fixed the issue.
    I have just registered on your site, and sent a friendship request to user “admin”. Everything seems to be ok, I can cancel it.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    You definitely should try first to re-save page structure in Admin area => Pages => Members.
    Users profile inherits everything related to that page (like slug and structure), BuddyPress just substitutes that page content, so all its settings should be in place.

    Profile photo of Slava Abakumov
    Slava Abakumov
    Moderator

    @slaffik

    That’s quite a lot of custom code.
    All that activities are not related to BuddyPress directly. Although you can store them in activity directory when that action was performed using bp_activity_add() function.

    But as everything you described is not a default WordPress and BuddyPress functionality – I strongly advice you to find some developers, that will implement all that.

Viewing 25 replies - 1 through 25 (of 432 total)
Skip to toolbar