Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 75 total)
  • @ngoegan

    Participant

    I’m getting a redirect loop error for logged out users. Can anyone help?

    @ngoegan

    Participant

    Actually, it hasn’t. I checked again today and it’s public. Any ideas on how I can make the events pages private? Is there some code I could add to the page itself to require that users are logged in to see it?

    @ngoegan

    Participant

    I tested it and they don’t get any email until I approve them, which isn’t immediate. So it’s. “Check your email that we sent you now.” and then they don’t get it right away until later when I approve them. I think there’s something glitchy going on with my install – I’ve tried a lot of plugins to achieve a private site with new user moderation. No one plugin does it all that I can find.

    @ngoegan

    Participant

    According to this page, it says they should be receiving message that says “Your membership account is awaiting approval by the site administrator….”

    BuddyPress Registration Options

    @ngoegan

    Participant

    Oh no! I’m having redirect issues again 🙁

    My Events Page (The Events Calendar plugin) and My Forum Page (bbpress) are both redirecting to the Activity page now. All others are fine – groups, members, etc.

    I tried re-setting them in the navigation menu, I tried disabling plugins, I’m not sure why your code is causing pages other than ‘register’ to re-direct to activity?

    @ngoegan

    Participant

    Somehow BP Registration Options started hiding the events page also. I’m not sure what I did but this has been resolved. Thank you!

    @ngoegan

    Participant

    I need the ability to moderate new user requests. Is there one that does that seamlessly with BuddyPress?

    @ngoegan

    Participant

    I fixed it. The theme I was using “Evolve” added a bunch of custom code to the Register page. Even though I switched to Twenty Twelve, it left the code on the page. I deleted it and everything appears to be working properly now. Thank you for your help!

    @ngoegan

    Participant

    This includes: Forum, Groups, Members, etc.
    The only thing excluded from redirecting is the Events tab, which is a separate plugin unrelated to BuddyPress.

    @ngoegan

    Participant

    In fact, every buddypress component on the nav bar is now redirecting to Site-wide Activity 🙁

    @ngoegan

    Participant

    That worked! But now when I try to go to another page – “About CM” it redirects me to the Activity page 🙁

    @ngoegan

    Participant

    Actually, there was something else in there, I deleted it. Here’s the error I’m getting with just your code now:

    //redirect all users to homepage function bbg_bp_loggedin_register_page_redirect_to( $redirect_to ) { if ( bp_is_component_front_page( 'register' ) ) $redirect_to = bp_get_root_domain() . '/activity'; return $redirect_to; } add_filter( 'bp_loggedin_register_page_redirect_to', 'bbg_bp_loggedin_register_page_redirect_to' );
    Warning: Cannot modify header information - headers already sent by (output started at /home4/cgoegan/public_html/charlottemasoneducation.org/wp-content/plugins/bp-custom.php:14) in /home4/cgoegan/public_html/charlottemasoneducation.org/wp-includes/pluggable.php on line 1216

    @ngoegan

    Participant

    I tried and am now getting this error on the site:

    /** * Add location to BP Member directory */ function my_directory() {	if ( bp_is_active( 'xprofile' ) ) if ( $field_7 = xprofile_get_field_data( 'Location', bp_get_member_user_id() ) ) : echo '
    ';	echo $field_7; echo '
    '; endif;	} add_filter ( 'bp_directory_members_item', 'my_directory' ); /** * */redirect all users to homepage function bbg_bp_loggedin_register_page_redirect_to( $redirect_to ) { if ( bp_is_component_front_page( 'register' ) ) $redirect_to = bp_get_root_domain() . '/activity'; return $redirect_to; } add_filter( 'bp_loggedin_register_page_redirect_to', 'bbg_bp_loggedin_register_page_redirect_to' );
    Warning: Cannot modify header information - headers already sent by (output started at /home4/cgoegan/public_html/charlottemasoneducation.org/wp-content/plugins/bp-custom.php:33) in /home4/cgoegan/public_html/charlottemasoneducation.org/wp-includes/pluggable.php on line 1216

    @ngoegan

    Participant

    The strange thing also is that when the home page is set to “Register” it actually sends logged in users to the “Member” page, not the Register page.

    @ngoegan

    Participant

    I tried a different approach – I set the “Site-wide Activity” page as my static home page in Settings>Reading.

    Now it is causing a redirect loop when a non-logged in user goes to the homepage (www.charlottemasoneducation.org)

    If I set the home page in the above settings back to the “Register” page, it stops the loop.

    There seems to have been a ticket about this issue here: https://buddypress.trac.wordpress.org/ticket/4706

    I’m not understanding the fix mentioned above and am not certain it is the same exact issue.

    How can I fix this redirect problem?

    @ngoegan

    Participant

    Anyone?

    @ngoegan

    Participant

    Oops, forgot to check off “Notify me of follow-up replies via email.” Doing so now.

    @ngoegan

    Participant

    hahah Glenn I think not.

    @ngoegan

    Participant

    I still can’t get it to work. I do have header images enabled so I edited this file:

    buddypress\bp-templates\bp-legacy\buddypress\members\single\cover-image-header.php

    as follows:

    <?php
    
    				 /**
    				  * Fires after the group header actions section.
    				  *
    				  * If you'd like to show specific profile fields here use:
    				  * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
    				  *
    				  * @since 1.2.0
    				  */
    		
    
    bp_member_profile_data( 'field=city' );
    bp_member_profile_data( 'field=state' );
    
    		 do_action( 'bp_profile_header_meta' );
    
    				 ?>
    
    			</div>

    @ngoegan

    Participant

    Does “your theme” here mean my theme twenty twelve? Or do they mean some other buddypress theme folder?

    Template compatibility also runs a check to see if two directories or folders exist in a theme:

    ‘buddypress’
    ‘community’
    If either of these two folders exist in your theme and they contain BP template files then those files will be used in preference to the bp plugins versions.

    @ngoegan

    Participant

    I tried this and it isn’t showing up on profile pages:

    <?php do_action( 'bp_member_header_actions' ); ?>
    
    		</div><!-- #item-buttons -->
    
    		<?php
    		/***
    		 * If you'd like to show specific profile fields here use:
    		 * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
    		 */
    
    bp_member_profile_data( 'field=city' );
    bp_member_profile_data( 'field=state' );
    
    		 do_action( 'bp_profile_header_meta' );
    
    		 ?>
    

    @ngoegan

    Participant

    I’m sorry, but where exactly in that code would I enter that? Like this?

    <?php
    /***
    * If you’d like to show specific profile fields here use:
    * bp_member_profile_data( ‘field=About Me’ ); — Pass the name of the field
    */
    do_action( ‘bp_profile_header_meta’ );

    bp_member_profile_data( ‘field=City’ );
    bp_member_profile_data( ‘field=State’ );

    ?>

    @ngoegan

    Participant

    @ngoegan

    Participant

    I deactivated the plugin Another WordPress Classified Plugin and it resolved the issue. I’m going to post over on the AWPCP support forum to see if they are aware of it and know how to fix the conflict.

    @ngoegan

    Participant

    Here’s the link to the site: http://www.charlottemasoneducation.org

Viewing 25 replies - 1 through 25 (of 75 total)
Skip to toolbar