-
Search Results
-
Topic: category page not opening
Hello
I using download manager plugin all functionality working on admin but I am check on frentend . they are giving the error
category page not open
here is my link
https://springridgeonline.com/downloads/information/please reply soon as possible
Topic: Login Problem
Hi,
I can login to this site fine. But when I enter the same credentials into my WP site under
Downloads =► Settings =► Updates
I get “Error: Invalid Login”.We migrated to a new host after installing the plugin. Could that be causing the problem?
Thanks,
Hi,
When I use [wpdm_category] it generates a login box (.w3eden div with a #wpdmlogin and a login form) in the header for every download on the page. It works fine while logged in, but visitors see the login boxes and it breaks styling on the page.
I’ve tried other shortcodes such as [wpdm_all_packages] for the same categories and these display fine, the issue only happens with [wpdm_category].
I need to use [wpdm_category] because I need the “AND” operator to display only downloads that fall within 2 categories.
All packages are Allow Access: All Visitors, I’ve even set each category to “All Visitors” and still can’t get the login box to go away.
Shortcode example:
[wpdm_category id="documents, blue" operator="AND" toolbar="0" paging="1" order_by="field name" order="asc or desc" items_per_page="10" template="5c740c312dc7e" cols=2 colspad=2 colsphone=1]Thanks
Topic: Similar downloads
Here is a short code that will show similar posts with thumbnails. Can you let me know what I have to update to include Downloads / All packages in the results too. Or if there is a better way to show similar downloads please let me know.
<?php $orig_post = $post;
global $post;
$tags = wp_get_post_tags($post->ID);
if ($tags) {
$tag_ids = array();
foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id;
$args=array(
‘tag__in’ ► $tag_ids,
‘post__not_in’ ► array($post->ID),
‘posts_per_page’►5, // Number of related posts that will be shown.
‘caller_get_posts’►1
);
$my_query = new wp_query( $args );
if( $my_query->have_posts() ) {echo ‘<div id=”relatedposts”><h3>Related Posts</h3>
- ‘;
- <div class=”relatedthumb”>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_post_thumbnail(); ?></div>
<div class=”relatedcontent”>
<h3>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?></h3>
<?php the_time(‘M j, Y’) ?>
</div>
while( $my_query->have_posts() ) {
$my_query->the_post(); ?><? }
echo ‘</div>’;
}
}
$post = $orig_post;
wp_reset_query(); ?>Topic: Downloads/All packages
Downloads/All packages – table preview of all downloads:
It would be nice if you add “Total views” next to “number of downloads”, also with ability to sort it high-low and vise versa.I’m trying to display all of the downloads available and also remove the “Display ## downloads per page” located at the top left and also remove “Previous 1 Next” at the bottom right of the page.
I have added an image and circled in red of what I want removed, but still be able to display all downloads.
Hi there,
I would like to create a page like the default archive demo page, but can’t get it to look like that. What I ideally want is a combination of the category sidebar like this page, search bar from the same page and then the documents list from this page.
Can you maybe add the used shortcodes to the demo pages? Most of the shortcodes are easy to understand, but for some, I have quite some difficulties to figure those out.
And, another question. Would it be possible to add status for public/private downloads in the list overview (see attachment for explanation).
Thanks for your help!
Regards, Bas
Topic: Download link url
Hello guys,
Right now, I’m using this code to generate my download button:
$data['download_link'] = \WPDM\Package::downloadLink($data['ID'], 0, array( 'template_type' ► 'link' ));It generates this kind of HTML:
<a class="wpdm-download-link btn btn-primary " rel="nofollow" href="#" onclick="location.href='https://mysite.com/?wpdmdl=5286&refresh=5c6d13a29aef41550652322';return false;"><span>Download</span></a>In the
<a>tag, I would like to add a data-url attribute that will contain the href to the file. How can I do that? How can I get only the url, not the full<a>tag ?In fact, I need that because I want to create a “Download selected files” button, that will launch multiple downloads at once, depending on selected packages. (not all-in-one ZIP, but trigger each download separately). How would you do that?
Thank you in advance,
CedricTopic: URL Change
We had our site in a test folder while we built our site. We moved it last week and now Download Manager is crashing our site and using all our resources. I see in our database our downloads are still looking for the test site and I’m thinking that is the issue. We tried to use a search and replace, but it does not seem to want to edit any Download Manager items. Is there a way to fix the paths of our downloads?
Thanks
We have just migrated multiple WordPress sites which use the Download Manager plugin to a new server with php 7.1.26 installed (the old server used 5.3). Ever since, the download buttons on WPDM package pages do not work – they do change the url of the window, but nothing downloads. However, if you remove the “WPDM Package URL Base” and the package name from the URL in the address bar, you not only get the download, but also the BEHAVIOUR configured in Download Manager settings (eg. if it is configured to try and open the file in browser, it does so, otherwise it simply downloads).
Can you please advise why this has happened, and is there a simple config change we can make to correct it?
Thanks in advance
All new uploads to my site have recently encountered this error:
<b>Notice</b>: A non well formed numeric value encountered in <b>/public_html/people/wp-content/plugins/download-manager/libs/class.DownloadStats.php</b> on line <b>35</b><br />
Line 35 of the mentioned file:
$udl[“”.$index] = isset( $udl[“”.$index] ) && is_int( $udl[“”.$index] ) ? $udl[“”.$index] + 1 : 1;This has meant that all PDF previews do not work. I can still download the document, .docx previews do not work either.
The attached screenshot is what the preview is rendering the PDF as with the error at the top.
line 35 mentioned above was double checked with a previous post to ensure it was the same as required. I updated the plugin as well to see if that would fix it and it has not.
Need some help with this asap. Thanks.
- <div class=”relatedthumb”>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_post_thumbnail(); ?></div>