Forum Replies Created
Tag import actually works when you have all data ( title, description etc ) in CSV file.
But it is possible to make it work just like you want it. Add the following code
if( $post_id == 0 && isset( $postdata['ID'] ) )$post_id = $postdata['ID'];
before wp_set_post_tags( $post_id, $drow['tags'], true ); in /download-manager/admin/menus/class.BulkImport.php file ( line no 182 )
Then try importing the file again.
The PDF thumb issue doesn’t seem to be related with JS error. Please send wp-admin info with plugin editor access. I have to run some tests.
If you can’t send the login info then perform the test,
Go to /download-manager/libs/class.FileSystem.php line no 399 and comment the line. Then add return $e; right below it.
Check your frontend page. There should be some info about the issue. Copy and send that info.
The Bootstrap CSS was missing because you renamed the plugin folder name. I have re-installed the WPDM. Now the Bootstrap CSS is available again.
Are you referring to the [wpdm_frontend] shortcode? The package title is actually required field there.
Or is it file hosting add-on? The custom version I sent you should allow the package creation without a title.
Just add the following code to your theme’s functions.php file. That should do the job,
add_filter('wpdm_user_dashboard_menu', 'wpdm_custom_dashboard_menus',10,1);
function wpdm_custom_dashboard_menus($menu_items){
unset($menu_items['']);
unset($menu_items['download-history']);
unset($menu_items['my-downloads']);
return $menu_items;
}
Hi,
You have to create a custom template file for all downloads table to keep the changes even after the plugin update. Here is how you can do that,
1 ) Copy the /download-manager/tpls/wpdm-all-downloads.php file.
2 ) Place it in /active-theme/download-manager/ directory.
3 ) Replace echo $download_link; with echo "<a target="_blank" href='".\WPDM\Package::getDownloadURL($data['ID'])."'>Download</a>"; in line no 355
That should open the links in new tab.
Thanks.
Works now without the Better Font Awesome plugin. I have disabled the WPDM Font Awesome from settings.
Hi,
This may be a conflict with another plugin or there is a JS error on the page. Could you please send temporary wp-admin login info in private reply? I have to check this as an admin user to provide a solution for this.
Thanks.
Hi,
There could be 4 cases. These are related to whether a user was logged in or not when downloaded the file and the settings of IP address collection.
1 ) History shows both IP address and username. This happens when someone downloads a file after logging in to your site. And you haven’t checked “Do not store visitor’s IP” option from Downloads Settings Privacy.
2 ) Shows only username when “Do not store visitor’s IP” is checked and someone downloads a file after logging in.
3 ) Only IP address when someone downloads without logging in and “Do not store visitor’s IP” isn’t checked.
4 ) Nothing under username/IP when someone downloads without logging in and “Do not store visitor’s IP” is checked.
Hope this helps. Let me know if you have further query.
Thanks.
Please try now. Unlocked the key from old site oxygraphics.co.uk
Please send me your key in private reply.
Hi,
Looks like you are hosting on Siteground. Your server is blocking the AJAX request sent by Download Manager. Please add the following rule in your .htaccess file to fix the issue.
<IfModule mod_security.c>
SecFilterRemove 001868
</IfModule>
Thanks.
Your custom field data is not formatted properly. You can’t use HTML there. Instead of using the whole image with a link just save URLs as custom data and move rest of the link to your custom template.
For example use this <a href="[custom_link]"><img src="[custom_image_url]"/></a> in custom template and collect custom_link and custom_image_url from ACF.
Hi,
The login issue is related to our WPDM login system. It strips some characters. We will fix it soon. Please don’t worry, it doesn’t affect the plugin feature.
And I have updated the plugin manually on your site.
Thanks.
Sorry, you will find the ?wpdmframe in /wpdm-file-hosting/tpls/wpdm-file-browser.php
Add active class in “Package Link” li element.
<li class="active"><a href="#link" data-toggle="tab">Package Link</a></li>
Hi,
Sorry, It is not possible to create new child categories. But if you already have created the hierarchy in the admin area, then it is possible to assign parent and child from bulk import.
Thanks.
You haven’t updated the API keys in social settings after creating new apps. So, it is showing the API error again.
In my last reply, I told you to add your site URL as callback URL in Twitter app settings which would have solved the issue.
Now, this is what you have to do to make this work,
1 ) Get new API key from app settings and save those in respective options in WPDM social settings.
2 ) Make sure you have added your site URL as allowed callback URL in app settings.
I have added my Twitter app credentials there to show you that the plugin works 100% (check the twitter tweet and follow lock now ) Please replace my credential with your own app keys.
https://www.evernote.com/l/AUfo-iKvnklJ2oMEjMV2hy_-RTsvfCo1QkIB/image.png
Keep a backup of the template file before the next update. We will add template support in the next version after that you can place your template file in /active-theme/download-manager/wpdm-file-browser-container.php location to override the default template.
On second thought, Actually just perform the following code update to add template support now. Replace line 79 with the following code in wpdm-file-hosting.php file,
include(wpdm_tpl_path('wpdm-file-browser-container.php', dirname(__FILE__)."/tpls/"));
Then copy your custom template /wpdm-file-hosting/tpls/wpdm-file-browser-container.php and place it here /active-theme/download-manager/wpdm-file-browser-container.php
Now next update won’t erase the changes you made.
What did the plugin author suggest? If you want you can add error_reporting(0); in your theme’s functions.php file to hide these warnings if the author can’t provide a solution.
Additional previews are there but looks like theme CSS is hiding them partially. Also adding some dots in li items.
Please send login info in private reply. I will add some custom CSS to fix these issues. I’ll also check the archive page column issue.
1 ) From template file /wpdm-file-hosting/tpls/wpdm-file-browser-container.php remove the tabs you don’t need,
https://www.evernote.com/l/AUdUSvf-uM5HMLi9YWZWz3tNN-3q9Y0b6FMB/image.png
2 ) Remove ?wpdmframe from line 40 in wpdm-file-hosting.php file.
You can add the following CSS in Customize Additional CSS to hide the “Shared with me” button,
#sharedWithMe { display: none; }
Or just remove the button from template file /wpdm-file-hosting/tpls/wpdm-file-browser-container.php ( line 15 )
Hi,
Yes, you can bulk import tags now when using CSV import. Create a column in your CSV with tags title. Just like the categories use commas if there are more than one tags for a package.
Thanks.