Search Results for 'buddypress'
-
Search Results
-
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’?
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?
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).
Topic: User Registration Disapears
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.
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.
Topic: Follow Custom Post Type
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%”).
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 EnglishFraVit
hey all;
i’m using my own theme (from _s), have
add_theme_support('buddypress');in theafter_theme_setupaction in my functions.php file in the theme.i also have
wp_enqueue_scriptcalling to/buddypress/bp-templates/bp-legacy/js/buddypress.jswhich 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.