ndhaddon
Forum Replies Created
-
Forum: Plugins
In reply to: [Better File Download] a little problemHi Kofeisen,
Thanks for checking out the plugin!I have several installs of BFD running on client sites as well as local dev sites and the file size display is working on all of them so, I’m not really sure why it wont work for you. If you could share your URL with me then I can have a look and try to help you work this out.
As for the second question, BFD works off the file extension. There is a generic file type called “file” which will display if the file extension is unknown but for this to work there needs to be an extension in the first place.
What type of files are you offering for download?
Perhaps you could zip the files which will give them an extension of .zip and should display as intended.
If you can provide me with this information, I’ll do my level best to help ??
Cheers
Nik
Forum: Plugins
In reply to: [Better File Download] Other file/mime types? Large files?The plugin is absolutely PHP 7 ready ??
If you wanted to add the exe file type yourself you could have a look at admin->partials->class-better-file-download-admin.php within the plugin and look at the function bfd_add_custom_upload_mimes at around line 1225 or just add the functionality in your child theme’s functions.php like this example
https://gist.github.com/robwent/e3bf00bafe7a00bc3d0c4dceabde4fca
Cheers
Nik
Ps. .exe files can contain almost anything so you might find that people are hesitant to download them…
Forum: Plugins
In reply to: [Better File Download] File descriptionI will have a look at this when I can and get it done for the next update.
Thank you for using Better File Download!
Forum: Plugins
In reply to: [Better File Download] Other file/mime types? Large files?Hi Vitsippa,
I’m happy to add additional file types for you, just reply with the mime type and I’ll push an update out for you.
If you wanted to use “Extra file types” to add allowable file/mime types, it should work as they both use the same method of adding the file type.
I’ve never needed to increase the size of files in the media manager however, it seems simple enough. See this => https://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
Unfortunately Better File Download does not show statistics regarding the users who have accessed the file.
Cheers
Nik
Forum: Plugins
In reply to: [Better File Download] File descriptionHi Edwiess,
I have played around with various formats however, I can’t come up with a way of displaying the description nicely. The variances of text length open up a whole can of worms as far as the display is concerned so I’m afraid that I wont be including this functionality in Better File Download anytime soon, perhaps in a future version but not right now.I appologise for not being able to help.
Regards,
Nik
- This reply was modified 6 years, 6 months ago by ndhaddon.
Forum: Plugins
In reply to: [Better File Download] File protectionHi Peter,
The files are not protected with this plugin. If a user can access your site, they can download the file. However, the site itself is still protected by WordPress itself. The files can’t be modified or exchanged by anybody except for those with access to the backend.. If a malicious user tries to access the backend of your site, they will be redirected to the login screen and from there, without the right username and password they cant do much except groan in frustration.
WordPress itself has a password protect feature if you wanted to restrict access to some of your files. You would have to put them on a separate page and protect that page, this option can be found under “Visibility” in the top right hand corner of the editor both in classic and Gutenberg.
Thanks for checking out the plugin and if you have any more questions, just sing out!
Cheers
Nik
- This reply was modified 6 years, 6 months ago by ndhaddon.
Forum: Plugins
In reply to: [Better File Download] File descriptionHi Edweiss,
Unfortunately, I haven’t included that functionality in the plugin. I’ll have a think about it and see what I can come up with for you.Cheers
Nik
Forum: Plugins
In reply to: [Better File Download] Suggestions and a little problemHi Perecedric,
Thanks for picking that “:” up, I missed it. I have pushed a revised version to the repository so it should now display properly.
Cheers
Nik
Forum: Plugins
In reply to: [Better File Download] Suggestions and a little problemHi Perecedric,
I have released a new version with options to set translations for the words “Time” & “Times”.Please note that both words need to be set for this feature to work.
I have also added an option in the settings to force files to open in a new tab, this will force PDF files to open in a new tab however, it causes a page refresh for all other file types so its up to you if you want to use it or not.
As far as the image resizing goes, there are too many possible configurations for me to possibly please everybody. So, if you would like to set the image to a smaller size and be centred simply set the following CSS in the style.css of your child theme (Obviously, change the width to your preferred size)
.bfd-download-thumbnail { width: 200px !important; display: inherit; }
If that doesn’t achieve what you are looking for, shoot me a message back with what you would like to achieve and I’ll do my best to oblige ??
Cheers
Nik- This reply was modified 6 years, 7 months ago by ndhaddon.
Forum: Plugins
In reply to: [Better File Download] Suggestions and a little problemHi Perecedric,
Thanks for checking out the plugin!
I will work on your suggestions in the next couple of days and see what I can do.
To be honest, I really should have changed the word “times” on the last update… it just slipped my mind. However, just thinking about it… I think the image resizing is best done through css so maybe you can have a fiddle with it in the mean time.
I will be sure to leave a reply here once I’ve made the requested changes.
Cheers
Nik
Forum: Plugins
In reply to: [Better File Download] Suggestions and a little problemHi Li-An,
I have submitted the update which fixes the date problem and allows you to set the text to be displayed (I popped that into Display Settings at the bottom).
I had only ever intended the version number to be of use to the site admin, I figured that if it was needed on the front end it could be displayed as part of the title.
As far as your request for a third template goes, I was able to achieve something very similar by unchecking the ‘Use default CSS styling’ checkbox and adding the following CSS rules in my child theme stylesheet…
.bfd-single-download{ display: inline-flex;}
.bfd-column.bfd-single-button-container{padding-left: 20%;}
.bfd-single-row{padding-top:5%;}
You might want to tinker with the percentages a bit and depending on how aggressive your existing CSS is you might want to add the !important rule.
Thanks again for checking out the plugin and your valuable input, let me know how you get on with it.
Cheers
Nik
Forum: Plugins
In reply to: [Better File Download] Suggestions and a little problemHi Li-An,
Thanks for the valuable input!
I’m just working on this now and will release an update very soon with both your suggestion and a fix for the problem.
In the mean time, you can edit the plugin files and fix the date display by changing two files within the plugin….
In the Public folder, you’ll find another folder named Partials. In this folder open the file titled ‘better-file-download-public-box-display.php’ and on around line 40 you will see
_e( date_i18n( 'F j, Y', $bfd_published_date ) );
… change this to readecho $bfd_published_date;
You will also want to change the file tilted better-file-download-public-taxonomy-box-display.php in the same folder… around line 98 change
date_i18n( 'F j, Y', $bfd_published_date ),
to read$bfd_published_date,
I hope this helps. I will push an update to the plugin within the next few days.
Cheers
Nik
Forum: Plugins
In reply to: [Discontinued: Srizon Social Album :Do Not Install] Access TokenThank you, that worked to get the albums from my personal page however… I need to get the photos from my client’s FB account (which is public). Is it still possible to set the plugin to fetch the galleries from their account?
Do I need their login details to generate another token?
Thank you so much for your assistance!
Cheers
Nik