Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 10,076 through 10,100 (of 32,678 total)
  • Author
    Search Results
  • #206309
    danbp
    Participant

    @mugwumpman,

    you already reported around this in the past, but apparently you didn’t follow the answers. 😉

    https://buddypress.trac.wordpress.org/ticket/5182

    Open a new ticket if you cinsider there is something incorrect with cropping.

    #206308
    Tomatillo Design
    Participant

    I want to create a custom PHP function to run only on BuddyPress “Following” and “Followers” pages (created with this plugin: https://wordpress.org/plugins/buddypress-followers/).

    In WordPress, I would use the is_page function (http://codex.wordpress.org/Function_Reference/is_page). Is there something similar in BuddyPress to check if the visitor is on a certain BP page?

    Thanks.

    #206301
    danbp
    Participant

    Glad you got it. Of course you can ! 😉
    http://www.wpbeginner.com/beginners-guide/how-to-disable-gravatars-in-wordpress/

    In matter of profile photo, i suggest you to use:
    https://wordpress.org/plugins/bp-avatar-suggestions/
    and anyway, your user have always the choice to upload their own picture.

    #206298
    Paul Wong-Gibbs
    Keymaster

    If you mean “comments” as in “comments on a blog post”, that’s obviously part of WordPress. That will definitely scale fine.

    If you meant “comments or replies on activity stream items, or status updates”, that’s BuddyPress. This should scale just fine, too.

    This assumes your server(s) configuration is optimal, and that you haven’t got any slow code running in other plugins/custom code, or in your theme. I/we can’t really help you with that here — running a performant server(s) for WordPress is outside the scope of providing BuddyPress supports.

    The only piece of hosting advice that I’d recommend for any WordPress-powered site, but especially larger sites, is to make sure you’re using an object cache, such as memcached.

    #206294
    spymasterhugh009
    Participant

    Honestly I am 68 years young and have NO CLUE what I am doing regarding BuddyPress. I just installed it and have latest version of WordPress running. The site is SpyCraftU. As you will see I already have Members and Groups headings. I need to know how people add themselves as Members and how to set up Groups.

    Thanks!
    Hugh009

    #206291
    pssawhney
    Participant

    I have just updated my BuddyPress theme and migrated my user database to the new theme. I also have a separate WordPress install of ClassiPress, which is another wordpress theme for classifieds. Before I made the buddypress theme change the user database was linked together so when a user logged into buddypress they were automatically logged into the classipress site which is only a section of the site when you click on the menu of the buddypress site.

    I have asked a few developers to simply recreate the link again to have all my users linked to the classipress site but they cannot seem to do it or understand how to do it when this was working perfectly fine before the theme change.

    Any advice will help and sorry for the horrible explanation as I don’t know much about websites and the language.

    #206286
    shanebp
    Moderator

    It’s a matter of finding the exact syntax.
    This works in the function I provided.

            case 'Friends <span class="%s">%s</span>':
                return 'Connections <span class="%s">%s</span>';

    A gettext filter is a reasonable approach if there are one or two labels that need to be changed.
    But there are so many different places where ‘Friend’ or some variation is used that in your case you should definitely use a .mo file.
    Read:

    Customizing Labels, Messages, and URLs

    Often there is confusion re the Sources Keywords section of PoEdit, so after you read the above, take a look at http://www.cssigniter.com/ignite/wordpress-poedit-translation-secrets/
    especially the section titled ‘Keywords lists, WordPress functions, whaaaaaa?’.

    #206280
    danbp
    Participant
    crina27
    Participant

    I created a plugin that adds a Call button to the profile page. With Buddypress 2.0.1 it worked, but when I updated to 2.1.1 the button disappeared from the profile page.

    This is the code that adds the button :

    function videocall_get_slug() {
    global $bp;
    return $videocall_slug = isset( $bp->videocall->slug ) ? $bp->videocall->slug : ”;
    }
    
    function videocall_is_user_online( $user_id ) {
    if ( bp_has_members( ‘type=online&include=’. $user_id ) ) {
    return true;
    } else {
    return false;
    }
    }
    
    function videocall_get_video_chat_link() {
    return bp_loggedin_user_domain() . videocall_get_slug() . ‘/call?user=’.bp_displayed_user_id().’&id=’ . rand()
    }
    
    function videocall_invite_button() {
    
    if ( videocall_is_user_online( bp_displayed_user_id() ) ) {
    $link_class = ‘start-videocall online';
    } else {
    $link_class = ‘start-videocall';
    }
    
    bp_button( array(
    ‘id’ => ‘videocall’,
    ‘must_be_logged_in’ => true,
    ‘block_self’ => true,
    ‘wrapper_id’ => ‘videocall’,
    ‘link_href’ => videocall_get_video_chat_link(),
    ‘link_title’ => __( ‘Video call with this user.’, ‘videocall’ ),
    ‘link_text’ => __( ‘Video call’, ‘videocall’ ),
    ‘link_class’ => $link_class,
    ) );
    }
    add_action( ‘bp_member_header_actions’, ‘videocall_invite_button’,99);

    With WordPress 4.0 and Buddypress 2.0.1 it workes just fine.
    Any suggestions?

    iburnthings
    Participant

    I have very little coding experience but I say a similar script for s2Membership that would show or hide users from the members-loop based on their plugin role. I found a few functions for the plugin i’m using and tried to adapt it but now with the added code my members list is empty. I have 1 user in the named subscription level.

    <?php while ( bp_members() ) : bp_the_member(); ?>
    
    <!--Only show certain roles in member lising-->
    
    <?php $sub_id = 'NeedyNerd';//manually define subscription name for Membership exclusion ?>
        
    <?php if (current_user_on_subscription($sub_id)): ?> 
    
    Standard loop structure here
    
    <?php endif; ?>
    
    <?php endwhile; ?>

    I know which databases and such the subscription names and id numbers are stored in but if this requires a DB call I have no idea how to do it.

    Since I’m a complete php novice and really just a copy/paste kind of guy I was hoping for a bit of help.

    Here are the functions I found for Membership
    current_user_is_member()
    current_user_on_level($level_id)
    current_user_on_subscription($sub_id)

    WordPress Version 4.0
    Buddypress Version 2.1.1
    Membership Premium Version 3.5.2.3

    http://preview.alturl.com/i5bb8
    http://alturl.com/i5bb8

    #206253

    In reply to: BP sidebar are missing

    danbp
    Participant

    Feel free to ask on bp-fr.net if you prefer help in french.

    For now, on your contact page, you can see this message:
    This template supports the sidebar’s widgets. Add one or use Full Width layout.

    Ça veut dire qu’il faut ajouter des widgets ailleurs que sur la page d’accueil ou utiliser le template Pleine Largeur ! 😉

    dashboard > apparence > widgets or see the theme documentation. Can’t help more about this as you use a premium theme (support)

    #206249
    bp-help
    Participant

    @summersoul
    Have you considered hiring a pro? Try posting:

    BP Jobs Board


    or:
    http://jobs.wordpress.net/

    #206242
    ideasdesigninc
    Participant

    Hello. I’m currently running WordPress v4.0 on an Apache based server under a subdomain, and have the most recent version of BuddyPress installed (v2.1.1).

    How would I go about changing all references to “Friends” on all of the Member Profile pages to “Connections” ? And would it be possible for me to also change the “/activity/friends/” friendly URL to “/activity/connections/” ? If so, how?

    Thanks!
    – Yvan

    #205660
    shanebp
    Moderator
    #205553
    shanebp
    Moderator

    Yeah, implode is faster.

    But without meta array, the query probably won’t work anyway…
    Read:
    https://codex.wordpress.org/Class_Reference/WP_User_Query#Custom_Field_Parameters

    #205551
    Ruby Sinreich
    Participant

    I ma having the same problem. It started as soon as my new site was live (I just migrated servers at the same time as installing BuddyPress). I installed this honeypot https://wordpress.org/plugins/registration-honeypot/, and it helped a little, but I won’t be able to deal with this once I have real members registering since I can’t always tell who is real or fake.

    There’s got to be a better way. Or at least a better admin view of new users so I can screem them with more profile data.

    dreammyw0w
    Participant

    Hi there,

    I am using the Enfold-theme & I just installed your lovely plug-in: Buddypress. Everything works great! Now, Buddypress uses its own CSS and thats normal.

    What I am trying to do is “Make buddypress look like my Enfold-theme”.
    Can anyone point me in the right direction? I tried “search” and I read about child-themes etc… but I dont think thats what I am supposed to do?

    I have good knowledge of CSS & HTML. Im just pretty new to wordpress.
    I’d appreciate any help I can get (y)

    An extra question: I also saw that this website uses buddypress, but the profile-page & other pages are different from the default buddypress. Is this also a theme for buddypress or?

    #205262
    danbp
    Participant
    #205254
    Henry Wright
    Moderator

    @harry4039 if your server can handle the load then I don’t see a problem with having 10,000s users. Take wordpress.org and wordpress.com for example, I’m sure they have 10,000 + users. @djpaul will know more about those builds than me, but I’m sure both sites use WordPress 🙂

    #205246
    harry4039
    Participant

    Hi everyone,

    we’re currently developing a website that will run WordPress and BuddyPress. There will be tens of thousands of users. We are now wondering if BP and WP are able to handle thousands of new comments per day or if this will cause any performance or database issues on the long run?

    As a side note, the comments will also be shown on the respective users personal walls and some other places around the BuddyPress part of the site.

    Does somebody have experience with this? Would love some insights 🙂

    Harry

    #205219
    Paul Wong-Gibbs
    Keymaster

    Does the error still occur if you switch back to WordPress’ twentytwelve theme (just as a test)?

    #205215
    Paul Wong-Gibbs
    Keymaster

    Hmmmm. BuddyPress does not ever automatically mark a user as a spammer (or not a spammer), so I’m not immediately sure what might be going on. What other plugins do you have on the site, and what theme are you using?

    Please also tell us the versions of WordPress and BuddyPress that you are using, like @shanebp asked.

    Last question: are you using multisite? If you don’t know what that is, the answer’s no. 🙂

    #205212
    boriskamp1991
    Participant

    Thank you for your reply,
    When I hover over the one user that is not an admin I get to see ‘spam’, so it looks like WordPress does not see it as a spammer. the other user is an admin, so why on earth would Buddypress mark that as a spammer?
    I registered a new user and it is marked as spammer right away by BP, WP does not because I can click the ‘spam’ button from the users list.

    I installed BP on my other local test site and there it works fine….
    I guess you guys need more info so please let me know as Im really in need of solving this.

    Thanks!

    #205210
    @mercime
    Participant

    just went to make changes in buddypress.min.css

    @barchiola Please do not modify the CSS file in the BP plugin. Any changes you make will be overwritten the next time you upgrade BuddyPress. Recommend that you upgrade to the latest BP version 2.1.1 https://buddypress.org/download/ and create a child theme of your preferred theme. Add the style changes to your child theme’s stylesheet.

    #205189
    Marcella
    Participant

    Not sure when it will be ready, I’m integrating some bespoke functionality to link with BuddyPress and WordPress so it’s been taken down.

    Also have to think about some sort of mobile / tablet situation as it never had one before.

    I’ll come back here when it gets going again.

Viewing 25 results - 10,076 through 10,100 (of 32,678 total)
Skip to toolbar