From your email:
Apologies for the email but I’m unable to post on the forums?
…www.wpdownloadmanager.com/support/topic/factory-reset/#post-62564
OK. In the interim I’m using a different plugin to send WPForm data to Zoho from helpforwp.com.
….co.uk/the-adaptive-enterprise/
So using above url…
1. wpdownloadmanager form-lock add-on embeds a WP From into the link template
2. upon submission, user gets an email with download link
3. at the same time helpforwp plugin posts the data to Zoho
However, in step #2, when I submit a download request as a ‘user’, I now get emailed the file link 3 times? Any ideas?
Also is there a way to suppress the ‘Download link sent to your email’ message as I now have 2 confirmation messages, one from WP Forms and wpdownloadmanager.
Thanks
#3. I thought you were using our Zoho CRM addon, which is only compatible with email lock option for now. However, if you are using the Zoho CRM addon for wpform from helpforwp, it should work fine.
# I’m seeing only one notification after form submission
# 3 emails probably becuase of the conflict with other wpform add-ons, however, I’m checking this.
You don’t need to create a role for every user, if you assign specific users to a package, only assigned user can download it. For example:
https://www.evernote.com/l/AV28mhTHX-xELKGQpSmUvKZYIo-B6K-AShwB/image.png
And frontend:
https://www.evernote.com/l/AV1g8lLv1ZZPl4DwLpnuH_y5dVf5LEIKu38B/image.png
Now other users will be able to download it.
But, be careful when selecting a category, a package inherits all access from select category ( Docs: https://www.wpdownloadmanager.com/doc/add-new-package/package-settings/ ).
Please let me know if anything still is not clear, or give me any package URL where it is not working as you expected.
Important:
Please update your wpdm pro and add-ons, you are using very old version. Please download the latest version from premium download area ( https://www.wpdownloadmanager.com/user-dashboard/purchases/ ), deactivate and delete old version ( The process will not harm any of your data ), install and activate the latest version. From next update, you will be able to update the plugin in 1 click from wp admin plugins page.
This reply has been marked as private.
Hi,
Sorry for your trouble, the issue was related to our wppromembership plugin when remote url is attached, however, I’ve fixed it in your installation and also added the fix in our side for the next update.
After clicking the ‘+’ button URL is added to the Attached Files meta box.
Did you try to download the file from frontend? Please send temporary wp-admin login info in private reply if still can’t figure it out.
Instead of uploading view on your server, you may upload to youtube, then attach youtube video URL with wpdm package, and finally, use [youtube_player]
tag in the page template to play video. But only possible in pro version. However, we shall add the video upload and play support for free version soon.
Hello
I added this in hopes that once I logged in I would go to the page /front but it didn’t work
add_action( ‘template_redirect’, ‘wpdm_login_redirect’ );
function wpdm_login_redirect(){
if( is_user_logged_in() && get_the_ID() == get_option(‘__wpdm_login_url’) ):
wp_redirect( home_url(‘/front/’) );
exit();
endif;
}
Add following code in your theme’s functions.php file to setup Logout redirect,
add_action('wp_logout', create_function('', 'wp_redirect(home_url("/")); exit();'));
Login Redirect,
add_action( 'template_redirect', 'wpdm_login_redirect' );
function wpdm_login_redirect(){
if( is_user_logged_in() && get_the_ID() == get_option('__wpdm_login_url') ):
wp_redirect( home_url('/') );
exit();
endif;
}
Hi,
I am using the WPDM Archive Plugin. I included the following code on a page and it looked as expected:
[wpdm-archive cat_view="compact" link_template="link-template-loxberry-extended" order_by="title" order="asc" items_per_page="20" ]
Example: http://plugins.loxberry.de/plugins/
But if you click on “Next” or “Page 2”, the next page shows up correctly for a second or so, and then shows up with any style. Furthermore, the URL isn’t correct (missing /plugins/ Part). But even if I add /plugins/ to the URL, it showed up without any stype loaded.
Example: http://plugins.loxberry.de/?wpdmtask=get_downloads&pg=52&category=0&cp=2
Can you please check?
Thanks for the reply!
#1 fixed my first issue of properly overriding the template!
#2 I’m not sure how to traverse the array of categories. I’d like to display the category of each file as it builds the rows of files. Here’s my code with the changes you mentioned. I added $cat = wp_get_post_terms(get_the_ID(), ‘wpdmcategory’); and I see it pulling the Array when I “echo $cat”. How can I make each file’s category display instead of the entire array?
while( $packs->have_posts() ){
$packs->the_post();
$icon = get_post_meta( get_the_ID(), '__wpdm_icon', true );
$icon = ( $icon == '' ) ? WPDM_BASE_URL.'assets/file-type-icons/download4.png' : $icon;
$cat = wp_get_post_terms( get_the_ID(), 'wpdmcategory' );
if(strpos($icon, 'file-type-icons/') && !strpos($icon, 'assets/file-type-icons/')) $icon = str_replace('file-type-icons/', 'assets/file-type-icons/', $icon);
?>
<tr>
<td>
<a href="#" class="apc-pack" data-item-id="<?php the_ID(); ?>">
<img src="<?php if(has_post_thumbnail()){the_post_thumbnail_url();}else{echo $icon;} ?>" style="float: left;margin-right: 10px;width: 40px;" />
<?php the_title(); ?>
</a>
</td>
<td><?php echo $cat; ?></td>
<td><?php echo get_the_modified_date(); ?></td>
<td><a href="#" class="btn btn-primary"><i class="fa fa-download"></i>Download</a></td>
</tr>
<?php
}
Sorry, It should be ['download_url']
not ['download_link']
,
<td><a target="_blank" href="<?php echo $data['download_url']; ?>">Download</a></td>
You have to add the "searchPlaceholder" : "Search Records",
line in wpdm-all-downloads.php
file ( as datatable initialization argument – around line 60 ).
Okay, thank you, that did work. I set the wpdm_download_link_expiration_limit to 1 in the plock if block.
I would have sworn I tried it with success more than 3 times before, but I must be mistaken since now it only allows 1 time, even if the same user copies the link URL and pastes in a new browser tab.
I can’t expect buyers of my software to register as a user on my site, and I also didn’t want to limit the downloads that 1 person supplying the proper password could download.
I will admit that I got a bit upset here at first, thinking I had purchased a plugin which seemed useless to me. But I am glad you responded with this workaround, and quite promptly I should not hesitate to add.
Thanks.
Suddenly and without explanation, users have not been able to open or download package files when using Google Chrome. When clicking the link it takes them to a new page with an error message. They are able to download using IE and other browsers. This problem began with the previous version of WPDM installed and continues after the latest update. Clearing the browser cache does not solve the issue and deactivating all other plugins does not solve it either. The error received is pasted below along with a screenshot. The url is valid and works in other browsers.
This site can’t be reached
The webpage at http://www.chicagocop.com/download/animal-cruelty-to-animals-class-a-misdemeanor/?wpdmdl=12387 might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
yup, I understand that. But just be aware that the “fix” in that file, is not actually the fix. The fix is to use the correct URL. The file was supposed to contain a fix so that cross-domain access becomes a non-issue. This is how it should be, since multisite users often have sites with different domains, even on the admin side. As it stands right now, I have to create a special link to add downloads, and in some cases (such as editing an existing item) change the link after loading the page, because the standard link (in the admin sidebar menu) does not work. I hope you can provide a file that does fix this issue. Thanks.
Working now. I have added flaturl=0
with [wpdm_frontend]
shortcode.
This reply has been marked as private.
Added following code at the top of /wpdm-archive-page/tpls/advanced-search-form.php
to fix the issue,
<?php $url = str_replace( 'http://', 'https://', $url ); ?>
Slider, calendar, and categories are back now.
Hi!
It shows that an update from version 4.6.5 to 4.6.7 break the site login. It is added a ?redirect=/ after the site URL after having put in the login credentials and pressed the button to log in. I have had to inactivate WPDM to make it work again. I will look for the old install file for 4.6.5 to make it work again.
You may try to log in now. You can find the credentials as a private message above.
Kind regards
Michael
Here, people don’t always use Facebook page, sometimes they use their site URLs too. However, it is a good idea to show the information about the page they are liking in the popup, we shall add it with the next update of the plugin.
Seems like a conflict with your theme css or another active plugin css. It can be fixed by adding some css, please give me your URL to suggest your required css changes.
Looks like your app hasn’t been setup properly. My API keys work fine after adding your URL in APP settings. Please check the following screenshot.
https://www.evernote.com/l/AUfGC0UjNDVIPLSYo1nRyzxyawMp_hneYqIB/image.png
Add the same URL in OAuth 1.0a options too. Also, check all application permissions as shown in the screenshot above.
This is definitely a Dropbox permission settings of these 2 files. I tried to access the EUR file through URL but it says “The owner hasn’t granted you access to this link.” Also, the download doesn’t work even when I am logged into Dropbox. It works for you because you have permission.
Please try following steps,
1) Delete both files from Dropbox and remove them from package too. Update your package.
2) Upload new copies to Dropbox.
3) add new copies from Dropbox to your package and update package.
In your app’s authentication settings add redirect URL ( OAuth 2.0 )
Add your website URL as redirect URL.
https://www.evernote.com/l/AUdrcra5Nw9K265UoEduE9gY6UHr81p0N1MB/image.png
The solution is using custom link template.
If you don’t want to show download details page you can remove the [page_url]
template tag from the link template.
Clone any link template from Downloads Templates page and remove [page_url]
tag from there. Also, remove the HTML a tag. Then set this link template when inserting the shortcode.
Use TinyMCE add-on to insert the shortcode. Your custom link template will be available in the dropdown.