BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on in reply to: Buddyblog assign taxonomy on update #55432

    Hi Tosin,
    Thank you for the report. I am not sure why the second one did not work for you but the first one did(First one is only feasible when the second must be true).

    Do you use xdebug? If yes, I will suggest stepping through the code while submitting form to check the workflow.

    Regarads
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on in reply to: BP User Datatabase Cleanup #55431

    Hi Daniel,
    Thank you for the reply.

    The problem is lack of awareness of the context while cleaning database tables. Whether you do it manually or use a plugin like Bulk Delete, if you are not aware of the entity relationship in database, It will have consequences.

    In your case, the users may have data in profile fields, activities, groups and you need to clean that.

    The best way would be to find all the user ids who lack avatar and then delete the users in batch(small batches). This is inline with your proposed initial solution. If you delete/force delete the user, BuddyPress will clear data for them. In this case, you do not need to know about various entity relationships in the database.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on in reply to: Buddypress Profile Completion not working #55430

    Hi Earl,
    Which field types are you using? It does not support repeater fields?

    Are you using any other plugin related to profile fields/data visibility?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on in reply to: Mediapress sitewide gallery #55422

    Thank you Earl.
    You can disable it in MediaPress->Settings

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058

    Hi Duane,
    I am sorry for the inconvenience. The update notice should have appeared if you visited Dashboard->Updates screen. I will look into it further and report back on Monday.

    For the time being, You can upload the plugin’s zip file to upgrade current version from Plugins->Add New->Upload.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on in reply to: BP User Datatabase Cleanup #55420

    Hi Daniel,
    Welcome back.

    I will not recommend the AI generated code as It has atleast 2 problems(I did not read thew whole code after that)

    1. Usage of _has_avatar. BuddyPress does not store the flag. If you are using one of our plugin such as profile completion, this data might be available.

    2. There is no need to hook into wp for scheduling. It could be done as one time activity on activation and cleaned on deactivation.

    Did you face any issue with the bulk-delete plugin?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058

    Hi Duane,
    I am sorry for the delayed reply.

    The profile fields will appear on front end profile and it is correct. For backend, the “Extended” tab should show the same details. If it not showing, Please check for the errors.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on in reply to: Buddyblog assign taxonomy on update #55418

    Hi Tosin,
    Thank you for the details.

    I understand your need for classifying the posts as Sponsored Posts when it is a paid post. The problem with your current approach is you need a hidden category which should remain selected on purchased posts. When the post is updated, BuddyBlog checks which terms were selected, since your term is hidden in BuddyBlog Pro, It is marked as not selected.

    You may want to hook to bblpro_post_submitted and bblpro_post_updated and apply the term by checking if the post is paid.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on in reply to: [Resolved] mediapress in gallery slug #55417

    You are welcome.