Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 11,051 through 11,075 (of 94,558 total)
  • Author
    Search Results
  • ezhmkv
    Participant
            $frmtd_content = "<a class='test' id='goshilovethisbpplugin' href='example.com'><i class='holycrap' data-some-data-attribute='omgnothingheckingworkz'></i></a>";
    $gp_activity = groups_record_activity(
                array(
                    'action'  => apply_filters('groups_activity_new_update_action', sprintf(__('%1$s group message %2$s', 'buddypress'), $msg_author, '<a href="' . bp_get_group_permalink($group) . '">' . esc_attr(bp_get_group_name($group)) . '</a>')),
                    'content' => $frmtd_content,
                    'type'    => 'new_message',
                    'item_id' => $gid,
                    'user_id' => $user_id,
                )
            );

    Guys, why all classes, ids, data-attributes cuts when I pass it through API? There’s only HTML markup general tags…

    ezhmkv
    Participant
            $frmtd_content = "<a class='test' id='goshilovethisbpplugin' href='example.com'><i class='holycrap' data-some-data-attribute='omgnothingheckingworkz'></i></a>";
    $gp_activity = groups_record_activity(
                array(
                    'action'  => apply_filters('groups_activity_new_update_action', sprintf(__('%1$s group message %2$s', 'buddypress'), $msg_author, '<a href="' . bp_get_group_permalink($group) . '">' . esc_attr(bp_get_group_name($group)) . '</a>')),
                    'content' => $frmtd_content,
                    'type'    => 'new_message',
                    'item_id' => $gid,
                    'user_id' => $user_id,
                )
            );

    Guys, why all classes, ids, data-attributes cuts when I pass it through API? There’s only HTML markup general tags…

    beckyH
    Participant

    Hi,

    I have buddypress installed and I’m using for a company Intranet.

    To create additional fields that I need, I have installed Buddypress Xprofile Custom Fields Type and it works rather well.

    The problem is now is that I want to store the users manager in one of the profile fields. I do not want to create a manual list to do this where I name all the users. This would just be a maintenance nightmare. I want to select a manager from a list that dynamically populates with the current list of users.

    Any ideas on how I can do this?

    In regards to coding i get the jist of it but I’m really not a coder so if that’s the answer the please be kind and simplify it for me!

    Of course, the ultimate solution would be to use conditional logic on existing fields to determine the current manager. That way if a manager of a team changes over all user profiles are kept up-to-date with little maintenance, but I’m not sure if anyone would have the answer to this one?!

    Thank you

    #266676
    beckyH
    Participant

    Hi,

    I have buddypress installed and I’m using for a company Intranet.

    To create additional fields that I need, I have installed Buddypress Xprofile Custom Fields Type and it works rather well.

    The problem is, I want to store additional info about each person that they can’t edit or see.

    I have figured out how to hide a group of fields when viewing the user’s profile by adding in some code to exclude the group, in this instance the group ID 4:

    <?php
    /**
     * BuddyPress - Members Profile Loop
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
    do_action( 'bp_before_profile_loop_content' ); ?>
    
    <?php if ( bp_has_profile() ) : ?>
    
    	<?php while ( bp_profile_groups() ) : bp_the_profile_group(); if ( bp_get_the_profile_group_id() != '4' ) :?>
    
    		<?php if ( bp_profile_group_has_fields() ) : ?>
    
    			<?php
    
    			/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
    			do_action( 'bp_before_profile_field_content' ); ?>
    
    			<div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
    
    				<h2><?php bp_the_profile_group_name(); ?></h2>
    
    				<table class="profile-fields">
    
    					<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    						<?php if ( bp_field_has_data() ) : ?>
    
    							<tr<?php bp_field_css_class(); ?>>
    
    								<td class="label"><?php bp_the_profile_field_name(); ?></td>
    
    								<td class="data"><?php bp_the_profile_field_value(); ?></td>
    
    							</tr>
    
    						<?php endif; ?>
    
    						<?php
    
    						/**
    						 * Fires after the display of a field table row for profile data.
    						 *
    						 * @since 1.1.0
    						 */
    						do_action( 'bp_profile_field_item' ); ?>
    
    					<?php endwhile; ?>
    
    				</table>
    			</div>
    
    			<?php
    
    			/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
    			do_action( 'bp_after_profile_field_content' ); ?>
    
    		<?php endif; ?>
    
    	<?php endif; endwhile; ?>
    
    	<?php
    
    	/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
    	do_action( 'bp_profile_field_buttons' ); ?>
    
    <?php endif; ?>
    
    <?php
    
    /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
    do_action( 'bp_after_profile_loop_content' ); ?>
    

    What I can’t seem to figure out is how to hide the group of fields in Edit mode. So basically, at the minute when a user goes to edit the profile fields, group 4 will display.

    I believe it’s the edit file I need to edit but I’m not a coder. I learnt vb, php etc a decade ago so i get the drift but I’m playing around here and can’t quite get it work with the lack of knowledge I have.

    I have tried doing what I’ve done about but just get an error. Any ideas please?

    <?php
    /**
     * BuddyPress - Members Single Profile Edit
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    /**
     * Fires after the display of member profile edit content.
     *
     * @since 1.1.0
     */
    do_action( 'bp_before_profile_edit_content' );
    
    if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) :
    	while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    	
    
    <form action="<?php bp_the_profile_group_edit_form_action(); ?>" method="post" id="profile-edit-form" class="standard-form <?php bp_the_profile_group_slug(); ?>">
    
    	<?php
    
    		/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
    		do_action( 'bp_before_profile_field_content' ); ?>
    
    		<h2><?php printf( __( "Editing '%s' Profile Group", 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2>
    
    		<?php if ( bp_profile_has_multiple_groups() ) : ?>
    			<ul class="button-nav" aria-label="<?php esc_attr_e( 'Profile field groups', 'buddypress' ); ?>" role="navigation">
    
    				<?php bp_profile_group_tabs(); ?>
    
    			</ul>
    		<?php endif ;?>
    
    		<div class="clear"></div>
    
    		<?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();
    
    				/**
    				 * Fires before the display of visibility options for the field.
    				 *
    				 * @since 1.7.0
    				 */
    				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: %s', 'buddypress' ),
    							'<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
    						);
    						?>
    						<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: %s', 'buddypress' ),
    							'<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
    						);
    						?>
    					</div>
    				<?php endif ?>
    
    				<?php
    
    				/**
    				 * Fires after the visibility options for a field.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_custom_profile_edit_fields' ); ?>
    
    				<p class="description"><?php bp_the_profile_field_description(); ?></p>
    			</div>
    
    		<?php endwhile; ?>
    
    	<?php
    
    	/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
    	do_action( 'bp_after_profile_field_content' ); ?>
    
    	<div class="submit">
    		<input type="submit" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?> " />
    	</div>
    
    	<input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
    
    	<?php wp_nonce_field( 'bp_xprofile_edit' ); ?>
    
    </form>
    
    <?php endwhile; endif; ?>
    
    <?php
    
    /**
     * Fires after the display of member profile edit content.
     *
     * @since 1.1.0
     */
    do_action( 'bp_after_profile_edit_content' ); ?>
    

    Thank you

    #266669
    Henry Wright
    Moderator

    @fifthhouse it’s certainly possible using BuddyPress. We actually have a Jobs Board here if you wanted to post your requirements?

    #266668

    In reply to: Group Types Hierarchy

    falvear
    Participant

    I am new to buddypress, and I certainly would love to have such functionality in my project.

    +1

    #266667
    falvear
    Participant

    Hi!

    I was able to create a plugin for extending fields in the group feature of BuddyPress with the Group API https://codex.buddypress.org/developer/group-extension-api/.

    I would like to know how to make custom fields required. I do not want to rely on browser validation, given that it does not work on all devices.

    I would like to validate the field on the server-side. For instance, in the first stage of group creation, both the name of the group and the description are required and you cannot successfully create a group without filling in those fields. I would like to do the same but in my custom screen, defined with the create_screen() function. Do you have any ideas about this?

    Thank you!

    #266666
    doubleF
    Participant

    Update 1:
    – Whenever theme/buddypress.php is loaded, a template redirect hook is fired for theme/404.php.
    – The next page returns a 404, except if it’s a single-*.php.

    Update 2:
    – Most likely, bp_do_404() is triggered.

    I do not what could cause impact that.

    Many thanks

    doubleF
    Participant

    Hello,

    We are trying to figure out random 404 pages appearing for some of our customers.

    The pattern is always the same:
    – BuddyPress page: page displayed correctly
    – Next page (not BP): throws a 404

    After some research:
    – It’s not a memory issue
    – Not a .htaccess issue nor permalinks

    If we hook on template_redirect and log is_404() it’s triggered on all BuddyPress pages even though the page is correctly displayed.

    Does any one has an idea or could bring any detail about this?

    Many thanks

    François

    #266661
    soccersport
    Participant

    Salve,ho installato e configurato il plugin buddypress ma nonostante tutto non riesco a visualizzare le pagine del plugin. ad esempio la pagina attività https://www.soccersport.biz/attivita/ o la pagina registrati https://www.soccersport.biz/registrati/ non funzionano così come tutte le altre pagine collegate al plugin. Come posso risolvere? Aspetto vostre notizie

    Grazie (Uso wordpress con la versione 4.8)

    #266654
    silvia79r
    Participant

    Hello everyone,
    Buddypress works fine but I found 2 major problems if I see the site on Iphone:
    1) You can not import images from Iphone. Let me explain better: In the social network bulletin board, I click in the square to choose which file to upload, the “Select file” window opens, but clicking nothing happens (you should open a window asking me where to import the photo). How can I fix the problem? (On Android works)
    2) If I answer a message on the bulletin board, the answers are shifted more and more to the right in the phone until, in order to see them, I am obliged to put the phone horizontally, otherwise I will not read them.

    Who can help me?

    Sorry my english … I’m Italian

    #266653
    fifthhouse
    Participant

    @henrywright. Thank you. I don’t know enough about code – basically i know nothing – to understand your reply. Is what I want to do possible? If so I am going to go with buddypress, and will be hiring a developer to do the work for me.

    #266645
    quantumfrog
    Participant

    Hi everyone,
    I have the following problem:
    When I change the Group Tab names and reorder them, it is not possible to create a new Group.
    it returns an 500 error when I come to the second creation step which comes from my Group Extension where I created a new Group Tab.
    Its maybe important to know that I changed the default Group Tab with:

    define( 'BP_GROUPS_DEFAULT_EXTENSION', 'my_new_tab_slug' );

    I used the action hook and function described in the Navigation API of the documentation.

    my Snippet is:

    //Action to rename Group Tabs
    add_action( 'bp_actions', 'bp_change_group_tabs');
    //Function to Rename Group Tabs
    function bp_change_group_tabs() {
    
        if ( ! bp_is_group() ) {
            return;
        }
         buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Projekteinstellungen', 'buddypress' ) ), 'admin', bp_current_item() );
         buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Dozenten einladen', 'buddypress' ) ), 'invite-anyone', bp_current_item() );
         buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Dokumente', 'buddypress' ) ), 'docs', bp_current_item() );
         buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Projektaktivität', 'buddypress' ) ), 'home', bp_current_item() );
    
         buddypress()->groups->nav->edit_nav( array( 'position' => 2 ), 'home', bp_current_item() );
         buddypress()->groups->nav->edit_nav( array( 'position' => 5 ), 'docs', bp_current_item() );
    }

    When I decomment the buddypress()->groups->nav->edit_nav functions everything works again. Is this a bug?

    Any help would be nice.
    Thanks

    #266642
    EMar
    Participant

    Hi,

    I’d like to edit the text in the register page

    Registering for this site is easy. Just fill in the fields below, and we’ll get a new account set up for you in no time.

    Is this the right location to the register.php
    main/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members

    What would the correct directory structure be in my child theme?

    Thanks

    mario031
    Participant

    Hi guys,

    I’m also having the same problem.
    I tried changing theme to twenty sixteen and twenty seventeen, turning off all of the plugins except buddypress without any success. Also combination of twenty sixteen / twenty seventeen + turned off plugins didn’t work.

    Any idea or suggestion what can we do?

    Jason Smith
    Participant

    I need a filter to sort xprofile numeric custom data.

    Each user has an Instagram follower count. I want to filter these users from highest to lowest. “Descending order”

    Example:
    user 1 instagram: 10,000
    user 2 instagram: 9,000
    user 2 instagram: 8,000
    …
    This is our members directory.
    Here is our filter dropdown.

    I’m using WordPress 4.8
    I’m using BuddyPress 2.8.2

    Thank you in advance
    Cheers
    Jason

    #266636
    yoser85
    Participant

    I just need to know two things:

    1.hyperdb compatible with buddypress?
    2.is not supported what plugins can I use?

    EMar
    Participant

    Hi,

    Just a few questions,

    I’m just trying to secure my registration a bit better because after sending out my first news letter to 300+ wp members, as most of them bounced back, I came to the conclusion they were fake accounts.

    When I say bounced, I mean I get a lot of emails back saying not delivered yet, no action needed or couldn’t send to whatever email.

    I cleaned all that up but I guess I need a better registration form.

    Is BuddyPress integrated with WordPress login/registration?

    On my login page there is no captcha security, the registration form is very basic,
    Without going into the code, is there any tools to redesign the registration page?

    As far as I remember, wasn’t there an option to log a user into their buddypress profile instead of the dashboard?

    yoser85
    Participant

    need some alternative to hyperdb for buddypress, I have three bd servers, one master and two slaves.

    #266633
    Henry Wright
    Moderator

    @fifthhouse when I suggested data be added against the event’s meta I didn’t mean the host or facilitator do it manually. WordPress and BuddyPress have a pretty extensive action system which you can hook to. The code will run automatically when the action happens.

    Here’s the Plugin API documentation in case you need it:

    https://codex.wordpress.org/Plugin_API

    #266632
    coolhunt
    Participant

    Im an idiot.. i found it at / buddypress / bp-templates / bp-legacy / buddypress / activity / entry.php

    is there a way to do this in “BP-Custom”?

    coolhunt
    Participant

    Hi Guys,

    Im trying to add a message to folks that are LOGGED OUT… I dont know where or how to make this happen.. Does anyone know where I can fiddle with messaging for LOGGED OUT users… Ive tried to modify ENTRY.PHP located in:
    buddypress\bp-templates\bp-legacy\buddypress\activity
    \buddypress\bp-themes\bp-default\activity

    I dont know which file to modify…

    <?php
    if ( is_user_logged_in() ) {
    echo ‘Welcome, registered user!’;
    } else {
    echo ‘Welcome, visitor!’;
    }
    ?>

    Is it possible to do this BP-CUSTOM.php

    #266630
    Yiannos
    Participant

    Hello all

    I install Buddypress for a while now and still cannot make the “register” page show up.
    I have been through all the forums here and couldnt find a solution.
    I have enable the “anyone can register” in WP admin. I gave created “register” and “activate” pages and associate them with the relevant Buddypress pages in Buddypress settings. When i “view” these pages from the Buddypress settings the look fine (empty but are there!).
    The problem is when i log out from Admin, the only choice i have under my “members” menu, is “log in”. The “register” option is not there.
    Any ideas why this is happening?
    I will appreciate if anyone can figure out what the problem and give me a heads up.
    My site is http://www.moneymakewise.com
    Under “members” menu tab, i have assigned ALL buddypress pages (including “register” and “activate”) and as you can see, for a not logged in user, none of them shows there.
    Any ideas?

    #266629
    yoser85
    Participant

    I need some alternative to hyperdb for buddypress, I have three bd servers, one master and two slaves.

    #266628
    oise73
    Participant

    Hi there,

    We have run into one heck of a problem. Our site is about to launch, but when test users sign up and click on the link they receive in an email to activate their account, they get a “Invalid Activation Key” message.

    We are using BuddyPress version 2.8.2 and WordPress 4.8. This is a directory site. We use GeoDirectory.

    This is a new issue. The sign-up and activation process used to work perfectly!

    What I have done thus far is deactivate all the plugins but BuddyPress- no joy. Then I deactivated and deleted BuddyPress and reinstalled it. That did not work either. Then I switched the theme to 2016 – same issue. Here is a screenshot of that:
    2017-06-22_1538

    Our website is http://debsvillage.com/

    Help! Thank you!

Viewing 25 results - 11,051 through 11,075 (of 94,558 total)
Skip to toolbar