BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 29
    Simon on in reply to: How to Use Third Party Lightbox Plugin to Open Images #5209

    I also tried placing the first section of code into wp-includes/js/customize-base.js but it didn’t change anything.

  • Participant
    Level: Enlightened
    Posts: 29
    Simon on in reply to: How to Use Third Party Lightbox Plugin to Open Images #5205

    Hi Brajesh,

    Thank you for your help. I have installed the Lightbox Plus plugin to test with your code, but where do I place the first section of code (the javascript)? I tried placing it in functions.php but it gave me a syntax error.

    Thanks,

    Simon

  • Participant
    Level: Enlightened
    Posts: 29

    Hi Brajesh,

    OK, thank you very much again 🙂

  • Participant
    Level: Enlightened
    Posts: 29

    Hi Brajesh,

    I tried the update again this afternoon and it seems to have worked with the new code this time. I’m not sure why it didn’t work the first time, perhaps it was just a temporary glitch but everything is great now.

    Thank you very much for taking the time to help me out, this is a great plugin! If I can help you out in return I will – I can produce graphics and animations, so if you ever need any graphics designed, let me know!

    Here is an animation I produced in 2013: https://www.youtube.com/watch?v=ctntRire00Q

    Regards,

    Simon

  • Participant
    Level: Enlightened
    Posts: 29

    Hi Brajesh,

    I renamed my exiting install mediapress-rollback via FTP and then uploaded your updated version, but when I go to activate the new version I have two plugins called MediaPress, both with the same name and version number. I tried activating each in turn but neither of them worked with the media upload date code that you shared. There is now a blank space where the media upload date should be. I have reverted to the old version for now.

    Thanks,

    Simon

  • Participant
    Level: Enlightened
    Posts: 29

    Hi Brajesh,

    Thanks!

    Will I also need to rename the template directory in my theme? Currently I have a template directory called MediaPress in my theme directory with all the template files that I have customized.

    Regards,

    Simon

  • Participant
    Level: Enlightened
    Posts: 29

    Hi Brajesh,

    Sorry I thought you meant the 3 new file updates you added to GitHub under the title “Update the docs a little bit”. Do you have a link for the correct download as I’m not sure how to find it, I can only find MediaPress 1.0.6, which I already have.

    Thanks,

    Simon

  • Participant
    Level: Enlightened
    Posts: 29

    Hi Brajesh,

    Thanks! Your fix in #5078 works for me but for some reason the fix in #5079 still gives me 01/01/1970, even after I added the 3 new updates from GitHub. Have I done something wrong? I just copied and pasted the new code over the existing code for each of the 3 files. Is this correct?

    Thanks!

  • Participant
    Level: Enlightened
    Posts: 29

    Hi Brajesh,

    OK, thank you. I have been through a lot of the code myself in the BuddyPress files but I am struggling to work it all out, so your help is much appreciated.

    Thanks again,

    Simon

  • Participant
    Level: Enlightened
    Posts: 29

    Hi Brajesh,

    Thanks for your help. I added your code [echo mpp_get_media_date_created( $media );] to lightbox-comment.php but it displays 01/01/1970 on all of the images in my gallery. What I need is the timestamp (I think this is what it is called) when the image was added (uploaded) to the gallery (and to activity), such as “Simon added a photo 4 days, 16 hours ago”.

    Is this possible?

    Thanks!