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: 25302
    Brajesh Singh on in reply to: Change media press gallery type #16239

    Hi Buko,
    No, it is not feasible at the moment.

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] Notifications bug? #16238

    Hi Audiomonk,
    One of the plugin is not generating notification properly. Is there a chance that you are using WP Ulike plugin? I have seen many people compalaing about the same with that plugin(Though this error can be caused by any active plugin which adds notification but does not generate the string).

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

    Hi Andrew,
    Thank you.

    I did not specify the object id as I had assumed you wanted to do the bulk update.

    Glad that you got it working.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] Extension .mpp is not allowed #16225

    Thank you for the update Nohar. I am glad it is resolved.

    For anyone else having the similar issue, You may use one of the following plugin to add new mime types

    https://wordpress.org/plugins/wp-add-mime-types/
    https://wordpress.org/plugins/mime-types-plus/

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: Problem with mediapress #16224

    Hi Nabeel,
    It’s very strange. I am not able to recreate any of the error on my system(Using Chrome on Ubuntu + User agent switcher).

    I am going to try it on a windows 10 box tomorrow and will be getting back to you after that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

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

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

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

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

    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