Forum Replies Created
Hi, Can I disable other plugins to check if this issue is related to plugin conflict?
Please check following screenshot,
https://www.evernote.com/l/AUfExGDnfxtEFZ3eFsHIkEjliSg2d3UMAY0B/image.png
As the screenshot says, just remove folders filter to view files in current directory. You can select files only from the first Tab ( Google Drive ).
Hi,
Please install the latest version of Download Manager to fix the license issue. Download the latest WPDM from your purchase area https://www.wpdownloadmanager.com/user-dashboard/purchases/
Thanks.
Hi,
Thanks for your suggestion. We will definitely look into it before releasing next version.
Thanks.
Please install Image Button addon http://www.wpdownloadmanager.com/download/advanced-tinymce-button/ to change download button style.
Okay, I think you just want to show the download button. You can do that by inserting shortcode with button link template.
Install TinyMCE Button addon, then use it to insert shortcode wherever you want. Select Button link template from the drop-down to show only download button.
Send temporary wp-admin login info in private reply if you want me to set up an example on your site.
Hi,
It is possible to implement those features you listed above But requires some customizations.
We provide custom upgrade service in such cases. If you are interested, Please mail to customize@wpdownloadmanager.com to get a quote.
We will gradually add more features to Zoho add-on. But to get quick customized copy of addon for yourself custom service is required.
Thanks.
Hi,
You can use [doc_preview] template tag to show document preview. You files have to be publicly available when using this tag ( Google Library has to access those files to show preview ).
For image files, you can use [file_list_extended] template tag. It shows image thumbnail like the following screenshot,
https://www.evernote.com/l/AUdehWQHbhxKHpkyfM3A7LSBTmArHEV0WjQB/image.png
Thanks.
Hi,
Select Members option is coming from Advanced Access Control addon. This is not a core plugin feature.
Thanks.
Following code retrieves publish and update date. Use it inside Table function.
$publisg_date = get_the_date('',$file['ID']); $update_date = date_i18n(get_option('date_format'), strtotime($file['post_modified']));
Please try now. Unlocked your key from the old domain.
Hi,
Thanks for your inspiring feedback.
Use the following function to know if a user has downloaded a package,
wpdm_is_user_downloaded($pid, $uid)
The return value is bool. It returns true if the user already downloaded the package. Otherwise, returns false.
Example usage ( get_the_ID() works only inside loop, in other cases you have to provide pacakge id explicitly )
global $current_user; if ( wpdm_is_user_downloaded( get_the_ID(), $current_user->ID ) ) echo 'Downloaded';
There is no publicly available function yet to know if user purchased the pacakge. You can use following function to know that. It return order id if user purchased the package.
function wpdmpp_user_has_purchased($pid, $uid = 0)
{
global $current_user, $wpdb;
if (!is_user_logged_in() && !$uid) return false;
$uid = $uid ? $uid : $current_user->ID;
$orderid = $wpdb->get_var("select o.order_id from {$wpdb->prefix}ahm_orders o, {$wpdb->prefix}ahm_order_items oi where uid='{$uid}' and o.order_id = oi.oid and oi.pid = {$pid} and order_status='Completed'");
return $orderid;
}
Thanks.
Please send temporary wp-admin login info in private reply to check the issue. Favorites page issue may be related to js error.
Here are available options,
1. You can remove those sidebar widgets from your theme’s sidebar settings. Or, you can select a Full-Width template instead of Default.
2. Use a custom page template. You can create one from Downloads Templates page. You have total control over which information will be shown in this case. Remove all unnecessary info you don’t want.
If it is still not clear to you, please show me an example of what you want. That will be helpful to provide a precise solution.
Your theme has it’s own Bootstrap JS, so multiple instances of Bootstrap was creating the modal issue. After deactivating WPDM js CSS from settings modal is working.
You can use Page Template add-on. This addon allows you to use theme provided page templates for the download page.
Please send me the page URL. I will suggest required CSS to fix the input style.
Hi,
Working now. It was a minor bug in Advanced Access Control add-on. I have added the patch to your installation. Also releasing an update for the add-on soon.
Thanks.
There is no filter available for the title. So, you have to edit the core file. File List is rendered by Table function in /download-manager/libs/class.FileList.php file.
Find the $fileTitle variable in that function and append or prepend your custom info there.
Default Values add-on update available now. WPDM will be updated within next week.
Hi,
Do you want to keep the order in processing state even after payment completion?
You can utilize wpdmpp_complete_order hook in that case. This hook provides you order id which you can use to change order status after payment.
Adding following code to your theme’s functions.php file should do the trick,
add_action('wpdmpp_complete_order', 'wpdm_pp_change_os'); function wpdm_pp_change_os($oid){ global $wpdb; $wpdb->update("{$wpdb->prefix}ahm_orders",array('payment_status'►'Processing','order_status'►'Processing'),array( 'order_id'►$oid )); }
Thanks.
Hi,
You can add following code to your theme’s functions.php file to set logout redirect. This will redirect users to home page after logout. Set adding url parts inside home_url(“”) function.
add_action('wp_logout', create_function('', 'wp_redirect(home_url(""));exit();'));
Thanks.
Hi,
You can add following code to your theme’s functions.php file to set logout redirect. This will redirect users to home page after logout. Set adding url parts insode home_url("") function.
add_action('wp_logout', create_function('', 'wp_redirect(home_url(""));exit();'));
Thanks.
Default Values does not support frontend uploader yet. However, we are adding frontend support. The update is coming pretty soon.