Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,576 through 8,600 (of 68,915 total)
  • Author
    Search Results
  • #261657

    So sorry @danbp.

    Since installing BP 2.7.2, all the ajax response I receive starts with a php tag <?php.
    I already tried deactivating all other plugins, setting my theme to twentysixteen, but whenever I activate only BP, the issue is generated.

    1. WordPress version: 4.6.1

    2. Installed wordpress as a directory

    3. Root

    4. Did not upgrade from a previous version of wordpress.

    5. WordPress was functioning properly before I installed BP.

    6. BP version 2.7.2

    7. Did not upgrade from a previous version of BP

    8. I have plugins other than BP. I already tried deactivating all plugins. Only BP causes the issue.

    9. Customized theme

    10. Social Portfolio

    11. No

    12. No

    13. not running bbpress

    14. Please provide a list of any errors in your server’s log files.

    [03-Dec-2016 11:26:59 UTC] PHP Notice:  bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2085
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2086
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2087
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Undefined index: font-style in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 1163
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Undefined index: subsets in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 1164
    [03-Dec-2016 11:26:59 UTC] PHP Notice:  Undefined index: google in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 1165

    15. No one yet. running on my local machine

    16. Apache

    Kailan Wyatt
    Participant

    I forgot to subscribe to the post via email. The code below will give you the group names instead of group ID.

    Unfortunately, I am not sure how to sort by Groups at the moment. The reason is because Orders are a post type and doesn’t necessarily have a relation to BuddyPress groups. So there isn’t an immediate query I can think of to make this sortable. I hope that makes sense.

    add_filter( 'manage_edit-shop_order_columns', 'MY_COLUMNS_FUNCTION' );
    function MY_COLUMNS_FUNCTION( $columns ) {
    	$new_columns = ( is_array( $columns ) ) ? $columns : array();
    	unset( $new_columns['order_actions'] );
    
    	//edit this for you column(s)
    	//all of your columns will be added before the actions column
    	$new_columns['MY_COLUMN_ID_1'] = 'סניף';
    	//stop editing
    
    	$new_columns['order_actions'] = $columns['order_actions'];
    	return $new_columns;
    }
    
    add_action( 'manage_shop_order_posts_custom_column', 'MY_COLUMNS_VALUES_FUNCTION', 2 );
    function MY_COLUMNS_VALUES_FUNCTION( $column ) {
    	global $post;
    	// order id
    	$order_id = $post->ID;
    	// get Order object
    	$order = new WC_Order( $order_id );
    	// get customer user id
    	$user_id = $order->user_id;
    	//start editing, I was saving my fields for the orders as custom post meta
    	//if you did the same, follow this code
    	if ( $column == 'MY_COLUMN_ID_1' && $user_id ) {
    
    		// get user groups
    		$groups = groups_get_user_groups( $user_id );
    
    		if ( ! empty( $groups ) && ! empty( $groups['groups'] ) ) {
    			$group_list = array();
    			foreach ( $groups['groups'] as $key => $group_id ) {
    				$group = groups_get_group( array( 'group_id' => $group_id ) );
    				$group_list[] = $group->name;
    			}
    			// let's make a comma separated list of the group IDs
    			echo implode( ', ', $group_list );
    
    			//if you would like to get just one group ID, uncomment the following
    			//echo $groups['groups'][0];
    
    		}
    	}
    	//stop editing
    }
    
    add_filter( "manage_edit-shop_order_sortable_columns", 'MY_COLUMNS_SORT_FUNCTION' );
    function MY_COLUMNS_SORT_FUNCTION( $columns ) {
    	$custom = array(
    		//start editing
    
    		'MY_COLUMN_ID_1'    => 'MY_COLUMN_1_POST_META_ID'
    
    		//stop editing
    	);
    	return wp_parse_args( $custom, $columns );
    }
    #261651
    shanebp
    Moderator

    It’s a rare person who writes their own theme, these days.

    I’m no theme expert, but it doesn’t seem like the BP templates are being loaded.
    You may want to check on how your theme loads templates and whether those methods are different than the ones used in WP default themes like 2015, etc.

    Have you read thru the links on this page; might provide some clues:
    https://codex.buddypress.org/themes/

    #261649
    Venutius
    Moderator

    The first step is to raise it as an issue with the theme developer, theme compatibility kind of demands that they don’t switch of BuddyPress lol.

    Are you sticking with the theme?

    #261641
    danbp
    Participant

    Hi @kaosone1975,

    add those snippets to bp-custom.php and give a try:

    function bpfr_redirect() {
    
    	if ( bp_is_current_component( 'register' ) ) {
    		wp_redirect( get_option('siteurl') . '/wp-login.php?action=register' );
    	} 
    
    }
    add_filter('get_header','bpfr_redirect', 1 );
    
    function my_disable_bp_registration() {
    	remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
    	remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    #261638
    danbp
    Participant

    Hi,

    You have to install BP correctly on WordPress as very first.
    This means particulary that you use WordPress with one of default’s Twenty theme.
    – install BuddyPress
    – activate the component you want to use
    – ensure that each component has his own page
    – pretty permalinks must be activated too.

    To get a proper register page, allow user registration in WP settings and add manually, if not created automatically, a “register” page to BP.

    NOTE: BP pages are not usual WP pages. They are only placeholder (a unique ID in the wp ecosystem) where BP will show dynamic content. These page must be unique and shouldn’t be asigned to any template or model. Give them a title and you’re done.

    once WP+BP work correctly together and you can access to the register page without trouble, you can be sure that this couple is definetly OK.

    No it’s time to activate a custom theme if you use one. An if something gooes wrong at this stage you’re sure it’s the new theme who is the culprit.

    And if the new theme is working correctly with WP+BP, you can install plugins.

    And again, WP+BP+Theme = OK, but what about the plugin ?

    Easy to understand, easy to build, very annoying to write this for the 589 000 time, but still the only way to install BP.

    On your side, you need to follow these steps, but also to read the documentation from codex and of course, from any additionnal plugin you want to use !

    That said, be warned that we can’t assist you on this forum with third party premium theme or plugins as we have no free access to their code.

    danbp
    Participant

    Hem… you’re free to use BuddyPress to your needs, but i guess there is a moment where you reach the software limit.
    If you publish private activities in the public activity stream, what do you expect ? To compromise privacy or the way the software works ?
    As with 99,9% of software, you have to answer by Yes or No to each option you find. For groups, you have 3 options: 1 OR 2 OR 3 and not a bit of each, depending the current wind speed ! It’s private or it’s public, but not Y and N.

    So far i know, hidden group members see the hidden group activities when they are on their group activity page. A group is hidden means that “public” can’t see/access to it, so you can’t see those activities on the site activity page.

    #261634

    In reply to: show random profile

    danbp
    Participant

    bp_the_site_member_random_profile_data doesn’t exist.

    Current version use only
    bp_member_random_profile_data : Output a random piece of profile data for the current member in the loop.
    – or
    xprofile_get_random_profile_data : Fetches a random piece of profile data for the user.

    Find more here.

    #261630
    Henry Wright
    Moderator

    Hi @anthonylawton

    BuddyPress doesn’t ship with membership “levels” but member “types” were introduced recently which are the same thing. Check out this article

    Member Types

    #261620
    jackoneill87
    Participant

    Ah, OK, I think it makes sense now.

    I’ve taken a look at the Register Page in the pages menu and can see that it does in fact permalink to “register” with a lower-case “r”.

    It appears WordPress pretty permalinks aren’t case sensitive, so WordPress will take me to the Register page regardless of whether I visit /Register or /register. It seems BuddyPress only picks up the hook if the URLs are a case-sensitive match. This is why “/Register” is blank, but “/register” shows the BP content.

    I just got confused because I had to test the register page from a different browser and manually entered the URL for the register page. Thanks for clearing that up!

    Not sure if it’s really much of a deal, but is it worth me making a feature request for BuddyPress to use case-insensitive URL matching to match up with how WordPress does it?

    Thanks again for all your help!

    Jack

    #261613
    Venutius
    Moderator

    How did you remove them?

    There’s an option in the Dashboard>>Tools>>BuddyPress to reset the emails, maybe give that a try?

    danbp
    Participant

    halo @verenar,

    you already have that behave, in the “all members” activity stream.
    Problem is not the behave, but your 761 members which activities are all related on the same tab : all members ! OK, it’s not easy to see who, what and where and most informations are also available elsewhere.

    Because of this, BP brings by default allactivities sorted by “all”, and for each member, the possibility to get quick access to his group or friend activities.

    If you don’t want multiple access, simply remove the tab ! Ganz einfach.
    See here how to do that.

    #261577
    Henry Wright
    Moderator

    You can request one be added here

    https://buddypress.trac.wordpress.org

    #261571
    mthant
    Participant

    Thanks very much for your help. The reason why I didn’t have “members” page in the menu is because I didn’t see it in Buddy Press menu list. I did create “members” page; somehow BuddyPress is not displaying it.
    I tried custom linking it to the menu and it doesn’t look like a good idea because people can look at the members without logIn. Please review this and tell me what went wrong. Any advice is very much welcome. I am also going to read the links that you have posted.
    http://7fc.d70.myftpupload.com/
    Thanks
    Myo

    #261565

    In reply to: No Buddypress database

    danbp
    Participant

    BuddyPress doesn’t create a database. It only add it’s own tables to the existing WordPress db.

    Why are these tables not created ? Impossible to say without more details about your server configuration and more information about how, what and where you tried to install the plugin.

    #261564
    danbp
    Participant

    Hi,

    …may be, but BuddyPress is not specifically developped for a theme. When was the latest theme update and compare with latest BP update. Your question could be inversed: why does Extra not fit with most recent BP ?

    Also, sorry for you, but we don’t support premium theme here, as we have no access to their code.

    danbp
    Participant
    #261558
    danbp
    Participant

    Notices and error msg can be related to many things. It’s difficult to tell what desn’t work on your install.

    Those msg are mostly displayed via the template_notices hook. This hook is on all bp templates.
    (see list)

    That said, the discribed issue is specific to your install. You’re the only one claiming about it, so i guess you use a plugin or some custom code who compromise msg or notices to appear.

    Can you give details about your install please ?

    #261555
    Venutius
    Moderator

    One thing you could try is the BuddyPress Repair Tool. It’s located at Dashboard>>Tools>>BuddyPress. There’s a repair for total member count, not sure that it checks the active count though.

    #261554
    melodies
    Participant

    Yes, I have tried to create an error, and the code is not even appearing in the page source. What could be causing it not to appear there?

    I have deactivated all plugins, and I also tried to get the “success/error” message to show up on some of the popular themes (Twenty Sixteen and Twenty Fifteen). It is still not working, and I have no idea why.

    Since this issue started when I updated BuddyPress and WordPress, I think the problem is rooted in one of the two.

    Can you please tell me which file is responsible for the “bp-template-notice” functionality?
    & Where can I find it?

    Thank you.

    To: @djpaul @danbp

    #261549
    danbp
    Participant
    #261548
    danbp
    Participant

    Hi @mthant,

    sorry for your menu trouble, but it seems to me, after visiting your site, that you omitted some important settings steps. So let’s try to set up properly your site menu before adding BP related conditionnals.

    1) Each active BP component should have his unique page.
    2) Site should have pretty permalinks activated (whatever option but default)

    For example step 1 indicate that your register page is at /site/register-2. This could be correct, but tells that you created a page called register first, than removed it, and finally recreated a second “register” page. This explains why you have “-2” in the URL and probably a page in the trash. You have to clear it definetly. And you have to ensure that the slug is /register/. Go to dashboard > Pages > Quick edit and correct it.

    As BP is active, you should also have a page called by default “members”. His default url should be http://7fc.d70.myftpupload.com/members/.
    I assume you renamed it to “directory”. Problemen is that “directory” doesn’t show the member directory, or no message telling visitors they have to log in to see this page…

    And as you use a lot of different directories, it is confusing, even for you when you try to build a menu.

    But you’re using Salutation, which is a premium theme and i can’t help you further to set it up correctly.
    But you could activate a Twenty theme for the time you need to create and test how WP menus are created and displayed. And perhaps read through Salutation documentation too. 😉

    Here’s BP guide about the BP menu you can add aside the site main menu.

    And here, the access to any menu related codex articles.

    #261547
    Venutius
    Moderator

    I’ve seen similar issues when a menu was no saved for the site, then all the main items end up being shown as top level. I don’t think in this case that is the case but it does seem to be an issue with the menus, not BuddyPress

    #261542
    Venutius
    Moderator

    If you are a newbie you might like to check out my website – http//:buddyuser.com, it’s aimed at getting newbies up to speed.

    Regarding your issue with menus, is this not a more general WordPress/Theme issue? What happens when you replace those BuddyPress Options with other options, do you still get the same behaviour?

    #261532
    danbp
    Participant

    thank you for sharing @peterspliid, but it would also be usefull for the devs that you add your fix to this ticket: https://buddypress.trac.wordpress.org/ticket/7349

    so at least it will be taken in consideration.

Viewing 25 results - 8,576 through 8,600 (of 68,915 total)
Skip to toolbar