BuddyDev

Search

Replies

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

    Thank you Tosin,
    I will go through the code and get back to you on Tuesday with my feedback.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25099

    🙂 I am looking forward to your explorations.

  • Keymaster
    (BuddyDev Team)
    Posts: 25099
    Brajesh Singh on in reply to: Error #55602

    Hi George,
    Thank you for notifying the issue.
    I am going to work ob 2.0 branch this weekend. I will have an updated 2.0 branch on Monday.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25099

    Hi George,
    Thank you.
    I am relived to know that you are going in the right direction.

    Depending on the context, the lightbox will load one of these.

    gallery/media/views/lightbox.php
    gallery/media/views/lightbox-comment.php

    Please edit these files and remove the link in it and it will not show the linked version.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25099

    Hi George,
    Thank you for the question.

    I would suggest working with MediaPress 2.0 branch for thi as it is already implemented there.

    I will go over the branch and fix any bugs/issues which might have appeared due to recent php/WordPress version and let you know by Monday.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25099
    Brajesh Singh on in reply to: Lighbox option missing from documents #55595

    Hi George,
    Thank you for pointing.
    I am sorry,we did not have it documented. I have updated the document for the mpp-list-media to note the lightbox parameter.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25099

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

    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