MiniOrange was able to adjust their plugin to accommodate. Looks like WPDM and MiniOrange were trying to use the same hook which was causing a conflict. Thanks for the assistance.
Hi Shahjada,
This error began occurring around the time that the “pending approval” addition to WPDM. We haven’t modified anything in MiniOrange and it had worked perfect previously.
Our Chief Technology Officer think it looks like when miniOrange is still provisioning and assigning a role to the user as it should, Download Manager is looking for something associated to the user account and when the user is half-provisioned it doesn’t like what is returned and bombs out.
Are you sure there’s nothing that can be modified within WPDM to fix this issue? Sorry, I’m not a developer and am really grasping at straws to find a solution because I’m not sure who to turn to.
Hi Shahjada,
Wanted to check back in on the viewing of multiple files and see if this is still coming for future implementation? I’ve got a lot of packages using multiple PPT, DOCX and XLS files and they are not previewing properly with PDF viewer which is giving my site users a poor experience.
Hi Shahjada, I haven’t seen this update reflected for Wistia videos yet. Do you know when I might expect to see this update?
Hi Tanvir, any update from the developer team?
Nevermind…I have figured it out. Adding “/wp-content/uploads/download-manager-files/[PDF NAME]” to the end of my site URL pulls the piece as I’m looking for.
I tried that option, but it still directly downloads the piece…doesn’t seem to be properly working. But, I don’t want to do this sitewide anyway…just for a few certain resources. Is there any way to just get the link to the PDF so I can use something like the Page Links To plugin to have those resources open directly to the PDF in a new tab just like a PDF would from the media gallery in WP.
Thank you, Tanvir.
We are using miniOrange SSO as stated before…so that login screen only lets people in who have registered first through our CAS system. The test user I provided is one that I have created in CAS and can be used to test with. Once logged in the first time, that user profile from CAS will auto-create a new WP user. You have to delete the user from the WP users in order to test it again. There should be no reason to create a fresh test user outside of the provided one.
Have you been able to get any other eyes on this? We have been struggling through this for weeks and are REALLY needing to get it solved as soon as possible.
It still isn’t working. I think you didn’t see a problem because the user was already created in WP. The error occurs only on the very first login attempt. So as I test, I have to go back to Users > All Users and delete my test account from the users list before testing again. After doing that, the issue still seems to be happening.
We aren’t wanting to mix plugins to manage user roles. MiniOrange doesn’t manage users…it is just a SSO service that passes that information into the site. What we had set up a few weeks ago was working fine until the rollout of WPDM’s pending user role functionality. I have it turned off and it still is conflicting with our site. I have tried unchecking the user role as you suggested in your last update but it doesn’t save. When I refresh the page “Pending” is still selected.
I do not want to buy or add another plugin to our site. We already have user roles built out via User Role Editor that were working perfectly, so there is no reason for us to add or pay for further plugins to fix an issue that the latest WPDM update caused.
Can this issue be elevated to a higher level of support? We need to get this solved.
Sorry I mis-typed above…I have tried checking and unchecking the “Keep new signups pending for admin review” and neither prevents the issue.
Please try the backdoor login link provided again.
I have tried checking and unchecking the “Keep new signups pending for admin review” setting and prevents the issue.
Here’s a video of what is happening: https://soapbox.wistia.com/videos/YUuUQUFoao
Can you just help me understand what the key is for the package description? It is not listed in in the function reference package data keys.
Thanks!
Wonderful. Thank you, Shahjada. Do you have any idea when that update might occur?
THAT WORKED…THANK YOU! Is there any way to allow that tag to work for Wistia videos as well?
So there is no way to write a function to target other parts of a package that should be hidden based on package permissions? I saw this in another thread and didn’t know if there’s a way to modify it to target the body/description rather than the video player?
add_filter("wpdm_video_player_html", function ($player, $packageID, $file, $width){
if(!WPDM()->package->userCanDownload($packageID)) $player = \WPDM\__\Messages::permission_denied($packageID);
return $player;
}, 10, 4);
As mentioned previously, I do not want to upload videos. I need a solution that allows me to use EMBEDS (not video URL). I’m hoping I can write a function that can look to my package’s user permissions to toggle on and off that div so that I can use what I’ve already created within Pods since there is no embed solution at this time that works with user access.
Is there an easy way to just modify this function to toggle my Pods additional field rather than the WPDM video player? I’m not a developer, so I’m not sure how to modify this to accommodate, but I feel like it should be possible to just write something that says “hide this div if the user doesn’t have permission to view this package.” That is what you have built as defaults within the plugin already, I just need to modify it to turn off a different thing than the preset.
add_filter("wpdm_video_player_html", function ($player, $packageID, $file, $width){
if(!WPDM()->package->userCanDownload($packageID)) $player = \WPDM\__\Messages::permission_denied($packageID);
return $player;
}, 10, 4);
Any news from your team authority? Trying to figure out if there is a solution already in existence that can meet this need or if this is going to end up being something developed and released in a future update.
Our videos must remain private on Vimeo where they are hosted, so the Youtube player won’t work. Really need an option to embed in which the player hides based on access level…just like audio files.