Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 25,276 through 25,300 (of 94,569 total)
  • Author
    Search Results
  • DarkElement1987
    Participant

    I recently installed this ‘Buddypress Global Notifications’ (Sidewide notice?) widget and put up a message there that i was doing a backup, everything worked fine, there was a yellow bubble showing up within the sidebar so that was cool.

    After i was finished with the backup i removed the widget. But now for new users the notification still appears (while the widget isn’t even there!)

    I tried putting a new notification there but there isnt even a messagebox anymore, i can only fill in a title for the sidebar, i think something is messed up. (probably something in the cache?)

    I temporary “solved” (well, solving?) this by putting a sidebar widget at the bottom, and the old message (which i can’t even edit) is there.

    I’m using both the newest versions of Buddypress & WordPress and didn’t edit any php.

    Website: ps4actueel.nl

    #183273
    danbp
    Participant

    hi @dio1987,

    give this a try. Component name will be removed only when you’re on a profile

    
    function my_profiles_wp_title( $title ='', $sep = '', $seplocation = '' ) {
    	if( bp_get_displayed_user_fullname() ) {
    		$bp = buddypress();
    		
    		// Get the component's ID to try and get it's name
    		$component_id = $component_name = bp_current_component();
    		
    		// Use the actual component name
    		if ( !empty( $bp->{$component_id}->name ) ) {
    			$component_name = $bp->{$component_id}->name;
    			
    			// Fall back on the component ID (probably same as current_component)
    		} elseif ( !empty( $bp->{$component_id}->id ) ) {
    			$component_name = $bp->{$component_id}->id;
    		}
    		
    		$title = str_replace( ucwords( $component_name ), '', $title );
    	}  
    	return $title;
    }
    add_filter( 'bp_modify_page_title', 'my_profiles_wp_title', 20, 3 );
    theatereleven
    Participant

    I’m trying to show an image on a profile based on whether a check box is checked in the extended profile.

    For example, on a normal WordPress site I do this with custom fields like this:

     <?php if (get_field('badge_certified')): ?>
      <div class="badge"><img src="<?php echo get_bloginfo('url'); ?>/media/badge-certified.png" class="tooltips" title="Certified Member"></div>
     <?php endif; ?>

    The above code only shows the badge if the ‘badge_certified’ custom field is filled out.

    So if I have a BP extended profile checkbox named ‘Certified Member’ and I want an image to display if that field is checked, how could I do this?

    Thanks to anyone willing to help out!

    #183264
    theatereleven
    Participant

    Hey, did anyone get this working? I too need a WYSIWYG editor for the text areas in the BuddyPress profiles. Can’t live without that.

    Henry – I see your notes above, but a little hazy on where to put that in my edit.php file. Would you be able to spell it out more?

    Basically, my edit.php file now shows this:

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    			<div<?php bp_field_css_class( 'editfield' ); ?>>
    
    				<?php
    				$field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    				$field_type->edit_field_html();
    
    				do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
    				?>
    
    				<?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
    					<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    						<?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _e( 'Change', 'buddypress' ); ?></a>
    					</p>
    
    					<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
    						<fieldset>
    							<legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend>
    
    							<?php bp_profile_visibility_radio_buttons() ?>
    
    						</fieldset>
    						<a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    					</div>
    				<?php else : ?>
    					<div class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    						<?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?>
    					</div>
    				<?php endif ?>
    
    				<?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
    				<p class="description"><?php bp_the_profile_field_description(); ?></p>
    			</div>
    
    		<?php endwhile; ?>
    theatereleven
    Participant

    Hey BuddyPressers.

    I’m brand spanking new to BP. I’m used to building themes from scratch in WordPress, and for designing a site, I’m a custom post type/custom field addict.

    With that said, I have a current site that just launched with user profile pages that are really custom post types, with a bunch of custom fields assigned to them. I’m now moving this site to BuddyPress, and after looking at instructions on theme development, my approach is to take my existing styling, and instead of calling in custom fields, I’m using:

    <?php bp_member_profile_data( 'field=Name' ); ?>

    to fully construct the profile pages. For each custom field I currently have, I’m adding an extended profile field in BuddyPress.

    Does that make sense? Because this seems really easy to implement which is really nice!!!

    Any comments appreciated….I don’t want to do it wrong.

    (And yes, I’ve moved the buddypress and css folders to my theme’s root, and am styling the profile page using buddypress.php in the root of my theme)

    #183259
    DomDom2013
    Participant

    Hi,

    I am the admin of my site. I want to be able to create a group and attach it another admin (not myself). So far the process is rather complicated and I am afraid that when I tell my client he has to jump back and forth from frontend to backend, it confuses him since he’s not very handy with buddypress.

    So here’s the step I have to take so far:
    Frontend: create group

    Go to backend: delete myself as admin, then add new member, then select him as admin

    What I want:
    Have the backend OR frontend give me an option to create a group for a certain user.

    Any ideas? Am I missing something here?

    saxisme
    Participant

    Hello everybody,

    My client is complaining that when he filters the activity stream content (buddypress dropdown filter) and moves to any other page, as soon he gets back to the activity stream the filter is still active.

    Same problem when a search in made, if there is a previous filter applied from the dropdown, the search results might give no content, which is ambiguous since actually there is the filter activated.

    (Hope it makes sense!)

    Thanks in advance if someone can give me a hint on how to solve this.

    joesegal
    Participant

    Sorry to drop in on your thread but I was hoping you all might be able to recommend a buddypress developer to me? Please let me know if you can. Thanks!, Joe

    #183251
    saxisme
    Participant

    @danbp, thank you very much!

    Surely this leads me to the right direction – I am now using this function in other parts of the site.

    What I am struggling to to is something slightly different: put the xprofile field (Company) after the user name, in the same user profile link.

    Ex: <a original-link-to-member-profile-page>saxisme - company xyz</a> posted a content in the group ABC.

    I am starting to play with what @danpdfr is posting here

    Thank you in advance!

    danbp
    Participant

    The add friend button contains an ajaxified url, a cookie, a nonce and some other stuff. By default, this button is intended to be on members directory and on the profile header.
    Open /bp-friends/firends-widget.js to see how BP actually handle this.

    If you absolutely need to have this button elsewhere, a custom page for example, you need to extend the original class witch is in bp-xprofile-loader.php:38 (BP 2.0.1)

    Otherwise, any action on this added button will always return to the member profile page after a click and not reload like it does when in the member directory.

    I’m not a developper so i can’t help you more.
    Perhaps read here for better understanding of this button.

    File reference

    #183241
    latinosamorir
    Participant

    Hi.

    So I’m using Gravity Forms User Add On and Autochimp. What was happening was that Gravity Forms updated buddypress profile fields using the function: xprofile_set_field_data() but Autochimp was not updating the subscribers list with this information.

    Autochimp updates your subscriber list with buddypress profile fields when the buddypress profile fields are updated, it uses this action: xprofile_updated_profile

    However, this action: “xprofile_updated_profile” is only available here: bp-xprofile-admin.php line 659 in function user_admin_load() and here: bp-xprofile-screens.php in line 134 in function xprofile_screen_edit_profile(). It is not available in the function xprofile_set_field_data() that Gravity Forms and many other plugins use.

    The action should also exist in the function xprofile_set_field_data() in the file bp-xprofile-functions.php .

    However, my php level is 5 out of 10 and the format of filters/hooks and object programming is still not 100% clear to me.

    If I add the action below “return $field->save();” I assume it won’t happen since the function ends at return, yes?

    But I also can’t add it before because the data has not saved and there might be some errors. I saw there were 3 save() functions in bp-xprofile-clases.php and couldn’t figure out which one was being called.

    All 3 functions do have this action: “xprofile_data_after_save” but it’s an array and I have no idea how to manage that.

    This is how Mailchimp calls the action:

    add_action('xprofile_updated_profile', array( $this, 'OnBuddyPressUserUpdate' ), 101 );

    inside this function

    public function SyncBuddyPress()
    	{
    		// Used to sync users with MailChimp
    		add_action('xprofile_updated_profile', array( $this, 'OnBuddyPressUserUpdate' ), 101 ); 
    		add_action('bp_core_signup_user', array( $this, 'OnBuddyPressUserUpdate' ), 101 ); 
    	}

    And the function the action calls is this:

    public function OnBuddyPressUserUpdate( $user_id = 0 )
    	{
    		if ( 0 == $user_id )
    		{
    			// Get the current user
    			$user = wp_get_current_user();
    		}
    		else
    		{
    			$user = get_userdata( $user_id );
    		}
    		// Pass their ID to the function that does the work.
    		AC_OnUpdateUser( $user->ID, $user, TRUE );
    	}
    

    I have multiple questions:

    – why does the action get called with an array? what’s $this?
    – how can I make Autochimp update when this function is called: xprofile_set_field_data()

    Thank you in advance!

    #183240
    HGstephengreenberg
    Participant

    Hi all, I’ve been researching this topic for some time and I realized it may make more sense to just ask the Buddypress community.

    I’m working with a client who would ideally like to translate certain elements from their buddypress registration into completely personalized (and automated) emails.

    I think her inspiration is something like Netflix: You watch a movie and it automatically suggests more that fit the category based upon genre. In the case of our website, you write a certain person in the “inspiration” field in the sign up form, it suggests you connect with more folks who put that same person in their “inspiration” field.

    I know it would be crazy to ask for a step-by-step set of instructions to make this happen, but maybe someone could point me in the right direction in terms of plugins? Are there any plugins out there that might help me accomplish this? Does anyone have any experience with a similar idea that they are willing to share with me? We are at the very early stages of this process and we need any guidanc0 we can get.

    Thank you all!

    sfikas
    Participant

    I forgot to mention the version of buddypress and wordpress in my previous post.
    Buddypress 2.0.1
    Wordpress 3.9.1

    Hi all, @bphelp,@henrywright

    can you please check out my buddypress theme (BP Timeline) and give any honest suggestion before i release it.

    I can finish some of the little bugs in 1 day or 2 but i am currently on holiday in africa with my family so i will release the theme when I am back.

    So please leave your feedback and any more feature requests.

    here is the link: http://goo.gl/ZMDAPG

    Password: demo

    user: demo

    thanks

    Naijaping

    The Doctor
    Participant

    Hi!

    Whenever someone updates their profile Buddypress automatically adds <p> Name Lastname </p>

    I can’t really figure out why, but I noticed it when the name in the profile-admin bar got messed up:

    And when I go My profile in WordPress it looks like this:

    I can remove the tags and update profile within wordpress and everything is ok again, but I can’t go on doing this with every single member whenever they update their profile via buddypress.

    How can I prevent this?

    Thanks in advance

    benedictelrt
    Participant

    Hello,
    I’m writing a topic because I have a problem. Whatever the status of the member, writing to post a comment and to write a message on our own page or on a group page does not work.
    I don’t really understand why, because the first time I tried to post something it worked but other time it was written “Are you sure?” with a link which ask me to retry.

    I’ve updated the website in 3.9.1 in order to install BuddyPress. I’ve tried to desactivate some plugin. I’ve desactivated BuddyPress uninstalled it, deleted the database.
    But nothing’s changed

    Do you have any idea to answer to my issue?

    PS : Sorry for my bad English :/

    ShaneValiant
    Participant

    Good day,

    I am using multisite and the same theme for both my forums and my help desk. It is required to register independent of one another, although if a user is a user of one and is logged in, and is on the register page for the other, this is a one click process.

    The issue is that when a user of both ‘sites’ (using sub-folders) posts something from their dashboard, it shows up on both installs.

    I have emailed the theme Dev and he instructed that it is not supposed to occur and that it may be a multisite problem. Has anyone else experienced this? Is their a line or two of code that could be added to the Htaccess in the main file that would keep this user compartmentalized with separate Buddypress profiles? Any help would be great as this site is literally days from beta and we have put months of effort into getting where we are today.

    Kindest Regards,
    Shane@Valiant

    #183209
    danbp
    Participant

    Good idea but not yet implemented. But hopefully in 2.1 … Read this ticket

    #183208
    danbp
    Participant

    Maybe read here, the post and all the comments:

    Fetching and Showing only Specific fields from BuddyPress XProfile data

    #183206
    nolls
    Participant

    Hi,
    I’m new in this support forum. But I’ve got a german social network with buddypress for more than 2 years. I’ve got a question refering notifications.
    Is it possible to get checkboxes to delete more than one notification on a time, like messages?
    It takes such a long time to delete every single notification after another.
    With a checkbox delete all it would be much faster.

    #183205
    shanebp
    Moderator

    You may find some hints here:

    Add Meta Box to Admin Extended User Profile

    #183204
    shanebp
    Moderator

    You can always submit a ticket at
    https://buddypress.trac.wordpress.org/

    guoyunhebrave
    Participant

    After disabled BuddyPress, robots didn’t stop. I am almost sure the robot can skip the register page (both WordPress signup.php and BuddyPress register page).

    Maybe robots have a backdoor to register on WordPress. I don’t know how to further test.

    #183201
    erickojitoz
    Participant

    Yes I assigned each page. For example, activity for activity, members for members, etc. And it makes the change, because for example, when plugin activated the page activity shows “Sitewide Activity” as tittle, when BP is inactive only shows “Activity”.

    I tried creating a buddypress.php page, I even changed the header and footers. I moved all the documents from bp_template/legacy and didn’t work. I tried copying the basic structure from the default themes and nothing.

    When I activate other themes, they perfectly work, so thats why I think the problem is in my template.

    I am doing something wrong?

    #183200
    wpsyn
    Participant

    Hey there,
    I’m new to WordPress and BuddyPress.
    I wanted to add a custom field next to the user-role in the user metabox, which is in the admin backend for groups.
    I already add a html inputbox, but I don’t where I can get the value in BuddyPress and save it.
    Could you guys help me with that?
    Greets from germany

Viewing 25 results - 25,276 through 25,300 (of 94,569 total)
Skip to toolbar