Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi,
    Welcome to BuddyDev.

    If I understand correctly, you are looking to restrict the options of a profile field? This is not doable(we can certainly do it via hooks but let us see if we really need to do).

    I am assuming your purpose is to either display it on profile or use it for search purpose?
    If it is for search purpose, It is better to decide the value based on the reverse of “I am a” field.

    If it is for display purpose only, why not create two fields(not advisable for search) and show hide using conditional field?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Barry,
    Please upgrade to 1.0.8.

    It will fix the issue.

    https://buddydev.com/plugins/buddypress-user-contact-form/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Joss,
    Thank you.
    I can see it now.

    1. There is an issue with your theme and the Geo My WP. The theme uses absolute position for positioning search. Geo My WP adds a lot of content to that search and that leads to the tabs being hidden. The tab bar is not added by member type( we do some entries in that). Please contact theme authors and tell them about the overlapping, they will fix it.

    2. The result is incorrect on this page and it is most probably due to Geo location plugin(I can see member type not being respected). Please disable their BuddyPress Directory integration(It is from settings) and it will fix the results.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Joss,
    Currently when I am selecting a member type from dropdown(Gardien or the other), It is listing me users.

    Can you pleas tell me the issue again?

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you. I am able to login. Will get back to you quickly.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Edit Archive page title #21222

    Hi Torben,
    Thank you.

    Please use this code

    
    
    /**
     * Filter archive title.
     *
     * @param string $title title.
     *
     * @return string
     */
    function buddydev_custom_archive_title( $title ) {
    
    	if ( is_post_type_archive() ) {
    		$title = post_type_archive_title( '', false );
    	}
    
    	return $title;
    }
    
    add_filter( 'get_the_archive_title', 'buddydev_custom_archive_title' );
    
    

    We are using the default title generated by WordPress for archive pages. In the generated title, WordPress prepends “Archives: ” for post type archive.

    By using the code above, we change it. You can change it to anything you like.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Barry,
    Thank you for using the plugin.

    I am sorry, we used bp_core_add_notice which adds notice in the member header for most of the theme(It depends on a hook).

    I am releasing an update today to have an option in the admin where you can enable it inside the tab content.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Joss,
    That’s strange. Did you try clearing cache? Disabling a plugin should not stop your activity? If possible, Please provide me some temporary login and I can check it quickly.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] comment plugin #21219
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Sure. All the best.

    Regards
    Brajesh