Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 19,326 through 19,350 (of 94,540 total)
  • Author
    Search Results
  • #240262
    mcpeanut
    Participant

    @henrywright who is the best person to ask on these forums to add a new section?

    I would love to see a server configuration and hardware setups section for buddypress in these forums, i have mentioned this before.

    It could be a specific place for people to share all kinds of server configuration settings and tips and server scalability issues etc along with initial setup advice to.

    I mean i would be willing to post a few server tips and tricks i have learnt along the way into this section and maybe write a few guides etc for server lockdown and shh hardening tips etc, even though i am still learning alot of server administration tasks (because the scope is vast )it would be good to have a place for vps and dedicated server users to all have a chat about issues and setups etc for buddypress. I do realise as a rule that there are plenty of server setup and config info all over the web on other forums etc and in articles but hey would it not be great for users of buddypress to have a tips and help section for this to? this would let users share their experiences with setups running with buddypress installs specifically and could also cover things like server level caching php caching and many other tweaks needed to run at optimum performance. lets be real here buddypress is not designed to run very well on shared hosting (not for very long anyhows to you bottleneck yourself) and i think this would be good info for people making the leap to other setups.

    #240255
    Tom
    Participant

    So I did some tests…
    In a standard WordPress install users can enter spaces in their username.
    No problem.
    E.g. ‘Firstname Surname’ renders as just that, with a space between the words.

    But when I activate BuddyPress (no other plugins) with the Twenty Fifteen theme, suddenly the spaces are removed from the username. Without as much as a single notification or error message.
    E.g. ‘Firstname Surname’ becomes ‘FirstnameSurname’.

    This is a huge problem for users! As they don’t get a message their input has been changed. And the username is not mentioned in the activation e-mail.

    In my opinion there are two solutions:
    1. notify the user of the change during registration;
    2. allow the same username entry specification as WordPress does.

    So far I haven’t found any of these solutions. 🙁

    Need help.

    #240252
    mcpeanut
    Participant

    Hi all been a while

    I have been real busy over the past month or so and just havent had the time to visit these forums much lately but i am just in the midst of setting up a new dedicated server once again that i have purchased, now the question is about nginx specifically, i have allways used apache in the past but ive heard some really great things about using nginx for wordpress installs and believe it is alot faster than a standard apache setup especially when paired with varnish.

    Now i believe there is quite a few additional htaccess rules etc when setting up nginx with wordpress for it to run right and before i dive into it and try it out i was wondering if anyone on these forums have any advice on how you have it set up to run with your buddypress installs.

    any info is greately appreciated and would you advise this as the best way to go for scalability? as i believe nginx makes it easy to add other servers in to the mix further down the line too.

    #240248

    In reply to: Logged in Links

    Bradley Allen
    Participant

    Using the plugin above, I added the ‘members’ and ‘groups’ pages to the BuddyPanel (Boss theme) and only display them to users that are logged in.

    I want people who are logged in to have an easy way to find all available groups, as well as the members of the site.

    I’m new to using BuddyPress. Thanks for your assistance! I’m think I’m set for now. 🙂

    #240247

    In reply to: Group tab questions

    shanebp
    Moderator

    2. How would I add a extra tab in a group that I can link to a URL?

    You need to use the Group Extension API

    Group Extension API

    Since you only want it for one group, you need to check for that group id:

    if( bp_get_group_id() == 2 )
       bp_register_group_extension( 'Your_Group_Extension_Name' );
    #240241

    In reply to: Group tab questions

    mrjarbenne
    Participant

    If you want to rename reference to the Forums everywhere you’ll probably need to do that with a language file: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    Did the stack exchange link help with the additional link you were trying to add?

    #240238
    CodeMonkeyBanana
    Participant

    @shanebp Thanks for the reply.

    […]in any relational table, if an item is assigned to a group ID and that group ID no longer exists in the table that holds group IDs, then that data will not be displayed, ie. orphaned.

    I deleted through the admin panel so I am not sure what was deleted, that was what I meant by asking if is was standard behaviour. Possibly what I should have said is; when a user deletes a group by using the ‘bp-profile-setup’ page to click on the ‘delete group’ button, is buddypresses default behaviour to just drop the group and leave the profile data in the table or does it also iteratively remove the profile fields?

    I can see the reason why you would want to leave the data in the table (and also reasons why you wouldn’t). I had a quick look at the code but I am not familiar enough with it yet to pinpoint the exact code block.

    If fields are not deleted then I guess any fields directly referenced would still be visiable on the site. That may be misleading to user as they may assume deleting a group would also remove fields. However you wouldn’t want a group to be deleted by accident and then a large amount of data be lost. I would guess a system of deleting the group and then updating each profile field to explicitly notify calling functions that their parent has been deleted would be appropriate in the circumstance.

    I have used a relational database before but I am unfamiliar with the logic employed by buddypress to interact with it.

    The behaviour I was was getting was weird. When I deleted a group and created it again no fields were showing. Then when I added a field, it had a value immediately after creating so something weird was going on so I thought I would ask to see if you knew if the profile data gets deleted when a user clicks delete group in admin panel.

    I am starting again now so will pay closer attention to all data as it goes into fresh tables but sometimes it is harder to see to absence of data compared to the addition of new data.

    Why? BP will always create a Base group.

    I am running a multisite where individual user blogs can create their own fields (https://codex.buddypress.org/themes/guides/segregated-x-profile-fields-for-multisite/).

    As the article says:

    This code will not create dummy content, so for every new site you will need to create a Profile Fields group and add profile fields to it manually.

    When I create new site there are no field groups made at all which I assumed is what it was talking about. Also I wanted to have a default set of groups but allow subsite to edit them. If they want to get default groups back they can just delete all their groups and default will be restored. I could add a separate button for that but I just figured I’d do it like this, no particular reason, I am still in early stages of project.

    I think there were other errors at play so starting from scratch with a little more understanding will hopefully enlighten me. I will be duplicating tables this time instead of using meta table.

    #240237
    jturet
    Participant

    @aryae-coopersmith: Navigate to Plugins -> Editor from your dashboard
    Choose ‘Buddypress’ from the dropdown and click ‘Select’
    Use Cmd+F or Ctrl+F to find ‘buddypress/bp-core/bp-core-catchuri.php’ and click it
    Scroll down or use Cmd+F/Ctrl+F to find // Reset the offset in the page
    Change

                }
    
                // Reset the offset
                $uri_offset = 0;

    to

    
                    // Reset the offset
                    $uri_offset = 0;
                }

    And click ‘Update File’

    #240232
    jfoster-42
    Participant

    Thanks for the reply @shanebp!

    I see…do you have any ideas as to what could be causing this? If it’s something on my local machine that’s causing the issue, no biggie. But the site launches in a little less than two weeks so if it’s something I have in my code then that’s a problem.

    I saw on another thread someone suggested using a register.php template from an older version of BuddyPress, but that was posted for BP 1.8 I believe. Would that be a good idea to try or would that just cause problems?

    r-a-y
    Keymaster

    Yes, you need to install bbPress in order to have forum functionality within BuddyPress groups.

    View this guide:

    Installing Group and Sitewide Forums

    #240227

    In reply to: Problem with CKEditor

    I am seeing this as well..

    TypeError: undefined is not an object (evaluating ‘window.tinyMCE.activeEditor.contentDocument.activeElement’)

    This is in bp-activity/js/mentions.js

    I’m not terribly familiar with these Editor modification, but looks like BuddyPress is doing some tinyMCE specific stuff… Could this be done in an editor-agnostic way?

    r-a-y
    Keymaster

    @dono12 – I have split your post into a separate thread.

    About the “Starred” feature, do you mean the star private messages feature that you can access under “Messages > Starred”? If not, then this isn’t related to any change in BuddyPress 2.3.0.

    Your issue doesn’t sound like it is related to the Messages component, so can you clarify?

    Dono12
    Participant

    The New Feature in Buddypress Starred button redirects users to their post page button. I’ve added a button to users buddypress activity page which is titled Post that takes users to a page with a list of their Posts made to WordPress. With the new update when you click on the Starred button the user is redirected to the the list of posts. I created the Post button using this custom function I found Online.

    /* ——————————Start BP Post in profile code for function——————– */
    function importSomething(){
    return include_once ‘bp-custom.php’;
    }
    add_action( ‘bp_setup_nav’, ‘buddyboss_child_bp_nav_adder’ );
    add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );

    function buddyboss_child_bp_nav_adder() {
    global $bp;
    $post_count = count_user_posts_by_type( $bp->displayed_user->id );
    bp_core_new_nav_item(
    array(
    ‘name’ => sprintf( __( ‘Posts <span>%d</span>’, ‘my-poems’ ), $post_count ),
    ‘slug’ => ‘Articles’,
    ‘position’ => 250,
    ‘show_for_displayed_user’ => true,
    ‘screen_function’ => ‘buddyboss_child_list’,
    ‘item_css_id’ => ‘articles’,
    ‘default_subnav_slug’ => ‘public’
    ));
    }
    function buddyboss_child_list() {
    add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
    }
    /*——- This is end of the code for above function ———*/
    function profile_buddyboss_child_loop() {
    $myposts = get_posts( array(
    ‘posts_per_page’ => -1,
    ‘author’ => bp_displayed_user_id(),
    ‘post_type’ => ‘post’
    ));
    if( ! empty($myposts) ) {
    foreach($myposts as $post) {
    setup_postdata( $post );
    if (has_post_thumbnail( $post->ID ) ):
    $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘sidebar-smallthumbnew’ );
    else :
    $image[0] = “…/wp-content/themes/Starkers-Child-2/images/vidimage.jpg”;
    endif;
    echo ‘<li class=”sidebar mostpop post-‘ . $post->ID . ‘”><div id=”postimage”>ID) . ‘”></div><div id=”postinfo”>ID) . ‘”>’ . get_the_title($post->ID) . ‘</div>‘;
    }
    echo ‘‘;
    wp_reset_postdata();
    } else { ?>
    <div class=”info” id=”message”>
    <p><?php bp_displayed_user_fullname(); ?> has No posts.</p>
    </div>
    <?php }
    }
    /* This is end of the code for above function */
    remove_filter(‘bp_setup_nav’,”);
    function count_user_posts_by_type( $userid, $post_type = ‘post’ ) {
    global $wpdb;
    $where = get_posts_by_author_sql( $post_type, true, $userid, true);
    $count = $wpdb->get_var( “SELECT COUNT(*) FROM $wpdb->posts $where” );
    return apply_filters( ‘get_usernumposts’, $count, $userid );
    }
    /* ——————————This is end of the code for post in profile above function——————– */

    I dont want to get rid of the latest starred button feature, so How can I go about correcting this redirect error.

    Also the new mobile take picture update doesn’t work on the mobile version of my site. I’m using WP-Smart mobile plugin to generate a mobile theme. I also have a copy of Buddypress in both my Child Theme and my active WP smart mobile theme.

    How can I go about fixing these issues if possible.

    Also, great exceptional work on these new updates.

    Thank you

    #240218
    r-a-y
    Keymaster

    @jturet – You can make this corresponding change to /buddypress/bp-core/bp-core-catchuri.php for now until v2.3.1 is released:
    https://buddypress.trac.wordpress.org/changeset/9916/branches/2.3/src/bp-core/bp-core-catchuri.php

    #240213
    shanebp
    Moderator

    There is a BP function for getting the ids of the groups for which you’re an admin: get_is_admin_of

    You could use it like this:

    function my_group_admin_ids() {
    	
        $my_group_ids = BP_Groups_Member::get_is_admin_of( 1 ); //if your id = 1
    	
        foreach( $my_group_ids['groups'] as $group ) {
    	
    	$link = bp_get_group_permalink( $group );
    	
    	echo '<a href="' . $link .'">' . $group->name . '</a><br/>';
    	
        }
    }
    add_action( 'bp_before_directory_groups', 'my_group_admin_ids');

    If you want to create a custom tab to hold that info, you need to create a new li element in a template overload of this file:
    \bp-templates\bp-legacy\buddypress\groups\index.php

    shaquana_folks
    Participant

    Okay @henrywright, I’ll check about that error message with that bbPress plugin through their forum.

    So I did what you recommended and turned off all the plugins (including the bbPress plugin) where I only have the BuddyPress plugin activated, with me still using the TwentyFifteen theme, went ahead and filled out the registration form once more, and it still took me right back to that registration page with my same information filled out that I did but left the password boxes empty and this is all still showing up each time the page loads up instead of creating the new user profile or redirecting me somewhere else.

    jfoster-42
    Participant

    Hi everyone,

    I know this topic has been posted to death, but I have gone through all of those old posts and tried all of their fixes and none of them are working.

    Basically, BuddyPress works fine except for allowing new users to register. When the registration form is submitted, the page refreshes with all data but the password autofilled in the appropriate fields. No user is created, but no error is given. I have double checked that registration is open on the site and that BuddyPress registration and activation pages are set up correctly. I have also tried clearing my browser cache etc.

    Interestingly, the BuddyPress Default Data plugin was able to create users without a hitch.

    I’m working on a custom theme on a local XAMPP server with BuddyPress, Advanced Custom Fields Pro, Custom Post Type UI and BuddPress Default Data being the only plugins installed. I’ve tried deactivating all plugins except BuddyPress, and the problem persists. When I deactivate BuddyPress, the problem goes away. I’ve also tried using TwentyTwelve instead of my custom theme and the problem persists when BuddyPress is active.

    I have updated to the latest version of BuddyPress (released earlier today, 2.3.0) and that has not fixed it, but the issue was also present before I updated BP. I am running WordPress 4.2.2.

    If anyone else has had this problem lately or sees anything obvious that I am missing, I’d appreciate your help!

    shaquana_folks
    Participant

    @henrywright

    So as I deactivated all the plugins (except the BuddyPress and bbPress plugin) I noticed this error message from my Dashboard just now about the bbPress plug in. Could that be the one that causing the registration page to not work?

    shaquana_folks
    Participant

    Sorry I forgot to tag you in the previous message @henrywright

    Activated plugins from my end:

    Akismet (Version 3.1.1)
    bbPress (Version 2.5.7)
    BuddyPress (Version 2.3.0)
    Contact Form 7 (Version 4.1.2)
    Contact Form Shortcode (Version 0.9)
    Jetpack by WordPress.com (Version 3.5.3)
    MOJO Marketplace (Version 0.6.0)
    SZ-Google (Version 1.8.9)
    W3 Total Cache (Version 0.9.4.1)
    WordPress Importer (Version 0.6.1)
    wp responsive photo gallery (Version 1.0)
    iFlyChat (Version 2.9.2)

    shaquana_folks
    Participant

    Akismet (Version 3.1.1)
    bbPress (Version 2.5.7)
    BuddyPress (Version 2.3.0)
    Contact Form 7 (Version 4.1.2)
    Contact Form Shortcode (Version 0.9)
    Jetpack by WordPress.com (Version 3.5.3)
    MOJO Marketplace (Version 0.6.0)
    SZ-Google (Version 1.8.9)
    W3 Total Cache (Version 0.9.4.1)
    WordPress Importer (Version 0.6.1)
    wp responsive photo gallery (Version 1.0)
    iFlyChat (Version 2.9.2)

    shaquana_folks
    Participant

    Hello @henrywright

    Thank you so much for replying back so quickly. And yes, I even tried it with the TwentyFifteen theme (which is currently at the 1.2 version). In addition, I just noticed that my BuddyPress plugin has an upgrade to now 2.3.0 so I went ahead and updated that as well. So when I tried filling out the registration page again, it still did the same thing even with that WP default theme. Any suggestions on why that’s still happening?

    #240200
    Henry Wright
    Moderator

    If you just need a quick and dirty approach for yourself to view, you could use the standard group loop to output a loop. See here.

    Then put the following snippet directly after the line: <?php while ( bp_groups() ) : bp_the_group(); ?>

    Snippet:

    <?php
    $args = array(
        'populate_extras' => true,
        'group_id => bp_get_group_id()
    );
    $group = groups_get_group( $args );
    
    if ( ! in_array( bp_loggedin_user_id(), $group->admins ) ) {
        continue;
    }
    ?>

    Notes:

    • I haven’t tested
    • This approach won’t be performant
    • I haven’t considered pagination

    That said, it should get the job done. The alternative is to write some SQL and use the wpdb class.

    #240197
    mattsten
    Participant

    I would like to find out if there is a way in buddypress to list the groups that i am admin of on the front end. If i click my groups it shows all the groups that i belong to, which is great but i belong to hundreds. I cant find a way to show a list of groups that i am admin of.

    shaquana_folks
    Participant

    Hello everyone,

    I’m still struggling with getting my registration form to work and I’m pretty much stuck right now as far as what to do next. I’ve looked at tons of tutorials, looked online for solutions, and even spoken to various tech support representatives and still came up short to not resolving this, so I’m hoping that someone can help me through here.

    I’m trying to get that page to work for my http://www.myloopnetwork.com website. Everytime I fill out the form, it keeps taking me right back to that same registration page and doesn’t create that new user profile page for me. It would still just show up on the screen like this:

    The registration screenshot

    Anything that anyone can do to resolve this issue would be greatly appreciated. I have the WordPress 4.2.2 and the BuddyPress 2.2.3.1 version, and I’m using the Magnus WordPress Theme, the 1.6 version.

    Also, is there a good plugin that anyone can recommend for me to use that will be compatible to the recent BuddyPress version as well as allowing users to upload a profile picture?

Viewing 25 results - 19,326 through 19,350 (of 94,540 total)
Skip to toolbar