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: 25398

    Hi Audiomonk,
    Thank you for updating. I am glad it is resolved.

    My earlier concern was you had put ‘‘ inside the php tag. Since is not a valid php token, it should have caused fatal error.

    Anyway, I am happy that it is resolved. Have the much deserved sleep 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    I am not sure why but the above change should cause fatal error.

    Can you please use what The File plugin and check which uploader.php file is loaded for you.

    Also, ask the server support what is going on. The change(I missed earlier) should have caused a fatal error in php.

    It is strongly recommended to revert back.

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    Hi Theo,
    Thank you for clarification. I had assumed the opposite.

    Please allow me to check. I don’t see any reason. The only possibility if display_filter is not called, this might happen.

    I will update you later today.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    Hi Andrew, I will break into 3 queries and post. It is much easier if you used the calculated value from the first 2 in the 3rd query

    1. Find the term_taxonomy_id for _private term in the mpp_status taxonomy

    
    SELECT tt.term_taxonomy_id FROM  wp_term_taxonomy AS tt, wp_terms AS t WHERE tt.term_id = t.term_id AND tt.taxonomy="mpp-status" AND t.slug="_private"
    
    

    Let us say, it gives you value t1

    2. Find the value of term_taxonomy_id for _public

    
    SELECT tt.term_taxonomy_id FROM  wp_term_taxonomy AS tt, wp_terms AS t WHERE tt.term_id = t.term_id AND tt.taxonomy="mpp-status" AND t.slug="_public"
    

    Let us say you got the value t2.

    Now, all we need to do is update the terms_relationships table and set the new tetm_taxonomy_id

    Example

    
    UPDATE wp_term_relationships set term_taxonomy_id = t2 WHERE term_taxonomy_id = t1;
    
    

    Please make sure to replace the value and use proper prefix.

    Future Notes:- We are moving away from the current taxonomy based approach to flat table in the 2.0. The PHP API will remain same but the above queries won’t work.

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    Hi Audiomonk,
    There is nothing wrong with your code above. It is exactly same as earlier(comments and spaces don’t have any special value).

    In other words, your solution is perfectly fine but it makes me wonder why the earlier did not work.

    The current code and the earlier code are same.

    I was writing message to suggest you use what the file plugin to check for the location of the upload.php loaded on the site but there is no need for that anymore.

    Good to know it is resolved for you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    Hi Theodor,
    Welcome to BuddyDev.

    Please visit Dashboard->Users->profile Fields and click on Edit For the “Age” field.

    On edit page, you will see the settings. There is a setting like this

    
    Check this if you want to show age instead of birthdate:
    

    Please uncheck it and save. Now, the field will show date.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    That code is vital to accessibility on your site and if you comment it out, It will make many things visible which should not be.

    BuddyPress uses that class to hide elements on normal screen and use for accessibility.

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    Hi Audiomonk,
    I am not sure why but something is messing up with your site. Try disabling the child theme and using some other theme to check.

    Like I suggested above, there is no better solution than that for this case/

    Also, It does not matter which css file you are updating. It has nothing to do with MediaPress. It is a conflict with some code in your theme or another plguin.

    For me, It is very strange why the updates are not working. Is there OPCache or APC enabled on your server? They might cause it and need flushing.

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    Thank you. I am in. I still see the same html issue.

    Pleas override the upload.php like earlier in your child theme and replace its content with this one

    https://pastebin.com/ApehSKFK

    Let me know once you are done with it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25398

    Please disable the captcha again. I am not sure why, But it is not allowing me to login again and testing.