Replies
- Simon on August 22, 2016 at 1:56 pm 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.
- Simon on August 22, 2016 at 12:14 pm 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
- Simon on August 20, 2016 at 6:17 pm in reply to: [Resolved] How to Add Meta Data (Upload Time) to Lightbox using PHP #5180
Hi Brajesh,
OK, thank you very much again 🙂
- Simon on August 17, 2016 at 2:03 pm in reply to: [Resolved] How to Add Meta Data (Upload Time) to Lightbox using PHP #5133
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
- Simon on August 15, 2016 at 11:13 am in reply to: [Resolved] How to Add Meta Data (Upload Time) to Lightbox using PHP #5112
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
- Simon on August 15, 2016 at 10:34 am in reply to: [Resolved] How to Add Meta Data (Upload Time) to Lightbox using PHP #5110
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
- Simon on August 14, 2016 at 2:00 am in reply to: [Resolved] How to Add Meta Data (Upload Time) to Lightbox using PHP #5083
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
- Simon on August 13, 2016 at 8:52 pm in reply to: [Resolved] How to Add Meta Data (Upload Time) to Lightbox using PHP #5080
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!
- Simon on August 12, 2016 at 12:03 am in reply to: [Resolved] How to Add Meta Data (Upload Time) to Lightbox using PHP #5058
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
- Simon on August 11, 2016 at 7:08 pm in reply to: [Resolved] How to Add Meta Data (Upload Time) to Lightbox using PHP #5052
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!