This reply has been marked as private.
There is a difference between your WordPress-address (URL) https://www.vphuisartsen.nl/2018
and Siteadres (URL) https://www.vphuisartsen.nl
The issue originated from there. I have updated the Block Hotlink add-on to handle this scenario. Downloads are working now
This reply has been marked as private.
This reply has been marked as private.
1 ) Use global coupon for now. All other coupon related issues are already in our to-do list
2 ) You can use the extended page template or a custom template with [download_link_extended]
template tag to show embedded lock options instead of popup.
3 ) Invoice currency sign Will be patched in next updated
4 ) Fixed it on your side and have added the patch on my side too for the next update. You can use a custom template to add additional info. The template file is located here /wpdm-premium-packages/templates/partials/order-notes.php
5 ) The support of other posts types isn’t fully functional yet. It is still in beta.
6 ) Thank you for reporting this. We are going to fix this issue asap.
7 ) Although the UI is tab style the “+” sign is actually a different link, no JS involved in switching tabs. Not sure which plugin ( os is it the theme? ) disabled it. Please try deactivating plugins one by one to find out which one. As it is live site I would prefer if you do it yourself.
8 ) Here are the defaults, WPDM Category URL Base = downloads
WPDM Package URL Base = download
Archive Page Slug = all-downloads
9 ) Looks like you have already added the “View details” link here https://technicskeyboard.com/download-categories/
10 ) I do have plan to implement the bulk import add-on as soon as possible.
11 ) Links under “Download Categories” in sedebar widget are working fine for me https://technicskeyboard.com/blog/wpdm-category/technics-manuals/ ( Technics Manuals )
12 ) The category archive template comes from Settings > Frontend Access > Category Page Options settings. Use a link template there that doesn’t have a download button. Or you can use the Basic Style and check the pacakge info you want to display.
13 ) Yes, you can add both pdf and zip to the package. After purcahse user can download the files separately from dashboard. The pdf willl be stamped during download.
So, you are an Architect! It is a creative profession. Please do share your works whenvever you can. I do enjoy creative architecture although doesn’t have any technical understaning of it. Not long ago, watched the “The World’s Most Extraordinary Homes” on netflix and really loved it.
About the sidebar and widgets in Prime:
There is Layouts option in the Appearance > Customize. This is the global settings of sidebar and widget areas. Pages have their own layout setting as I have shown in a previous screenshot. You can override the global settings using the individual page layout option.
But for other things like posts and archive, there is no individual layout option. You have to control those from Appearance > Customize > Layouts.
For post layout, I have selected the right sidebar option. If you want to change just click another image. Layout Images are self-explanatory. After selecting a sidebar layout, don’t forget to set the widget area from “Left Sidebar”, “Right Sidebar” option. For single post, I have selected the “Right” widget area for the right sidebar. Now you just have to place your widgets in “Right” widget area from Appearance > Widgets page to make them show up on a single post.
I hope this clears things up about the layouts, sidebar and widget areas. But let me know if still have any question 🙂
You don’t need a redirect URL from Stripe gateway, it is detected automatically based on the user’s login status. Just make sure you have set the user dashboard and guest order page in settings. We are releasing an update of Stripe add-on within tomorrow. Install the new version when it is available. We are fixing some minor bugs there.
You can add the following code before die('ok');
in createPackage
( file: wpdm-file-hosting.php
) to send an email to admin when a new package is created.
\WPDM\Email::send("new-package-frontend", array( 'package_name' ► $pack['post_title'], 'name' ► $current_user->user_nicename, 'author' ► "<a href='".admin_url('user-edit.php?user_id='.$current_user->ID)."'>{$current_user->user_nicename}</a>", 'edit_url' ► admin_url('post.php?action=edit&post='.$id)));
This reply has been marked as private.
1 ) Looks like you have installed the PayPal Pro add-on. Please save your Live API credentials in PayPal Pro settings ( Settings > Premium Package > Payment > PayPal Pro ). Follow the link in the settings page to get the keys.
2 ) Modified the search behavior to add matches from all post types. One thing to consider though, all your posts don’t have the same metadata. So, when displaying search result some cards might lack few metadata.
function wpdmpro_search_filter($query) {
if ($query->is_search && !is_admin() ) {
$query->set('post_type', array('post','page','wpdmpro') );
}
return $query;
}
add_filter('pre_get_posts','wpdmpro_search_filter');
3 ) Updated header image by editing #featured-slider-container
div homepage-blocks/homepage-top.php
file. Here is the updated style for future reference.
background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('<?php echo WPEdenThemeEngine::NextGetOption('header_bg'); ?>') center;
Looks like it isn’t possible to fix the URL without code customization. You have to add this code
if( is_tax('wpdmcategory') ) $burl = get_term_link(get_queried_object());
right after $burl = get_permalink();
in /download-manager/wpdm-functions.php
file.
Another option is available which doesn’t involve changing the core plugin code. But it is a bit lengthy. Create a new category shortcode using wpdm_category
and wpdm_embed_category
functions. You just have to replace the $burl = get_permalink();
part as I suggested above.
This reply has been marked as private.
This reply has been marked as private.
Hi,
Thanks for reporting the issue. There is a bug in the AJAX request we are sending to generate the URL. It is always sending 3 ( Usage Limit ) & 60 ( Expire After ). Adding a patch in next release to fix this. Next version is coming pretty soon.
Best regards.
This reply has been marked as private.
Go to Downloads > Settings > Basic > Access Settings > When user is not allowed to download: option and set “Hide Everything” as active value. Now users won’t be able to see other’s files.
About the login redirect. It is also possible using custom code. Set the login page URL in Downloads > Settings > Frontend and add the following code to your theme’s functions.php file. Replace the place_your_url_here
with the actual redirect destination URL. Now users will be redirected to this URL after login.
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( "place_your_url_here" );
exit();
endif;
}
BTW you can use this URL: yourdomain.com/user-profile/?user=*name* but I wanted to add more information on the seller!
Most online stores usually have the option to see all the items from a Seller FROM a single item page. FWIW here is how I implemented this feature using Verse Theme.
1. I use the ‘jabber’ field to create a unique 10-digit code for each Seller (not going to use this field for anything else)
2. I create a unique ‘Category’ for each Seller
3. I then create a Seller Page using the ‘jabber’ code as the permalink and WPDM shortcode to display all items from the sellers category.
4. When a new package is created, simply add it to the seller’s unique Category and it is now automatically added to the list display on the Seller Page.
Verse only ever uses one page to display an item – singel-wpdmpro.php which can run in the child theme.
5. Edited so that instead of just showing the ‘Display Name’ of the package author, IF there is text in the ‘jabber’ field it displays the name as a link to the Seller Page simply appending the ‘jabber’ field to the link URL.
——————-
Yes it’s a bit of a hack, yes I could have used unique ID’s, yes I could have messed around with functions and a whole lot more. But since I have to create a Seller page manually anyway, none of that really makes any significant difference to the effort.
It works perfectly fine, worst case scenario is a 404 AND it doesn’t require any core code edits – but if anyone has a more elegant solution I’m all ears.
1 ) Your server is blocking the saving operation. If you are hosting on Siteground add following rule in your .htaccess file to fix the issue,
<IfModule mod_security.c>
SecFilterRemove 001868
</IfModule>
2 ) You need Advanced Access Control add-on. Using this add-on you can assign package based on username. Please check details here https://www.wpdownloadmanager.com/download/advanced-access-control/
3 ) You can paste URL and save settings. I see there is an issue with the button, will fix it soon. The profile image comes from gravatar. User can set their gravatar from https://en.gravatar.com/ It is a service that globally sets you avatar based on the email address.
4 ) Please try deactivating other plugins. Maybe one of those restricting the password reset for specific roles.
You can add redirect URL in registration form shortcode. User will be redirected to that page after registration. You can also add autologin="true"
with the shortcode. It will automatically log the user.
[wpdm_reg_form redirect="http://www.cbsconsulting.com.au/dashboard/" autologin="true"]
You can see the registered user in WordPress users page. Downloads > Subscribers list the info collected from email lock, not your users.
Thanks
You’re right. The solution above won’t work on the Image Button add-on. Please send me the page URL to check your use case. Are you trying to open files in the browser?
1 ) It is not possible yet to add category slug in the package URL.
2 ) Category URL base is different than the package URL base. Please check it from Basic > URL Structure option or just go to Downloads > Categories page and visit a category page. It will reveal the category URL base.
3 ) Category pages use your theme’s category archive template. If you want a custom category archive for packages then create one. The file name is taxonomy-wpdmcategory.php
You can download one of our free themes and take a look at a sample of this template.
This reply has been marked as private.
I added the patch to line 778 and password lock still does not work. Other ideas? This is getting really annoying.
$_data[‘downloadurl’] .= ‘&ind=’.$_POST[‘wpdmfile’];
So you want to redirect the user to different pages after logout based on user role. This is not a plugin feature nor it should be one. Anyway, I have added the following code to your theme’s functions.php file to implement it.
function wpdm_custom_redirect_after_logout() {
if (!current_user_can('manage_options')) {
$url = '/login-page/';
} else {
$url = '/wp-login.php';
}
$redirect_url = home_url( $url );
wp_safe_redirect( $redirect_url );
exit;
}
add_action( 'wp_logout', 'wpdm_custom_redirect_after_logout' );
The problem appears to be related to the “ID” attribute in the Database. When I added the file through the browser on the User interface, it assigned the following ID: 1565127651367
a:1:{i:1565127651367;s:133:”/nas/content/live/vbvprod/wp-content/uploads/TechnicalData/Electric Actuators/EOM Nema 4x/BVC EOM PB CONTROL CARD SETUP PROCEDURE.doc”;}
This corresponds with the ID at the end of the URL for direct access: https://valuebutterflyvalves.com?wpdmdl=4541&ind=1565127651367
The problem, however, is that there currently exist IDs from the development site database, all of which are 0.
How do I get around this issue?
Best,
Brennen