Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,101 through 2,125 (of 5,233 total)
  • Author
    Search Results
  • Well, I’ve solved the problem – or, at least, what was causing MY problem – others may be having different issues.

    Background: I originally set up this site in BP 1.6. When 1.7 came along and the old built-in forum system was deprecated, I installed bbPress 2.3 as instructed and it migrated all of my forums over to the new system.

    So, I naturally assumed that all of the settings would be taken over too. I’ve just looked at the individual forums and have noticed that they have all had their Visibility set to Public, even though they are in Private or Hidden groups!

    So, setting the visibility to what it should be has solved the problem.

    HOWEVER, I do still consider there to be at least 3 bugs in the BuddyPress / bbPress software:
    1. When the forums were converted from bbPress 1.x to 2.x they should have had their visibility set correctly.
    2. The forums are all hosted within groups. Forums like this should respect the group’s Privacy settings.
    3. Even if you should set a Public forum within a Private group, the posts should not appear in non-members’ activity feeds. The forum itself is not visitable, neither are its individual posts.

    Peter

    seamtv
    Participant

    Well, that sorta fixed it. The topic posts don’t show up but the replies to those posts still do.

    seamtv
    Participant

    I think the problem is coming from my caching scheme!
    I deactivated all cachine (except Varnish) and it looks like the hide_sitewide is being obeyed. Hmmm. I specifically told the caching plugin to NOT cache the /activity URI but it ignored this request, it seems!

    #171904
    seamtv
    Participant

    I have the same problem. However, my hide_sitewide values are “1” for private forum entries, but are being completely ignored with the sitewide activity is shown.
    I, too, upgraded from legacy groups to sitewide forums.
    I am running bbPress 2.4 with buddypress 1.8.1
    I have run the forum tools script to repair hidden forums, but this hasn’t made a difference.
    I’m really worried about this security breach and – despite seeing a number of posts in here pointing this out – the development team seem unable to recreate it at their end. Nevertheless, it seems it is affecting people like us and we need to lock it down ASAP.
    Thanks.

    seamtv
    Participant

    I’ve been having the same problem. It’s a huge security breach and I’d love to get to the bottom of it. I’m using buddypress 1.8.1 and bbpress 2.4.
    It’s actually really scary, since my private forums are having sensitive conversations that they believe to be private when, in fact, they are being broadcast in their entirety to everyone. This is horrendous.

    #171839
    martinbeaulne
    Participant

    Hi there.

    I am using a tabbed registration page to show a custom group of profile fields upon account creation. Everything works well: the tabbed browsing, the display of the fields, etc.

    The problem is, when I click submit, it only submits the second tab ( the last group of fields ).

    In other words. There are the basic infos about the account, at left, then, at right, the two tabs ( extended profile and custom group ). When I click submit, it only submits the basic account fields and the custom group field. Not the extended profile fields ( on the first tab ).

    I’m using the latest versions.

    Here is the exemple: http://martinbeaulne.com/kinocontact/register/

    Now, here is the code of register.php:

    
    
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Basic - Accessible Tabs Example</title>
        <meta name="author" content="Dirk Ginader">
        <script type="text/javascript">document.documentElement.className += " js";</script>
        <link rel="stylesheet" href="http://www.martinbeaulne.com/kinocontact/wp-content/themes/graphene/buddypress/members/slidingdoors/simple-sliding-doors.css" type="text/css" media="screen">
        <script src="http://www.martinbeaulne.com/kinocontact/wp-content/themes/graphene/buddypress/members/js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
        <script src="http://www.martinbeaulne.com/kinocontact/wp-content/themes/graphene/buddypress/members/js/jquery.tabs.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript">
    
        $(document).ready(function(){
            $(".tabs").accessibleTabs({
                tabhead:'h2',
                fx:"fadeIn"
            });
        });
    
        </script>    
    </head>
    <body>
    <div id="buddypress">
    
    	<?php do_action( 'bp_before_register_page' ); ?>
    
    	<div class="page" id="register-page">
    
    		<form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data">
    
    		<?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?>
    			<?php do_action( 'template_notices' ); ?>
    			<?php do_action( 'bp_before_registration_disabled' ); ?>
    
    				<p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p>
    
    			<?php do_action( 'bp_after_registration_disabled' ); ?>
    		<?php endif; // registration-disabled signup setp ?>
    
    		<?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
    
    			<?php do_action( 'template_notices' ); ?>
    
    			<p><?php _e( '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.', 'buddypress' ); ?></p>
    
    			<?php do_action( 'bp_before_account_details_fields' ); ?>
    
    			<div class="register-section" id="basic-details-section">
    
    				<?php /***** Basic Account Details ******/ ?>
    
    				<h4><?php _e( 'Account Details', 'buddypress' ); ?></h4>
    
    				<label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_username_errors' ); ?>
    				<input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />
    
    				<label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_email_errors' ); ?>
    				<input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" />
    
    				<label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_password_errors' ); ?>
    				<input type="password" name="signup_password" id="signup_password" value="" />
    
    				<label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_password_confirm_errors' ); ?>
    				<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
    
    			</div><!-- #basic-details-section -->
    
    			<?php do_action( 'bp_after_account_details_fields' ); ?>
    
    			<?php /***** Extra Profile Details ******/ ?>
    
    			<?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
    				<?php do_action( 'bp_before_signup_profile_fields' ); ?>
    
    				<div class="register-section" id="profile-details-section">
    
    					
    				<div class="tabs"> <!-- Le div des tabs -->
    				<h2>Extended profile</h2>
    				<div class="tabbody"> <!-- Le div de la première section -->
    					<h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
    					<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    					<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
    					<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    						<div class="editfield">
    
    							<?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>
    
    								<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    								<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    								<input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" />
    
    							<?php endif; ?>
    
    							<?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
    
    								<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    								<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    								<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_edit_value(); ?></textarea>
    
    							<?php endif; ?>
    
    							<?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?>
    
    								<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    								<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    								<select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>">
    									<?php bp_the_profile_field_options(); ?>
    								</select>
    
    							<?php endif; ?>
    
    							<?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?>
    
    								<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    								<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    								<select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" multiple="multiple">
    									<?php bp_the_profile_field_options(); ?>
    								</select>
    
    							<?php endif; ?>
    
    							<?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?>
    
    								<div class="radio">
    									<span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span>
    
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<?php bp_the_profile_field_options(); ?>
    
    									<?php if ( !bp_get_the_profile_field_is_required() ) : ?>
    										<a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php _e( 'Clear', 'buddypress' ); ?></a>
    									<?php endif; ?>
    								</div>
    
    							<?php endif; ?>
    
    							<?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?>
    
    								<div class="checkbox">
    									<span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span>
    
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<?php bp_the_profile_field_options(); ?>
    								</div>
    
    							<?php endif; ?>
    
    							<?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?>
    
    								<div class="datebox">
    									<label for="<?php bp_the_profile_field_input_name(); ?>_day"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    
    									<select name="<?php bp_the_profile_field_input_name(); ?>_day" id="<?php bp_the_profile_field_input_name(); ?>_day">
    										<?php bp_the_profile_field_options( 'type=day' ); ?>
    									</select>
    
    									<select name="<?php bp_the_profile_field_input_name(); ?>_month" id="<?php bp_the_profile_field_input_name(); ?>_month">
    										<?php bp_the_profile_field_options( 'type=month' ); ?>
    									</select>
    
    									<select name="<?php bp_the_profile_field_input_name(); ?>_year" id="<?php bp_the_profile_field_input_name(); ?>_year">
    										<?php bp_the_profile_field_options( 'type=year' ); ?>
    									</select>
    								</div>
    
    							<?php endif; ?>
    
    							<?php 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 _ex( 'Change', 'Change profile field visibility level', '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 : ?>
    								<p 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() ) ?>
    								</p>
    							<?php endif ?>
    
    							<?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
    							<p class="description"><?php bp_the_profile_field_description(); ?></p>
    
    						</div>
    
    					<?php endwhile; ?>
    
    					<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" />
    
    					<?php endwhile; endif; endif; ?>
    				</div> <!-- Le div de la première section -->
    				<h2>Custom group</h2>
    				<div class="tabbody"> <!-- Le div de la deuxième section -->
    					<h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
    					<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    					<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( 'profile_group_id=4' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
    					<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    						<div class="editfield">
    
    							<?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>
    
    								<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    								<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    								<input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" />
    
    							<?php endif; ?>
    
    							<?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
    
    								<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    								<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    								<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_edit_value(); ?></textarea>
    
    							<?php endif; ?>
    
    							<?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?>
    
    								<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    								<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    								<select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>">
    									<?php bp_the_profile_field_options(); ?>
    								</select>
    
    							<?php endif; ?>
    
    							<?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?>
    
    								<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    								<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    								<select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" multiple="multiple">
    									<?php bp_the_profile_field_options(); ?>
    								</select>
    
    							<?php endif; ?>
    
    							<?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?>
    
    								<div class="radio">
    									<span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span>
    
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<?php bp_the_profile_field_options(); ?>
    
    									<?php if ( !bp_get_the_profile_field_is_required() ) : ?>
    										<a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php _e( 'Clear', 'buddypress' ); ?></a>
    									<?php endif; ?>
    								</div>
    
    							<?php endif; ?>
    
    							<?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?>
    
    								<div class="checkbox">
    									<span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span>
    
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<?php bp_the_profile_field_options(); ?>
    								</div>
    
    							<?php endif; ?>
    
    							<?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?>
    
    								<div class="datebox">
    									<label for="<?php bp_the_profile_field_input_name(); ?>_day"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    
    									<select name="<?php bp_the_profile_field_input_name(); ?>_day" id="<?php bp_the_profile_field_input_name(); ?>_day">
    										<?php bp_the_profile_field_options( 'type=day' ); ?>
    									</select>
    
    									<select name="<?php bp_the_profile_field_input_name(); ?>_month" id="<?php bp_the_profile_field_input_name(); ?>_month">
    										<?php bp_the_profile_field_options( 'type=month' ); ?>
    									</select>
    
    									<select name="<?php bp_the_profile_field_input_name(); ?>_year" id="<?php bp_the_profile_field_input_name(); ?>_year">
    										<?php bp_the_profile_field_options( 'type=year' ); ?>
    									</select>
    								</div>
    
    							<?php endif; ?>
    
    							<?php 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 _ex( 'Change', 'Change profile field visibility level', '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 : ?>
    								<p 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() ) ?>
    								</p>
    							<?php endif ?>
    
    							<?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
    							<p class="description"><?php bp_the_profile_field_description(); ?></p>
    
    						</div>
    
    					<?php endwhile; ?>
    
    					<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" />
    
    					<?php endwhile; endif; endif; ?>
    			</div> <!-- Le div de la deuxième section -->
    			</div> <!-- le div des tabs -->
    
    			</div><!-- #profile-details-section -->
    
    				<?php do_action( 'bp_after_signup_profile_fields' ); ?>
    
    			<?php endif; ?>
    
    			<?php if ( bp_get_blog_signup_allowed() ) : ?>
    
    				<?php do_action( 'bp_before_blog_details_fields' ); ?>
    
    				<?php /***** Blog Creation Details ******/ ?>
    
    				<div class="register-section" id="blog-details-section">
    
    					<h4><?php _e( 'Blog Details', 'buddypress' ); ?></h4>
    
    					<p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ); ?></p>
    
    					<div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>>
    
    						<label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    						<?php do_action( 'bp_signup_blog_url_errors' ); ?>
    
    						<?php if ( is_subdomain_install() ) : ?>
    							http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> .<?php bp_blogs_subdomain_base(); ?>
    						<?php else : ?>
    							<?php echo home_url( '/' ); ?> <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" />
    						<?php endif; ?>
    
    						<label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    						<?php do_action( 'bp_signup_blog_title_errors' ); ?>
    						<input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" />
    
    						<span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>:</span>
    						<?php do_action( 'bp_signup_blog_privacy_errors' ); ?>
    
    						<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label>
    						<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label>
    
    					</div>
    
    				</div><!-- #blog-details-section -->
    
    				<?php do_action( 'bp_after_blog_details_fields' ); ?>
    
    			<?php endif; ?>
    
    			<?php do_action( 'bp_before_registration_submit_buttons' ); ?>
    
    			<div class="submit">
    				<input type="submit" name="signup_submit" id="signup_submit" value="<?php _e( 'Complete Sign Up', 'buddypress' ); ?>" />
    			</div>
    
    			<?php do_action( 'bp_after_registration_submit_buttons' ); ?>
    
    			<?php wp_nonce_field( 'bp_new_signup' ); ?>
    
    		<?php endif; // request-details signup step ?>
    
    		<?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
    
    			<?php do_action( 'template_notices' ); ?>
    			<?php do_action( 'bp_before_registration_confirmed' ); ?>
    
    			<?php if ( bp_registration_needs_activation() ) : ?>
    				<p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p>
    			<?php else : ?>
    				<p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
    			<?php endif; ?>
    
    			<?php do_action( 'bp_after_registration_confirmed' ); ?>
    
    		<?php endif; // completed-confirmation signup step ?>
    
    		<?php do_action( 'bp_custom_signup_steps' ); ?>
    
    		</form>
    
    	</div>
    
    	<?php do_action( 'bp_after_register_page' ); ?>
    
    </div><!-- #buddypress -->
    
        <script type="text/javascript">
        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
        </script>
        <script type="text/javascript">
        var pageTracker = _gat._getTracker("UA-299719-2");
        pageTracker._initData();
        pageTracker._trackPageview();
        </script>
    </body>
    </html>
    

    Thanks for your help…

    #171831
    Arial Burnz
    Participant

    I’m having a problem that I’m hoping the above situation will fix, but I need more information on how to utilize what’s above.

    Problem: WordPress toolbar is NOT showing up in MSIE, Firefox or Safari browsers. It IS showing in the Google Chrome browser. I’ve tried logging in with different accounts to see if it’s related to the login, but it’s the same – admin or member account – no toolbar. ALSO it’s the same with my other WordPress site – both are on two different servers. However, if I go to a WordPress.com site (versus a WordPress installation on a server/private site), the WordPress toolbar IS available.

    Since the WordPress toolbar is not available, I was hoping I could create menu tabs/options to get members easily to their BuddyPress inbox. The above information about building links from the sample structure is Greek to me. Where do I put that code? I’m using the Mantra Theme, so would I put it in the Custom CSS area? In the Appearance > Menu > Enter URL option? I’m thoroughly confused and I’m such a newb. Sorry!

    Here’s the website I’m building: http://ilovevampirenovels.com/ravenousbooktours

    Thank you!
    Arial Burnz
    Tour Host Coordinator

    #171677
    Eric J T
    Participant

    Sorry I didn’t include the code for that. Yes, it is in the wp functions.php file, but it is relevant to bp theme. Here is the full function that line 100 is found in. Line 100 is the third to last, which starts with “add action”.

    /**
     * Sets up theme defaults and registers support for various WordPress and BuddyPress features.
     *
     * Note that this function is hooked into the after_setup_theme hook, which runs
     * before the init hook. The init hook is too late for some features, such as indicating
     * support post thumbnails.
     *
     * To override bp_dtheme_setup() in a child theme, add your own bp_dtheme_setup to your child theme's
     * functions.php file.
     *
     * @global BuddyPress $bp The one true BuddyPress instance
     * @since BuddyPress (1.5)
     */
    function bp_dtheme_setup() {
    
    	// Load the AJAX functions for the theme
    	require( get_template_directory() . '/_inc/ajax.php' );
    
    	// This theme styles the visual editor with editor-style.css to match the theme style.
    	add_editor_style();
    
    	// This theme comes with all the BuddyPress goodies
    	add_theme_support( 'buddypress' );
    
    	// This theme uses post thumbnails
    	add_theme_support( 'post-thumbnails' );
    
    	// Add default posts and comments RSS feed links to head
    	add_theme_support( 'automatic-feed-links' );
    
    	if ( ! is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
    		// Register buttons for the relevant component templates
    		// Friends button
    		if ( bp_is_active( 'friends' ) )
    			add_action( 'bp_member_header_actions',    'bp_add_friend_button',           5 );
    
    		// Activity button
    		if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() )
    			add_action( 'bp_member_header_actions',    'bp_send_public_message_button',  20 );
    
    		// Messages button
    		if ( bp_is_active( 'messages' ) )
    			add_action( 'bp_member_header_actions',    'bp_send_private_message_button', 20 );
    
    		// Group buttons
    		if ( bp_is_active( 'groups' ) ) {
    			add_action( 'bp_group_header_actions',     'bp_group_join_button',           5 );
    			add_action( 'bp_directory_groups_actions', 'bp_group_join_button' );
    		}
    
    		// Blog button
    		if ( bp_is_active( 'blogs' ) )
    			add_action( 'bp_directory_blogs_actions',  'bp_blogs_visit_blog_button' );
    	}
    }
    add_action( 'after_setup_theme', 'bp_dtheme_setup' );
    endif;
    
    if ( !function_exists( 'bp_dtheme_enqueue_scripts' ) ) :
    

    In the first install the failed bp had been installed and working for a few days. It suddenly gave errors when I edited a css color code on line 1211 in this file and uploaded it to the server by ftp. Yeah, I know you might say I made a mistake, but I know I did it correctly. And they you might say the file got corrupted in transfer, except that the second install on godaddy had no such changes or transfers and in short order – less than an hour of use with no other plugins or style changes – gave the same final error for line 100 when I changed my public name in the buddypress members listing, at which point neither the front nor back ends were accessible.

    Looking forward to your insights.

    deepwave
    Participant
    #171607
    david2000
    Participant

    I want to allow access to members list of private groups to all logged in users.

    the same question is asked here. but the link in reply is broken.
    http://buddypress.org/support/topic/private-group-public-members-list/

    #171600
    BenHanna
    Participant

    After changing My groups from private to public The forums disappeared. They can still be found on my latest posts page but they appear as closed. when I open them, it says they do not exsist.

    Im uisng latest versions of bb press, buddypress and wordpress

    i have gone to settings and tried to fix this but it doesnt change anything…also the forum index page is now the travel forum despite having default forum checked in settings. I have tried repair forums but it did not work. You can view all this at digitalnomadcommunity from the forum dropdown

    Please help 🙁

    #171542
    rypo73
    Participant

    Where can I find out more about this? How did you know that r-a-y?

    #171527
    r-a-y
    Keymaster

    It’s most likely the fact that one of your users was replying to the private message via email.

    Replying to a private message via email does not post a PM back to the user. In this case, these emails usually get sent to the site admin.

    rypo73
    Participant

    Hi there,

    We’re using WP 3.6 and BuddyPress 1.8.1. I just received a reply private message written from one member (user B) to another (user A) at my site admin email account (webmaster@)

    This is the first time this has happened. I’ve not knowingly configured anything to make that happen. Also, I didn’t see the previous private message from user A to user B. Did something change in a recent release of BP or is there a database corruption somewhere?

    Thanks for any tips or advice!

    #171450
    vBSocial.com
    Participant

    Hey all! We have just released BuddyPress Notifications, which will make your BuddyPress give all your users private messaging, global notifications, google search integration and friend requests.

    I’d love it if we could get feedback, and reviews, positive and negative.

    http://wordpress.org/plugins/wp-notifications/

    Thanks

    David
    Founder of vBSocial.com

    #171378
    dmpastuf
    Participant

    When I post my custom form on a custom tab, I get a wordpress “Are you sure?” page (i.e. a wp_nonce_ays). Not so much an error as a failure (i.e. I’d expect nonce to be causing what its causing, but have no idea what field is doing so).

    Here’s the code I’m using for one of the two form tabs:

    
    add_action('bp_init', 'bpcivi_addgroupeditnav1');
    
    function bpcivi_addgroupeditnav1() {
    if ( class_exists( 'BP_Group_Extension' ) ) { // Recommended, to prevent problems during upgrade or when Groups are disabled
      //Run to find out if a chapter
     	global $wpdb;
    	global $bp;
     	$bpcivi_ck_currgroup = $bp->groups->current_group->id;
     	if(is_numeric($bpcivi_ck_currgroup)) { //Check if the group is set
     		$bpcivi_ck_querytext = 'SELECT * FROM <code>wp_bpcivi_groupsync</code> WHERE <code>buddypress_group</code> =' . $bpcivi_ck_currgroup;
    		$bpcivi_ck_settinggroups = $wpdb->get_results($bpcivi_ck_querytext);
     	}
        class BPCivigroupedit extends BP_Group_Extension {
     		 function __construct() {
            	$this->name = 'Edit Chapter Info';
                $this->slug = 'bpcivi-groupedit';
                $this->nav_item_position = 2;
                $this->visibility = 'private';
                $this->enable_nav_item = false;
                $this->enable_create_step = false;
    		}
            /**
             * The content of the My Group Extension tab of the group admin
             */
    	function edit_screen() {
    	    if ( !bp_is_group_admin_screen( $this->slug ) )
    			return false;
        //Include Files
    	include_once(ABSPATH  . '/wp-blog-header.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm.settings.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm/CRM/Core/Config.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm/civicrm.config.php');
    	$config = CRM_Core_Config::singleton();
    	global $wpdb;
    	global $bp;
    	//Current Buddypress Group
    		$bpcivi_currgroup = $bp->groups->current_group->id;
    	//Run Query on DB
    		$bpvivi_querytext = 'SELECT * FROM <code>wp_bpcivi_groupsync</code> WHERE <code>buddypress_group</code> =' . $bpcivi_currgroup;
    		$bpcivisync_settinggroups = $wpdb->get_results($bpvivi_querytext);
    	//Assign to array from first membership found - oldest set effectively
    		$bpcivi_groupsettings = get_object_vars($bpcivisync_settinggroups[0]);
    	//Form Reaction TODO
    		if (isset($_POST['groupeditsubmit'])) {
    		//Contact Update
    		$bpcivi_groupupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $bpcivi_groupsettings['orgid'],
    		'organization_name' => $_POST['orgname'],
    		'legal_name' => $_POST['legalname'],
    		'nick_name' =>$_POST['nickname'],
    		);
    		$bpcivi_groupeditpostresult = civicrm_api('Contact', 'create', $bpcivi_groupupdateparams);
    		//Address Update 
    		$bpcivi_groupaddressupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $_POST['addressid'],
    		'street_address' => $_POST['street1'],
    		'supplemental_address_1' => $_POST['street2'],
    		'supplemental_address_2' => $_POST['street3'],
    		'city' => $_POST['city1'],
    		'geo_code_1' => $_POST['latitude'],
    		'geo_code_2' => $_POST['longitude'],
    		'state_province_id' => $_POST['state'],
    		);
    		$bpcivi_groupaddresseditpostresult = civicrm_api('Address', 'create', $bpcivi_groupaddressupdateparams);
    		//Website Update
    		$bpcivi_groupwebupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $_POST['webid'],
    		'url' => $_POST['website1'],
    		);
    		$bpcivi_groupwebupdateresult = civicrm_api('Website', 'create', $bpcivi_groupwebupdateparams);
    		
    		/*//Diagnostics
    		echo "Being Sent to API - Address: <pre>";
    		print_r($bpcivi_groupwebupdateresult);
    		echo "<pre>";*/
    		}
    	
    	
    	
    	//Run Query API Against Group
    		$bpcivi_groupeditparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    			'contact_id' => $bpcivi_groupsettings['orgid'],);
    		$bpcivi_groupeditresult = civicrm_api('Contact', 'get', $bpcivi_groupeditparams);
    		 //Array of assignments	
    			$bpcivi_groupedit_orgname = $bpcivi_groupeditresult['values'][0]['organization_name'];
    			$bpcivi_groupedit_legalname = $bpcivi_groupeditresult['values'][0]['legal_name'];
    			$bpcivi_groupedit_nickname = $bpcivi_groupeditresult['values'][0]['nick_name'];
    			$bpcivi_groupedit_streetaddress = $bpcivi_groupeditresult['values'][0]['street_address'];
    			$bpcivi_groupedit_supplemental_address_1 = $bpcivi_groupeditresult['values'][0]['supplemental_address_1'];
    			$bpcivi_groupedit_supplemental_address_2 = $bpcivi_groupeditresult['values'][0]['supplemental_address_2'];
    			$bpcivi_groupedit_city = $bpcivi_groupeditresult['values'][0]['city'];
    			$bpcivi_groupedit_geo_code_1 = $bpcivi_groupeditresult['values'][0]['geo_code_1'];
    			$bpcivi_groupedit_geo_code_2 = $bpcivi_groupeditresult['values'][0]['geo_code_2'];
    			$bpcivi_groupedit_state_province_id = $bpcivi_groupeditresult['values'][0]['state_province_id'];
    			$bpcivi_groupedit_country_id = $bpcivi_groupeditresult['values'][0]['country_id'];
    			
    	//Organization Website Query
    		$bpcivi_groupeditwebsiteparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    			'contact_id' => $bpcivi_groupsettings['orgid'],);
    		$bpcivi_groupeditwebsiteresult = civicrm_api('Website', 'get', $bpcivi_groupeditwebsiteparams);
    		$bpcivi_groupedit_website1 = $bpcivi_groupeditwebsiteresult['values'][0]['url'];
    	//Get the states list
    		$bpcivi_statesparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','name' => 'stateProvince',);
    		$bpcivi_statesresult = civicrm_api('Constant', 'get', $bpcivi_statesparams);
    		$bpcivi_statesresultarr = $bpcivi_statesresult['values'];
    		$bpcivi_statesresultarrkeyd = array_values($bpcivi_statesresultarr);
    		$bpcivi_statesresultarrkeys = array_keys($bpcivi_statesresultarr);
    	//Get the Countries list
    		$bpcivi_countriesparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','name' => 'country',);
    		$bpcivi_countriesresult = civicrm_api('Constant', 'get', $bpcivi_countriesparams);
    		$bpcivi_countriesresultarr = $bpcivi_countriesresult['values'];
    		$bpcivi_countriesresultarrkeyd = array_values($bpcivi_countriesresultarr);
    		$bpcivi_countriesresultarrkeys = array_keys($bpcivi_countriesresultarr);
    	//Display Form
    		echo '<div id="bpcivigroupeditform">';
    		echo '<form action="" method="post">';
    		echo '<input type="hidden" name="addressid" value="' . $bpcivi_groupeditresult['values'][0]['address_id'] . '">';
    		echo '<input type="hidden" name="webid" value="' . $bpcivi_groupeditwebsiteresult['values'][0]['id'] . '">';
    		echo '<table border=1>';
    		echo "<tr><td>" . "Organization Name" . "</td><td>" . '<input type="text" name="orgname" value="' .$bpcivi_groupedit_orgname  . '"></td><tr>';
    		echo "<tr><td>" . "Legal Name" . "</td><td>" . '<input type="text" name="legalname" value="' .$bpcivi_groupedit_legalname  . '"></td><tr>';
    		echo "<tr><td>" . "Nickname" . "</td><td>" . '<input type="text" name="nickname" value="' .$bpcivi_groupedit_nickname  . '"></td><tr>';
    		echo "<tr><td>" . "Website" . "</td><td>" . '<input type="url" name="website1" value="' .$bpcivi_groupedit_website1  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address" . "</td><td>" . '<input type="text" name="street1" value="' .$bpcivi_groupedit_streetaddress  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address 2" . "</td><td>" . '<input type="text" name="street2" value="' .$bpcivi_groupedit_supplemental_address_1  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address 3" . "</td><td>" . '<input type="text" name="street3" value="' .$bpcivi_groupedit_supplemental_address_2  . '"></td><tr>';
    		echo "<tr><td>" . "City" . "</td><td>" . '<input type="text" name="city1" value="' .$bpcivi_groupedit_city  . '"></td><tr>';
    		echo "<tr><td>" . "Latitude" . "</td><td>" . '<input type="text" name="latitude" value="' .$bpcivi_groupedit_geo_code_1  . '"></td><tr>';
    		echo "<tr><td>" . "Longitude" . "</td><td>" . '<input type="text" name="longitude" value="' .$bpcivi_groupedit_geo_code_2  . '"></td><tr>';
    		echo "<tr><td>" . "State" . "</td><td>" . '<select name="state">';
    		for ($i=0;$i<count($bpcivi_statesresultarr);$i++) {
    			if ($bpcivi_statesresultarrkeys[$i] == $bpcivi_groupedit_state_province_id) {
    			echo '<option value="' . $bpcivi_statesresultarrkeys[$i] . '" selected>' . $bpcivi_statesresultarrkeyd[$i] . '</option>';	
    			} else {
    			echo '<option value="' . $bpcivi_statesresultarrkeys[$i] . '">' . $bpcivi_statesresultarrkeyd[$i] . '</option>';
    			}
    		}
    		echo '</select></td><tr>';
    		//value="' .$bpcivi_groupedit_state_province_id  . '"
    		echo "<tr><td>" . "Country" . "</td><td>" . '<input type="text" name="orgname" disabled value="' .$bpcivi_countriesresultarr[$bpcivi_groupedit_country_id]  . '"></td><tr>';
    		echo '<tr><td colspan="2">' . '<input id="bpedit_submit" type="submit" name="groupeditsubmit" value="Submit">' . '</td></tr>';
    		echo "</table></form>";
    		echo "</div>";
    	//Diagnostics
    	/*
    		echo "<br>Post: <pre>";
    		print_r($_POST);
    		echo "</pre>";
            echo "<br>API Call: <pre>";
    		print_r($bpcivi_groupeditwebsiteresult);
    		echo "</pre>";        
    		*/
            }
    
    }
    if(count($bpcivi_ck_settinggroups) > 0) { //Make it so that the group exension is only used for chapter
    	bp_register_group_extension( 'BPCivigroupedit' );
    }
    }
    }
    

    This code is the initial code before I started adding the nonces to see if the problem could be resolved.

    #171303
    Number_6
    Participant

    Hi,

    I was running 1.7.2 and I just spontaneously discovered that the Messages component isn’t work. It shows the Members page that as an ordinary WP page with the title and blank content field.
    The meta title is still there: “*username* | Private Messages | *sitename*”.

    In response to this oddity I decided to update BP to 1.8.1, thinking perhaps WP changed substantially. This move did nothing for me except shift around my work schedule.

    I’ve been changing things, but only on the template level and installing plugins. I switched to the theme we used when I knew PMs were working with no luck either. Does this mean my issue may be a plugin?

    I recently had a problem with my BP URLs caused by God-knows-what. I solved the issue by changing permalinks to IDs and then back to “Post Name”. That usually does the trick.

    Cheers

    #171246
    3×7
    Participant

    Is there any plugin available to filter the “public” and “private” groups?

    Dropdown or tabs?

    Thanks!

    #171243
    3×7
    Participant

    Hi Buddies,

    I would like to have somekind of a “groups manager” for members in their user admin area as tab, and maybe also in the groups page, so they can control to which group they belong to, with checkboxes.

    I want to be able to select which groups they can manage with manager “public” or “private”, if public is selected to be used for group manager then the “leave group” button shoud be removed from Public groups in the groups page, and make them use the “group manager” to add or remove public groups.

    Members should be able to “join group” and “leave group” with button only for private groups.

    Any ideas?

    Thank you!

    #171224
    Ben Hansen
    Participant

    you might want to consider using achievements:

    achievementsapp.com

    to accomplish what you are seeking to do you could also create a private group to collect them.

    #171213
    @mercime
    Participant

    @koomak @tperkins there’s a trac ticket for this https://buddypress.trac.wordpress.org/ticket/5140 = would be helpful if you provide more information about your installation, also if this happened only when you upgraded to BP 1.8.1 or do you have a new installation?

    #171203
    3×7
    Participant

    Is there a way to select which user role can create which type of groups?

    I would like to:

    1. Disable creation of PUBLIC groups for all members
    2. Allow creation of PRIVATE groups only for specific user role

    Any ideas?

    Thank you.
    Cheers!

    #171166
    wernerk
    Participant

    Just a long shot… do you use an e-mail address as username?

    Have a look at my question https://buddypress.org/support/topic/problem-with-email-adress-as-username/ from some months ago. Unfortunately nobody replied.
    Workaround is to to create usernames without @ (we always create users ourselves, completely private groups, members need to be invited).
    Didn’t check recently if the problem has been resolved or not.

    Installed a plugin for users to login with their e-mail address or their username (which they typically forget) Plugin is WP Email Login: *Allows you to log into WordPress using your email address instead of a(nother) username.* Can be found at https://wordpress.org/plugins/wp-email-login/

    Don’t know if you might have a similar issue.

    #171157
    r-a-y
    Keymaster

    @jboye @petervandoorn –

    There was a bug in a previous version of bbPress where the visibility of the private and hidden forums were not being saved properly.

    The bug is fixed in bbPress 2.4, but for previous group forums, you’ll need to repair them.

    You can do this by:

    • Logging in to the WP admin dashboard
    • Navigate to “Tools > Forums”
    • Make sure to check “Recalculate private and hidden forums”
    • Lastly, hit “Repair Forums”

    This will regenerate bbPress’ internal private and hidden forum IDs that are used to filter posts and will therefore fix forum visibility problems.

    #171156
    Hugo Ashmore
    Participant

    Just to add a footnote to thread:

    if by ‘main activity page’ we mean the /activity/ A Directory then we should be able to test for that with:

    bp_is_directory()

    Then not have to qualify the conditional with ! user_activity or at least be able to do bp_is_directory && whatever comp we’re after.

Viewing 25 results - 2,101 through 2,125 (of 5,233 total)
Skip to toolbar