Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,051 through 12,075 (of 69,129 total)
  • Author
    Search Results
  • #244594

    In reply to: I Cannot Create Groups

    shanebp
    Moderator

    http://acadayear.com/home/groups/ is also not found.

    Do you have User Groups enabled here?
    …/wp-admin/admin.php?page=bp-components

    Have you assigned a page to Groups here?
    …/wp-admin/admin.php?page=bp-page-settings

    Have you read this?

    Configure BuddyPress

    #244585
    Henry Wright
    Moderator

    @mcpeanut

    I am currently testing my buddypress install on one of my servers with nginx

    Are you using Nginx with php-fpm? I’ve been tempted to do that for BuddyPress. It’d mean moving all of my .htaccess directives to Nginx server blocks but I think the effort would be worth it for the performance improvements.

    #244580
    mcpeanut
    Participant

    @ch1n3s3b0y Hi there, im gonna chime in on this as im starting to believe that buddypress can most definately scale vary well (even though its not been proven yet to scale to say a million users+ i think its quite possible), as henry may remember from previous threads i have commented in i have decided to look into the ultimate server configurations to try and find the best way to actually move forward into my own buddypress build.

    This has meant concentrating and learning about lots of different server configurations for the past couple of years in-between my other projects.

    Do you think Buddypress can support hundreds of thousands, if not millions of users?

    Lets just switch this notion right on its head, rather than ask yourself if buddypress can scale to a millon users start asking yourself if your server setup and configuration can scale to a million concurrent users instead.

    The key to success on a buddypress active and busy site becomes more of a server and administration task rather than how you have buddypress setup on a basic server config (before long you will bottleneck somewhere if you do not setup for expansion).

    I know it seems daunting to think about all of this rather than install it build it and launch it and expect it to scale! But to me doing something half hearted isnt the way forward with a serious build on any project. If you prepare and understand the potential problems before you have that killer network built with 100s of thousand of concurrent users its much better to be prepared than to sit back and go NOW WHAT! when you finally grind to a halt and noone can use your site anymore and you dont know how to fix and expand it. Proactive is the way forward.

    I am currently testing my buddypress install on one of my servers with nginx and HHVM (hip hop virtual machine) that was created by and is used by facebook instead of standard php, this speeds up the PHP execution speed PHP code is translated into C++ compiled into a binary and run as an executable to really speed up the way php works, therefore making everying load much much much much faster! I have only just started messing around with HHVM and will keep you updated. is anyone else actually running HHVM? if so please do share with me your finding, to me this seems the way forward with any buddypress installed website.

    Also as i have stated before once i have decided on my final server configurations and im 100 percent happy with exactly how my setups work with wordpress/buddypress to scale to massive amounts of users i will create a post and guide on how i have it all set up, but still will take me more time yet. and also as stated before if anyone else does want to give there 2 cents on it feel free because on these forums there is not much talk about actual configs that people are using, even though i do realize this is server tech department, i also believe it is a valid issue for buddypress because instead of questions about scalability there could also be a few answers which is my ultimate goal. 😉

    #244575
    danbp
    Participant

    Hi @qurgh,

    use bp_loggedin_user_domain function and wp_nav_menu_items filter to add the item to an existing menu, like this: bp_loggedin_user_domain( 'kag/ship/' )

    See here for a working example:
    https://buddypress.org/support/topic/url-for-menu-to-logged-in-users-profile-page/

    WordPress reference:

    wp_nav_menu_items


    https://codex.wordpress.org/Navigation_Menus

    BuddyPress reference

    bp_loggedin_user_domain

    #244571
    alpha2
    Participant

    Yes it is. But rather than using a plugin (for this project i am nearly at 53 active plugins…too much) maybe its better to use a function.
    i use this thread to ask you another question, some users (registered before i applied this plugin) named their account with a period: john.doe . Actually it’s not a big deal because buddypress (or wordpress natively) transform this dot into hyphen in each link.

    On one specific page template, I have special function i created with the help of a dev to display all users by a custom taxonomy (ranks)

    Only mater is that every hyperlink that link to account like john.doe are display like this http://www.website.com/members/john.doe and not http://www.website.com/members/john-doe

    I search into the code and found this:

    <div><?php $user = get_user_by('id', $gold ); ?><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo bp_core_fetch_avatar( array( 'item_id' => $gold, 'type' => 'full' ) ); ?></a><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo $user->user_login; ?></a>Performances: <?php echo count_user_posts( $gold ); ?></div>

    I must change how is display the username.

    Thank you for your time and your help!

    #244556
    shanebp
    Moderator

    Try adding a call to wp_mail.
    There are several examples of that in codebase.
    For example, see function bp_activity_at_message_notification
    in buddypress\bp-activity\bp-activity-notifications.php

    #244549
    JECPFG
    Participant

    Hi djsteveb, I appreciate that but it’s been several days since I asked on the wpmudev’s support forums and they haven’t replied yet, so I’m anticipating the “you’ll need to ask BuddyPress” response. I figure if I ask in both forums, one side may have an answer.

    And since this is a function of the BuddyPress Profile Fields, I assumed I might have a better chance of getting a response here anyway. I know this isn’t overly complex for someone who knows the answer, I’m just hoping to find someone who does.

    #244547
    danbp
    Participant

    – which is especially torturous on mobile devices..

    hahahaha, but in return, you have very thumb muscled mobile devices users. 💪

    Googled for buddypress reverse messages order and found this:
    https://gist.github.com/bappi-d-great/be10c2e096f0e6936b43

    Untested and waiting now for feedback. 👂 🙂

    #244546
    danbp
    Participant

    @djsteveb

    i wrote: To make it work with BP, you add a copy of the original page.php of 2014 and rename it buddypress.php. And you add the condition into that copy.

    I’m not a 2014 specialist and never liked that theme with BuddyPress. The’re so many other out to discover, easy to use and configure, that i wouldn’t loose my (at least) time with it.
    2015 is already avaible and 2016 too, though 2014 is a dynosaur now. Beat’em ! 😉

    #244543
    djsteveb
    Participant

    you could (although this theme is quite tricky with the various sizing things, and I am NOT an expert with this theme or css – so make backups, use child themes – all that jazz)

    you could try changing (or overwriting with child theme / enque an overlap style sheet)

    @media screen and (min-width: 1218px) {
    .site-content, .site-main .widecolumn {
        margin-left: 222px;
    }
    }

    to:

    @media screen and (min-width: 1218px) {
    .site-content, .site-main .widecolumn {
        margin-left: 90px;
    }
    }

    and..

    .buddypress .site-content article .entry-content, .buddypress .site-content article .entry-header {
        max-width: 100%;
        padding: 0px 10% 5%;
    }
    

    change to

    .buddypress .site-content article .entry-content, .buddypress .site-content article .entry-header {
        padding: 0px 1% 5%;
    }
    

    – now of course how these settings affect the groups page is one thing this could cause ill effects on other pages – (ones with double sidebars) – and at different screen sizes.. this 2014 thing gets pretty picky..

    especially with 2014 doing one thing, and the bp-addon style thing doing some other things.. one percentage change here looks good – but a different page at a difference screen size – grrr.. you have to test a lot with this mix (come to find out the hard way here the past couple weeks!)

    This will add a lot more space, which is what I guess you are going for in general – but not remove all sidebars..
    and
    That does not get rid of the left sidebar, which is I guess what you were meaning to ask in the first place with this thread (and I think everyone else was assuming you wanted to get rid of the right sidebar, as our understanding of the term “full width page” – err template in my mind is just that.. looks like you really want a “no sidebars at all page template” for groups page?

    #244541
    YesPapa
    Participant

    @djsteveb I know this solutions. I am just telling that included this function in the box would be great.

    If BuddyPress want to also be a Entreprise Social Network solution, I am thinking this feature has to be included. Other ESNs provide it.

    Best.

    #244538
    djsteveb
    Participant

    @danbp

    am I to understand – that you would make a buddypress.php and have just like:

    <?php
    if( !bp_is_groups_component() ) { 
       get_sidebar( 'content' );
    }
    ?>

    or maybe copy the page.php code and put it all into a new file buddypress.php – and add the code

    if( !bp_is_groups_component() ) { 
       get_sidebar( 'content' );
    }

    to buddypress.php maybe in the head of it?

    BP’s content comes full-width on 2014

    Actually with my 2014 themed bp site I get a left and right sidebar on large monitor, it does not get into bp stuff taking full side space width until the screen shrinks to.. I dunno 1008 pix or so (one of those media queries)

    So I think this code you are suggesting would indeed be useful with 2014 as well.

    I have been looking a couple of plugins like ‘dynamic sidebars’ (maybe it was dynamic widgets) – and ‘content aware sidebars’ – one of these I saw recently says is plays well with BP – and I was thinking one of these may be able to solve some common problems that bp peeps run into in regards to wanting to change content on the various psueodo pages.. however I am not sure that any of those plugins would remove all widgets from the sidebar on some pages, and if they DID.. would that make theme X go full width for that area anyhow? not likely, but it’s a nice dream.

    Anyhow thanks for the info I might test this out a bit not that I am digging deeper into 2014 and bp..

    #244537
    danbp
    Participant

    A child theme contain usually
    style.css
    functions.php

    To make it work with BP, you add a copy of the original page.php of 2014 and rename it buddypress.php

    2014 comes also with a full-width template which is in page-templates folder.
    If you compare both files, you will see that the only difference is at line 40 of page.php
    get_sidebar( 'content' );

    To get what you want, you simply add a conditionnal to this part.

    if( !bp_is_groups_component() ) { 
       get_sidebar( 'content' );
    }

    That said, i think it’s not necessary, as with or without this hack, BP’s content comes full-width on 2014. At least and by default, in the whole white zone, right of the left black sidebar. Also remind that 2014 is a left aligned theme, which can let think that you have a lot of space on the right, specially on a large desktop screen.

    With 2012, it’s a bit different, as this theme use a class called full-width, directly in the html. To use the same technique, we have to echo the div to get the condition to work properly.
    And 2013 doesn’t use a full-width template.

    <?php if( !bp_is_groups_component() ) { 
           echo '<div id="content" role="main">';
     } else { 
    echo '<div id="content" class="full-width" role="main">';
     } ?>
    #244535

    In reply to: Unsubscribe

    Henry Wright
    Moderator

    Settings > Email should do it. Alternatively you can go straight to the page via:

    https://buddypress.org/members/username/settings/notifications/

    #244526
    danbp
    Participant

    @douglaslovin83

    You’re lucky !
    Download the latest version of the plugin, as it seems that this is now in since 101 minutes:
    Added support for Buddypress custom profile fields

    https://plugins.trac.wordpress.org/browser/wp-auto-affiliate-links/

    danbp
    Participant

    @froster2,

    add a conditionnal to existing on template for that element.
    $user_id != bp_loggedin_user_id()

    In /child-theme/buddypress/members/single/activity.php
    Replace line 48 or so with this:

    if ( is_user_logged_in() && bp_is_my_profile() && ( $user_id != bp_loggedin_user_id() ) && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) )

    danbp
    Participant

    WordPress is the software behind buddyPress.
    If you need custom roles&capabilities on your site, you can add roles programatically as explained on your mentionned tutorial. If it works, site admin can attribute one of the additionnal role to members, within admin.

    BuddyPress, at this time, handles only member types. A member type is not a role or a capability Ă  la WordPress, but only a way to sort better your members. In other words, a kind of a member category.

    To handle such behave from front-end while registering, you can associate a xprofile field value with an existing WP role. See here for a solution (untested) provided a few month ago.
    https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887

    Add snippet to your child theme functions.php or into bp-custom.php and give it a try.

    #244499
    niyaza
    Participant

    I also faced the same error, showing HTTP error while upload avatar on buddypress profile.
    On my site also have bbpress and BuddyPress plugins.
    In my site don’t have BBPress plugin ‘Forum Restrict’.
    Can you advice how I would resolve this issue.

    #244495
    djsteveb
    Participant

    @deklein
    starting a new thread for the exact same issue is rude and wastes precious support time (of which we have very little around here) – please keep it in the same thread: https://buddypress.org/support/topic/buddypress-logged-in-menu-items-not-manifesting/


    @mods
    please delete this one.

    #244494
    djsteveb
    Participant

    @deklein – it certainly would not hurt, and would be pretty fast and easy to make a backup of your entire wordpress install (all files on server, maybe a zipped folder) – then delete your buddypress plugin and all your default themes.. reinstall a fresh 2014 theme and buddypress – activate and test. Very strange that those do not show up with all other plugins disabled while switched to 2014 theme – and you even checked screen options..

    I would say before trying that I would try to mess with that menu using a different browser.. sometimes things work in firefox that do not work in chrome.. sometimes a browser plugin blocks something from loading somewhere that you may not find is an issue when using Internet Explorer..

    #244490
    deklein
    Participant

    Tried both changing the theme and disabling all plugins but buddy-press. To no avail. I didnt think it was another plugin interfering with buddypress’ ability to manifest the buttons. It has to be something else, maybe my buddypress is corrupt?

    #244486
    djsteveb
    Participant

    Sounds like this is a theme issue and likely not an issue in regards to the 2014 / 2015 themes.. so you are probably going to have to contact your theme author about this.

    You also did not provide any info about your setup – ( https://buddypress.org/support/topic/when-asking-for-support-2/ ) so there is no way anyone could guess about this.. have things changed with bp? quite a bit with some updates, and not so much with others –

    you should disable all plugins aside from bp and see if the issue continues first imho.

    if so – your theme author will likely have to dig into the issue.

    #244477
    shanebp
    Moderator

    Review this example.
    You’ll need to adjust it to gather PM levels.
    Ditto re this example.

    #244473
    JECPFG
    Participant

    You are correct on all three of your questions.

    I tried switching themes and am still seeing the same issue.

    I’m actually using BuddyPress in conjunction with WPMUDev’s Membership 2 Pro plugin, so it’s an issue with how those two are functioning together. I’ve posted on WPMUDev’s forums but can’t seem to find an answer there either, so I tried posting here hoping one side would know what the problem may be.

    #244471
    shanebp
    Moderator

    A BP site uses BP to register users.
    So afaik, it is not possible to create a WP account but not automatically a BuddyPress profile.

Viewing 25 results - 12,051 through 12,075 (of 69,129 total)
Skip to toolbar