Hi,
The customization is complete. Please check the email sent from customization address.
Thanks.
Hi,
We received your email ticket too and unlocked the key which you already know.
I see that you had some issue with the update. You can send temporary wp-admin login info in private reply. I will install the latest version for you.
Or you just download the latest version here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
Thanks.
It is possible to add the tags column using some code customization. We have to use a custom template /tpls/wpdm-all-downloads.php
I have modified the template file to add tag support. You can download it here https://www.dropbox.com/s/pmmvc9dr4cg7sz2/wpdm-all-downloads.php?dl=0
Place the file in /active-theme/download-manager/wpdm-all-downloads.php
location to override the default template. Then use tags
in your all packages shortcode to show package tags.
When creating the pacakge the author can set the roles from settings. But if you want to assign those automatically the Default Values ( https://www.wpdownloadmanager.com/download/wpdm-default-values/ ) add-on is the solution. Using this add-on you can set default values for all new packages.
Please check your error log and send me the latest entries or the log file. It should indicate if there is a PHP error. This might also be a conflict with another plugin. So, try deactivating other plugins to find the conflict.
Send temporary wp-admin login info in private reply if you can’t find the issue or error log doesn’t provide any info.
We will fix it in next version of Download Manager.
However, you can fix the file paths of already created packages using the following code block. Add the code to your theme’s functions.php file and visit the blog posts page just once. Then delete this code. Of course, adjust the /dir/to/file
in this code to match your directory.
function update_file_path(){ if( ! is_home() ) return; $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 ); $q = new WP_Query($params); while ( $q->have_posts() ) { $q->the_post(); $files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true)); if ( ! is_array( $files ) ) $files = array(); foreach ($files as $key ► $file): $files[$key] = str_replace('/dir/to/file','/dir/to/file/', $file); endforeach; update_post_meta(get_the_ID(),'__wpdm_files', $files ); } } add_action('init','update_file_path');
Actually, you just have to save the key on your new site. You don’t have to do anything on the old site. I have unlocked the key from the old site again. So, just visit the new site and save your key there.
Place your files in /uploads/download-manager-files/
directory. Then write the filename under files
column in your CSV file. Use a comma if you are adding multiple files in the same package. Then import the CSV. Your file will be linked to the package. You have to use full file path under files
column if files are stored outside the /uploads/download-manager-files/
directory.
You have to create the categories manually first. Then use the category slugs in CSV file to assign them to the package. Automatically created categories don’t maintain the hierarchy.
Please send temporary wp-admin login info in private reply to check the PDF Viewer issue. Maybe the file isn’t linked to the package. You can try uploading a PDF manually.
If you have already created packages using CSV and used the filename under files
column then no need to rerun the CSV. Files will be linked to their respective packages automatically.
Yes, you can create tags ( comma separated values under tags
column ) and categories ( comma separated values under category
column ) from CSV import.
Please deactivate and delete the old version of Download Manager from the Plugins page. You won’t lose any data or settings. Then install the Pro version.
Customization will be done within the next 24 hours. I will check th other issue too when I login to your to install the custom add-on.
Yes, support is 24/7. But there might be a delayed reply at weekends. Download Manager Pro works with any theme or plugin that follows WordPress standards.
You can check our themes here https://www.wpdownloadmanager.com/downloads/themes/ These are made for Download Manager Pro, so works better than any other theme.
WPDM doesn’t have any built-in template tag to show gifs. But it is possible to implement a custom tag using the wdm_before_fetch_template
hook. Add the following code to your theme’s functions.php file and use the [gif]
tag in your custom page/link template to show the gif.
function wpdm_gif_tag( $vars ){ foreach ($vars['files'] as $file ): $filetype = wp_check_filetype( $file ); if( $filetype['ext'] != 'gif' ) continue; if( ! file_exists( WPDM_CACHE_DIR.$file ) ) copy( UPLOAD_DIR.$file, WPDM_CACHE_DIR.$file ); $vars['gif'] = ''; endforeach; return $vars; } add_filter( 'wdm_before_fetch_template', 'wpdm_gif_tag', 10, 1 );
Yes, we will add the patch in our side too.
Unlocked your key from the old domain. You can use the key on your new site.
Looks like wordpress.com not allowing the FTP connection to your file server. But I managed to bulk upload files to /uploads/download-manager-files/
directory using our File Manager add-on. So, you can use it to bulk upload all your files.
Please try the following shortcode ( Panel template with 3 cols layout ),
[wpdm-archive button_style="inverse" link_template="link-template-panel" cols=3 order_by="title" order="ASC" items_per_page="9"]
Send login info in private reply if that doesn’t fix it.
Please check the “Private Download Links Usage Limit:” option in the Basic settings page. Or send temporary wp-admin login info in private reply if you want me to check the issue.
Could you please send me your queries in this support ticket? We prefer this forum for product support. Email support is intended for presale questions only.
The file should be placed inside your theme. You can download our free theme Verse and check the taxonomy-wpdmcategory.php
from there.
https://www.wpdownloadmanager.com/download/verse-wordpress-theme-for-digital-shop/
Could you please send me your PHP error log file? When submitting the form server is responding with a 500 error code. The error log will help us to pinpoint the issue.
It isn’t possible to order packages by category in all packages table. But you can filter packages by category by clicking on a category.
Yes, there is a tree shortcode [wpdm_tree]
It comes from the Extended Shortcodes add-on http://www.wpdownloadmanager.com/download/wpdm-extended-short-codes/
Please replaced line 35 in /download-manager/libs/class.DownloadStats.php
with the following code to fix the error,
$udl["".$index] = isset( $udl["".$index] ) && is_numeric( $udl["".$index] ) ? $udl["".$index]+1 : 1;
Or send temporary wp-admin login info in private reply, I will do it for you.
Replaced the “Download” button in “My Downloads” page with the package link. Now users will be redirected to the package page where they can purchase the item. By the way, clear the cache if you see no differences.
You were getting the error on the export tool because of the missing wpdm-cache
directory in /wp-content/uploads/
dir. I have created that dir manually which resolved the export tool issue.