BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi,
    Welcome to BuddyDev support forums.

    I am sorry, we have no idea how to get those details. If you have an API, you can cache in options using transient and then show the details.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Register Form Issue #55588

    Hi Vasile,
    Thank you for the reply.

    The problem is BuddyPress has a bug that causes fatal error if email is empty.
    BuddyPress does make an email field required in html to avoid that bug. Here is how your markup should look like.

    https://i.ibb.co/m5RH9HrH/Selection-162.png

    Something is removing the “required” attribute from your markup. That’s why users are able to submit form with empty email. Please check if you have a plugin/code snippet which is causing it?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Delete All Notifications Tool #55587

    Hi Tosin,
    Thank you for sharing the code.
    Overall, It looks good to me. I have a few suggestions for improvement though.
    1. follow WordPress coding standards. That will help you make the code more maintainable for long run.

    2. Add check for Checking if notifications component is enabled.
    3. Probably delete in chunks instead of delete all older than x days. That will help you avoid timeouts if the site has too many notifications.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi George,
    Thank you for the reply.

    I am sorry, I have lost the track of things and will need your assistance a bit about this topic(see the bottom).

    MediaPress media is a valid WordPress attachment. The reason you see issue with resolution is we register custom image sizes which are not known to WordPress.

    If you register custom image size in WorddPress(add_image_size), WordPress generates the sub sizes for all images, irrespective of the context.
    We do not want WordPress to generate our custom image sizes for non MediaPress uploaded images. That’s why these sizes are not registered as standard and only used inside MediaPress.

    Depending on your use case, you can pass MediaPress registered image size to the WordPress attachment functions to display it properly.

    – You should be able to display GIS using exif data of the original image(exif is saved by WordPress in meta)
    – I have not explored Media variations and how that would Work for image type but WordPress does support similar behaviour for video(and video thumbnail).

    I will be happy to assist you with your current quest of using WordPress comments.

    Can you please create a new topic, link this topic and provide the following details:-
    – Is it multisite
    – are you using MediaPress 1.5.x or 2.x branch?
    – Are you using it for BuddyPress or sitewide
    – Do you want o use comments for Sitewide gallery/media or User’s profile media
    – How are you listing media(steps/process) and how the current implementation of your overridden template works(MediaPress supports custom media/gallery views and using external template in these if needed).

    – Do you have a staging site where I can see the expected workflow. I am working to get MediaPress back on track and would love to assist yo with it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Post metadata #55580

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Register Form Issue #55579

    Hi Vasile,
    Hope you are doing well.
    I was referring to the the “required” attribute in markup.

    By default, BuddyPress generates a “required” attribute in markup. Because of this, users can not submit the form if the email field is empty.

    In your case, the theme or some code has removed the required attribute. That allows users to submit empty value. BuddyPress has a problem(yes, It is a bug) that does not handle empty value properly and leads to this.
    My suggestion is to have the “required” attribute in the markup(consult theme author or check for the plugins/code snippet).

    That would solve your issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Register Form Issue #55575

    Hi Vasile,
    Thank you for the link.

    The problem is your theme. It is not marking the email field as required and that is leading to the issue. The email field should be marked as required. That way, a person can not submit an empty value for it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Register Form Issue #55567

    Hi,
    Thank you for the rely.

    I tried recreating it with the latest version of BuddyPress and twentytwentyfive theme and could not reproduce it.

    Can you share me the complete error log as text file. Also, please help me with the instructions to re-create it(register with this, and so on….)

    I will be glad to assist you with it asap.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: Register Form Issue #55561

    Hi Vasile,
    Welcome to BuddyDev support forums.

    I am sorry, can you help me understand which of our plugin are you using? Aren’t you using the default BuddyPres registration??

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Post metadata #55556

    Hi Scott,
    Thank you for the question.

    I have replied to you over the email. You will need to create single template for your post types in your child theme to have full control over it. Currently, the display on site’s single page is controlled by your BuddyBoss theme and it is not supporting author meta for custom post types out of the box.

    Regards
    Brajesh