Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 27,601 through 27,625 (of 94,562 total)
  • Author
    Search Results
  • shanebp
    Moderator

    > I have a million other things to code at the moment

    Thanks for taking the time to post your code.

    If you’d like to suggest an enhancement, please use trac to submit a ticket.

    #175885
    Shmoo
    Participant

    Better customisation options of the activity stream: ie to be able to define a set of “or” filters for content type, and who. So (with plugin support) I can define a feed to include things from “me or friends or followers” showing “topics and topic replies and posts and new users” (and ideally be able to have a permalink to this with no other fluff on display). The current activity feed selectors are a mess and don’t provide what most people want to see.

    Should be nummer 1.

    And I don’t even want lots of new features to the activity stream but first just an easy way to customize the default lay-out would be so much pleasant!

    All BP pages are very easy to customize, move code around to give the page an unique feeling but when it comes to the activity stream the code is very fixed.

    There are about 50-75 Premium BuddyPress themes online for sale and 99% of them have the same activity stream page-layout. While all those premium theme developers can do lots of customization to all other pages the activity stream is like Twitter’s Bootstrap to BuddyPress it always tells you it’s a BuddyPress website without looking at the code.

    #175882
    glyndavidson
    Participant

    I’ve been tampering with the legacy templates and found that when I visit: http://%site_url%/members/%user_name%/friends/, the drop-down select box to order the friends lists was making things crash.

    Looking at the code (buddypress/bp-templates/bp-legacy/buddypress/members/single/friends), the drop down select box has the command ‘bp_member_blog_order_options’ following it.

    <select id="members-friends">
     <option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option>
     <option value="newest"><?php _e( 'Newest Registered', 'buddypress' ); ?></option>
     <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option>
     <?php do_action( 'bp_member_blog_order_options' ); ?>
    </select>

    Shouldn’t this be something more like ‘bp_member_friend_order_options’?

    ryan_the_leach
    Participant

    Would it be possible to create users programmatically from an external source, and sending a session link to a user that allows them to log in and “claim” their account and fill in an email address and password?

    The problem is the external source allows users to change their username, and only ties an identity to an UUID, would this cause an issue with buddypress or would it be possible to use the external sources username as a displayname and allow users to create a username at the same time as filling in their email address and password?

    Jake
    Participant

    Wanted to add different color borders around admin avatars, moderators, premium members, free members, etc to allow for easy identification of community roles. Unfortunately there are no CSS selectors in the avatars natively to do this…

    As a solution I updated the function bp_get_member_avatar(), it now gives an ID to each avatar depending on the user’s role/capabilities

    	function bp_get_member_avatar( $args = '' ) {
    		global $members_template;
    
    		$fullname = !empty( $members_template->member->fullname ) ? $members_template->member->fullname : $members_template->member->display_name;
    
    		$defaults = array(
    			'type'   => 'thumb',
    			'width'  => false,
    			'height' => false,
    			'class'  => 'avatar',
    			'id'     => false,
    			'alt'    => sprintf( __( 'Profile picture of %s', 'buddypress' ), $fullname )
    		);
    		//START EDIT HERE
    		$user = get_user_by('login', $members_template->member->user_login); //RETREIVE WP USER OBJECT
    						if($user){
       							if (user_can($user,'edit_users')){ //CHECK USER CAPABILIRY
    								$defaults['id'] = 'admin_avatar'; //ASSIGN ID BASED OFF USER ROLE
    							} 
    							elseif (check_role($user->ID,'moderator')){//CHECK USER ROLE
    								$defaults['id']  = 'mod_avatar';
    							}
    							elseif (user_can($user,'premium_member')){
    								$defaults['id']  = 'prem_avatar';
    							}
    							else {
    								$defaults['id'] ='free_avatar';
    							}
    						}
    
    		$r = wp_parse_args( $args, $defaults );
    		extract( $r, EXTR_SKIP );
    
    		return apply_filters( 'bp_get_member_avatar', bp_core_fetch_avatar( array( 'item_id' => $members_template->member->id, 'type' => $type, 'alt' => $alt, 'css_id' => $id, 'class' => $class, 'width' => $width, 'height' => $height, 'email' => $members_template->member->user_email ) ) );
    	}
    

    Note: This can be made much more flexible by turning it into it’s own function, but I have no need for that right not (lots of other stuff to configure).

    #175874
    yourbizcafe
    Participant

    Hi,

    I have WordPress Version 3.8 and BuddyPress 1.9. My website http://yourbizcafe.net is a multisite. Now my problem is that when I do a test user. (not actually putting test in the registration) there is no user in my admin panel that says pending and There is no email to my test user or to me the admin. I check the server logs with my host and the email didn’t go out. I even attempted to manually ad user.

    Hence the disappearing act title in this post. Please help?

    Thanks,

    Your Biz Cafe

    P.S. Registration worked before and i turned off a few plugins that I know dont play well with others. I am at a total loss here. Registrations are enabled.

    #175873
    @mercime
    Participant

    But all of a sudden nothing works.

    WP/BP versions? Theme used, plugins installed? https://buddypress.org/support/topic/when-asking-for-support-2/

    #175854
    max.sadlowski
    Participant

    Hello Community,

    I have a network of sites. I have installed buddy press and can do almost everything I want. The only problem is that I cannot access buddy press menu items in the networked sites. In my home site, I can add buddy press specific links (Logged in and logged out options, dynamic to profile). I cannot get this to show up in the networked sites. Is there any work around that I can use similar links with?

    BTW – I tried using BP Dynamic Links plugin but it is broken in the newest BP/WP 3.8 instal.

    Thanks for any help in advance.

    airsid
    Participant

    Ok I will follow your advice, thanks.
    I’ve seen i can disable the notifications function in buddypress settings so no hurry anymore 😉

    #175852
    sbmdesigns
    Participant

    This may be outside of the scope of buddypress, but I thought I’d ask anyways… Here is my setup..

    I have a CPT labeled ‘Artist’ that is connected to another CPT labeled ‘Song’ via P2P.

    What I am trying to accomplish is to have the ‘Artist’ CPT behave like a user and allow users to follow individual ‘Artists’. Then, Whenever a user follows an ‘Artist’ and a ‘Song’ CPT is posted, it will show in the activity stream as “%Artist% released a new song, %Song%”.

    I currently have the “Songs” being displayed in the activity stream but it is based on the author/user that posted it. (“%User% posted a new song, %Song%”).

    #175849
    Henry
    Member

    @colabsadmin

    EDIT: You might want to raise this issue on Trac:
    https://buddypress.trac.wordpress.org/

    #175841
    shanebp
    Moderator

    You need to look at the s2member documentation to figure out how to gather all the ids for level1 members.

    Then you can use the ‘include’ parameter in this approach:
    https://codex.buddypress.org/developer/bp_user_query/#code-examples

    #175838
    Henry
    Member

    @macpresss

    Take a look at this page to see the parameters accepted:

    Profile Fields Loop

    Perhaps try using profile_group_id:

    By default all groups and all fields will be displayed. If you provide the ID of a profile field group, then only the fields in this group will be displayed

    So it would be:

    if ( bp_has_profile( 'profile_group_id=2' ) ) :

    Where 2 is the ID(s) of the group you’d like to include. I think it should take a comma separated list but I haven’t tested.

    airsid
    Participant

    Thanks @mercime for your quick answer.
    But i’m a french novice and i’m not understanding very well what to do in the https://buddypress.trac.wordpress.org/ticket/5299 topic.

    Should I install thos patches:
    5299.01.patch​ and 5299.02.patch​

    or should I follow indications in lastest johnjamesjacoby’s comment:
    In 7689:
    Notifications:
    Add templates and parts for bp-default theme. Also modify home.php to include notifications.php.

    or should I do the both ?

    Sorry for asking but no access to notfications is important for my users 😉
    Alos do you have an idea when the next update will be released ?
    Thanks.

    #175835
    Hugo Ashmore
    Participant

    Checking recent forum topics is always a good idea, and/or searching in case similar issues have been raised and answered:

    https://buddypress.org/support/topic/buddypress-1-9-update-made-the-default-bp-theme-gone/

    #175833
    FraVit
    Participant

    Hi,
    with Buddypress 1.9, I don’t found Buddypress default theme to reactivate in the themes space of dashboard.

    can You help me?
    Thanks and … sorry for my English

    FraVit

    #175829
    @mercime
    Participant
    #175828
    modemlooper
    Moderator

    wp_dequeue_style(‘buddypress’)

    #175827
    modemlooper
    Moderator

    just leave buddypress.css blank if you want to kill all bp styles from being loaded by the plugin. You could also deregister the css file from getting loaded

    Template overiding works in same manner as the css file.

    #175826
    jedifunk
    Participant

    @modemlooper thanks for the help!

    yes, the documentation on this site for the theme override is extremely limited and definitely confusing…

    the single page on this site talking about the add_theme_support function was very vague, and not worded well… certainly giving the impression that it WAS necessary in order to override.

    to use custom pages/loops/etc, do i still need to have the /buddypress/activity/file.php in my theme?

    lastly, i don’t like the idea of being required to load another css file to override styles… i’d prefer to just use the styles.css file. it also makes writing the css a pain since everything requires the use of the #buddypress ID… not very elegant IMO.

    with 1.8 it was working great, i had the default styles off, and was able to add my bootstrap classes, and style only what i needed.

    am i missing something here?

    @mercime
    Participant
    #175819
    petdailypress
    Participant

    This plugin: Buddypress Xprofile Custom Fields Type, had a conflicting field that I couldn’t see in my original theme. So I switched over to Twenty Twelve and the extra field popped up. So, I just deleted the (invisible) conflicting field from the profile, which allowed the Registration process to move forward.

    #175816
    modemlooper
    Moderator

    remove those, you don’t have to add anything to a theme. Was there a reason you thought to add this?

    To override css create a css folder in your theme folder and copy over the buddypress.css file from /bp-templates/bp-legacy

    Then edit the buddypress.css file in your theme folder

    #175813
    jedifunk
    Participant

    hey all;

    i’m using my own theme (from _s), have add_theme_support('buddypress'); in the after_theme_setup action in my functions.php file in the theme.

    i also have wp_enqueue_script calling to /buddypress/bp-templates/bp-legacy/js/buddypress.js which does load the the file.

    problem is that nothing loads, just blank where the_content should output buddypress. so no activity, no members.

    if i comment out the add_theme_support function, everything shows up as expected, but its style with all the default buddypress css (which is what i was planning to override with my own css).

    my understanding was that the add_theme_support was supposed to allow for this. it was working just fine in 1.8.1 and only the update to 1.9 killed it.

    i don’t have any other plugins installed, its a clean, new theme…

    what am i missing? any help is very much appreciated.

    thanks.

    #175812
    @mercime
    Participant

    Upgraded to 1.9 and the Register page is suddenly blank.

    Blank as in the whole page is blank or do you mean there’s no content under the Register title?
    Have you checked Settings > BuddyPress > Pages to see if there’s still a page assigned to the Register section?

Viewing 25 results - 27,601 through 27,625 (of 94,562 total)
Skip to toolbar