Replies
- Brajesh Singh on July 17, 2018 at 7:05 pm in reply to: [Resolved] Xprofile Field Types – upload txt files #16354
Hi Frank,
Thank you.
I am assuming that it works with the above condition for you now? - Brajesh Singh on July 16, 2018 at 7:22 pm in reply to: [Resolved] Xprofile Field Types – upload txt files #16350
Hi Tarod,
Thank you for posting.1. Please make sure that the file size is greater than 1 KB(We have a rounding function that rounds to zero and causes the above message if file is less than a KB). In next update, we will remove the rounding from testing file validity.
2 You will still get security error. Please install WP ADD Mime Types plugin and add the following two types(as shown in red)
https://i.imgur.com/UELQYh9.pngAfter that, you will be able to upload text file.
Regards
Brajesh Hi Daniel,
Yes, you have found the right way. In case of any issue, you can go to the original site and can see the list of staging sites.Delete the staging site having issue and re-create one to proceed.
Regards
BrajeshThank you Daniel. Hope the upgrade to 3.1 goes smoothly.
Regards
Brajesh- Brajesh Singh on July 16, 2018 at 1:16 pm in reply to: [Resolved] Featured Member: time limit option #16344
Hi Herve,
It seems there is a problem with the sql. We might have to break it into 2 queries instead of one.I will push an update. I am not sure why it is showing now, It should have shown the error earlier too.
- Brajesh Singh on July 16, 2018 at 8:53 am in reply to: [Resolved] Featured Member: time limit option #16338
That would be strange. Is there any chance that WordPress Cron is disabled by your web host?
Hi Daniel,
I don’t see any issue in upgrading without disabling plugins. To be honest, There can be a fatal error caused during update by a unruly theme/plugin that calls BddydPress functionality(without BuddyPress provided hook or checking for the BuddyPress availability).
Try upgrading the staging environment first and see if it throws fatal. If it does, you can login to your original site and delete the staging environment and deactivate the plugin/theme causing fatal before upgrading.
After upgrading, if you keep the BP Legacy template pack, you won’t have any issue. If you switch to BP Nouveau template pack, you will see issues.
PS:- Thank you for the note and the donation. I was pleasantly surprised 🙂
Regards
BrajeshHi Nabeel,
I don’t own an iphone, so could not check on the iphone.I was able to get a windows computer today and tested it as per your previous post(using the chrome addon). I do see the issue. The issue is related to setting parameters/settings of the uploader.
It was a bug in the plupload library(older version). The bug is fixed in the newer version of plugpload but WordPress includes a very old version(2.1.2).
The solution for now will be to put a workaround for settings. Since I have managed to see the issue now, I can fix it. I will have the solution available in next 3-4 days.
Thank you
Brajesh- Brajesh Singh on July 16, 2018 at 8:17 am in reply to: [Resolved] Featured Member: time limit option #16334
Hi Herve,
1. Tried several variant:- 60 means 60 seconds but the cron job will only remove it after an hour(It checks hourly). Also, only newer members marked after you change the time will have the new time.So, change it to say 120( 2 minutes), Mark a user as featured member after the change and check after an hour.
DAY_IN_SECONDS is a constant that WordPress defines which is equivalent to 24*60*60( 86400) seconds.
Hi Andrew,
My approach and suggestion will depend on how many media you want to import and how often/convenient it should be.If it needs human intervention, I will go for a simple approach that provides an UI for moving to gallery.
If it can be automated, you can either create an array of media, gallery id and use a loop to automate it. Please do note that php time limits may not allow all to be imported in a go.
Writing a plugin is better approach but you can put the code in a file and include it in functions.php
Please make sure that you do not run the code before mpp_init action. The most suitable action for running the code will mpp_template_redirect if not using ajax actions.