Search Results for 'buddypress'
-
Search Results
-
Topic: Everything is unformated?!
Hello guys, I’m totally new to WordPress and BuddyPress by the way and I have the following Problem.
Well I’ve installed everything and configured it “right” (made a Register and Activate Page and so on) and well if I’ll change for example my Avatar, I can read this:
@parallax active right now ActivityProfileNotifications 0Messages 0Friends 0Settings ViewEditChange Avatar Change Avatar Your avatar will be used on your profile and throughout the site. If there is a Gravatar associated […]
No formating, bad looking and so on.
The same with nearly all other things like the register form, view Profile, the Members Page, and so on and so forth.I hope you can help me, if you need further information I’ll give them.
By the way, I’m sorry for my bad english, I’m not a native english speaker.
With friendly Greets,
Parallax.I just installed WordPress MU and buddypress. I Have changed all the setting to what I found searching. On network settings I have “Both sites and user accounts can be registered.” selected. Under the pages screen in buddypress the activate at register pages are not there. I have manully uploaded them to make sure they are there.
Any help would be great, getting very confused.Hi there,
i´am looking for a way to show profile fields as a currency or a percentage. I use the xprofile custom profile fields plugin to use some profile fields as number fields. However it doesn´t support a currency filter jet. I tried to following code in the custom profile fields plugin on advice as a first step:
add_filter( 'bxcft_show_field_value', 'my_show_field', 15, 4); function my_show_field($value_to_return, $type, $id, $value) { if ($type == 'number') { $value = str_replace("<p>", "", $value); $value = str_replace("</p>", "", $value); $field = new BP_XProfile_Field($id); if ($field->name == 'Waarde van je gadget (€)') { setlocale(LC_MONETARY, 'nl_NL'); $value = money_format('%.2n', $value) . "\n"; $new_value = money_format('%.2n', $value) . "\n"; } else { $new_value = $value; } return '<p>'.$new_value.'</p>'; } return $value_to_return; }this code should change profile field 15 to a currency, unfortunatly it didn’t work. I hope there is a way to do this in buddypress itself. Can somebody please help me to the right direction? many many thanks in advance 🙂
I need to disable the user access to wordpress admin panel. I do not want them to look into my site’s backend.
from login to all the buddypress activities I want in only on-page.
Is it possible to do so?
Hello. Up until the recent upgrade to wordpress ms (3.9.1), buddypress (2.0.1), and bbpress, my user’s avatars where showing just fine throughout my site. Now they only show up on the main site. I saw this thread http://buddypress.org/support/topic/v1-7-no-avatars/ but I cannot find ‘settings’, ‘discussion’ from the wp-admin dashboard. I can find settings, but not discussion. I used “inspect element with firebug” and sure enough, each avatar on the other sites is now pointing to a different folder. On main site, they point to: /wp-content/uploads/2014/03/owl_avatar0785.jpg, on the other sites they are suddenly pointing to the respective sites’ folders, instead of the main content folder.
I do have the plugin ” BP Avatar Suggestions” installed. It has worked great until now. I can’t find any settings within that plugin that would affect this. Any help would be appreciated.Hello,
I have been trying to add 2 tabs on user profile. “posts”,”gallery”
posts : my posted posts. it will display a custom-post-type “user-post”
gallery : my pictures .. or any thing.. it will display a custom-post-type “user-images”// Set up Cutsom BP navigation function my_setup_nav() { global $bp; bp_core_new_nav_item( array( 'name' => __( 'Posts', 'buddypress' ), 'slug' => 'user-posts', 'position' => 19, 'screen_function' => 'jv_user_posts', 'show_for_displayed_user' => true ) ); bp_core_new_nav_item( array( 'name' => __( 'Gallery', 'buddypress' ), 'slug' => 'user-gallery', 'position' => 20, 'screen_function' => 'jv_user_gallery' ) ); // Change the order of menu items $bp->bp_nav['messages']['position'] = 100; // Remove a menu item $bp->bp_nav['activity'] = false; $bp->bp_nav['blogs'] = false; // Change name of menu item $bp->bp_nav['groups']['name'] = 'community'; } add_action( 'bp_setup_nav', 'my_setup_nav' ); // Load a page template function jv_user_posts() { bp_core_load_template( 'buddypress/bp/cst-user-posts' ); } function jv_user_gallery() { bp_core_load_template( 'buddypress/bp/cst-user-gallery' ); }
it has successfully created 2 tabs! works ok!BUT it goes to own “cst-user-posts.php” page and “cst-user-gallery.php” page.
I mean I want to add them in /buddypress/members/sigle/home.php file
I guess the part is here on home.php
‘
<?php do_action( ‘bp_before_member_body’ );
if ( bp_is_user_activity() || !bp_current_component() ) :
bp_get_template_part( ‘members/single/activity’ );elseif ( bp_is_user_blogs() ) :
bp_get_template_part( ‘members/single/blogs’ );elseif ( bp_is_user_friends() ) :
bp_get_template_part( ‘members/single/friends’ );elseif ( bp_is_user_groups() ) :
bp_get_template_part( ‘members/single/groups’ );elseif ( bp_is_user_messages() ) :
bp_get_template_part( ‘members/single/messages’ );elseif ( bp_is_user_profile() ) :
bp_get_template_part( ‘members/single/profile’ );elseif ( bp_is_user_forums() ) :
bp_get_template_part( ‘members/single/forums’ );elseif ( bp_is_user_notifications() ) :
bp_get_template_part( ‘members/single/notifications’ );elseif ( bp_is_user_settings() ) :
bp_get_template_part( ‘members/single/settings’ );// If nothing sticks, load a generic template
else :
bp_get_template_part( ‘members/single/plugins’ );endif;
do_action( ‘bp_after_member_body’ ); ?>
‘
How can I make “if” condition for those 2 pages?
I don’t know how to create “bp_is_user_posts” or “bp_is_user_posts” functions.
if I could, I just need to add … if conditions.Please advice me!
Thanks,
pullaHello People,
i got 2 Problems.
I Add for the Buddypress Profile that people can add their Homepage Links. The Problem is now that the URL´s opened in the same tab and not in a new. Its Possible to change this? Thats when somebody clicks on the URL Link that it opened in a New Tab?
ANd 2nd:
Its Possible do Hide the Dashboard on the left side for normal Users? They cant do nothing on my site (Just a Community with a Forum and later Groups) but i think when they click on the dashboard and edit profile they think that they can change nothing Oo
Sry for my bad english guys, but i think u understand what i mean
EDIT:
Oh yeah and i Use WordPress 3.9.1, Buddypress 2.0.1, Buddypress – Who clicked at my Profile? 1.7, BuddyPress Security Check 1.2.0, Buddypress Xprofile Custom Fields Type 1.5.9.5
Still trying to wrap my head around taking advantage of these built in filters..
I need to change the alt-text here so that the member’s Full name is not shown. We’re using the “Usernames Only” plugin but it does not cover a few usages of our users’ names, such as in alt-text on /members avatars, as well as in pictures.php.
So first… avatars. The function in question:
function bp_member_avatar( $args = '' ) { echo apply_filters( 'bp_member_avatar', bp_get_member_avatar( $args ) ); } 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 ) ); $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 ) ) ); }and what I tried:
/* Hide FUll Name from member avatar */add_filter('bp_member_avatar', 'mm_hide_name_in_alt_text'); function mm_hide_name_in_alt_text() { $defaults = array( 'type' => 'thumb', 'width' => false, 'height' => false, 'class' => 'avatar', 'id' => false, 'alt' => 'Profile Picture' ); return $defaults; }Looking to understand why this isn’t working?
hey,
I would like to customize the layout of the member profile page. So I edited the
buddypress.css, dynamics.css and app.css. Everything works fine. But there is one weird
problem: after a while of doing nothing(!) the profile page layout is switching back to
normal. Well, almost. A lot of modifications are missing though. I have to re-upload
the CSS files to get it back to my customized layout. This really is weird, because I
didn’t do anything. How can that be? Is this a buddypress-problem?I never had a situation like this. It’s like some “program” gets into the files and changes
the values back to default.I hope you understand what I mean and can help me out. This makes me crazy!
Cheers
domiWP 3.9 BP 2.0.1
I have a custom registration form. It works, as it makes a new user that can login. It doesn’t work as when said user tries to login in for the first few times, it shows a white screen. After a few refreshes, everything works as intended. I suspect the problem is from buddypress, as I used buddypress default data and tried to log into one of the fake accounts and it worked fine. It only seems to be with accounts that havent yet had any BP activity. On top of that, this occurs after clicking activate in the activation email.
function create_user_from_registrant(){ $user_name = $_POST['first_name']."_".$_POST['last_name']; $user_email = $_POST['email']; $user_id = username_exists( $user_name ); if ( !$user_id and email_exists($user_email) == false ) { $random_password = wp_generate_password( $length=12, $include_standard_special_chars=false ); //$user_id = wp_create_user( $user_name, $random_password, $user_email ); $user_id = bp_core_signup_user( $user_name, $random_password, $user_email, '' ); } else { $random_password = __('User already exists. Password inherited.'); } mail($user_email,"Five Star Connect Beta Credentials","Thank you for registering for The Five Star Connect Beta. Your username is $user_name. Your temporary password is $random_password <a href='http://thefivestar.com/fsc-beta/members'>Click here to log-in.</a>"); echo $user_id; die(); }Above is my registration code. I have also tried by using wordpress’s registration function as opposed to the bp_core_signup_user function.
Please halp 🙁
I just installed Buddypress, on all the buddy press page i have observed some words which i am not able to remove you can see it live here (lkujhbkj0) it happens on all buddypress pages, how can i remove it?