I used the WPDM API. Sending a private message.
Adding <input type=”hidden” name=”file[access][]” value=”guest”> seemed to have fixed it; however, what happens when you guys update/change that file again and it breaks again?
Hi, when I hide those extra fields via CSS and a user uploads a file, the file cannot be downloaded on it’s individual download page and on the downloads page. How can I fix this? Do I need to comment out the appropriate code in wpdm-add-new-file-front.php? And if so, how I can prevent it from breaking again if you guys update/change the template?
Yes, I had pulled wpdm-add-new-file-front.php into the themes directory to remove the additional package settings section. There must have been a change to it in a recent update or something which caused it not to work anymore. In any case, I’ve deleted it and used CSS to hide those settings. A nice feature would be if you could control/limit what is shown to a visitor uploading files. Thanks for your help!
Fixed. Thank you!
Yes, but if you check another author (e.g. http://community.ltenergypartnership.org/author/emily-mclaughlin/, it shows my profile info. See screenshot.
After testing this with other users<?php echo do_shortcode('[wpdm_user_profile items_per_page=12]'); ?>
, the URL points the correct author; however, it pulls up my profile/download history, etc. and not the original author.
Thanks!
But they don’t. That’s the problem. Can you please provide a solution?
I’m not using it anywhere at the moment because I took it out. I was using the code provided to me to create a new column in the show all files shortcode template wpdm-all-downloads.php which I’ve duplicated in my theme folder.
$package = \WPDM\Package::get($ID);
echo $package['author_name'];
echo $package['author_profile_url']; ?>
So basically I’ve added a new header <th> called Author and cells <td> that should output the package’s author name and a URL to the author’s profile.
The code you provided did not work in wpdm-all-downloads.php. I added a new table cell to hold the info and it just appears blank.
Does this work with do_shortcode, for example if I wanted to add it to the template wpdm-all-downloads.php? Or how should I add it to that template?
Also, I had a quick question regarding potentially installing/using buddypress for a forum/means of communication between users — is it compatible with your plugin?
When do you expect the new plugin update to be released?
Shoan, thanks for the quick response. These features would be really helpful. Looking forward to them in the future update!