Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 25,251 through 25,275 (of 94,555 total)
  • Author
    Search Results
  • Andrew
    Participant

    Hello,

    I am trying to use BuddyPress with a theme from the standard WordPress repository, however whenever I activate BuddyPress I lose the ability to modify the theme options, and the ability to use the mobile-friendly menu.

    The theme I am using can be located here: http://wordpress.org/themes/flat

    WordPress Version: 3.9.1
    BuddyPress Version: 2.0.1
    This site is locked down using the WP-Members Only plugin because it is being used as an internal communications platform for a church youth group.

    If you could help me out with finding a solution to this, it would be greatly appreciated!
    Andrew

    #183301
    theatereleven
    Participant

    I’m finally back on this – have installed the new BuddyPress.

    Have a problem: there are no WYSIWYG editors as option profile fields. I’m trying to find a solution to this – have you seen any?

    I also need to be able to use if and then statements so profile fields that are not filled out don’t show in the template.

    Just purchased the book on theming BP, but if you have any pointers on the above two items, that would rock. Thanks!

    #183299
    playerzero
    Participant

    Thanks, but i might not have made sense. What i mean is i’m having trouble with my account on this forum on buddypress.org, and i don’t see an obvious way to get help with it. If no one knows the answer to that, we can let this topic die quietly, it doesn’t have anything to do with BuddyPress the software. I’ll figure out what i screwed up when i have a little more time to mess with it.

    Maybe this is better suited for Miscellaneous?

    #183295
    Antimuffin
    Participant

    Second Solution:

    You only have to go in \wp-content\plugins\buddypress\bp-members\bp-members-functions.php at Line 1779 and now you change:

    $activate_url = bp_get_activation_page() .”?key=$key”;

    to:

    $activate_url = bp_get_activation_page() .”?key=$key&welcome=true”;

    or Something else.. but its very important that you add it after the $key..
    Now it works too !

    #183293
    nickdaska
    Participant

    When i go to a members profile i can not see add friend, send pm, add group button
    I think is one of the plugins that i use that created the problem because the first days it was working perfectly.Can anyone help me please?

    Wordpress 3.9
    BuddyPress 2.0.1
    Theme custom

    Antimuffin
    Participant

    Hello,

    i have seen that many people have the Problem that the User can´t Activate via Email, cause of the “Invalid Key” exception..

    I solved the Problem in my System, this is only a Temorary Solution, it can be lost after a BuddyPress Update ( I hope the Admin fixed this problem by the next Update):

    You only have to go in \wp-content\plugins\buddypress\bp-members\bp-members-functions.php at Line 1781 and put // before ‘ $activate_url = esc_url( $activate_url ); ‘
    => //$activate_url = esc_url( $activate_url );

    The Problem is to use esc_url();
    the link befor esc_url():
    example.com/?key=763640d2d5f5ab0fa7f88b8559d84ec0
    and after esc_url():
    example.com/?key=763640d2d5f5ab0fa7f88b8559d84ec0

    Yes this looks simular, but it isnt.. if i convert it so ANSI you will see it:
    example.com/?key=763640d2d5f5ab0fa7f88b8559d84ec0

    That is the solution for the “Invalid Key” Exception…

    #183286
    shpitzyl
    Participant

    Hello all.
    I’m using the mention system in buddypress to allow users to post updates on others time line.
    The problem is that every mention activity item contains the mention name of the user (@username).
    Can’t find a way to get rid of that.
    Any help would be appreciated.

    DarkElement1987
    Participant

    Well if i deactivate the widget, the announcement shouldn’t be there. And if i deactivate buddypress from the plugins menu the message is gone so i don’t think it’s theme related.

    Could you tell me in simple english what i can do (Step by step) cause i’m not that good a English speaker.

    If i drag the Widget to the sidebar from the admin panel the only thing i can fill in is a title for the widget. A new message is impossible, so somethings messed up, but when i apply changes the old notification is there again.

    Screenshots of how it is right now:
    http://i62.tinypic.com/2zfilbm.png
    http://i58.tinypic.com/2mwe70k.png

    #183282
    nickdaska
    Participant

    When i go to a members profile i can not see and friend, send pm, add group button
    I think is one of the plugins that i use that created the problem because the first days it was working perfectly.Can anyone help me please?

    Wordpress 3.9
    BuddyPress 2.0.1
    Theme custom

    #183281
    modemlooper
    Moderator

    array( $this is because code is inside a class and it’s referring back to itself

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

    #183275
    shanebp
    Moderator

    Created a codex page: overload template part from plugin

    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

Viewing 25 results - 25,251 through 25,275 (of 94,555 total)
Skip to toolbar