Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 19,026 through 19,050 (of 68,969 total)
  • Author
    Search Results
  • #171365
    Eric J T
    Participant

    this page

    https://codex.buddypress.org/user/setting-up-a-new-installation/group-settings-and-roles/

    Says there’s supposed to be a place admins can change group avatars and do other things, but the functionality listed is nowhere to be found in the installation. What’s going on with this? If a user creates a group and doesn’t use their one chance to upload a group avatar there seems to be now way to change it.

    #171364
    modemlooper
    Moderator

    If you don’t want to edit core files then create the same files in your theme folder with the same folder structure and those files will override BP.

    copy file from:

    buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php

    to:

    your-theme-folder/buddypress/members/single/profile/edit.php

    #171363
    modemlooper
    Moderator

    open file edit.php in buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php

    find:

    <?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>
    
    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘buddypress’ ); ?><?php endif; ?></label>
    <input type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/>
    
    <?php endif; ?>

    change to:

    <?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>
    
    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘buddypress’ ); ?><?php endif; ?></label>
    <input <?php if ( bp_get_the_profile_field_input_name() == ‘field_1′) : ?>maxlength=”10″<?php endif; ?> type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/>
    
    <?php endif; ?>

    that will limit the profile username form field. To limit the sign up name you add maxlength to the register.php form input for username. change max length to however long you want to cut the name off at.

    <input maxlength="10" type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />

    #171355
    @mercime
    Participant

    @gearmx whether BP is installed or not, only the Site/Super Admin can delete a member (delete_users, remove_users). Group Administrators can already Kick and Ban the member from the group and can contact Site Admin to delete the users if necessary. Having said that, if you still want WP Author roles to have capability of deleting users, contact plugin author or check if your Role Scoper plugin can add the function to delete a member by anyone with Author role.

    #171353
    @mercime
    Participant
    #171352
    @mercime
    Participant
    #171350
    palmdoc
    Participant

    I am looking for a solution for bbPress 2.4 + Buddypress 1.81 to display Buddypress @username instead of the full name in the forums – just like these forums!
    I know this is an old thread and the plugin posted by @ekawaii is no longer in existence.

    #171349
    @mercime
    Participant

    If there’s a tutorial on how to convert the default pages into buddypress ones I’d take that too.


    @ptvstudios
    BuddyPress components are in fact inserted into the default pages (page.php) of WordPress themes and have only the basic styles so that the elements of the BP components would take on the styles set up by your theme for a more seamless integration.

    If the BP pages are showing as full-width, it could most probably be because the default page of your premium theme is full-width in the first place. To make all BP pages 2 columns, find your theme’s template with a 2-column layout and copy source code over to a new file named buddypress.php, save and then upload buddypress.php to your theme folder in server. If this doesn’t work out for you, please contact the premium theme author to help you set up the buddypress.php file to 2 columns. Good luck!

    #171347

    In reply to: Sitewide Activity

    rameshwor.maharjan
    Participant

    My problem is I don’t want to display user specific activities. it should list all the activities regardless of which page you are on. However I have found the solution. On members profile page it takes scope=only-me parameter by default which forces to load activities from current logged in user. Below is the completed plugin for my project which I uploaded to WordPress.

    Cheers!!! and thanks for the help.

    https://wordpress.org/plugins/buddypress-activity-sidebar-widget-resubmission/

    #171342
    GearMX
    Participant

    If anyone has any advice, it’s much appreciated… if I can better explain:

    I want authors of groups to add/delete members to their group, but they disappear on the dashboard (when not Admin)

    resistoyen
    Participant

    @mercime

    Thanks you a lot, apparently i solve the problem now by changing more the style.css of the child theme.

    Here’s the working code of style.css but it needs the change of buddypress.php that @mercime gave us previously. The code may not be perfect as i copyed what i found on the net + i added a code that is present in the main style.css of oxygen theme, which refers to the full-width layout.

    /*
    Theme Name: Oxygen Child Theme
    Author: Self-Help WordPress User
    Template: oxygen
    */
    
    @import url("../oxygen/style.css");
    #tertiary {
    display: none;
    }
    #content {
    margin-right: 0 !important;
    }
    .bp-full-width {
    width: 100% !important; 
    }
    
    .bp-full-width #content { width: 100%; }
    .content-wrap {
    	float: right;
    	width: 79.78723404255319%;	/* 750 / 940 = 0.79787234042553 */
    }
    .bp-full-width{ width: 100%; }
    #content {
    	float: left;
    	width: 62.66666666666667%;	/* 470 / 750 = 0.6266666666666667 */
    	margin: 0 0 30px 0;
    }
    .aside {
    	float: left;
    	width: 17.02127659574468%;	/* 160 / 940 = 0.1702127659574468 */	
    }
    #sidebar-primary {
    	float: left;
    	width: 100%;	/* 160 / 940 = 0.1702127659574468 */
    }
    #sidebar-secondary {
    	float: right;
    	width: 33.33333333333333%;	/* 250 / 750 = 0.3333333333333333 */
    }
    

    Thanks again @mercime !!

    #171336
    Unsal Korkmaz
    Participant

    Erlend, i would suggest you to wait commercial release for group customization. I am preparing those content blocks to work in user profiles & buddypress groups.

    For people interesting, this is an example of content block usage in bbpress replies: http://theme.firmasite.com/support/topic/firmasite-as-a-childtheme/#content_block5
    Think about using this in user profiles & buddypress groups !!

    resistoyen
    Participant

    @mercime

    Thx a lot for you help here. There is some change but it’s not working yet.
    Though, this is encouraging as it have now an effect, but not the good one.

    Here’s the screenshots of 2 tests

    The code of my style.css of child theme

    /* Theme Name: Oxygen Child Theme
    Author: Self-Help WordPress User
    Template: oxygen */
    @import url("../oxygen/style.css");
    
    .bp-full-width {
    width: 100% !important;  }

    The effect is different: the bar go to left just under the main menu, which is the right place where it should be ! But the bar remains too little. I got the same effect with a 940 px width, which is the normal px of the full-width of oxygene.

    with 100% or 940 px

    Then i tryed to put 1500 px, or 200% to see if the bar go longer :

    1500px

    I searched for like one hour or two by now on google to find the right thing & still trying. I also tryed on main theme, changing the stylesheet. Same effect.

    Here’s the codes of all this documents.

    buddypress.php : http://pastebin.com/xs8BUN14

    Again, thanks for your help

    #171333
    mirgcire
    Participant

    @bp-help

    Thanks for the suggestions, but, those manuals did not help. They did give me lots of things to divert my attention when I should have been working on solving this issue.

    I am still trying to add someone to a group.

    It seems there are two ways people can become users of a site, the first is to have the admin register them with “add user” and the other way is to allow them to self register. Currently I am exploring self registration, but still haven’t figured out what role buddypress plays in the registration process.

    #171329
    catwomanbadkitty
    Participant

    I’m having the same problem on Buddypress 1.8.1 and latest WP 3.6. I am using Suffusion as my theme. The Leave Group button is appearing twice on the Groups list page on each group description.
    To fix this I went into my child theme folder and edited groups/groups-loop.php

    I deleted the following:

    Line 40 <?php bp_group_join_button() ?>

    Line 46 <?php do_action( ‘bp_directory_groups_actions’ ) ?>

    If you do this then users will not be able to join groups from the Groups list page but will have to click on the link for a group and then click the Join Group button from the Group description page. If you want to keep a Join/Leave group button on the Group list page then you will have to experiment with leaving line 46 most likely.

    @mercime
    Participant

    I created a buddypress.php by copying the code tooked from the page-template-fullwidth.php. It didn’t work


    @resistoyen
    sometimes it doesn’t work right away. To continue, using this page as reference:
    https://themes.trac.wordpress.org/browser/oxygen/0.5/page-template-fullwidth.php?rev=24186

    a) Remove the following from your buddypress.php file
    Line 3: Template Name: Full Width
    Line 13-17: <div class="aside"> to closing </div>

    b) Change Line 21 from
    <div class="content-wrap">
    to
    <div class="content-wrap bp-full-width">

    c) Add this to your theme’s stylesheet

    .bp-full-width {
    width: 100% !important; 
    }
    @mercime
    Participant

    @valuser great! Marking this as resolved.

    valuser
    Participant

    Hi, @mercime

    your suggestion worked like magic.


    @chouf1

    just right- now your suggestion also worked !!

    many thanks.

    danbp
    Participant

    hi @valuser,

    the bp_is_blog_page function is missing to hide the calendar when on BP pages.

    The place with the weird output contains an overcomplicated method to show a title. IMHO there is no need to use so many conditionnals to show a post title…. So I replaced it by the h1 stuff used in Twenty Thirteen.

    You will probably need some adjustment into CSS too. So far i can see there is no other trouble with BP. Nice theme !

    remove/replace the following into /partials/part_article_header.php

        <?php
        // Article calendar
        if ( bp_is_blog_page() ) :  //  if it returns true, it's not a BP page.
    	
        if (!is_page() && !is_search()) : ?>
    	<div class="calendar event_date">
    		<span class="month"><?php echo strtoupper(get_the_date('M')); ?></span>
    		<span class="day"><?php echo get_the_date('d'); ?></span>
    		<span class="year"><?php echo get_the_date('Y'); ?></span>
    	</div>
        <?php endif; 
               endif; // ending bp_is_blog_page ?>
    
        <h1 class="entry-title">
            <?php if ( is_single() ) :  ?>
                <?php the_title(); ?>
            <?php else : ?>
                <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    			 <?php endif; ?>
        </h1>
    #171312
    rameshwor.maharjan
    Participant

    Hi,

    Is this what you guys looking for?

    http://webavenue.com.au/buddypress-activity-sidebarwidget/

    #171305
    catwomanbadkitty
    Participant

    The above plugin does not exist and the code must be outdated.

    I am on Buddypress 1.8.1 and WordPress 3.6. I want to remove Activity from the member profile. I was able to style it out by placing the following into my childtheme CSS file:

    #user-activity {
    display: none;
    }

    I then made my Profile tab display first using the following in bp-custom.php:

    // define the profile tab that opens by default
    define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    So activity does not appear, however if you type in the URL: mysite/members/username/activity the Activity stream is still there.

    Any best practices for getting rid of Activity in the Profile.
    I also want to make changes to the main Activity stream and Group Activity stream so a point to good resources would be great.

    #171300

    In reply to: Sitewide Activity

    bp-help
    Participant

    @rameshwormaharjan
    Why try to reinvent the wheel? Try this:

    BuddyPress Sitewide Activity Widget


    If that doesn’t work for you then at least study the code to see where you are going wrong.

    resistoyen
    Participant

    Oh sorry sure, thanks for the fast reply, my problem is that the page don’t want to show up with full-width as in the screenshorts here.

    BuddyPress don't want full width
    Normal fullwidth page working

    @mercime
    Participant

    hnla, valuser and I are long-time acquaintances 😉


    @valuser
    Could be the missing opening and closing divs. Not going to be as easy as BP template pack IMHO 🙂

    We could try the alternative way for theme compatibility which is creating one file to take care of all the BuddyPress pages. So backup the buddypress/groups/index.php you made and delete the index.php along with the BP folders you created from your theme folder in server. Then create a file, buddypress.php and add http://pastebin.com/EsBMTpSG and upload this to the root of your theme folder in server i.e., wordstrap/buddypress.php

    Hugo Ashmore
    Participant

    Please bear in mind primary purpose of support here isn’t providing solutions for third-party themes.
    You’ll need to track down why it isn’t working, and as mercime suggests, create a custom override template for BP screens.

Viewing 25 results - 19,026 through 19,050 (of 68,969 total)
Skip to toolbar